:root{
  --p:#64BBCA;        /* primary */
  --p2:#366D8D;       /* darker shade */

  --text:#0F172A;
  --muted:rgba(15,23,42,.66);

  /* container fills (same brand color, different strength) */
  --fill-1: rgba(100,187,202,.10);
  --fill-2: rgba(100,187,202,.16);
  --fill-3: rgba(100,187,202,.22);
  --stroke: rgba(100,187,202,.38);

  --radius:18px;
  --promo-height: 40px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-top: calc(var(--promo-height) + env(safe-area-inset-top));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{color:inherit;text-decoration:none}
.container{ width:min(1240px, 92vw); margin:0 auto; }

.header{
  position:sticky; top: calc(var(--promo-height) + env(safe-area-inset-top)); z-index:50;
  backdrop-filter: blur(12px);
  background: linear-gradient(90deg, rgba(255,255,255,.84), rgba(229,242,246,.70));
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; gap:14px;
  padding:10px 0;
}
.brand{display:flex; align-items:center; gap:10px; min-width:220px}
.brand-logo{
  height:70px;
  width:auto;
  border-radius:0;
  object-fit:contain;
  border:0;
}
.brand-name{font-weight:800; letter-spacing:.08em}
.brand-sub{font-size:12px; color:var(--muted); margin-top:2px}

.header-mobile { display: block; }
.header-desktop { display: none; }
.brand-logo-mobile { height: 50px; }

.nav{display:none; gap:14px; margin-left:auto}
.nav a{font-size:14px; color:var(--muted)}
.nav a:hover{color:var(--text)}
.nav.nav-open{
  display:flex;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  flex-direction:column;
  padding:16px;
  border-bottom:1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.nav.nav-open a{
  padding:8px 0;
  border-bottom:1px solid rgba(15,23,42,.1);
}
.nav.nav-open a:last-child{border-bottom:0}
.header-cta{display:none}

.hamburger{
  display:none;
  flex-direction:column;
  gap:4px;
  background:none;
  border:none;
  cursor:pointer;
  padding:0;
  margin-left:auto;
  width:20px;
  height:20px;
}
.hamburger span{
  width:20px;
  height:2px;
  background:var(--text);
}
.hamburger.open {
  position:relative;
}
.hamburger.open span {
  position:absolute;
  top:50%;
  left:50%;
  transform-origin: center;
}
.hamburger.open span:nth-child(1){transform: translate(-50%, -50%) rotate(45deg);}
.hamburger.open span:nth-child(2){transform: translate(-50%, -50%) rotate(-45deg);}
.hamburger.open span:nth-child(3){display:none;}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--line);
  font-weight:800;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
}
.btn-primary{
  background: linear-gradient(135deg, var(--p), var(--p2));
  color:#fff;
  border:0;
}
.btn-ghost{
  background: rgba(255,255,255,.65);
}
.btn-soft{
  background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(6,182,212,.14));
  border:1px solid rgba(6,182,212,.28);
}

/* Promo Bar */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--promo-height);
  background: #F2B94B;
  color: #1F2933;
  font-weight: 350;
  z-index: 9999;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 15px;
  line-height: 1.2;
}

.promo-desktop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: min(1240px, 92vw);
  margin: 0 auto;
  padding: 0 20px;
}

.promo-desktop span a {
  color: #2F80ED;
  text-decoration: none;
}

.btn-promo {
  background: #2F80ED;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 350;
  font-size: 15px;
  transition: opacity 0.2s;
}

.btn-promo:hover,
.btn-promo:focus {
  opacity: 0.8;
}

.promo-mobile {
  display: none;
  height: 100%;
  padding: 0 10px;
}

.promo-mobile .promo-left,
.promo-mobile .promo-right {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #1F2933;
}

