/* ============================================================
   Dr. Pritam Paul — shared styles (Version 1.5)
   Palette, typography, layout and animations preserved.
   Apple-inspired: more whitespace, larger headings, smoother flow.
   ============================================================ */
:root{
  --bg:#F1F4F5;
  --surface:#FFFFFF;
  --ink:#13242B;
  --muted:#566A70;
  --primary:#0E6E73;
  --primary-deep:#0A4F53;
  --accent:#E2753C;
  --line:#D8E0E1;
  --line-soft:#E7EceD;
  --maxw:1120px;
  --serif:"Newsreader",Georgia,serif;
  --sans:"Hanken Grotesk",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--sans);color:var(--ink);background:var(--bg);line-height:1.65;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;}

.eyebrow{font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;
  color:var(--primary);display:inline-flex;align-items:center;gap:.6em;}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--primary);opacity:.5;}

h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.07;letter-spacing:-.01em;}
.lead{font-size:1.2rem;color:var(--muted);max-width:56ch;}

.pivot{width:30px;height:30px;flex:none;}
.pivot circle{fill:var(--accent);}
.pivot path{fill:none;stroke:var(--primary);stroke-width:2.4;stroke-linecap:round;}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:50;background:rgba(241,244,245,.82);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line-soft);}
.nav{display:flex;align-items:center;justify-content:space-between;height:70px;}
.brand{display:flex;align-items:center;gap:.7rem;font-family:var(--serif);font-size:1.18rem;font-weight:600;}
.brand img{height:38px;width:auto;border-radius:9px;}
.brand small{font-family:var(--sans);font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);font-weight:600;display:block;line-height:1;margin-top:3px;}
.nav-links{display:flex;align-items:center;gap:1.9rem;}
.nav-links a{font-size:.92rem;font-weight:500;color:var(--muted);transition:color .2s;}
.nav-links a:hover,.nav-links a.active{color:var(--ink);}
.btn{display:inline-flex;align-items:center;gap:.5em;font-weight:600;font-size:.92rem;
  padding:.62em 1.15em;border-radius:999px;transition:transform .15s,box-shadow .2s,background .2s;
  background:var(--accent);color:#fff;border:1px solid transparent;cursor:pointer;}
.btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px -8px rgba(226,117,60,.7);}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{background:var(--surface);box-shadow:none;}
.menu-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:4px 0;transition:.25s;}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;}
.hero .wrap{padding-top:5rem;padding-bottom:5rem;}
.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:center;position:relative;z-index:2;}
.hero h1{font-size:clamp(2.5rem,5.2vw,4.2rem);max-width:18ch;}
.hero .role{display:block;font-size:clamp(.92rem,1.9vw,1.12rem);font-family:var(--sans);
  font-weight:600;letter-spacing:.04em;color:var(--primary);margin-top:1.2rem;max-width:40ch;}
.hero .creds{display:inline-block;font-family:var(--sans);font-weight:600;font-size:.8rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:.4rem;}
.hero-sub{font-family:var(--serif);font-style:italic;font-size:1.18rem;color:var(--muted);margin-top:1.1rem;}
.hero .lead{margin-top:1.6rem;}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.4rem;}
.hero-deco{position:absolute;right:-40px;top:50%;transform:translateY(-50%);
  width:560px;height:560px;z-index:1;opacity:.5;pointer-events:none;}
.hero-deco svg{width:100%;height:100%;}
.hero-deco .ring{fill:none;stroke:var(--primary);opacity:.14;}
.hero-deco .ring2{fill:none;stroke:var(--accent);opacity:.2;}

/* portrait */
.portrait{position:relative;z-index:2;}
.portrait img,.portrait-ph{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:22px;
  box-shadow:0 30px 60px -28px rgba(13,36,43,.5),0 10px 28px -18px rgba(13,36,43,.35);}
