:root{
  --bg: #FBF6F3;
  --bg-alt: #F4E7E2;
  --rose: #C48793;
  --rose-deep: #A9677A;
  --plum: #5B3242;
  --plum-deep: #3B1F2A;
  --sage: #93A87E;
  --sage-deep: #74905C;
  --gold: #C9A66B;
  --text: #3A2E32;
  --text-muted: #83686F;
  --white: #FFFFFF;
  --shadow: 0 20px 50px -25px rgba(91,50,66,.35);
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  font-family:var(--font-body), sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{ font-family:var(--font-display), serif; color:var(--plum-deep); font-weight:500; line-height:1.15; }
a{ text-decoration:none; color:inherit; }
img,svg{ display:block; max-width:100%; }
button{ font-family:inherit; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
  font-weight:700; color:var(--rose-deep); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--gold); display:inline-block; }
.center{ justify-content:center; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 30px; border-radius:100px; font-weight:700; font-size:15px;
  border:1px solid transparent; cursor:pointer; transition:.25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--plum-deep); color:var(--white); }
.btn-primary:hover{ background:var(--rose-deep); transform:translateY(-2px); }
.btn-outline{ border-color:var(--plum-deep); color:var(--plum-deep); }
.btn-outline:hover{ background:var(--plum-deep); color:var(--white); }

/* petal signature clip shapes */
.petal{ clip-path: path("M300 8C420 8 560 90 580 230C598 360 500 480 340 560C200 630 60 590 20 460C-18 340 40 190 140 90C190 40 250 8 300 8Z"); }
.petal-sm{ clip-path: path("M120 4C168 4 224 36 232 92C239 144 200 192 136 224C80 252 24 236 8 184C-7 136 16 76 56 36C76 16 100 4 120 4Z"); }

/* ---------- Announcement ---------- */
.announce{
  background:var(--plum-deep); color:#F2DDE0; text-align:center;
  font-size:13.5px; letter-spacing:.02em; padding:9px 20px;
}

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:50; background:rgba(251,246,243,.92);
  backdrop-filter:blur(10px); border-bottom:1px solid rgba(91,50,66,.08);
}
.nav{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 24px; max-width:1180px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display), serif; font-size:19px; color:var(--plum-deep); font-weight:600; white-space:nowrap; flex-shrink:0; line-height:1.2; }
.brand span{ color:var(--rose-deep); }
.brand .mark{
  width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,var(--rose),var(--sage));
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.navlinks{ display:flex; align-items:center; gap:20px; list-style:none; font-size:13.5px; font-weight:600; flex-wrap:nowrap; }
.navlinks li{ white-space:nowrap; }
.navlinks a{ white-space:nowrap; }
.navlinks a:hover{ color:var(--rose-deep); }
.nav-actions{ display:flex; align-items:center; gap:18px; flex-shrink:0; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; flex-shrink:0; }
@media (max-width:1180px){
  .navlinks{ gap:14px; font-size:13px; }
}
@media (max-width:1100px){
  .navlinks{ display:none; }
  .nav-toggle{ display:block; }
}
@media (max-width:560px){
  .nav{ padding:14px 16px; gap:10px; }
  .brand{ font-size:15.5px; gap:8px; }
  .brand .mark{ width:28px; height:28px; }
  .nav-actions{ gap:10px; }
  .nav-actions .btn-primary{ padding:9px 14px; font-size:12.5px; }
}
@media (max-width:400px){
  .brand{ font-size:13.5px; }
  .nav-actions .btn-primary{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; padding:76px 0 40px; overflow:hidden; }
.hero-bg-shape{
  position:absolute; top:-120px; right:-160px; width:640px; height:640px;
  background:radial-gradient(circle at 30% 30%, var(--bg-alt), transparent 70%);
  z-index:0;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; position:relative; z-index:1; }
.hero h1{ font-size:clamp(34px,4.6vw,54px); margin-bottom:20px; }
.hero h1 em{ font-style:italic; color:var(--rose-deep); }
.hero p.lead{ font-size:17px; color:var(--text-muted); max-width:480px; margin-bottom:32px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:36px; }
.hero-trust{ display:flex; gap:28px; flex-wrap:wrap; }
.hero-trust div{ font-family:var(--font-display), serif; font-size:26px; color:var(--plum-deep); }
.hero-trust small{ display:block; font-family:var(--font-body), sans-serif; font-size:12.5px; color:var(--text-muted); font-weight:600; margin-top:2px; }

.hero-art{ position:relative; height:480px; }
.hero-art .petal{
  position:absolute; inset:20px 40px; box-shadow:var(--shadow);
}
.hero-art .petal svg{ width:100%; height:100%; }
.hero-art .badge{
  position:absolute; bottom:26px; left:0; background:var(--white); border-radius:20px;
  padding:16px 20px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px; max-width:230px;
}
.hero-art .badge .dot{ width:44px; height:44px; border-radius:50%; background:var(--sage); flex-shrink:0; }
.hero-art .badge strong{ display:block; font-size:14.5px; color:var(--plum-deep); }
.hero-art .badge span{ font-size:12px; color:var(--text-muted); }
.hero-dots{ display:flex; gap:8px; margin-top:22px; justify-content:center; }
.hero-dots i{ width:8px; height:8px; border-radius:50%; background:var(--bg-alt); display:block; font-style:normal; }
.hero-dots i.active{ background:var(--rose-deep); width:22px; border-radius:5px; }

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ height:340px; order:-1; }
}