.promo-mobile .promo-right a {
  color: #2F80ED;
  text-decoration: none;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .promo-desktop {
    display: none;
  }
  .promo-mobile {
    display: flex;
    justify-content: space-between;
  }
  .promo-left {
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .promo-right {
    flex-shrink: 0;
  }
}

.hero{
  min-height:100vh;
  display:flex;
  background:
    radial-gradient(900px 520px at 18% 18%, var(--pSoft2), transparent 58%),
    radial-gradient(900px 520px at 85% 35%, rgba(54,109,141,.10), transparent 60%),
    linear-gradient(180deg, var(--soft), #fff 62%);
}
.hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  padding:90px 0 34px;
  align-items:center;
}
.hero h1{
  margin:0 0 10px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -.02em;
}
.lead{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.55;
  font-size:16px;
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:16px}
.badge{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  color:rgba(15,23,42,.78);
  box-shadow: 0 10px 20px rgba(15,23,42,.05);
}

.hero-card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: var(--radius);
  padding:16px;
}
.hero-card-title{font-weight:800; margin-bottom:10px}
.hero-card-row{
  display:flex; justify-content:space-between;
  padding:8px 0; border-bottom:1px dashed rgba(15,23,42,.10);
  color:rgba(15,23,42,.78);
  font-size:14px;
}
.hero-card-row:last-of-type{border-bottom:0}
.hero-divider{height:1px; background:var(--line); margin:12px 0}
.hero-card-small{font-size:13px; color:var(--muted); margin-bottom:12px}

.section{padding:56px 0}
.section:nth-of-type(even){
  background: rgba(100,187,202,.06);
  border-top: 1px solid rgba(15,23,42,.05);
  border-bottom: 1px solid rgba(15,23,42,.05);
}
.section-head{margin-bottom:18px}
.section-head h2{margin:0 0 8px; font-size:26px}
.section-head p{margin:0; color:var(--muted); line-height:1.55}

.grid{display:grid; gap:12px}
.services{grid-template-columns: 1fr}
.team{grid-template-columns: 1fr}
.team .card-img{height: 550px}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15,23,42,.10);
}
.card-img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}
.card-content{
  padding:16px;
}

.card-title{
  font-weight:900;
}
.card-desc{color:var(--muted); font-size:13px; margin-top:4px}
.card-body{margin-top:10px; color:rgba(15,23,42,.78); font-size:14px; line-height:1.55}
.card-body ul{margin:0; padding-left:18px}

.band{
  background:
    radial-gradient(700px 260px at 20% 30%, rgba(100,187,202,.18), transparent 60%),
    linear-gradient(135deg, rgba(100,187,202,.16), rgba(54,109,141,.06));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.band-inner{
  padding:52px 0;
  display:grid;
  grid-template-columns: 1fr;
  gap:32px;
  align-items:center;
}
.band-copy h2{margin:0 0 8px}
.band-copy p{margin:0 0 24px; color:var(--muted); line-height:1.55}
.band-points{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.pill{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.55);
  font-size:13px;
}

.band-stats{display:grid; grid-template-columns: repeat(3,1fr); gap:10px}
.band-image{
  background-image: url('./optimized_dental-tools-medical-equipment-2026-01-07-01-00-49-utc.jpg');
  background-size: cover;
  background-position: center 70%;
  border-radius: var(--radius);
  min-height: 200px;
}
.stat{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.55);
  border-radius: var(--radius);
  padding:10px;
}
.stat-num{font-weight:900; font-size:18px}
.stat-label{color:var(--muted); font-size:12px; margin-top:4px}

