/* TruDerma Skin Clinic - Main Stylesheet v3.1.0
 * Theme   : Ashtam Singhal (https://ashtamsinghal.in)
 * Managed : MathurMedia (https://mathurmedia.com)
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..500;9..600&display=swap');

:root {
  --gold:#8B7A1A;        /* Dark Mustard Gold */
  --gold-l:#A8941E;      /* Lighter Mustard */
  --gold-p:#F0EDD8;      /* Pale mustard tint */
  --cream:#F5F3EC;       /* Warm off-white */
  --deep:#2D3526;        /* Dark Olive Green */
  --text:#3A3020;
  --text-m:#6B5E3A;
  --white:#fff;
  --teal:#1A4A4A;        /* Dark Teal */
  --teal-l:#2A6060;
  --border:#D8D0B8;
  --sh:rgba(45,53,38,.1);
  --r:4px; --rl:14px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;color:var(--text);background:var(--cream);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{text-decoration:none;color:inherit}
ul{list-style:none}
img,svg{max-width:100%;display:block}
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;line-height:1.2;color:var(--deep)}
h1{font-size:clamp(2.2rem,4.5vw,3.9rem);font-weight:700}
h2{font-size:clamp(1.8rem,3vw,2.8rem);font-weight:600}
h3{font-size:clamp(1.15rem,1.8vw,1.55rem);font-weight:500}
p{font-size:1rem;color:var(--text-m);margin-bottom:.75rem}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
section{padding:84px 0}
.tag{font-size:.7rem;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:10px;display:block}
.gline{width:52px;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold-l));margin:18px 0}
.gline.c{margin:18px auto}
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 28px;border-radius:var(--r);font-family:'DM Sans',sans-serif;font-size:.88rem;font-weight:600;letter-spacing:.04em;cursor:pointer;border:none;transition:all .3s cubic-bezier(.4,0,.2,1)}
.btn-g{background:linear-gradient(135deg,var(--gold),var(--gold-l));color:#fff;box-shadow:0 4px 20px rgba(184,134,11,.3)}
.btn-g:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(184,134,11,.45);color:#fff}
.btn-o{background:transparent;color:var(--gold);border:1.5px solid var(--gold)}
.btn-o:hover{background:var(--gold);color:#fff}
.btn-t{background:linear-gradient(135deg,var(--teal),var(--teal-l));color:#fff;box-shadow:0 4px 20px rgba(45,125,111,.3)}
.btn-t:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(45,125,111,.4);color:#fff}

/* ── HEADER ── */
#H{position:fixed;top:0;left:0;right:0;z-index:1000;background:var(--cream);border-bottom:1px solid var(--border);isolation:isolate}
#H#H#H.sc{box-shadow:none}
.hi{display:flex;align-items:center;justify-content:space-between;height:72px;min-height:72px;max-height:72px;overflow:hidden}
.logo{display:flex;align-items:center;gap:11px}
.logo-c{width:42px;height:42px;background:linear-gradient(135deg,var(--gold),var(--gold-l));border-radius:50%;display:flex;align-items:center;justify-content:center}
.logo-t .n{display:block;font-family:'Cormorant Garamond',serif;font-size:1.45rem;font-weight:700;color:var(--deep);line-height:1}
.logo-t .s{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:600}
nav.mn{display:flex;align-items:center;gap:26px}
nav.mn a{font-size:.85rem;font-weight:500;color:var(--text);position:relative;padding:4px 0;transition:none}
nav.mn a::after{content:'';position:absolute;bottom:-2px;left:0;right:0;height:1.5px;background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .3s}
nav.mn a:hover::after,nav.mn a.ac::after{transform:scaleX(1);transform-origin:left}
.hph{font-size:.84rem;font-weight:600;color:var(--teal);display:flex;align-items:center;gap:6px}
.ham{display:none;flex-direction:column;gap:5px;cursor:pointer}
.ham span{display:block;width:22px;height:2px;background:var(--deep);border-radius:2px;transition:all .3s}
.mnav{display:none;position:fixed;top:72px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);border-top:1px solid var(--border);padding:18px 24px;flex-direction:column;z-index:999;box-shadow:0 8px 24px rgba(26,18,16,.1)}
.mnav.op{display:flex}
.mnav a{font-size:.95rem;font-weight:500;padding:12px 0;border-bottom:1px solid var(--border);color:var(--text)}
.mnav a:last-child{border:none}

/* ── HERO ── */
#hero{padding:148px 0 80px;min-height:100svh;background:linear-gradient(135deg,#F5F3EC 0%,#EDE8D4 55%,#F8F5EA 100%);position:relative;overflow:hidden}
#hero::before{content:'';position:absolute;top:-80px;right:-80px;width:520px;height:520px;background:radial-gradient(circle,rgba(139,122,26,.14) 0%,transparent 68%);pointer-events:none}
#hero::after{content:'';position:absolute;bottom:-60px;left:-60px;width:340px;height:340px;background:radial-gradient(circle,rgba(26,74,74,.10) 0%,transparent 68%);pointer-events:none}
.hero-g{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center;min-height:calc(100svh - 228px)}
.hbadge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,rgba(184,134,11,.1),rgba(212,175,55,.1));border:1px solid rgba(184,134,11,.25);border-radius:100px;padding:6px 16px;font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:20px}
.hbadge i{width:6px;height:6px;background:var(--gold);border-radius:50%;display:block}
.ht{margin-bottom:16px;font-size:clamp(2.2rem,4.5vw,3.9rem) !important;display:block !important;visibility:visible !important}
.ht em{font-style:italic;background:linear-gradient(135deg,var(--gold),var(--gold-l));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hd{font-size:1.05rem;color:var(--text-m);margin-bottom:26px;max-width:460px;line-height:1.82}
.ha{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:34px}
.hstats{display:flex;gap:26px;padding-top:26px;border-top:1px solid var(--border)}
.hsn{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:700;color:var(--deep);line-height:1}
.hsl{font-size:.76rem;color:var(--text-m);margin-top:3px}
/* Hero image */
.hero-img{position:relative}
.hero-frame{border-radius:20px;overflow:hidden;box-shadow:0 28px 72px rgba(26,18,16,.15);aspect-ratio:4/5;background:linear-gradient(160deg,#EDD9B8 0%,#C9A870 45%,#A67C45 100%);position:relative}
.hero-float{position:absolute;bottom:24px;left:-18px;background:#fff;border-radius:14px;padding:13px 17px;box-shadow:0 8px 28px var(--sh);display:flex;align-items:center;gap:10px;animation:flt 3s ease-in-out infinite}
@keyframes flt{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.fi{width:38px;height:38px;background:linear-gradient(135deg,var(--gold),var(--gold-l));border-radius:50%;display:flex;align-items:center;justify-content:center}
.ft strong{display:block;font-size:.88rem;color:var(--deep);font-weight:700}
.ft span{font-size:.72rem;color:var(--text-m)}
.hero-cert{position:absolute;top:24px;right:-14px;background:linear-gradient(135deg,var(--deep),#2A1E1A);border-radius:12px;padding:12px 16px;color:#fff;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.cn{font-family:'Cormorant Garamond',serif;font-size:1.6rem;font-weight:700;color:var(--gold-l);line-height:1}
.cl{font-size:.65rem;opacity:.7;letter-spacing:.05em}

/* ── ABOUT ── */
#about{background:#fff}
.about-g{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:center}
.about-imgs{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-height:360px}
.ai{border-radius:var(--rl);overflow:hidden;box-shadow:0 8px 28px var(--sh);display:block;min-height:180px}
.ai:first-child{grid-row:span 2;min-height:360px}
.feat-list{margin:22px 0;display:flex;flex-direction:column;gap:10px}
.feat{display:flex;align-items:flex-start;gap:12px}
.fic{width:32px;height:32px;min-width:32px;background:linear-gradient(135deg,rgba(184,134,11,.1),rgba(212,175,55,.15));border-radius:8px;display:flex;align-items:center;justify-content:center}
.ftx strong{display:block;font-size:.9rem;color:var(--deep);font-weight:600}
.ftx span{font-size:.83rem;color:var(--text-m)}
.doc-card{display:flex;align-items:center;gap:16px;padding:18px;background:var(--cream);border-radius:var(--rl);border:1px solid var(--border);margin-top:22px}
.dav{width:62px;height:62px;border-radius:50%;overflow:hidden;border:3px solid var(--gold-l)}
.di strong{display:block;font-family:'Cormorant Garamond',serif;font-size:1.1rem;color:var(--deep)}
.di span{font-size:.8rem;color:var(--text-m)}
.di em{font-size:.78rem;color:var(--gold);font-style:normal;font-weight:600}

/* ── TREATMENTS ── */
#treatments{background:var(--cream)}
.trt-h{text-align:center;margin-bottom:46px}
.tabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:42px}
.tb{padding:9px 20px;border-radius:100px;font-size:.82rem;font-weight:600;cursor:pointer;border:1.5px solid var(--border);background:#fff;color:var(--text-m);transition:all .3s}
.tb.ac,.tb:hover{background:linear-gradient(135deg,var(--gold),var(--gold-l));color:#fff;border-color:transparent;box-shadow:0 4px 14px rgba(184,134,11,.25)}
.tp{display:none;animation:fu .4s ease}
.tp.ac{display:block}
@keyframes fu{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px;align-items:stretch}
.sc{background:#fff;border-radius:var(--rl);overflow:hidden;border:1px solid var(--border);display:flex;flex-direction:column;min-height:380px}
.sc:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(26,18,16,.1);border-color:rgba(184,134,11,.3)}
.sci{height:190px;overflow:hidden;position:relative;background:linear-gradient(135deg,var(--gold-p),#F0E0C8)}
.sci svg{width:100%;height:100%}
.sbadge{position:absolute;top:10px;left:10px;background:linear-gradient(135deg,var(--gold),var(--gold-l));color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:3px 10px;border-radius:100px}
.scb{padding:22px 22px 18px;display:flex;flex-direction:column;min-height:185px}
.sico{width:42px;height:42px;background:linear-gradient(135deg,rgba(184,134,11,.1),rgba(212,175,55,.15));border-radius:11px;display:flex;align-items:center;justify-content:center;margin-bottom:11px}
.scb h3{font-size:1.12rem;margin-bottom:6px}
.scb p{font-size:.85rem;margin-bottom:13px;line-height:1.65;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.scf{display:flex;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid var(--border)}
.price{font-family:'Cormorant Garamond',serif;font-size:1.05rem;font-weight:700;color:var(--gold)}
.plbl{font-size:.7rem;color:var(--text-m)}
.sl{font-size:.8rem;font-weight:600;color:var(--teal);display:flex;align-items:center;gap:4px;transition:color .2s}
.sl:hover{color:var(--gold)}
/* Pricing table */
.ptw{background:#fff;border-radius:var(--rl);overflow:hidden;border:1px solid var(--border)}
.pth{background:linear-gradient(135deg,var(--deep),#2A1E1A);padding:18px 26px;display:flex;align-items:center;gap:14px}
.pth h3{color:#fff;font-size:1.25rem;margin:0}
.pth span{color:var(--gold-l);font-size:.8rem}
table.pt{width:100%;border-collapse:collapse}
table.pt th{text-align:left;padding:12px 26px;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);background:var(--gold-p);border-bottom:1px solid var(--border)}
table.pt td{padding:12px 26px;font-size:.9rem;color:var(--text);border-bottom:1px solid rgba(232,220,207,.5)}
table.pt tr:last-child td{border:none}
table.pt tr:hover td{background:rgba(245,236,215,.4)}
.pc{font-family:'Cormorant Garamond',serif;font-size:1.05rem;font-weight:700;color:var(--gold)}

/* ── HOMEO ── */
#homeo{background:linear-gradient(135deg,#1E2418 0%,#2D3526 55%,#232B1C 100%);position:relative;overflow:hidden}
#homeo::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 15% 50%,rgba(212,175,55,.09) 0%,transparent 60%),radial-gradient(ellipse at 85% 50%,rgba(45,125,111,.07) 0%,transparent 60%)}
#homeo .tag{color:var(--gold-l)}
#homeo h2{color:#fff}
.homeo-g{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;position:relative;z-index:1}
.hd2{color:rgba(255,255,255,.6);font-size:1rem;line-height:1.82}
.hgrid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:26px}
.hi2{display:flex;align-items:center;gap:9px;padding:10px 13px;background:rgba(255,255,255,.05);border:1px solid rgba(212,175,55,.2);border-radius:8px;font-size:.82rem;color:rgba(255,255,255,.78);transition:all .3s;cursor:default}
.hi2:hover{background:rgba(212,175,55,.1);border-color:rgba(212,175,55,.4);color:#fff}
.hdot{width:5px;height:5px;min-width:5px;background:var(--gold-l);border-radius:50%}
.hv-cards{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.hvc{border-radius:var(--rl);padding:22px;display:flex;flex-direction:column;gap:8px}
.hvc.c1{background:linear-gradient(135deg,rgba(184,134,11,.2),rgba(139,122,26,.14));border:1px solid rgba(212,175,55,.3);grid-column:span 2}
.hvc.c2{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.hvc.c3{background:linear-gradient(135deg,rgba(45,125,111,.2),rgba(62,160,142,.1));border:1px solid rgba(45,125,111,.3)}
.hvn{font-family:'Cormorant Garamond',serif;font-size:2.2rem;font-weight:700;line-height:1;color:var(--gold-l)}
.hvl{font-size:.8rem;color:rgba(255,255,255,.6)}

/* ── WHY ── */
#why{background:#fff}
.why-h{text-align:center;margin-bottom:50px}
.why-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:22px}
.wc{padding:28px 22px;border-radius:var(--rl);border:1px solid var(--border);background:var(--cream);text-align:center;transition:all .35s;position:relative;overflow:hidden}
.wc::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold-l));transform:scaleX(0);transform-origin:left;transition:transform .4s}
.wc:hover{transform:translateY(-5px);box-shadow:0 16px 40px var(--sh)}
.wc:hover::before{transform:scaleX(1)}
.wic{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,rgba(184,134,11,.1),rgba(212,175,55,.15));display:flex;align-items:center;justify-content:center;margin:0 auto 16px}
.wc h3{font-size:1.08rem;margin-bottom:7px}
.wc p{font-size:.85rem;line-height:1.7;margin:0}

/* ── REVIEWS ── */
#reviews{background:var(--cream)}
.rev-h{text-align:center;margin-bottom:42px}
.rev-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:22px}
.rc{background:#fff;border-radius:var(--rl);padding:26px;border:1px solid var(--border);position:relative;transition:all .35s}
.rc:hover{box-shadow:0 12px 38px var(--sh);transform:translateY(-4px)}
.rc::before{content:'"';position:absolute;top:-8px;left:20px;font-family:'Cormorant Garamond',serif;font-size:4.5rem;line-height:1;color:var(--gold-l);opacity:.22}
.stars{color:var(--gold);font-size:.86rem;margin-bottom:11px;letter-spacing:2px}
.rt{font-size:.88rem;line-height:1.82;color:var(--text);margin-bottom:16px;font-style:italic}
.rau{display:flex;align-items:center;gap:11px}
.rav{width:42px;height:42px;border-radius:50%;overflow:hidden}
.rn{font-size:.88rem;font-weight:700;color:var(--deep)}
.rtr{font-size:.71rem;color:var(--gold);background:rgba(184,134,11,.1);padding:2px 9px;border-radius:100px;border:1px solid rgba(184,134,11,.2);display:inline-block;margin-top:3px;font-weight:600}

/* ── APPOINTMENT ── */
#appt{background:linear-gradient(135deg,var(--teal) 0%,var(--teal-l) 100%);padding:82px 0;position:relative;overflow:hidden}
#appt::before{content:'';position:absolute;top:-80px;right:-80px;width:360px;height:360px;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%)}
.appt-g{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ac .tag{color:rgba(255,255,255,.7)}
.ac h2{color:#fff}
.ac p{color:rgba(255,255,255,.78);font-size:1.02rem}
.ail{margin-top:22px;display:flex;flex-direction:column;gap:11px}
.ai2{display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.88);font-size:.88rem}
.aico{width:36px;height:36px;min-width:36px;border-radius:8px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center}
.fb{background:#fff;border-radius:16px;padding:32px;box-shadow:0 20px 56px rgba(0,0,0,.15)}
.fb h3{font-size:1.45rem;margin-bottom:4px}
.fb>p{font-size:.84rem;margin-bottom:20px}
.fg{margin-bottom:13px}
.fr{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.fg label{display:block;font-size:.74rem;font-weight:700;color:var(--text);margin-bottom:5px;letter-spacing:.05em;text-transform:uppercase}
.fg input,.fg select,.fg textarea{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:var(--r);font-family:'DM Sans',sans-serif;font-size:.9rem;color:var(--text);background:var(--cream);transition:all .3s;outline:none}
.fg input:focus,.fg select:focus,.fg textarea:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(45,125,111,.1)}
.fg textarea{height:82px;resize:vertical}
.sm{background:#d4edda;border:1px solid #c3e6cb;border-radius:8px;padding:13px;margin-bottom:16px;color:#155724;font-size:.88rem;display:none}
.sm.sh{display:block}

/* ── FOOTER ── */
#footer{background:var(--deep);padding:54px 0 0}
.ft-top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px;padding-bottom:42px;border-bottom:1px solid rgba(255,255,255,.08)}
.fl{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.fl .lc{width:35px;height:35px;background:linear-gradient(135deg,var(--gold),var(--gold-l));border-radius:50%;display:flex;align-items:center;justify-content:center}
.fl span{font-family:'Cormorant Garamond',serif;font-size:1.32rem;font-weight:700;color:#fff}
.fd{font-size:.85rem;color:rgba(255,255,255,.44);line-height:1.8;margin-bottom:16px}
.socs{display:flex;gap:9px}
.soc{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;transition:all .3s;cursor:pointer}
.soc:hover{background:var(--gold);border-color:var(--gold)}
.fcol h4{font-family:'DM Sans',sans-serif;font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-l);margin-bottom:16px}
.flinks{display:flex;flex-direction:column;gap:9px}
.flinks a{font-size:.85rem;color:rgba(255,255,255,.46);transition:all .25s}
.flinks a:hover{color:var(--gold-l);padding-left:4px}
.fci{display:flex;align-items:flex-start;gap:9px;margin-bottom:10px}
.fcit{font-size:.82rem;color:rgba(255,255,255,.46);line-height:1.6}
.fcit strong{display:block;color:rgba(255,255,255,.75);margin-bottom:1px}
.ft-bot{padding:17px 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.ft-bot p{font-size:.78rem;color:rgba(255,255,255,.26);margin:0}
.fbl{display:flex;gap:16px}
.fbl a{font-size:.78rem;color:rgba(255,255,255,.26)}
.fbl a:hover{color:var(--gold-l)}

/* WhatsApp */
.wa{position:fixed;bottom:26px;right:26px;z-index:999;width:54px;height:54px;background:#25D366;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px rgba(37,211,102,.4);animation:wap 2.5s infinite}
@keyframes wap{0%,100%{box-shadow:0 4px 18px rgba(37,211,102,.4)}50%{box-shadow:0 4px 36px rgba(37,211,102,.7)}}

/* Reveal */
.rv{opacity:1;transform:none}
.rv.vis{opacity:1;transform:none}

@media(max-width:1024px){
  .hero-g,.about-g,.appt-g{grid-template-columns:1fr}
  .hero-img{display:none}
  .homeo-g{grid-template-columns:1fr}
  .hv-cards{display:none}
  .ft-top{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  section{padding:54px 0}
  nav.mn,.hph{display:none}
  .ham{display:flex}
  .fr{grid-template-columns:1fr}
  .ft-top{grid-template-columns:1fr}
  .ft-bot{flex-direction:column;text-align:center}
  .hstats{flex-wrap:wrap;gap:16px}
}
@media(max-width:480px){
  .container{padding:0 16px}
  .fb{padding:22px}
  .ha{flex-direction:column;align-items:flex-start}
}

/* ── HEADER OVERLAP FIX ── */
html { scroll-padding-top: 72px; }

/* All sections get scroll-margin so anchor nav lands below header */
section[id], div[id] {
  scroll-margin-top: 72px;
}

/* Header always fully opaque so content never bleeds through */
#H {
  background: var(--cream) !important;
  isolation: isolate;
}
#H.sc {
  background: var(--cream) !important;
}

/* Prevent any child of header from leaking outside */
#H * { position: relative; }

/* Mobile nav sits properly below header */
.mnav {
  top: 72px !important;
  position: fixed !important;
  background: #fff !important;
  z-index: 999 !important;
  box-shadow: 0 8px 24px rgba(26,18,16,.12) !important;
}


/* Ensure page sections always render behind fixed header */
section { position: relative; z-index: 0; }
/* Certifications strip */
#certs { position: relative; z-index: 0; }
/* Results strip */
#results-strip { position: relative; z-index: 0; }
/* Cards and overlapping elements */
.sc:hover { z-index: 1; }
.hero-float { z-index: 1; }
/* Appointment form box always above its section bg */
.fb { z-index: 1; position: relative; }


/* ─── CRITICAL IMAGE FIXES ─── */
.ai img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  min-height: 180px;
}
.ai:first-child img {
  min-height: 340px;
}
.about-imgs .ai {
  overflow: hidden;
  position: relative;
}

/* Hero title visibility fix */
.hero-content {
  padding-top: 0;
}
.ht {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Fix hero stats not being cut off */
.hstats {
  padding-top: 24px;
  margin-top: 8px;
}

/* Ensure hero badge shows */
.hbadge {
  opacity: 1 !important;
  visibility: visible !important;
}


/* ════════════════════════════════════
   COMPREHENSIVE LAYOUT FIXES v3.1
   ════════════════════════════════════ */

/* ── HERO: Always show full content below fixed header ── */
#hero {
  padding-top: 148px !important;
  min-height: 100vh;
}
.hero-g {
  align-items: center;
  min-height: calc(100vh - 230px);
}
/* Hero title must always be visible */
h1.ht {
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--deep) !important;
  margin-bottom: 16px !important;
  line-height: 1.15 !important;
}

/* ── ABOUT IMAGES: Explicit dimensions ── */
.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 360px;
}
.about-imgs .ai {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26,18,16,.08);
  display: block;
  background: linear-gradient(135deg,#EDD9B8,#C9A870);
  position: relative;
}
.about-imgs .ai:first-child {
  grid-row: span 2;
  height: 100%;
}
.about-imgs .ai:not(:first-child) {
  height: calc(50% - 7px);
}
.about-imgs .ai img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  position: absolute;
  inset: 0;
}

/* ── TREATMENT CARDS: Richer fill ── */
.sc {
  min-height: 420px;
}
.sci {
  flex-shrink: 0;
  background: linear-gradient(135deg,#F5ECD7,#E8D5B0) !important;
}
.sci img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.scb {
  flex: 1;
  min-height: 185px;
}

/* ── HEADER: Never transparent, always solid ── */
#H,
#H.sc {
  background: var(--cream) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── SCROLL ANCHORS ── */
html {
  scroll-padding-top: 76px;
}
section[id] {
  scroll-margin-top: 76px;
}
#hero {
  scroll-margin-top: 0;
}

/* ── MOBILE NAV: Fixed not absolute ── */
.mnav.op {
  display: flex !important;
}

/* ── GALLERY STRIP IMAGES ── */
div[style*="Clinic Gallery"] img,
.gallery-strip img {
  width: 100% !important;
  height: 80px !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 1024px) {
  .about-imgs { height: auto; min-height: 300px; }
  .about-imgs .ai:first-child { height: 300px; }
  .about-imgs .ai:not(:first-child) { height: 143px; }
}

@media (max-width: 768px) {
  #hero { padding-top: 110px !important; min-height: auto; }
  h1.ht { font-size: 2rem !important; }
  .hero-g { min-height: auto; }
  .about-imgs { height: auto; }
  .about-imgs .ai { height: 200px !important; }
  .about-imgs .ai:first-child { height: 200px !important; grid-row: span 1; }
}


/* ══ HEADER LOCKDOWN — No Animation On Scroll ══ */
#H {
  transition: none !important;
  transform: none !important;
  animation: none !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
}
#H * {
  transition-property: none !important;
  animation: none !important;
  transform: none !important;
}
/* Only allow underline animation on nav links hover */
nav.mn a::after {
  transition: transform 0.3s ease !important;
}
.hi {
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  overflow: visible !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}
/* Logo never resizes */
.logo-c {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  flex-shrink: 0 !important;
}
.logo-t .n {
  font-size: 1.45rem !important;
  line-height: 1 !important;
}
.logo-t .s {
  font-size: .68rem !important;
}
/* Nav links never shift */
nav.mn {
  gap: 26px !important;
  flex-shrink: 0 !important;
}
nav.mn a {
  white-space: nowrap !important;
  font-size: .85rem !important;
}
/* Header CTA area never shrinks */
.hph {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: .84rem !important;
}


/* ═══════════════════════════════════════════
   COMPREHENSIVE UI FIXES v3.2
   ═══════════════════════════════════════════ */

/* ─── 1. HEADER: Compact & never overflow ─── */
#H {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  background: var(--cream) !important;
  border-bottom: 1px solid var(--border);
  transition: none !important;
  transform: none !important;
  animation: none !important;
}
.hi {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: visible !important;
  flex-wrap: nowrap !important;
}
/* Logo compact */
.logo { flex-shrink: 0; gap: 9px; }
.logo-c { width: 36px !important; height: 36px !important; min-width: 36px !important; }
.logo-t .n { font-size: 1.2rem !important; }
.logo-t .s { font-size: .6rem !important; letter-spacing: .1em; }

/* Nav links compact */
nav.mn { gap: 18px !important; flex-shrink: 0; }
nav.mn a { font-size: .8rem !important; white-space: nowrap !important; }

/* Phone hide on medium screens to save space */
.hph { font-size: .78rem !important; white-space: nowrap; flex-shrink: 0; }

/* CTA button compact */
.hi .btn-g { padding: 8px 14px !important; font-size: .76rem !important; white-space: nowrap; flex-shrink: 0; }

/* ─── 2. HERO: Clean layout ─── */
#hero {
  padding-top: 110px !important;
  padding-bottom: 60px;
  min-height: 100vh;
  background: linear-gradient(135deg,#F5F3EC 0%,#EDE8D4 60%,#F8F5EA 100%);
  scroll-margin-top: 0;
}
.hero-g {
  min-height: calc(100vh - 200px);
  gap: 40px;
}
h1.ht {
  font-size: clamp(2rem,3.8vw,3.4rem) !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  line-height: 1.15 !important;
  margin-bottom: 14px !important;
}
.hd { font-size: .95rem; line-height: 1.8; max-width: 440px; }
.hstats { gap: 20px; flex-wrap: wrap; }
.hsn { font-size: 1.8rem; }

/* ─── 3. ABOUT: Grid & qualifications box ─── */
#about { background: #fff; }
.about-g {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
}
.about-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 400px;
  position: sticky;
  top: 88px;
}
.about-imgs .ai {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg,#EDD9B8,#C9A870);
}
.about-imgs .ai:first-child { grid-row: span 2; height: 100%; }
.about-imgs .ai:not(:first-child) { height: calc(50% - 6px); }
.about-imgs .ai img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
/* Qualification box text sizing */
.about-g .rv > div[style*="margin-top:24px"] {
  max-height: none;
  overflow: visible;
}

/* ─── 4. CERTIFICATIONS STRIP: No overflow ─── */
#certs .container > div {
  flex-wrap: wrap !important;
  gap: 16px;
}
#certs .container > div > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Each cert card equal width */
#certs [style*="padding:14px 22px"] {
  flex: 1 1 200px;
  min-width: 0;
}

/* ─── 5. TREATMENTS: Tabs wrap neatly ─── */
#treatments { background: var(--cream); }
.tabs {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tb {
  padding: 8px 16px !important;
  font-size: .78rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 20px;
}
.sc {
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.sci {
  height: 200px !important;
  min-height: 200px !important;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.sci img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.scb { flex: 1; padding: 18px 18px 14px; }
.scb h3 { font-size: 1rem; margin-bottom: 5px; }
.scb p {
  font-size: .82rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  flex: 1;
}

/* ─── 6. HOMEOPATHY SECTION: 4 cards grid ─── */
#homeo { background: linear-gradient(135deg,#1E2418 0%,#2D3526 60%,#232B1C 100%); }
#homeo::before {
  background: radial-gradient(ellipse at 15% 50%,rgba(139,122,26,.12) 0%,transparent 60%),
              radial-gradient(ellipse at 85% 50%,rgba(26,74,74,.1) 0%,transparent 60%);
}
.hv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hvc { border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.hvc.c1 {
  background: linear-gradient(135deg,rgba(139,122,26,.25),rgba(168,148,30,.15));
  border: 1px solid rgba(139,122,26,.35);
  grid-column: span 2;
}
.hvc.c2 { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.hvc.c3 {
  background: linear-gradient(135deg,rgba(26,74,74,.3),rgba(42,96,96,.18));
  border: 1px solid rgba(26,74,74,.4);
}
/* 4th card — same style as c3 */
.hvc:not(.c1):not(.c2):not(.c3) {
  background: linear-gradient(135deg,rgba(26,74,74,.3),rgba(42,96,96,.18));
  border: 1px solid rgba(26,74,74,.4);
}
.hvn { font-size: 1.8rem !important; line-height: 1; }
.hgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
.hi2 { font-size: .78rem; padding: 8px 11px; }

/* ─── 7. APPOINTMENT: Map + info layout fix ─── */
#appt { background: linear-gradient(135deg,var(--teal) 0%,var(--teal-l) 100%); }
.appt-g { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
/* Left info panel */
.ac { padding-top: 8px; }
.ail { gap: 10px; margin-top: 18px; }
.ai2 {
  display: flex;
  align-items: flex-start !important;
  gap: 10px;
  font-size: .84rem;
  line-height: 1.6;
}
.aico { margin-top: 2px; flex-shrink: 0; }
/* Map iframe container fix */
#appt .ail .ai2:first-child {
  flex-direction: column;
  align-items: flex-start !important;
}
#appt iframe {
  display: block;
  width: 100% !important;
  border-radius: 10px;
  margin: 10px 0 8px;
  border: 0;
}
/* Form box */
.fb { border-radius: 14px; padding: 28px; }
.fb h3 { font-size: 1.3rem; margin-bottom: 3px; }
.fg input, .fg select, .fg textarea {
  font-size: .85rem;
  padding: 10px 12px;
}
.fg textarea { height: 76px; }

/* ─── 8. FOOTER: Clean grid ─── */
.ft-top {
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 28px;
}
.fcol h4 { font-size: .7rem; }
.flinks a { font-size: .8rem; }

/* ─── 9. WHY US: Even cards ─── */
.why-g { grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 18px; }
.wc { padding: 24px 18px; }

/* ─── 10. REVIEWS: Tighter ─── */
.rev-g { grid-template-columns: repeat(auto-fill, minmax(270px,1fr)); gap: 18px; }
.rt { font-size: .84rem; }

/* ─── RESPONSIVE FIXES ─── */
@media (max-width: 1100px) {
  nav.mn { gap: 12px !important; }
  nav.mn a { font-size: .75rem !important; }
  .hph { display: none !important; }
  .hi .btn-g { padding: 7px 12px !important; font-size: .72rem !important; }
}

@media (max-width: 1024px) {
  .hero-g, .about-g, .appt-g { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .about-imgs {
    position: static;
    height: 280px;
    grid-template-columns: 1fr 1fr;
  }
  .about-imgs .ai:first-child { height: 100%; }
  .about-imgs .ai:not(:first-child) { height: calc(50% - 6px); }
  .homeo-g { grid-template-columns: 1fr; }
  .hv-cards { display: none; }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  #hero { padding-top: 90px !important; min-height: auto; }
  h1.ht { font-size: 1.9rem !important; }
  section { padding: 52px 0; }
  nav.mn, .hph { display: none !important; }
  .ham { display: flex !important; }
  .logo-t .s { display: none; }
  .fr { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; }
  .ft-bot { flex-direction: column; text-align: center; }
  .hstats { gap: 14px; }
  .tabs { gap: 5px; }
  .tb { padding: 6px 12px !important; font-size: .72rem !important; }
  .about-imgs {
    height: auto;
    grid-template-columns: 1fr;
  }
  .about-imgs .ai { height: 200px !important; grid-row: span 1 !important; }
  .hgrid { grid-template-columns: 1fr; }
  .appt-g { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .fb { padding: 18px; }
  h1.ht { font-size: 1.7rem !important; }
}

/* ─── SCROLL ANCHORS ─── */
html { scroll-padding-top: 68px; }
section[id], div[id] { scroll-margin-top: 68px; }
#hero { scroll-margin-top: 0; }

/* ─── WHATSAPP FLOAT ─── */
.wa { bottom: 26px; right: 22px; width: 50px; height: 50px; }

/* ── APPOINTMENT FORM ALIGNMENT FIX ── */
.appt-g {
  display: grid !important;
  grid-template-columns: 1fr 1.1fr !important;
  gap: 48px !important;
  align-items: start !important;
}
.appt-g .ac {
  padding-top: 0 !important;
}
.appt-g .fb {
  position: relative !important;
  top: 0 !important;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 56px rgba(0,0,0,.15);
}

/* ── HOMEOPATHY TAB: 2-col conditions grid ── */
#tab-homeo-t > div {
  display: grid !important;
  grid-template-columns: 1.1fr .9fr !important;
  gap: 24px !important;
  align-items: start !important;
}
#tab-homeo-t .tp-cond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

/* ── COUNTER: Always visible ── */
.hsn {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ── TREATMENTS: homeo-t tab responsive ── */
@media (max-width: 768px) {
  #tab-homeo-t > div {
    grid-template-columns: 1fr !important;
  }
  .appt-g {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════
   APPOINTMENT SECTION — FINAL FIX
   ═══════════════════════════════ */

/* Section background */
#appt {
  background: linear-gradient(135deg, var(--teal) 0%, #1F5858 60%, var(--teal-l) 100%) !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}
#appt::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Main 2-col grid */
.appt-g {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 52px !important;
  align-items: start !important;
}

/* ── Left info panel ── */
.appt-info { padding-top: 4px; }
.appt-info .tag { color: rgba(255,255,255,.6) !important; margin-bottom: 8px; }
.appt-info h2 { color: #fff !important; font-size: clamp(1.6rem,2.5vw,2.4rem) !important; margin-bottom: 10px !important; }
.appt-info > p { color: rgba(255,255,255,.7); font-size: .93rem; line-height: 1.75; }

/* Contact items */
.appt-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.appt-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  line-height: 1.55;
}
.appt-ico {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Right form box ── */
.appt-form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}
.appt-form h3 { font-size: 1.4rem; margin-bottom: 4px; color: var(--deep); }
.appt-form > p { font-size: .84rem; color: var(--text-m); margin-bottom: 20px; }

/* Ensure old .fb styles don't override */
.appt-form .fg { margin-bottom: 13px; }
.appt-form .fr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.appt-form label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.appt-form input,
.appt-form select,
.appt-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.appt-form input:focus,
.appt-form select:focus,
.appt-form textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,74,74,.1);
}
.appt-form textarea { height: 80px; resize: vertical; }

/* Success message */
.appt-form .sm {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: #155724;
  font-size: .86rem;
  display: none;
}
.appt-form .sm.sh { display: block; }

/* Responsive */
@media (max-width: 900px) {
  .appt-g {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  .appt-info { order: 1; }
  .appt-form { order: 2; }
}
@media (max-width: 480px) {
  .appt-form { padding: 22px 18px; }
  .appt-form .fr { grid-template-columns: 1fr !important; }
}