/* ---------- Section basics ---------- */
section{ padding:88px 0; position:relative; }
.section-head{ text-align:center; max-width:620px; margin:0 auto 52px; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.section-head p{ color:var(--text-muted); margin-top:14px; font-size:15.5px; }
.bg-alt{ background:var(--bg-alt); }

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.about-art{ position:relative; height:420px; }
.about-art .petal-sm{ position:absolute; width:340px; height:340px; top:20px; left:10px; box-shadow:var(--shadow); }
.about-art .petal-sm svg{ width:100%; height:100%; }
.about-art .ring{ position:absolute; width:120px; height:120px; border:2px dashed var(--gold); border-radius:50%; bottom:0; right:20px; }
.about-copy h2{ font-size:clamp(26px,3.2vw,36px); margin-bottom:20px; }
.about-copy p{ color:var(--text-muted); margin-bottom:16px; font-size:15.5px; }
.about-list{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:26px; list-style:none; }
.about-list li{ display:flex; gap:10px; font-size:14.5px; font-weight:600; color:var(--plum-deep); }
.about-list li::before{ content:"✦"; color:var(--gold); }
@media (max-width:860px){ .about-grid{ grid-template-columns:1fr; } .about-art{ height:280px; } }

/* ---------- Stats ---------- */
.stats{ background:var(--plum-deep); color:var(--white); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.stats-grid h3{ font-size:clamp(30px,3.4vw,42px); color:var(--gold); }
.stats-grid p{ font-size:13.5px; color:#E7CFD3; margin-top:6px; }
@media (max-width:760px){ .stats-grid{ grid-template-columns:1fr 1fr; row-gap:36px; } }

/* ---------- Specializations ---------- */
.spec-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.spec-card{
  background:var(--white); border-radius:22px; padding:30px 22px; text-align:left;
  box-shadow:var(--shadow); transition:.3s ease; border:1px solid rgba(91,50,66,.06);
}
.spec-card:hover{ transform:translateY(-6px); }
.spec-card-link{ display:flex; flex-direction:column; }
.spec-card-link .blog-readmore{ margin-top:auto; padding-top:6px; }
.spec-icon{
  width:56px; height:56px; border-radius:16px; margin-bottom:18px; font-size:24px;
  display:flex; align-items:center; justify-content:center; background:var(--bg-alt);
}
.spec-card h4{ font-size:17px; margin-bottom:8px; }
.spec-card p{ font-size:13.8px; color:var(--text-muted); }
@media (max-width:900px){ .spec-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:540px){ .spec-grid{ grid-template-columns:1fr; } }

/* ---------- Services scroller ---------- */
.service-scroll{ display:flex; gap:20px; overflow-x:auto; padding-bottom:14px; scroll-snap-type:x mandatory; }
.service-scroll::-webkit-scrollbar{ height:6px; }
.service-scroll::-webkit-scrollbar-thumb{ background:var(--rose); border-radius:10px; }
.service-card{
  flex:0 0 280px; scroll-snap-align:start; background:var(--white); border-radius:22px;
  overflow:hidden; box-shadow:var(--shadow); border:1px solid rgba(91,50,66,.06);
}
.service-thumb{ height:150px; position:relative; }
.service-card .body{ padding:22px; }
.service-card h4{ font-size:16.5px; margin-bottom:8px; }
.service-card p{ font-size:13.5px; color:var(--text-muted); }

/* ---------- Doctor profile ---------- */
.doc-grid{ display:grid; grid-template-columns:.75fr 1.25fr; gap:56px; align-items:start; }
.doc-photo{ position:relative; }
.doc-photo .petal-sm{ width:100%; aspect-ratio:1/1.05; box-shadow:var(--shadow); }
.doc-photo .petal-sm svg{ width:100%; height:100%; }
.doc-card{ background:var(--white); border-radius:20px; padding:22px; margin-top:-40px; position:relative; box-shadow:var(--shadow); }
.doc-card dl{ display:grid; grid-template-columns:1fr 1fr; gap:14px; font-size:13.5px; }
.doc-card dt{ color:var(--text-muted); font-weight:600; }
.doc-card dd{ color:var(--plum-deep); font-weight:700; margin-top:2px; }
.doc-info h3{ font-size:clamp(24px,3vw,32px); }
.doc-info .role{ color:var(--rose-deep); font-weight:700; margin:6px 0 20px; }
.doc-info p{ color:var(--text-muted); font-size:15px; margin-bottom:16px; }
.doc-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:14px; }
@media (max-width:860px){ .doc-grid{ grid-template-columns:1fr; } .doc-card{ margin-top:20px; } }

/* ---------- Testimonials ---------- */
.test-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.test-card{ background:var(--white); border-radius:22px; padding:30px; box-shadow:var(--shadow); border:1px solid rgba(91,50,66,.06); }
.test-card .stars{ color:var(--gold); font-size:14px; margin-bottom:14px; letter-spacing:2px; }
.test-card p{ font-size:14.5px; color:var(--text); margin-bottom:20px; }
.test-author{ display:flex; align-items:center; gap:12px; }
.test-author .av{ width:40px; height:40px; border-radius:50%; background:var(--bg-alt); flex-shrink:0; }
.test-author strong{ display:block; font-size:14px; color:var(--plum-deep); }
.test-author span{ font-size:12px; color:var(--text-muted); }
@media (max-width:900px){ .test-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq{ max-width:800px; margin:0 auto; }
.faq-item{ border-bottom:1px solid rgba(91,50,66,.12); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; padding:22px 4px;
  font-family:var(--font-display), serif; font-size:17px; color:var(--plum-deep);
}
.faq-q .icon{
  width:30px; height:30px; border-radius:50%; background:var(--bg-alt); flex-shrink:0;
  display:flex; align-items:center; justify-content:center; position:relative; margin-left:20px;
}
.faq-q .icon::before,.faq-q .icon::after{ content:""; position:absolute; background:var(--rose-deep); transition:.25s; }
.faq-q .icon::before{ width:12px; height:2px; }
.faq-q .icon::after{ width:2px; height:12px; }
.faq-item.open .icon::after{ transform:rotate(90deg); opacity:0; }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-item.open .faq-a{ max-height:600px; }
.faq-a p{ padding:0 4px 22px; color:var(--text-muted); font-size:14.5px; max-width:680px; }

/* ---------- Location ---------- */
.loc-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-bottom:36px; }
.loc-card{ background:var(--white); border-radius:22px; overflow:hidden; box-shadow:var(--shadow); border:1px solid rgba(91,50,66,.06); }
.loc-card .head{ background:var(--plum-deep); color:var(--white); padding:14px 22px; font-weight:700; font-size:14.5px; }
.loc-card .body{ padding:22px; }
.loc-card address{ font-style:normal; color:var(--text-muted); font-size:14px; margin-bottom:16px; }
.loc-card a.dir{ color:var(--rose-deep); font-weight:700; font-size:14px; }
.map-frame{ border-radius:22px; overflow:hidden; height:340px; background:var(--bg-alt); display:flex; align-items:center; justify-content:center; color:var(--text-muted); font-size:14px; border:1px solid rgba(91,50,66,.06); }
@media (max-width:760px){ .loc-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; }
.hours-card{ background:var(--plum-deep); color:var(--white); border-radius:22px; padding:30px; }
.hours-card h3{ color:var(--white); font-size:20px; margin-bottom:20px; }
.hours-row{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.12); font-size:14px; }
.form-card{ background:var(--white); border-radius:22px; padding:32px; box-shadow:var(--shadow); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.form-card label{ font-size:13px; font-weight:700; color:var(--plum-deep); display:block; margin-bottom:7px; }
.form-card input, .form-card textarea{
  width:100%; border:1px solid rgba(91,50,66,.15); border-radius:12px; padding:13px 15px;
  font-family:var(--font-body), sans-serif; font-size:14.5px; background:var(--bg); color:var(--text);
}
.form-card textarea{ min-height:110px; resize:vertical; grid-column:1/-1; }
.form-full{ grid-column:1/-1; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */
footer{ background:var(--plum-deep); color:#E7CFD3; padding:64px 0 24px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:44px; }
footer h4{ color:var(--white); font-size:15px; margin-bottom:16px; font-family:var(--font-body), sans-serif; font-weight:700; }
footer ul{ list-style:none; display:flex; flex-direction:column; gap:10px; font-size:14px; }
footer p{ font-size:14px; color:#D9B7BD; margin-bottom:18px; max-width:280px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.1); padding-top:22px; text-align:center; font-size:13px; color:#C79AA2; }
@media (max-width:800px){ .foot-grid{ grid-template-columns:1fr 1fr; row-gap:32px; } }

/* ================= Animations ================= */

/* Scroll-reveal (see components/Reveal.tsx) */
.reveal{ opacity:0; transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); will-change:opacity, transform; }
.reveal-up{ transform:translateY(28px); }
.reveal-fade{ transform:none; }
.reveal-left{ transform:translateX(36px); }
.reveal-right{ transform:translateX(-36px); }
.reveal-scale{ transform:scale(.94); }
.reveal-visible{ opacity:1; transform:none; }

/* Page transition (see app/template.tsx) */
.page-transition{ animation:page-fade-in .55s cubic-bezier(.16,1,.3,1) both; }
@keyframes page-fade-in{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:none; }
}

/* Gentle floating accent on the hero art */
.petal-float{ animation:petal-float 6s ease-in-out infinite; }
@keyframes petal-float{
  0%, 100%{ transform:translateY(0); }
  50%{ transform:translateY(-14px); }
}

@media (prefers-reduced-motion: reduce){
  .reveal, .page-transition, .petal-float{ animation:none !important; transition:none !important; opacity:1 !important; transform:none !important; }
}

/* ================= Mobile nav menu ================= */
.nav-toggle{ position:relative; width:34px; height:26px; }
.nav-toggle span{
  position:absolute; left:0; width:100%; height:2px; background:var(--plum-deep);
  border-radius:2px; transition:.3s ease; top:4px;
}
.nav-toggle span:nth-child(2){ top:12px; }
.nav-toggle span:nth-child(3){ top:20px; }
.nav-toggle.open span:nth-child(1){ top:12px; transform:rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ top:12px; transform:rotate(-45deg); }
/* show/hide of .nav-toggle itself is controlled once, near .navlinks above (1100px breakpoint) */

.mobile-menu{ max-height:0; overflow:hidden; transition:max-height .35s ease; background:var(--bg); border-bottom:1px solid rgba(91,50,66,.08); }
.mobile-menu.open{ max-height:420px; }
.mobile-menu ul{ list-style:none; padding:8px 24px 20px; display:flex; flex-direction:column; gap:4px; }
.mobile-menu a{ display:block; padding:12px 4px; font-weight:600; font-size:15px; color:var(--plum-deep); border-bottom:1px solid rgba(91,50,66,.06); }
.navlink-active{ color:var(--rose-deep) !important; }

/* ================= Secondary page hero ================= */
.page-hero{ position:relative; padding:64px 0 20px; overflow:hidden; text-align:center; }
.page-hero-title{ font-size:clamp(30px,4vw,46px); margin-top:4px; }

/* ================= Gallery ================= */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:36px; }
.chip{
  border:1px solid rgba(91,50,66,.18); background:var(--white); color:var(--plum-deep);
  padding:9px 18px; border-radius:100px; font-size:13.5px; font-weight:700; cursor:pointer; transition:.2s ease;
}
.chip:hover{ border-color:var(--rose-deep); }
.chip-active{ background:var(--plum-deep); border-color:var(--plum-deep); color:var(--white); }

.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; grid-auto-flow:dense; margin-bottom:20px; }
.gallery-tile{
  position:relative; width:100%; height:220px; border-radius:20px; border:none; cursor:pointer;
  overflow:hidden; box-shadow:var(--shadow); transition:transform .35s ease, box-shadow .35s ease;
  display:flex; align-items:flex-end; padding:0;
}
.gallery-tile-tall{ height:460px; grid-row:span 2; }
.gallery-tile:hover{ transform:translateY(-6px) scale(1.015); }
.gallery-tile::after{
  content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.55) 100%);
  opacity:0; transition:opacity .3s ease;
}
.gallery-tile:hover::after{ opacity:1; }
.gallery-tile-label{
  position:relative; z-index:1; color:var(--white); font-size:13.5px; font-weight:700; text-align:left;
  padding:18px; opacity:0; transform:translateY(8px); transition:.3s ease;
}
.gallery-tile:hover .gallery-tile-label{ opacity:1; transform:none; }
@media (max-width:980px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); } .gallery-tile-tall{ height:340px; } }
@media (max-width:560px){ .gallery-grid{ grid-template-columns:1fr; } .gallery-tile, .gallery-tile-tall{ height:240px; grid-row:auto; } }