.portrait-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;
  background:linear-gradient(155deg,#0E6E73,#0A4F53);color:#EAF3F2;border:1px solid rgba(255,255,255,.12);}
.portrait-ph .mono{font-family:var(--serif);font-size:3.4rem;font-weight:500;line-height:1;}
.portrait-ph small{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:#9FD3D2;font-weight:600;}

/* ---------- generic section (Apple-style breathing room) ---------- */
section{padding:6.5rem 0;}
.section-head{max-width:64ch;margin-bottom:3.5rem;}
.section-head h2{font-size:clamp(2.1rem,4.4vw,3.3rem);margin-top:1rem;}
.section-head p{margin-top:1.1rem;color:var(--muted);font-size:1.12rem;}
.alt{background:var(--surface);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);}

/* page hero (inner pages) */
.page-hero{padding:5.5rem 0 1rem;}
.page-hero h1{font-size:clamp(2.4rem,5vw,3.8rem);max-width:18ch;}
.page-hero p{margin-top:1.2rem;color:var(--muted);font-size:1.15rem;max-width:60ch;}

/* ---------- stats ---------- */
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.2rem;}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.9rem;
  transition:transform .25s,box-shadow .25s,border-color .2s;}
.stat:hover{transform:translateY(-4px);box-shadow:0 18px 36px -24px rgba(19,36,43,.45);border-color:var(--primary);}
.stat .ico{width:42px;height:42px;border-radius:11px;background:rgba(14,110,115,.1);
  display:grid;place-items:center;margin-bottom:1rem;}
.stat .ico svg{width:22px;height:22px;stroke:var(--primary);fill:none;stroke-width:1.7;}
.stat .big{font-family:var(--serif);font-size:1.7rem;line-height:1.1;color:var(--ink);}
.stat .sub{color:var(--muted);font-size:.95rem;margin-top:.35rem;}

/* ---------- about ---------- */
.about-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:3.5rem;align-items:start;}
.about-grid p{color:var(--muted);margin-bottom:1.1rem;font-size:1.07rem;}
blockquote{font-family:var(--serif);font-size:1.55rem;line-height:1.3;color:var(--ink);
  border-left:3px solid var(--accent);padding:.2rem 0 .2rem 1.4rem;margin:2rem 0 0;font-style:italic;}
.aside-stack{display:grid;gap:1.2rem;}
.creds-card{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:1.8rem;}
.alt .creds-card{background:var(--surface);}
.creds-card h3{font-size:1.22rem;margin-bottom:1.1rem;}
.creds-list{list-style:none;display:grid;gap:.85rem;}
.creds-list li{display:flex;gap:.75rem;font-size:.98rem;align-items:flex-start;}
.creds-list li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--primary);margin-top:.55em;flex:none;}
.creds-list .label{color:var(--muted);}

/* ---------- cards grid (conditions / treatments) ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.3rem;}
.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.8rem;
  transition:transform .2s,box-shadow .25s,border-color .2s;}
.card:hover{transform:translateY(-3px);box-shadow:0 16px 32px -22px rgba(19,36,43,.4);border-color:var(--primary);}
.card .ico{width:40px;height:40px;border-radius:11px;background:rgba(14,110,115,.1);
  display:grid;place-items:center;margin-bottom:1rem;}
.card .ico svg{width:21px;height:21px;stroke:var(--primary);fill:none;stroke-width:1.8;}
.card h3{font-size:1.2rem;margin-bottom:.5rem;}
.card p{color:var(--muted);font-size:.96rem;}
.card .more{display:inline-flex;align-items:center;gap:.4em;margin-top:1.1rem;font-weight:600;
  font-size:.9rem;color:var(--primary);}
.card .more svg{width:15px;height:15px;stroke:var(--primary);fill:none;stroke-width:2;transition:transform .2s;}
.card:hover .more svg{transform:translateX(3px);}

/* ---------- gallery ---------- */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.3rem;}
.gphoto{position:relative;border-radius:18px;overflow:hidden;border:1px solid var(--line);
  background:var(--surface);aspect-ratio:4/3;}
