/* =========================================================
   SUPREME HEALTH PHYSIOTHERAPY — DESIGN SYSTEM
   Palette derived from logo: navy body, violet loop,
   green→teal gradient hands, white spine
   ========================================================= */

:root{
  --navy: #16265E;
  --navy-deep: #0D1739;
  --violet: #6B3FD4;
  --violet-soft: #8E6BE0;
  --green: #55C23B;
  --teal: #0B8F72;
  --grad-hand: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  --grad-navy: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  --grad-violet: linear-gradient(135deg, var(--violet-soft) 0%, var(--violet) 100%);
  --cream: #F5F7FB;
  --white: #FFFFFF;
  --ink: #1B2333;
  --ink-soft: #5B6478;
  --line: #E4E8F1;
  --shadow-sm: 0 4px 14px rgba(22,38,94,.08);
  --shadow-md: 0 14px 34px rgba(22,38,94,.12);
  --shadow-lg: 0 26px 60px rgba(22,38,94,.18);
  --radius: 20px;
  --radius-sm: 12px;
  --ff-display: "Lora", serif;
  --ff-body: "Inter", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:hidden; overflow-x:clip; width:100%; }
body{
  margin:0;
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
  overflow-x:clip;
  width:100%;
  line-height:1.65;
}
h1,h2,h3,h4{
  font-family:var(--ff-display);
  color:var(--navy);
  line-height:1.15;
  margin:0 0 .5em;
}
p{ margin:0 0 1em; color:var(--ink-soft); }
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 24px; }
section{ padding:100px 0; position:relative; }
.section-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--ff-display); font-size:.8rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--teal);
  background:rgba(11,143,114,.08); padding:6px 16px; border-radius:99px;
  margin-bottom:16px;
}
.section-tag::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--grad-hand); }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(1.8rem,3.2vw,2.6rem); }

:focus-visible{ outline:3px solid var(--violet-soft); outline-offset:3px; }
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--ff-display); font-weight:600; font-size:.95rem;
  padding:15px 30px; border-radius:99px; border:none; cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--grad-hand); color:var(--white); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-outline{ background:transparent; color:var(--navy); border:2px solid var(--line); }
.btn-outline:hover{ border-color:var(--violet); color:var(--violet); transform:translateY(-3px); }
.btn-white{ background:var(--white); color:var(--navy); }
.btn-white:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.btn-sm{ padding:11px 22px; font-size:.85rem; }