.lightbox-overlay{
  position:fixed; inset:0; background:rgba(59,31,42,.78); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center; z-index:100; padding:24px;
  animation:page-fade-in .3s ease both;
}
.lightbox-box{ position:relative; max-width:640px; width:100%; background:var(--white); border-radius:24px; overflow:hidden; box-shadow:var(--shadow); }
.lightbox-image{ height:400px; width:100%; }
.lightbox-caption{ padding:20px 24px; display:flex; flex-direction:column; gap:4px; }
.lightbox-caption strong{ color:var(--plum-deep); font-size:16px; }
.lightbox-caption span{ color:var(--text-muted); font-size:13px; }
.lightbox-close{
  position:absolute; top:14px; right:14px; width:38px; height:38px; border-radius:50%; border:none;
  background:rgba(255,255,255,.9); color:var(--plum-deep); font-size:15px; cursor:pointer; box-shadow:var(--shadow);
}
@media (max-width:600px){ .lightbox-image{ height:260px; } }

/* ================= Blog ================= */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.blog-card{
  display:block; background:var(--white); border-radius:22px; overflow:hidden; box-shadow:var(--shadow);
  border:1px solid rgba(91,50,66,.06); transition:.3s ease;
}
.blog-card:hover{ transform:translateY(-6px); }
.blog-thumb{ height:160px; }
.blog-card .body{ padding:22px; }
.blog-meta{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-muted); font-weight:600; margin-bottom:12px; flex-wrap:wrap; }
.blog-tag{ background:var(--bg-alt); color:var(--rose-deep); padding:4px 12px; border-radius:100px; font-size:11.5px; font-weight:700; letter-spacing:.02em; }
.blog-card h4{ font-size:17px; margin-bottom:10px; line-height:1.3; }
.blog-card p{ font-size:13.8px; color:var(--text-muted); margin-bottom:16px; }
.blog-readmore{ font-size:13.5px; font-weight:700; color:var(--rose-deep); }
@media (max-width:980px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .blog-grid{ grid-template-columns:1fr; } }