.cta-band{
  background: #fef2f2;
  border-top:1px solid rgba(220,38,38,.2);
  border-bottom:1px solid rgba(220,38,38,.2);
  color: #dc2626;
}
.cta-inner{
  padding: 52px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.cta-title{
  font-size: 26px;
  font-weight: 900;
  margin: 0;
  color: #dc2626;
}
.cta-sub{
  color: rgba(220,38,38,.8);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.cta-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-band .btn-primary{
  background: #dc2626 !important;
  color: white !important;
  border: 0 !important;
}
.cta-band .btn-ghost{
  background: white !important;
  color: #dc2626 !important;
  border: 1px solid #dc2626 !important;
}

.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: 0 16px 30px rgba(15,23,42,.06);
}
.table thead th{

  background: linear-gradient(90deg, rgba(100,187,202,.14), rgba(54,109,141,.06));

  border-bottom:1px solid rgba(100,187,202,.22);

}
.table{
  width:100%;
  border-collapse: collapse;
  min-width:640px;
}
.table th, .table td{
  text-align:left;
  padding:14px;
  border-bottom:1px solid var(--line);
  font-size:14px;
}
.table th{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:rgba(15,23,42,.70)}
.table tr:last-child td{border-bottom:0}
.note{margin-top:10px; color:var(--muted); font-size:13px}

.reviews{display:flex; gap:0; padding-bottom:0}
.review{
  border:1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  padding:14px;
  position:relative;
  overflow:hidden;
  flex: 0 0 100%;
}

.carousel-controls{
  display:none;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin-top:16px;
}
.carousel[data-carousel="reviews"] .carousel-container {
  overflow: hidden;
}
.carousel[data-carousel="reviews"] .carousel-controls {
  display: flex;
}
.carousel-prev, .carousel-next{
  background: var(--p);
  border: none;
  border-radius:50%;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:18px;
  color:#fff;
}
.carousel-prev:hover, .carousel-next:hover{
  opacity: 0.9;
}
.carousel-dots{
  display:flex;
  gap:8px;
  align-items: center;
  height: 40px;
}
.carousel-dots .dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ccc;
  border:none;
  cursor:pointer;
  display: block;
}
.carousel-dots .dot.active{
  background: var(--p);
  width:16px;
  height:16px;
}
.review::before{
  content:"";
  position:absolute;
  inset:-60px -40px auto auto;
  width:180px; height:180px;
  border-radius:50%;
  filter: blur(30px);
  opacity:.14;
  background: rgba(100,187,202,.9);
}
.stars{letter-spacing:.12em; font-weight:800}
.review p{margin:10px 0 0; color:rgba(15,23,42,.78); line-height:1.55}
.reviewer{margin-top:10px; color:var(--muted); font-size:13px}

.contact{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}
.contact-box{
  border:1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding:14px;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
.contact-title{font-weight:900; margin-bottom:12px}
.contact-item{padding:10px 0; border-bottom:1px dashed rgba(15,23,42,.10)}
.contact-item:last-child{border-bottom:0}
.label{font-size:12px; color:var(--muted); letter-spacing:.06em; text-transform:uppercase}
.value{margin-top:6px; display:block; font-weight:700}
.contact-actions{display:flex; gap:10px; flex-wrap:wrap; position:absolute; bottom:14px; left:14px; right:14px}
.contact-map{margin-top:20px; border-radius: var(--radius); overflow:hidden; width:100%;}

.form{
  border:1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding:14px;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}
.row{display:grid; grid-template-columns:1fr; gap:10px}
label{display:block; font-weight:800; font-size:13px; margin-top:10px}
input, textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  font:inherit;
  outline:none;
}
textarea{min-height:110px; resize:vertical; margin-bottom:10px}
input:focus, textarea:focus{border-color: rgba(100,187,202,.7)}
.form-msg{margin-top:10px; color:var(--muted); font-size:13px}
.form button{position:absolute; bottom:14px; left:14px; right:14px; margin-top:0}

.hp{
  position:absolute;
  left:-9999px;
  opacity:0;
  height:0;
  width:0;
}

.footer{
  border-top:1px solid var(--line);
  padding:32px 0 40px; /* reduced bottom space */
  color:var(--muted);
  font-size:15px;
  background: var(--fill-1);
}
@media (max-width: 859px){
  .footer{
    padding:32px 0 65px;
  }
  .footer-inner{
    margin-bottom:0;
  }
}
.footer-inner{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:20px;
  margin-bottom:20px;
}
.footer-section h4{
  margin:0 0 10px;
  font-size:14px;
  font-weight:800;
  color:var(--text);
}
.footer-section ul{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-section li{
  margin-bottom:6px;
}
.footer a:hover{color:var(--text)}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:18px;
  flex-wrap:wrap;
  gap:10px;
}
.powered-by{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
}
.powered-by img{
  height:30px;
  width:auto;
}