.gphoto img{width:100%;height:100%;object-fit:cover;}
.gphoto-ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;
  background:linear-gradient(155deg,#0E6E73,#0A4F53);color:#CFE3E1;}
.gphoto-ph svg{width:30px;height:30px;stroke:#9FD3D2;fill:none;stroke-width:1.6;}
.gphoto-ph span{font-size:.82rem;letter-spacing:.06em;}
.gphoto figcaption{position:absolute;left:0;right:0;bottom:0;padding:.9rem 1.1rem;color:#fff;font-size:.9rem;font-weight:600;
  background:linear-gradient(to top,rgba(10,36,40,.78),transparent);}

/* ---------- case highlights ---------- */
.cases-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:1.5rem;}
.case{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.6rem;
  transition:transform .2s,box-shadow .25s;}
.case:hover{transform:translateY(-3px);box-shadow:0 18px 38px -24px rgba(19,36,43,.4);}
.case h3{font-size:1.3rem;margin-bottom:.9rem;}
.xrays{display:grid;grid-template-columns:1fr;gap:.8rem;margin-bottom:1.1rem;}
.xray{position:relative;border-radius:12px;overflow:hidden;background:#0A1418;aspect-ratio:4/3;border:1px solid var(--line);}
.xray img{width:100%;height:100%;object-fit:cover;}
.xray-ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;
  background:radial-gradient(circle at 50% 40%,#15323a,#0A1418);color:#7FA7AC;}
.xray-ph svg{width:24px;height:24px;stroke:#5E8A90;fill:none;stroke-width:1.5;}
.xray .tag{position:absolute;top:.55rem;left:.55rem;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;
  font-weight:700;color:#fff;background:rgba(14,110,115,.85);padding:.25em .6em;border-radius:999px;}
.case .row{display:flex;gap:.55rem;font-size:.95rem;margin-bottom:.45rem;}
.case .row .k{color:var(--primary);font-weight:600;flex:none;min-width:74px;}
.case .row .v{color:var(--muted);}

/* ---------- faq ---------- */
.faq-list{display:grid;gap:.9rem;max-width:820px;}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;
  transition:border-color .2s,box-shadow .25s;}
.faq-item[open]{border-color:var(--primary);box-shadow:0 14px 30px -24px rgba(19,36,43,.4);}
.faq-item summary{list-style:none;cursor:pointer;padding:1.25rem 1.5rem;font-weight:600;font-size:1.05rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--ink);}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .plus{flex:none;width:22px;height:22px;position:relative;transition:transform .25s;}
.faq-item summary .plus::before,.faq-item summary .plus::after{content:"";position:absolute;background:var(--primary);
  border-radius:2px;top:50%;left:50%;transform:translate(-50%,-50%);}
.faq-item summary .plus::before{width:14px;height:2px;}
.faq-item summary .plus::after{width:2px;height:14px;transition:transform .25s,opacity .2s;}
.faq-item[open] summary .plus::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0;}
.faq-item .ans{padding:0 1.5rem 1.4rem;color:var(--muted);font-size:1rem;}

/* ---------- visit ---------- */
.visit{background:var(--primary-deep);color:#EAF3F2;}
.visit .eyebrow{color:#7FD0CF;}
.visit .eyebrow::before{background:#7FD0CF;}
.visit h2{color:#fff;}
.visit .section-head p{color:#CFE3E1;}
.visit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:2.5rem;}
.visit-block{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:1.9rem;}
.visit-block .tag{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#7FD0CF;font-weight:700;}
.visit-block h3{font-size:1.32rem;color:#fff;margin:.5rem 0 .8rem;}
.visit-block p,.visit-block a{color:#CFE3E1;font-size:1rem;}
.visit-block a:hover{color:#fff;text-decoration:underline;}
.hours-pill{display:inline-flex;align-items:center;gap:.5em;margin-top:1.1rem;font-size:.92rem;font-weight:600;color:#fff;
  background:rgba(127,208,207,.16);border:1px solid rgba(127,208,207,.3);padding:.4em .9em;border-radius:999px;}
.hours-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:#7FD0CF;}
.dir-btn{display:inline-flex;align-items:center;gap:.5em;margin-top:1.2rem;font-weight:600;font-size:.88rem;
  padding:.55em 1.05em;border-radius:999px;border:1px solid rgba(255,255,255,.35);color:#fff;
  transition:background .2s,transform .15s,border-color .2s;}
.dir-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6);transform:translateY(-1px);}
.dir-btn svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.8;}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.contact-actions{display:flex;flex-direction:column;gap:1rem;max-width:380px;}
.contact-line{display:flex;align-items:center;gap:1rem;background:var(--surface);border:1px solid var(--line);
  border-radius:14px;padding:1.1rem 1.3rem;transition:border-color .2s,transform .15s;}
.contact-line:hover{border-color:var(--primary);transform:translateX(2px);}
.contact-line .ico{width:42px;height:42px;border-radius:10px;background:rgba(14,110,115,.1);display:grid;place-items:center;flex:none;}
.contact-line .ico svg{width:20px;height:20px;stroke:var(--primary);fill:none;stroke-width:1.8;}
.contact-line .k{font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:600;}
.contact-line .v{font-size:1.05rem;font-weight:600;color:var(--ink);}
.note{font-size:.9rem;color:var(--muted);margin-top:1.4rem;max-width:46ch;}

/* ---------- footer ---------- */
footer{background:var(--ink);color:#AEC0C3;padding:3.5rem 0;font-size:.9rem;}
.foot-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;align-items:flex-start;}
.foot-brand{display:flex;align-items:center;gap:.8rem;font-family:var(--serif);font-size:1.25rem;color:#fff;}
.foot-brand img{height:48px;width:auto;border-radius:11px;}
.foot-brand small{display:block;font-family:var(--sans);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#7FD0CF;margin-top:.3rem;}
.foot-grid a:hover{color:#fff;text-decoration:underline;}
.foot-nav{display:flex;gap:1.3rem;flex-wrap:wrap;margin-top:.2rem;}
.foot-tagline{font-size:.82rem;color:#7E949A;margin-top:.8rem;}
.disclaimer{font-size:.78rem;color:#6E8489;max-width:64ch;margin-top:1.8rem;line-height:1.6;}

/* ---------- floating whatsapp ---------- */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:90;display:flex;align-items:center;gap:0;
  background:#25D366;color:#fff;border-radius:999px;height:54px;width:54px;overflow:hidden;
  box-shadow:0 10px 26px -8px rgba(37,211,102,.6);transition:width .3s ease,box-shadow .2s;}
.wa-float svg{width:28px;height:28px;flex:none;margin:0 13px;fill:#fff;}
.wa-float .wa-text{white-space:nowrap;font-weight:600;font-size:.92rem;opacity:0;transition:opacity .2s;padding-right:4px;}
.wa-float:hover{width:230px;box-shadow:0 12px 30px -6px rgba(37,211,102,.7);}
.wa-float:hover .wa-text{opacity:1;}

/* ---------- reveal animation ---------- */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .8s ease,transform .8s ease;}
.reveal.in{opacity:1;transform:none;}

/* ---------- responsive ---------- */
@media(max-width:860px){
  section{padding:4.5rem 0;}
  .hero-inner{grid-template-columns:1fr;gap:2.2rem;}
  .portrait{order:-1;max-width:300px;margin:0 auto;}
  .about-grid,.contact-grid{grid-template-columns:1fr;gap:2.2rem;}
  .hero-deco{display:none;}
  .nav-links{position:absolute;top:70px;left:0;right:0;background:var(--surface);
    flex-direction:column;align-items:stretch;gap:0;padding:.5rem 0;
    border-bottom:1px solid var(--line);box-shadow:0 12px 24px -18px rgba(0,0,0,.4);display:none;}
  .nav-links.open{display:flex;}
  .nav-links a{padding:.9rem 24px;color:var(--ink);}
  .nav-links .btn{margin:.6rem 24px;justify-content:center;}
  .menu-toggle{display:block;}
  .wa-float:hover{width:54px;}
  .wa-float:hover .wa-text{opacity:0;}
}
@media(prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;}
  html{scroll-behavior:auto;}
  .reveal{opacity:1;transform:none;}
}