/* ================= Article (blog detail) ================= */
.article{ position:relative; padding:64px 0 20px; overflow:hidden; }
.article-wrap{ max-width:760px; }
.article-back{ font-size:13.5px; font-weight:700; color:var(--rose-deep); }
.article-title{ font-size:clamp(28px,4vw,42px); margin:14px 0 30px; }
.article-cover{ height:320px; border-radius:24px; margin-bottom:36px; box-shadow:var(--shadow); }
.article-body p{ color:var(--text); font-size:16px; line-height:1.8; margin-bottom:22px; max-width:700px; }

/* Rich-text content rendered from the admin's WYSIWYG editor (blog posts, specialization overviews) */
.rich-content{ max-width:700px; }
.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4,.rich-content h5,.rich-content h6{
  color:var(--plum-deep); line-height:1.3; margin:30px 0 14px;
}
.rich-content h1{ font-size:32px; }
.rich-content h2{ font-size:26px; }
.rich-content h3{ font-size:22px; }
.rich-content h4{ font-size:19px; }
.rich-content h5{ font-size:17px; }
.rich-content h6{ font-size:15px; text-transform:uppercase; letter-spacing:.04em; }
.rich-content ul,.rich-content ol{ margin:0 0 22px 22px; }
.rich-content li{ margin-bottom:8px; line-height:1.7; color:var(--text); }
.rich-content a{ color:var(--rose-deep); text-decoration:underline; }
.rich-content strong{ font-weight:700; }
.rich-content blockquote{
  border-left:4px solid var(--rose-deep); margin:24px 0; padding:6px 22px;
  color:var(--text-muted); font-style:italic;
}
.rich-content pre{ background:#2b2320; color:#f4ece7; padding:16px 18px; border-radius:12px; overflow:auto; margin-bottom:22px; font-size:14px; }
.rich-content img{ max-width:100%; height:auto; border-radius:16px; margin:22px 0; box-shadow:var(--shadow); }
.rich-content .ql-align-center{ text-align:center; }
.rich-content .ql-align-right{ text-align:right; }
.rich-content .ql-align-justify{ text-align:justify; }
.rich-content .ql-indent-1{ padding-left:2.5em; }
.rich-content .ql-indent-2{ padding-left:5em; }
.rich-content .ql-indent-3{ padding-left:7.5em; }
.rich-content .ql-size-small{ font-size:0.8em; }
.rich-content .ql-size-large{ font-size:1.4em; }
.rich-content .ql-size-huge{ font-size:2em; }
.article-cta{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
  background:var(--bg-alt); border-radius:20px; padding:26px 28px; margin:36px 0 20px;
}
.article-cta strong{ display:block; color:var(--plum-deep); font-size:15.5px; margin-bottom:4px; }
.article-cta span{ color:var(--text-muted); font-size:13.5px; }
@media (max-width:600px){ .article-cover{ height:200px; } }

/* ================= Specialization detail ================= */
.spec-detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:36px 0; }
.spec-detail-card{ background:var(--bg-alt); border-radius:20px; padding:26px 28px; }
.spec-detail-card h3{ font-size:17px; margin-bottom:16px; }
.check-list{ list-style:none; display:flex; flex-direction:column; gap:12px; }
.check-list li{ font-size:14px; color:var(--text); padding-left:24px; position:relative; }
.check-list li::before{ content:"✓"; position:absolute; left:0; color:var(--sage-deep); font-weight:700; }
@media (max-width:700px){ .spec-detail-grid{ grid-template-columns:1fr; } }