.sticky-cta{
  position:fixed;
  left:12px; right:12px; bottom:12px;
  display:none;
  gap:10px;
  z-index:60;
}
.sticky-btn{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--line);
  font-weight:900;
}
.sticky-primary{
  background: linear-gradient(135deg, var(--p), var(--p2));
  color:#fff;
  border:0;
}

/* Desktop-ish */
@media (min-width: 1024px){
  .header-mobile { display: none; }
  .header-desktop { display: block; }
  .nav{display:flex}
  .header-cta{display:inline-flex; margin-left:10px}
  .hero-inner{grid-template-columns: 1.2fr .8fr; gap:22px}
  .services{grid-template-columns: repeat(3, 1fr)}
  .team{grid-template-columns: repeat(3, 1fr)}
  .band-inner{grid-template-columns: 1.2fr .8fr}
  .contact{grid-template-columns: .95fr 1.05fr}
  .row{grid-template-columns:1fr 1fr}
  .footer-inner{grid-template-columns: repeat(4, 1fr)}
  .contact-box, .form { height: 400px; }

  /* Reviews carousel: show 6 cards on desktop */
  .reviews{ gap: 30px; }
  .review{ flex: 0 0 calc(16.666% - 25px); }
}

/* Mobile sticky CTA always visible after scrolling a bit */
@media (max-width: 859px){
  .sticky-cta{display:flex}

  /* Carousel controls visible on mobile */
  .carousel-controls{display:flex}

  /* Carousel container for sliding */
  .carousel-container{overflow:hidden}

  /* Make services, team, reviews slideable on mobile */
  .services,
  .team,
  .reviews{
    display: flex;
    gap: 0;
    padding-bottom: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  .services .card,
  .team .card,
  .reviews .review{
    flex: 0 0 100%;
  }
  .team .card-img{
    height: 450px; /* larger height on mobile */
  }

  /* Fix contact form container height on mobile */
  .contact-box {
    height: 370px;
  }
  .form {
    height: 460px;
  }

  /* Mobile header adjustments */
  .hamburger{display:flex}

  /* Hero video focus on middle for mobile */
  .hero-bg-video { object-position: center; }

  /* Reduce bottom spacing in hero on mobile */
  .hero-inner { padding-bottom: 0px; }

  /* Mobile footer layout */
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
  }
  .footer-section:nth-child(1) { /* sitemap */
    grid-row: 3;
    grid-column: 1;
  }
  .footer-section:nth-child(2) { /* program */
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .footer-section:nth-child(3) { /* contact */
    grid-row: 1;
    grid-column: 1 / -1;
  }
  .footer-section:nth-child(4) { /* legal */
    grid-row: 3;
    grid-column: 2;
  }
}

/* =========================================================
   COLORED CONTAINERS (ONLY PRIMARY COLOR) – as requested
   Affects:
   - Program box (hero-card)
   - Service cards (details.card)
   - Pricing table wrapper (table-wrap)
   - Reviews cards (review)
   - Contact left box (contact-box)
   - Contact form (form)
========================================================= */

/* Base colored container look */
.hero-card,
.card,
.review,
.contact-box,
.form,
.table-wrap{
  background: var(--fill-2) !important;
  border: 1px solid var(--stroke) !important;
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(15,23,42,.08);
}

/* Slight variations so it feels designed (still one color) */
.hero-card{ background: var(--fill-3) !important; }     /* Program stronger */
.table-wrap{ background: var(--fill-1) !important; }    /* Table lighter */

/* Make service cards feel like solid blocks (no white bleed) */
.card{ overflow:hidden; }

/* Optional: open state in services */
.card[open]{
  background: var(--fill-3) !important;
  border-color: rgba(100,187,202,.48) !important;
}

/* Text inside colored containers */
.hero-card-title,
.card-title,
.contact-title{
  color: var(--text) !important;
}
.card-desc,
.hero-card-small,
.note,
.review p,
.reviewer,
.label{
  color: var(--muted) !important;
}

/* Program rows + contact items separators match the brand */
.hero-card-row{
  border-bottom: 1px dashed rgba(54,109,141,.22) !important;
}
.contact-item{
  border-bottom: 1px dashed rgba(54,109,141,.22) !important;
}

/* Pricing table matches container */
.table{
  background: transparent !important;
  border-collapse: collapse;
}
.table th,
.table td{
  background: transparent !important;
  border-bottom: 1px solid rgba(54,109,141,.16) !important;
}
.table thead th{
  background: rgba(54,109,141,.10) !important;
  color: rgba(15,23,42,.78) !important;
}

/* Inputs inside tinted form – keep them readable but consistent */
input, textarea{
  background: rgba(255,255,255,.62) !important;
  border: 1px solid rgba(100,187,202,.35) !important;
}
input:focus, textarea:focus{
  border-color: rgba(100,187,202,.70) !important;
  box-shadow: 0 0 0 4px rgba(100,187,202,.16) !important;
}

/* Buttons keep primary gradient (still single brand family) */
.btn-primary{
  background: linear-gradient(135deg, var(--p), var(--p2)) !important;
  color:#fff !important;
  border:0 !important;
}
.btn-ghost{
  background: rgba(255,255,255,.55) !important;
  border: 1px solid rgba(100,187,202,.35) !important;
}

/* Reviews: make stars stand out slightly */
.stars{
  color: rgba(54,109,141,.95) !important;
}

/* HERO VIDEO BACKGROUND */
.hero.hero--video{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#0b1f26;
}
.hero-bg-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  transform:scale(1.02);
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(100,187,202,.02), transparent 58%),
    linear-gradient(90deg, rgba(255,255,255,.40), rgba(255,255,255,.15) 55%, rgba(255,255,255,.005)),
    linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.20));
}