/* ---------- TOPBAR ---------- */
.topbar{
  background:var(--navy-deep); color:#cfd6ea; font-size:.83rem;
  padding:9px 0;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.topbar-info{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar-info a{ display:flex; align-items:center; gap:7px; color:#cfd6ea; transition:color .2s; }
.topbar-info a:hover{ color:var(--green); }
.topbar-social{ display:flex; gap:10px; }
.topbar-social a{
  width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); transition:transform .25s, background .25s;
}
.topbar-social a:nth-child(1):hover{ background:#e1306c; }
.topbar-social a:nth-child(2):hover{ background:#ff0000; }
.topbar-social a:hover{ transform:translateY(-3px) rotate(6deg); }

/* ---------- NAVBAR ---------- */
.navbar{
  position:sticky; top:0; z-index:999; background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
}
.navbar .container{ display:flex; align-items:center; justify-content:space-between; padding-top:12px; padding-bottom:12px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:64px; width:64px; object-fit:contain; border-radius:14px; background:var(--white); padding:4px; box-shadow:var(--shadow-sm); transition:transform .25s; }
.brand:hover img{ transform:scale(1.05); }
.brand-text{ font-family:var(--ff-display); line-height:1.1; }
.brand-text strong{ display:block; font-size:1.05rem; color:var(--navy); }
.brand-text span{ display:block; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--teal); font-weight:600; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-family:var(--ff-display); font-weight:500; font-size:.95rem; color:var(--navy); position:relative; padding:4px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background:var(--grad-hand);
  transition:width .3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:10px; margin:-10px; position:relative; z-index:1001; }
.nav-toggle span{ width:26px; height:2.5px; background:var(--navy); border-radius:2px; transition:.3s; }
.nav-toggle.active{ position:fixed; top:14px; right:24px; margin:0; background:var(--white); border-radius:50%; }
.nav-toggle.active span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2){ opacity:0; }
.nav-toggle.active span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }
.nav-overlay{
  display:none; position:fixed; inset:0; background:rgba(13,23,57,.55); z-index:997;
  opacity:0; transition:opacity .35s ease;
}
.nav-overlay.open{ display:block; opacity:1; }

/* ---------- HERO ---------- */
.hero{
  position:relative; padding:90px 0 130px; overflow:hidden;
  background:var(--grad-navy);
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 15% 20%, rgba(107,63,212,.35), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(85,194,59,.25), transparent 45%);
  pointer-events:none;
}
.hero-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; color:#B9E6C4; font-family:var(--ff-display);
  font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; background:rgba(85,194,59,.14);
  padding:7px 16px; border-radius:99px; margin-bottom:22px; border:1px solid rgba(85,194,59,.3);
}
.hero h1{ color:var(--white); font-size:clamp(2.2rem,4.4vw,3.4rem); }
.hero h1 em{ font-style:normal; background:var(--grad-hand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead{ color:#C7CCE3; font-size:1.08rem; max-width:520px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-top:32px; }
.hero-stats{ display:flex; gap:34px; margin-top:52px; flex-wrap:wrap;justify-content: start; }
.hero-stat b{ display:block; font-family:var(--ff-display); font-size:1.7rem; color:var(--white); }
.hero-stat span{ font-size:.8rem; color:#9BA4C4; }

.hero-visual{ position:relative; width:100%; }
.hero-visual-frame{
  position:relative; border-radius:28px; overflow:hidden; aspect-ratio:4/5; width:100%;
  background:linear-gradient(160deg,#22336F,#101B44);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg);
  border:1px solid rgba(255,255,255,.08);
}
.hero-visual-frame .placeholder-note{ color:#8a93b8; font-size:.8rem; text-align:center; padding:20px; }
.hero-slide img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-slide{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity 1s ease; padding:20px;
}
.hero-slide.active{ opacity:1; }
.hero-dots{ position:absolute; bottom:16px; left:0; right:0; display:flex; justify-content:center; gap:8px; z-index:3; }
.hero-dots button{
  width:8px; height:8px; border-radius:50%; border:none; background:rgba(255,255,255,.35); cursor:pointer;
  padding:0; transition:background .3s, width .3s;
}
.hero-dots button.active{ background:var(--grad-hand); width:22px; border-radius:5px; }
.floating-card{
  position:absolute; background:var(--white); border-radius:18px; box-shadow:var(--shadow-lg);
  padding:18px 20px; display:flex; align-items:center; gap:14px; animation:floaty 5s ease-in-out infinite;
}
.floating-card .icon-box{
  width:46px; height:46px; border-radius:12px; background:var(--grad-hand);
  display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;
}
.floating-card b{ display:block; font-family:var(--ff-display); font-size:1.15rem; color:var(--navy); }
.floating-card span{ font-size:.75rem; color:var(--ink-soft); }
.fc-1{ top:8%; left:-8%; animation-delay:.2s; }
.fc-2{ bottom:6%; right:-8%; animation-delay:1s; }

@keyframes floaty{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-14px);} }
@keyframes blobDrift{ 0%,100%{ transform:translate(0,0) scale(1);} 50%{ transform:translate(18px,-24px) scale(1.06);} }

/* ---------- SPINE DIVIDER (signature element) ---------- */
.spine-divider{
  display:flex; align-items:center; justify-content:center; gap:6px; padding:36px 0; opacity:.55;
}
.spine-divider span{ width:8px; height:14px; background:var(--line); border-radius:3px; }
.spine-divider span:nth-child(odd){ height:20px; background:var(--teal); opacity:.5; }

/* ---------- ABOUT / DOCTOR ---------- */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.about-media{ position:relative; }
.about-photo{
  border-radius:var(--radius); background:linear-gradient(160deg,#E8ECF7,#DCE4F5);
  display:flex; align-items:center; justify-content:center; color:var(--ink-soft); font-size:.85rem;
  box-shadow:var(--shadow-md); border:1px solid var(--line);
}
.about-photo img{border-radius:var(--radius);}
.about-badge{
  position:absolute; bottom:-24px; left:-24px; background:var(--white); border-radius:18px;
  box-shadow:var(--shadow-lg); padding:18px 22px; display:flex; align-items:center; gap:12px;
}
.about-badge b{ font-family:var(--ff-display); font-size:1.4rem; background:var(--grad-hand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.about-badge span{ font-size:.72rem; color:var(--ink-soft); display:block; max-width:110px; }
.about-list{ margin:26px 0; display:grid; gap:14px; }
.about-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink); font-weight:500; }
.about-list li .tick{
  width:22px; height:22px; border-radius:50%; background:var(--grad-hand); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:.7rem; margin-top:2px;
}
.doctor-tag{
  display:inline-flex; flex-direction:column; margin-top:8px; padding:14px 20px; border-left:3px solid var(--violet);
  background:rgba(107,63,212,.06); border-radius:0 12px 12px 0;
}
.doctor-tag b{ font-family:var(--ff-display); color:var(--navy); font-size:1rem; }
.doctor-tag span{ font-size:.8rem; color:var(--ink-soft); }

/* ---------- STATS BAND ---------- */
.stats-band{ background:var(--grad-navy); padding:64px 0; position:relative; overflow:hidden; }
.stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; position:relative; z-index:2; }
.stat-card{ text-align:center; color:#fff; }
.stat-card b{ display:block; font-family:var(--ff-display); font-size:clamp(2rem,4vw,2.8rem);
  background:var(--grad-hand); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat-card span{ font-size:.85rem; color:#B6BEDD; letter-spacing:.03em; }

/* ---------- SERVICES ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:34px 28px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; position:relative; overflow:hidden;
}
.service-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-lg); border-color:transparent; }
.service-icon{
  width:56px; height:56px; border-radius:16px; background:var(--grad-hand); color:#fff;
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform .3s;
}
.service-card:hover .service-icon{ transform:rotate(-8deg) scale(1.08); }
.service-card h3{ font-size:1.15rem; }
.service-card a.card-link{ font-family:var(--ff-display); font-size:.85rem; font-weight:600; color:var(--teal); display:inline-flex; gap:6px; align-items:center; margin-top:6px; }
.service-card a.card-link svg{ transition:transform .25s; }
.service-card a.card-link:hover svg{ transform:translateX(4px); }

/* ---------- ADVANCE MANUAL THERAPY ---------- */
.therapy-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.therapy-item{
  display:flex; gap:16px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 22px; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.therapy-item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.therapy-icon{
  width:46px; height:46px; border-radius:12px; background:var(--grad-hand); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:1.15rem;
}
.therapy-item h4{ margin:0 0 4px; font-size:1rem; font-family:var(--ff-display); }
.therapy-item p{ margin:0; font-size:.86rem; color:var(--ink-soft); }
.therapy-item a.card-link{ font-family:var(--ff-display); font-size:.85rem; font-weight:600; color:var(--teal); display:inline-flex; gap:6px; align-items:center; margin-top:8px; }
.therapy-item a.card-link svg{ transition:transform .25s; }
.therapy-item a.card-link:hover svg{ transform:translateX(4px); }
@media(max-width:900px){ .therapy-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .therapy-grid{ grid-template-columns:1fr; } }

/* ---------- VISION/MISSION/APPROACH ---------- */
.vma-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.vma-card{
  border-radius:var(--radius); padding:36px 30px; color:#fff; position:relative; overflow:hidden;
  transition:transform .3s;
}
.vma-card:hover{ transform:translateY(-6px); }
.vma-card:nth-child(1){ background:var(--grad-navy); }
.vma-card:nth-child(2){ background:linear-gradient(135deg,var(--violet-soft),var(--violet)); }
.vma-card:nth-child(3){ background:var(--grad-hand); }
.vma-card .vma-icon{ width:48px; height:48px; border-radius:12px; background:rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.vma-card h3{ color:#fff; font-size:1.2rem; }
.vma-card p{ color:rgba(255,255,255,.82); font-size:.92rem; margin:0; }

/* ---------- WHY CHOOSE US ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.why-item{ display:flex; gap:16px; padding:22px; border-radius:16px; transition:background .25s; }
.why-item:hover{ background:var(--white); box-shadow:var(--shadow-sm); }
.why-num{ font-family:var(--ff-display); font-size:1.6rem; color:var(--line); font-weight:700; flex-shrink:0; }
.why-item h4{ margin:0 0 4px; font-size:1.02rem; }
.why-item p{ margin:0; font-size:.88rem; }

/* ---------- GALLERY PREVIEW ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.gallery-tile{
  border-radius:16px; overflow:hidden; position:relative;
  background:linear-gradient(160deg,#E8ECF7,#DCE4F5); display:flex; align-items:center; justify-content:center;
  color:var(--ink-soft); font-size:.75rem; cursor:pointer;
}
.gallery-tile::after{
  content:"+"; position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:2rem; color:#fff; background:rgba(22,38,94,.55); opacity:0; transition:opacity .3s;
  font-family:var(--ff-display);
}
.gallery-tile:hover::after{ opacity:1; }
.gallery-tile:hover{ transform:scale(1.02); }

/* ---------- TESTIMONIALS (auto-moving marquee) ---------- */
.testi-viewport{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.testi-track{ display:flex; gap:26px; width:max-content; animation:testiScroll 32s linear infinite; }
.testi-viewport:hover .testi-track{ animation-play-state:paused; }
@keyframes testiScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.testi-card{
  background:var(--white); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--shadow-sm);
  border:1px solid var(--line); position:relative; transition:transform .3s, box-shadow .3s;
  flex:0 0 340px;
}
.testi-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.testi-quote{ font-size:2.4rem; font-family:var(--ff-display); color:var(--violet-soft); line-height:1; margin-bottom:6px; }
.testi-stars{ color:var(--green); font-size:.85rem; margin-bottom:10px; letter-spacing:2px; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.testi-avatar{ width:44px; height:44px; border-radius:50%; background:var(--grad-navy); flex-shrink:0; }
.testi-person b{ display:block; font-size:.9rem; color:var(--navy); }
.testi-person span{ font-size:.76rem; color:var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-wrap{ max-width:820px; margin:0 auto; display:grid; gap:14px; }
.faq-item{ background:var(--white); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.faq-q{
  width:100%; text-align:left; background:none; border:none; padding:20px 24px; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:14px; font-family:var(--ff-display);
  font-weight:600; color:var(--navy); font-size:.98rem;
}
.faq-q .plus{ width:26px; height:26px; border-radius:50%; background:var(--cream); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .3s, background .3s; font-size:1.1rem; color:var(--teal); }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); background:var(--grad-hand); color:#fff; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease, padding .35s ease; padding:0 24px; }
.faq-item.open .faq-a{ max-height:240px; padding:0 24px 22px; }
.faq-a p{ margin:0; font-size:.92rem; }

/* ---------- CTA BANNER ---------- */
.cta-banner{
  background:var(--grad-hand); border-radius:28px; padding:56px 50px; display:flex; align-items:center;
  justify-content:space-between; gap:30px; flex-wrap:wrap; position:relative; overflow:hidden;
}
.cta-banner h2{ color:#fff; margin:0 0 6px; font-size:1.8rem; }
.cta-banner p{ color:rgba(255,255,255,.85); margin:0; }

/* ---------- FOOTER ---------- */
.footer{ background:var(--navy-deep); color:#AEB6D6; padding:80px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand img{ height:46px; width:46px; border-radius:12px; background:#fff; padding:4px; }
.footer-brand strong{ color:#fff; font-family:var(--ff-display); font-size:1.05rem; }
.footer h4{ color:#fff; font-family:var(--ff-display); font-size:.95rem; margin-bottom:18px; letter-spacing:.03em; }
.footer ul{ display:grid; gap:11px; }
.footer ul a{ font-size:.87rem; color:#AEB6D6; transition:color .2s, padding-left .2s; display:inline-block; }
.footer ul a:hover{ color:var(--green); padding-left:4px; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:transform .25s, background .25s; }
.footer-social a:nth-child(1):hover{ background:#e1306c; }
.footer-social a:nth-child(2):hover{ background:#ff0000; }
.footer-social a:hover{ transform:translateY(-3px) rotate(6deg); }
.footer-bottom{ padding:24px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.8rem;text-align:center;}

/* ---------- FLOATING WIDGETS ---------- */
.floating-actions{ position:fixed; right:22px; bottom:26px; z-index:998; display:flex; flex-direction:column; gap:12px; }
.floating-actions a{
  width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; box-shadow:var(--shadow-lg); animation:floaty 3.2s ease-in-out infinite;
}
.fa-whatsapp{ background:#25D366; }
.fa-call{ background:var(--grad-navy); animation-delay:.5s; }
.back-to-top{ background:var(--grad-violet); animation:none !important; opacity:0; pointer-events:none; transition:opacity .3s; }
.back-to-top.show{ opacity:1; pointer-events:auto; }

.bg-blob{ position:absolute; border-radius:50%; filter:blur(60px); opacity:.35; pointer-events:none; animation:blobDrift 8s ease-in-out infinite; z-index:0; }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- CONTACT FORM ---------- */
.form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
#contactForm input, #contactForm select, #contactForm textarea{ font-size:16px; } /* prevents iOS zoom-on-focus */
@media (max-width:600px){
  .form-row-2{ grid-template-columns:1fr; }
  #contactSubmit{ width:100%; justify-content:center; }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero{
    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
    background-size:cover;
    background-position:center;
}

@media (max-width:768px){
    .page-hero{
        min-height:250px;
    }
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(160deg, rgba(13,23,57,.92) 0%, rgba(22,38,94,.82) 60%, rgba(13,23,57,.9) 100%);
  z-index:1;
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; font-size:clamp(1.9rem,3.6vw,2.6rem); }
.page-hero .crumb{ color:#9BA4C4; font-size:.85rem; margin-top:10px; }
.page-hero .crumb a{ color:var(--green); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ max-width:420px; margin:0 auto; }
  .about-grid{ grid-template-columns:1fr; }
  .services-grid, .vma-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .testi-track{ animation-duration:24s; }
}
@media (max-width:860px){
  .nav-links{
    position:fixed; inset:0 0 0 auto; width:78%; max-width:320px; background:var(--white);
    flex-direction:column; align-items:flex-start; padding:100px 30px 30px; gap:24px;
    transform:translateX(100%); transition:transform .35s ease; box-shadow:var(--shadow-lg);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .topbar-info{ display:none; }
}
@media (max-width:768px){
    .hero-stats{ justify-content: center; }
  section{ padding:70px 0; }
  .stats-grid, .services-grid, .vma-grid, .why-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .about-badge{ left:8px; bottom:-18px; padding:12px 16px; }
  .cta-banner{ padding:40px 26px; flex-direction:column; text-align:center; }
  .floating-card{ display:none; }
}
@media (max-width:480px){
  .container{ padding:0 18px; }
  .hero{ padding:70px 0 90px;text-align:center;}
  .hero-cta{ flex-direction:column; }
  .hero-cta .btn, .cta-banner .btn{ width:100%; justify-content:center; }
  .hero-stats{ justify-content: center; }
  .gallery-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .testi-card{ flex-basis:280px; }
  .brand img{ height:48px; width:48px; }
  .nav-cta{ gap:10px; }
  .nav-cta .btn-sm{ padding:10px 14px; font-size:.78rem; }
  .footer-bottom{justify-content:center}
}