/* ---------- Brand logo, doctor photos, service images (added) ---------- */
.brand-logo{ width:54px; height:auto; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; color:var(--plum-deep); }
.brand-name{ white-space:nowrap; }
.brand .brand-text small{ font-family:var(--font-body), sans-serif; font-size:10.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin-top:2px; }
@media (max-width:560px){ .brand-logo{ width:42px; } .brand .brand-text small{ font-size:9px; } }

.hero-photo{
  position:absolute; inset:0 40px 20px 60px; border-radius:240px 240px 32px 32px;
  overflow:hidden; box-shadow:var(--shadow); background:var(--bg-alt);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 25%; }
.hero-ring{ position:absolute; width:140px; height:140px; border:2px dashed var(--gold); border-radius:50%; top:-16px; right:8px; z-index:-1; }
.hero-art .badge{ z-index:2; }
.hero-art .badge .dot{ background:none; width:44px; height:auto; border-radius:0; object-fit:contain; }
@media (max-width:900px){ .hero-art{ height:420px; } .hero-photo{ inset:0 8% 14px 8%; } }

.about-logo{
  position:absolute; inset:30px 20px 40px 0; background:var(--white); border-radius:28px;
  box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; padding:28px;
}
.about-logo img{ width:100%; height:100%; object-fit:contain; }
@media (max-width:860px){ .about-art{ height:320px; } }