.hero-inner{ position:relative; z-index:2; padding:120px 0 70px; }
.hero-inner--split{
  display:grid; grid-template-columns: 1fr;
  gap:18px; align-items:center;
}
@media (min-width: 980px){
  .hero-inner--split{ grid-template-columns: 1.15fr .85fr; gap:26px; }
}

.kicker{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(100,187,202,.14);
  border: 1px solid rgba(100,187,202,.30);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.trust-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:18px;
  max-width: 560px;
}
.trust{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(100,187,202,.12);
  border: 1px solid rgba(100,187,202,.28);
  font-weight:800;
  font-size:13px;
  color: rgba(15,23,42,.78);
}

.hero-highlight{
  border-radius:22px;
  background: #ffffff;
  border: 1px solid rgba(100,187,202,.30);
  box-shadow: 0 18px 44px rgba(15,23,42,.10);
  padding:16px;
}
.hl-title{ font-weight:900; margin-bottom:10px; }
.hl-item{
  display:flex; justify-content:space-between;
  padding:10px 0;
  border-bottom: 1px dashed rgba(54,109,141,.18);
  color: rgba(15,23,42,.78);
  font-size:14px;
}
.hl-item:last-of-type{ border-bottom:0; }
.hl-note{ margin:12px 0; color: rgba(15,23,42,.62); font-size:13px; }

/* Reduced motion: hide video */
@media (prefers-reduced-motion: reduce){
  .hero-bg-video{ display:none; }
  .hero.hero--video{
    background:
      radial-gradient(900px 520px at 18% 18%, rgba(100,187,202,.18), transparent 58%),
      linear-gradient(180deg, rgba(234,247,250,1), #fff 62%);
  }
}

/* Continuous slide animation for reviews */
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Entrance Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Initial hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in {
  transform: none;
}

.animate-on-scroll.slide-left {
  transform: translateX(-30px);
}

.animate-on-scroll.slide-right {
  transform: translateX(30px);
}

.animate-on-scroll.scale-in {
  transform: scale(0.95);
}

/* Animated state */
.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}

/* Stagger animations for cards */
.animate-on-scroll.animated:nth-child(1) { animation-delay: 0.1s; }
.animate-on-scroll.animated:nth-child(2) { animation-delay: 0.2s; }
.animate-on-scroll.animated:nth-child(3) { animation-delay: 0.3s; }
.animate-on-scroll.animated:nth-child(4) { animation-delay: 0.4s; }
.animate-on-scroll.animated:nth-child(5) { animation-delay: 0.5s; }
.animate-on-scroll.animated:nth-child(6) { animation-delay: 0.6s; }

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