.doc-photo-frame{ width:100%; aspect-ratio:4/4.6; border-radius:200px 200px 28px 28px; overflow:hidden; box-shadow:var(--shadow); background:var(--bg-alt); }
.doc-photo-frame img{ width:100%; height:100%; object-fit:cover; object-position:50% 30%; }

a.service-card{ display:flex; flex-direction:column; color:inherit; transition:transform .3s ease; }
a.service-card:hover{ transform:translateY(-6px); }
.service-card .body{ display:flex; flex-direction:column; flex:1; }
.service-card .blog-readmore{ margin-top:auto; padding-top:10px; }
.service-thumb{ height:170px; overflow:hidden; }
.service-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
a.service-card:hover .service-thumb img{ transform:scale(1.05); }

.foot-logo{ display:inline-block; background:var(--white); border-radius:16px; padding:12px 16px; margin-bottom:16px; max-width:230px; }
.foot-logo img{ width:100%; height:auto; }
.brand .brand-text, .brand .brand-name{ color:var(--plum-deep); }
.brand .brand-name span{ color:var(--rose-deep); }

/* =================================================================
   Mobile compatibility fixes
   ================================================================= */
html, body{ overflow-x:hidden; }
@supports (overflow:clip){ html, body{ overflow-x:clip; } }
section, .hero, .page-hero, .article{ overflow-x:clip; }
img{ height:auto; }
.announce-short{ display:none; }
.announce a{ color:#fff; text-decoration:underline; }
.hours-row{ gap:14px; }
.hours-day{ flex-shrink:0; min-width:96px; }
.hours-time{ text-align:right; }
.mobile-cta{ display:none; }
footer a, footer li{ overflow-wrap:anywhere; }

@media (max-width:760px){
  .announce{ font-size:12px; padding:7px 14px; }
  .announce-long{ display:none; }
  .announce-short{ display:inline; }

  section{ padding:56px 0; }
  .section-head{ margin-bottom:32px; }
  .wrap{ padding:0 18px; }

  /* hero */
  .hero{ padding:36px 0 24px; }
  .hero-grid{ gap:28px; }
  .hero p.lead{ font-size:15.5px; margin-bottom:24px; }
  .hero-actions{ gap:10px; margin-bottom:26px; }
  .hero-actions .btn, .doc-actions .btn{ flex:1 1 100%; justify-content:center; text-align:center; }
  .hero-trust{ gap:12px; flex-wrap:nowrap; justify-content:space-between; }
  .hero-trust div{ font-size:22px; }
  .hero-trust small{ font-size:11px; }
  .hero-art{ height:400px; }
  .hero-photo{ inset:0 6% 18px 6%; border-radius:200px 200px 26px 26px; }
  .hero-ring{ width:100px; height:100px; top:-10px; right:0; }
  .hero-art .badge{ left:0; bottom:0; padding:12px 14px; max-width:210px; }
  .hero-dots{ display:none; }

  /* about */
  .about-grid{ gap:28px; }
  .about-art{ height:auto; }
  .about-logo{ position:relative; inset:auto; padding:20px; }
  .about-art .ring{ width:80px; height:80px; right:-6px; bottom:-18px; }
  .about-list{ grid-template-columns:1fr; gap:10px; }

  /* stats */
  .stats{ padding:44px 0; }

  /* services scroller: bigger cards, show a peek of the next one */
  .service-card{ flex:0 0 78vw; max-width:300px; }
  .service-thumb{ height:150px; }

  /* doctor */
  .doc-grid{ gap:28px; }
  .doc-photo-frame{ aspect-ratio:4/4.4; }
  .doc-card dl{ gap:12px; }

  /* testimonials / faq */
  .test-card{ padding:24px; }
  .faq-q{ gap:12px; }

  /* locations + map */
  .map-frame{ height:260px !important; }

  /* contact */
  .hours-card, .form-card{ padding:22px; }
  .hours-row{ font-size:13px; }
  .hours-day{ min-width:84px; }
  .form-card input, .form-card textarea{ font-size:16px; } /* stops iPhone auto-zoom on tap */

  /* gallery: 2 columns instead of 12 full-width tiles */
  .gallery-filters{ gap:8px; }
  .gallery-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .gallery-tile, .gallery-tile-tall{ height:160px; grid-row:auto; border-radius:16px; }
  .gallery-tile-tall{ height:220px; grid-row:span 1; }
  .gallery-tile-label{ opacity:1; transform:none; font-size:11.5px; }

  /* inner pages */
  .page-hero{ padding:36px 0 8px; }
  .article{ padding:32px 0 10px; }
  .article-cover{ height:190px; margin-bottom:24px; }
  .rich-content h1{ font-size:26px; } .rich-content h2{ font-size:22px; } .rich-content h3{ font-size:19px; }
  .rich-content .ql-indent-1{ padding-left:1.2em; } .rich-content .ql-indent-2{ padding-left:2.4em; } .rich-content .ql-indent-3{ padding-left:3.6em; }
  .article-cta{ flex-direction:column; align-items:flex-start; gap:14px; }

  /* footer */
  footer{ padding:44px 0 90px; }
  .foot-grid{ gap:28px; }
  .foot-grid > div:first-child{ grid-column:1 / -1; }
  .foot-logo{ max-width:200px; }

  /* sticky bottom action bar */
  .mobile-cta{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:60; gap:10px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(251,246,243,.96); backdrop-filter:blur(8px);
    border-top:1px solid rgba(91,50,66,.1); box-shadow:0 -8px 24px -16px rgba(59,31,42,.4);
  }
  .mobile-cta a{
    flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
    padding:12px 10px; border-radius:40px; font-weight:700; font-size:14px;
  }
  .mobile-cta-call{ border:1.5px solid var(--plum-deep); color:var(--plum-deep); }
  .mobile-cta-book{ background:var(--plum-deep); color:var(--white); }
}

@media (max-width:360px){
  .brand-name{ font-size:13px; }
  .brand .brand-text small{ display:none; }
  .hero-trust div{ font-size:19px; }
  .hero-art{ height:340px; }
}
.mobile-menu.open{ max-height:640px; }
.cta-short{ display:none; }
.mobile-cta a{ white-space:nowrap; }
@media (max-width:760px){
  .foot-grid > div:nth-child(3){ grid-column:1 / -1; }
  .gallery-tile-tall{ height:160px; }
}
@media (max-width:374px){
  .announce-loc{ display:none; }
  .cta-long{ display:none; }
  .cta-short{ display:inline; }
  .mobile-cta a{ font-size:13.5px; }
}
