/* Mehr Dental Studio — teal & warm-sand theme. Colours and fonts live in :root */
:root {
  --teal: #0d6b65;
  --teal-deep: #0a504c;
  --teal-ink: #11312f;
  --mint: #e2efea;
  --mint-2: #d3e6df;
  --sand: #efe3d6;
  --sand-2: #f7efe7;
  --amber: #f2b544;
  --amber-deep: #e0a12c;
  --white: #ffffff;
  --bg: #fcfbf9;
  --ink: #17302e;
  --muted: #5b6d6a;
  --line: rgba(17, 49, 47, .12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --shadow: 0 10px 30px rgba(13, 107, 101, .10);
  /* aliases used by the admin panel */
  --pine: var(--teal);
  --pine-deep: var(--teal-deep);
  --paper: #ffffff;
  --clay: var(--amber);
  --line-strong: rgba(17, 49, 47, .3);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.label, .eyebrow { display: inline-block; font: italic 600 14px var(--serif); color: var(--teal); letter-spacing: 0; text-transform: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--teal-ink); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); font-weight: 600; }
.dash em::before, h1 em.dash::before, h2 em.dash::before { content: "— "; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--muted); max-width: 36em; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px;
  background: var(--amber); color: var(--teal-ink); border: 1.5px solid var(--amber); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 3px 0 rgba(17, 49, 47, .15);
}
.btn:hover { background: var(--amber-deep); border-color: var(--amber-deep); transform: translateY(-1px); }
.btn.teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn.teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.ghost, .btn.outline { background: #fff; color: var(--teal-ink); border-color: var(--teal-ink); box-shadow: none; }
.btn.ghost:hover, .btn.outline:hover { background: var(--mint); }
.btn.light { background: #fff; color: var(--teal-ink); border-color: #fff; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.link { color: var(--teal); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.wa-ico { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */
.util { background: var(--teal); color: #e7f2ef; font-size: 13px; }
.util .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.util a { text-decoration: none; }
.util .soc { display: flex; gap: 8px; align-items: center; }
.util .soc a { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; }
.util .soc svg { width: 13px; height: 13px; }
.site-head { background: #fff; position: relative; z-index: 40; }
.head-main { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo b { display: block; font: 700 23px/1 var(--serif); color: var(--teal-ink); }
.logo small { display: block; font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.head-info { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.hi { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hi i { width: 38px; height: 38px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; flex: none; }
.hi i svg { width: 17px; height: 17px; color: var(--teal-ink); }
.hi span { font-size: 12px; color: var(--muted); line-height: 1.2; }
.hi b { display: block; font-size: 14px; color: var(--ink); font-weight: 600; }
.navbar { position: sticky; top: 0; z-index: 39; }
.navbar .wrap { padding: 0 var(--gut); }
.nav { background: var(--teal); border-radius: 0 0 var(--r) var(--r); display: flex; gap: 4px; padding: 0 14px; box-shadow: var(--shadow); }
.nav a { color: #e6f1ee; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 14px 14px; position: relative; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--amber); }
.nav .nav-book { margin-left: auto; align-self: center; }
.menu-btn { display: none; margin-left: auto; background: var(--teal); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 600; font-size: 14px; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(100deg, var(--sand) 0%, var(--sand-2) 55%, #f3e8dc 100%); margin-top: -26px; padding-top: 26px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -6%; top: 10%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 6vw, 80px); position: relative; z-index: 1; }
.hero h1 { margin: 10px 0 18px; }
.hero h1 em { display: block; }
.hero .lede { max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.offer-pill { display: inline-block; background: rgba(13, 107, 101, .1); color: var(--teal-ink); font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.offer-pill b { color: var(--teal); }
.rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: end; }
.hero-art .disc { position: absolute; inset: 6% 6% 4%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff 0%, #f6ede3 55%, #ead9c7 100%); }
.hero-art #hero-3d { position: absolute; inset: 0; }
.hero-art #hero-3d canvas, .hero-art #hero-3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero-art .fallback { padding: 18%; }
.float-card {
  position: absolute; right: -2%; top: 12%; width: 190px; background: #fff; border-radius: var(--r); padding: 12px; box-shadow: 0 16px 40px rgba(17, 49, 47, .16);
  display: grid; gap: 8px; z-index: 2;
}
.float-card .ph { background: var(--mint); border-radius: 10px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; }
.float-card .ph img { max-height: 100%; object-fit: contain; }
.float-card b { font: 600 15px/1.25 var(--serif); color: var(--teal-ink); }
.float-card span { font-size: 12px; color: var(--muted); }
.float-card.b { right: auto; left: 2%; top: auto; bottom: 8%; width: auto; grid-template-columns: auto 1fr; align-items: center; padding: 10px 14px; }
.float-card.b i { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.stats { background: var(--teal); color: #fff; position: relative; z-index: 1; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats div.s { padding: 26px 22px; }
.stats div.s + div.s { border-left: 1px solid rgba(255, 255, 255, .18); }
.stats b { display: block; font: 600 clamp(28px, 3vw, 38px)/1 var(--serif); }
.stats b sup { color: var(--amber); font-size: .6em; margin-left: 2px; }
.stats span { font-size: 13px; color: rgba(255, 255, 255, .78); }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec.tight { padding: clamp(48px, 6vw, 72px) 0; }
.panel { border-radius: 22px; padding: clamp(28px, 4.5vw, 56px); position: relative; overflow: hidden; }
.panel.mint { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.05 0 0 0 0 0.42 0 0 0 0 0.4 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.panel.sand { background: linear-gradient(110deg, var(--sand) 0%, var(--sand-2) 60%, #f2e6d9 100%); }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head .lede { margin: 0 0 14px; font-size: 15px; }
.sec-head.center { display: block; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.sec-head h2 { margin-top: 6px; }

/* reviews carousel */
.reviews { position: relative; overflow: hidden; padding-bottom: clamp(40px, 5vw, 64px); }
.rv-track { position: relative; height: 270px; margin-top: 10px; }
.rv-card {
  position: absolute; left: 50%; top: 0; width: min(330px, 80vw); background: var(--teal); color: #fff; border-radius: var(--r); padding: 22px 22px 18px;
  transform: translateX(-50%) scale(.86); opacity: 0; transition: transform .5s, opacity .5s, filter .5s; box-shadow: var(--shadow);
}
.rv-card .stars { font-size: 14px; }
.rv-card p { font-size: 15.5px; line-height: 1.55; margin: 12px 0 18px; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, .4); }
.rv-card footer { display: flex; align-items: center; gap: 10px; }
.rv-card .av { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--teal-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.rv-card footer b { display: block; font: 600 15px var(--serif); }
.rv-card footer small { font-size: 12px; opacity: .75; }
.rv-card .g { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #4285f4; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.rv-card.pos-0 { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; }
.rv-card.pos-1 { transform: translateX(calc(-50% + 330px)) scale(.86); opacity: .32; z-index: 2; filter: blur(1.5px); }
.rv-card.pos--1 { transform: translateX(calc(-50% - 330px)) scale(.86); opacity: .32; z-index: 2; filter: blur(1.5px); }
.rv-card.pos-2 { transform: translateX(calc(-50% + 600px)) scale(.76); opacity: .18; filter: blur(2px); }
.rv-card.pos--2 { transform: translateX(calc(-50% - 600px)) scale(.76); opacity: .18; filter: blur(2px); }
.rv-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; }
.rv-ctrl button.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--teal); background: #fff; color: var(--teal); cursor: pointer; font-size: 16px; }
.rv-ctrl button.arrow.fill { background: var(--teal); color: #fff; }
.dots { display: flex; gap: 6px; }
.dots button { width: 18px; height: 3px; border: 0; background: var(--line); border-radius: 2px; padding: 0; cursor: pointer; }
.dots button.on { background: var(--teal); width: 26px; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svc {
  position: relative; aspect-ratio: 1.05; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff;
  background: radial-gradient(circle at 50% 38%, #f9f4ee 0%, #e8dccd 70%, #dccbb8 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 18px;
}
.svc:nth-child(even) { background: radial-gradient(circle at 50% 38%, #f3f8f6 0%, #d6e8e1 70%, #c5ddd4 100%); }
.svc img { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 78%; height: 66%; object-fit: contain; transition: transform .5s; }
.svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 80, 76, .92) 0%, rgba(10, 80, 76, .55) 28%, transparent 55%); }
.svc > * { position: relative; z-index: 1; }
.svc img { z-index: 0; }
.svc h3 { color: #fff; font-size: 21px; }
.svc p { font-size: 13px; color: rgba(255, 255, 255, .85); margin: 6px 0 0; max-height: 0; overflow: hidden; transition: max-height .4s; }
.svc .more { font-size: 13px; font-weight: 600; margin-top: 6px; max-height: 0; overflow: hidden; transition: max-height .4s; }
.svc:hover img { transform: translate(-50%, -54%) scale(1.04); }
.svc:hover p, .svc:first-child p, .svc:hover .more, .svc:first-child .more { max-height: 80px; }

/* about + team */
.about-banner { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 6.2; background: #efe4d8; margin-bottom: 14px; }
.about-banner img { width: 100%; height: 100%; object-fit: contain; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.member { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #dfece7 0%, #b9d6cc 100%); display: flex; align-items: flex-end; padding: 18px; text-decoration: none; }
.member .ini { position: absolute; inset: 0 0 30% 0; display: grid; place-items: center; font: italic 600 clamp(56px, 6vw, 84px)/1 var(--serif); color: rgba(13, 107, 101, .35); }
.member img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 80, 76, .95) 0%, rgba(10, 80, 76, .5) 35%, transparent 60%); }
.member div { position: relative; z-index: 1; color: #fff; }
.member b { display: block; font: 600 19px var(--serif); }
.member small { font-size: 12px; opacity: .85; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* why us */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.why .panel { overflow: visible; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; color: var(--teal-ink); }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.why-img { background: #fff; padding: 10px; border-radius: 18px; box-shadow: 0 20px 50px rgba(17, 49, 47, .14); margin-bottom: -110px; }
.why-img div { border-radius: 12px; background: radial-gradient(circle at 50% 40%, #f6faf8, #cfe3db); aspect-ratio: 4 / 4.4; display: grid; place-items: center; padding: 12%; }

/* steps */
.steps3 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: center; }
.steps3 .art { border-radius: var(--r); background: radial-gradient(circle at 45% 40%, #fbf6f0, #e9dccd); aspect-ratio: 1.15; display: grid; place-items: center; padding: 10%; }
.step-cards { display: grid; gap: 16px; }
.step-card { display: grid; grid-template-columns: 46px 1fr; gap: 14px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 26px rgba(17, 49, 47, .08); max-width: 440px; }
.step-card:nth-child(1), .step-card:nth-child(3) { margin-left: auto; }
.step-card i { width: 46px; height: 46px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; }
.step-card i svg { width: 22px; height: 22px; }
.step-card h3 { font-size: 18px; margin-bottom: 4px; }
.step-card p { font-size: 14px; color: var(--muted); margin: 0; }
.steps-note { font-size: 14px; color: var(--muted); margin-top: 8px; }
.steps-note b { color: var(--teal); }

/* offer */
.offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.inc { background: rgba(255, 255, 255, .7); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.inc.wide { grid-column: 1 / -1; }
.inc::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.inc b { display: block; font: 600 15px var(--serif); color: var(--teal-ink); }
.inc span { font-size: 13px; color: var(--muted); }
.price-card { background: #fff; border-radius: 16px; padding: 28px 26px; text-align: center; box-shadow: var(--shadow); position: relative; margin-top: 54px; }
.price-card .save { position: absolute; top: -12px; right: 18px; background: var(--amber); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.price-card .big { font: 700 44px/1.1 var(--serif); color: var(--teal-ink); margin: 6px 0; }
.price-card s { color: var(--muted); font-size: 14px; }
.price-card ul { list-style: none; padding: 18px 0 0; margin: 18px 0 22px; border-top: 1px solid var(--line); text-align: left; display: grid; gap: 10px; font-size: 14px; }
.price-card li { display: flex; gap: 10px; align-items: center; }
.price-card li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* before / after */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; user-select: none; touch-action: pan-y; background: #efe4d8; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--amber); transform: translateX(-1px); }
.ba .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--teal-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: 2px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-cap { display: flex; justify-content: space-around; font: 600 18px var(--serif); color: var(--teal-ink); margin-top: 12px; }
.ba-wrap p.small { text-align: center; margin-top: 4px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: stretch; }
.faq-art { border-radius: var(--r); background: radial-gradient(circle at 50% 40%, #f5faf8, #cfe3db); display: grid; place-items: center; padding: 14%; margin-top: 22px; min-height: 280px; }
.faq details { background: rgba(255, 255, 255, .75); border-radius: 10px; margin-bottom: 10px; transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; padding: 15px 44px 15px 18px; font: 600 16px/1.35 var(--serif); color: var(--teal-ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font: 400 22px var(--sans); }
.faq details[open] { background: var(--teal); }
.faq details[open] summary { color: #fff; }
.faq details[open] summary::after { content: "–"; color: #fff; }
.faq details p { color: rgba(255, 255, 255, .88); padding: 0 18px 16px; margin: 0; font-size: 14.5px; }

/* blog */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post .ph { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 40%, #fbf7f2, #eadfd1); display: grid; place-items: center; padding: 6% 14%; }
.post:nth-child(2) .ph { background: radial-gradient(circle at 50% 40%, #f5faf8, #d3e6df); }
.post .ph img { max-height: 100%; object-fit: contain; }
.post .bd { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post .meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.tag { background: var(--teal); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.post h3 { font-size: 18px; }
.post p { font-size: 14px; color: var(--muted); margin: 0; }
.post .rm { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--teal-ink); }

/* booking section */
.book-sec { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.contact-blk h3 { font-size: 22px; margin: 26px 0 8px; }
.contact-blk p { margin: 0 0 6px; font-size: 14.5px; }
.contact-blk p b { font-weight: 600; }
.contact-blk a { text-decoration: none; font-weight: 600; }
.form-card { background: #fff; border-radius: 16px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 4px; }
.form-card > p.small { color: var(--muted); margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--teal-ink); }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; background: #fff; border: 1px solid #d5dfdc; border-radius: 8px; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13, 107, 101, .12); }
.field textarea { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #a33b2a; font-size: 14px; min-height: 1.3em; margin: 8px 0 0; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* final cta */
.cta-final { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.cta-final .art { border-radius: var(--r); background: radial-gradient(circle at 50% 40%, #fbf6f0, #e9dccd); aspect-ratio: 1.3; display: grid; place-items: center; padding: 10%; }
.cta-final .card { background: var(--teal); color: #fff; border-radius: var(--r); padding: clamp(26px, 4vw, 44px); margin-left: -18%; margin-bottom: -40px; box-shadow: 0 20px 50px rgba(10, 80, 76, .25); position: relative; }
.cta-final h2 { color: #fff; }
.cta-final h2 em { color: var(--amber); }
.cta-final p { color: rgba(255, 255, 255, .85); margin: 14px 0 22px; }
.cta-final .btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer */
.foot { background: linear-gradient(110deg, var(--sand) 0%, var(--sand-2) 70%); margin-top: clamp(64px, 8vw, 110px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 28px; padding: clamp(48px, 6vw, 72px) 0 40px; font-size: 14px; }
.foot-grid h4 { font: 600 18px var(--serif); margin-bottom: 12px; color: var(--teal-ink); }
.foot-grid a { display: block; text-decoration: none; padding: 3px 0; color: var(--muted); }
.foot-grid a:hover { color: var(--teal); }
.foot-grid p { color: var(--muted); }
.foot-bar { background: var(--teal); color: #e1efeb; font-size: 13px; }
.foot-bar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }

/* WhatsApp button */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff;
  text-decoration: none; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0, 0, 0, .2); font-size: 14px; font-weight: 600; transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .wa-ico { width: 22px; height: 22px; }

/* ---------- inner pages ---------- */
.page-head { background: linear-gradient(100deg, var(--sand) 0%, var(--sand-2) 70%); margin-top: -26px; padding: calc(26px + clamp(40px, 5vw, 64px)) 0 clamp(40px, 5vw, 60px); }
.page-head .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: end; }
.page-head h1 { margin-top: 8px; }
.page-head .lede { margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--teal); font-weight: 600; }

.t-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.t-row:nth-child(even) .t-img { order: 2; }
.t-img { border-radius: var(--r); background: radial-gradient(circle at 50% 40%, #fbf6f0, #e9dccd); aspect-ratio: 1.2; display: grid; place-items: center; padding: 10%; }
.t-row:nth-child(even) .t-img, .td-hero .t-img { background: radial-gradient(circle at 50% 40%, #f5faf8, #d3e6df); }
.t-img img { max-height: 100%; object-fit: contain; }
.t-row .num { display: inline-block; font: italic 600 14px var(--serif); color: var(--teal); margin-bottom: 6px; }
.t-row .meta { display: flex; gap: 10px; margin: 16px 0 18px; flex-wrap: wrap; }
.t-row .meta div { background: var(--mint); border-radius: 10px; padding: 8px 14px; font-size: 12px; color: var(--muted); }
.t-row .meta b { display: block; color: var(--teal-ink); font-size: 15px; }

.fees-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.fee-table th, .fee-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 400; }
.fee-table thead th { background: var(--teal); color: #fff; font-size: 13px; font-weight: 600; }
.fee-table td:first-child { font: 600 16px var(--serif); }
.fee-table td.num, .fee-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--teal); }
.fee-table td.dur { color: var(--muted); font-size: 14px; }
.fee-table a { text-decoration: none; }
.fee-table tr:last-child td { border-bottom: 0; }

.td-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.facts div { background: #fff; border-radius: 12px; padding: 12px 14px; }
.facts span { font-size: 12px; color: var(--muted); }
.facts b { display: block; font: 600 18px/1.3 var(--serif); color: var(--teal-ink); }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { background: #fff; border-radius: 10px; padding: 12px 14px 12px 44px; position: relative; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(17, 49, 47, .06); }
.steps li::before { counter-increment: s; content: counter(s); width: 46px; height: 46px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; font: 600 20px var(--serif); }
.steps h3 { font-size: 18px; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; font-size: 14.5px; }
.next-t { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-decoration: none; padding: 28px 32px; border-radius: var(--r); background: var(--teal); color: #fff; margin-top: 40px; }
.next-t .label { color: var(--amber); }
.next-t b { font: 600 clamp(22px, 2.6vw, 32px)/1.2 var(--serif); }

.story { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.story .big { font: 600 clamp(22px, 2.2vw, 28px)/1.4 var(--serif); color: var(--teal-ink); }
.doc-row { display: grid; grid-template-columns: 280px 1fr 1fr; gap: clamp(20px, 4vw, 48px); padding: 28px; background: #fff; border-radius: var(--r); margin-bottom: 16px; align-items: start; box-shadow: 0 8px 24px rgba(17, 49, 47, .05); }
.doc-row .member { aspect-ratio: 4 / 4.4; }
.doc-row .note { font: italic 500 19px/1.5 var(--serif); color: var(--teal-ink); }
.doc-row dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 14.5px; }
.doc-row dt { color: var(--muted); }
.doc-row dd { margin: 0; font-weight: 500; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cols-3 > div { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: 0 8px 24px rgba(17, 49, 47, .05); }
.cols-3 i { width: 46px; height: 46px; border-radius: 10px; background: var(--teal); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.cols-3 i svg { width: 22px; height: 22px; }
.cols-3 h3 { margin-bottom: 8px; }
.cols-3 p { color: var(--muted); margin: 0; font-size: 15px; }

/* booking page */
.book-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-step { border: 0; margin: 0 0 22px; padding: 0; }
.form-step legend { font: 600 20px var(--serif); color: var(--teal-ink); margin-bottom: 14px; padding: 0; display: flex; gap: 10px; align-items: center; }
.form-step legend i { width: 28px; height: 28px; border-radius: 50%; background: var(--amber); color: var(--teal-ink); font: 600 13px var(--sans); display: grid; place-items: center; font-style: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: block; padding: 9px 14px; border: 1px solid #d5dfdc; border-radius: 999px; font-size: 14px; background: #fff; transition: all .15s; cursor: pointer; }
.chip input:checked + span { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.done-card h2 { margin: 6px 0 12px; }
.summary { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary li span:first-child { color: var(--muted); }
.aside-card { background: #fff; border-radius: var(--r); padding: 22px; margin-bottom: 14px; box-shadow: 0 8px 24px rgba(17, 49, 47, .05); }
.aside-card h3 { font-size: 19px; margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr:last-child td { border-bottom: 0; }
.hours tr.today td { color: var(--teal); font-weight: 600; }

/* reveal */
.rv { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.js .rv:not(.in) { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .js .rv:not(.in) { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .head-info .hi.mail { display: none; }
  .nav a { padding: 14px 10px; font-size: 14px; }
  .rv-card.pos-2, .rv-card.pos--2 { opacity: 0; }
}
@media (max-width: 880px) {
  .util .hide-sm { display: none; }
  .head-info, .navbar { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: none; background: var(--teal); }
  .mobile-nav.open { display: block; }
  .mobile-nav a { display: block; padding: 14px var(--gut); color: #fff; text-decoration: none; border-top: 1px solid rgba(255, 255, 255, .12); font-weight: 500; }
  .mobile-nav .btn { margin: 14px var(--gut); display: flex; }
  .hero, .page-head { margin-top: 0; }
  .page-head { padding-top: clamp(40px, 5vw, 64px); }
  .hero-grid, .sec-head, .why, .steps3, .offer, .faq-grid, .book-sec, .cta-final, .page-head .grid, .t-row, .fees-grid, .td-hero, .two-col, .story, .book-grid, .doc-row { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 420px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stats div.s:nth-child(3) { border-left: 0; }
  .stats div.s:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .svc-grid, .team, .blog, .cols-3 { grid-template-columns: 1fr 1fr; }
  .rv-card.pos-1, .rv-card.pos--1 { opacity: 0; }
  .why-img { margin-bottom: 0; }
  .step-card { max-width: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .cta-final .card { margin: -40px 12px 0; }
  .t-row:nth-child(even) .t-img { order: 0; }
  .doc-row .member { max-width: 280px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .team, .blog, .cols-3, .inc-grid, .row2 { grid-template-columns: 1fr; }
  .row2 { gap: 0; }
  .svc { aspect-ratio: 1.3; }
  .svc p, .svc .more { max-height: 80px; }
  .float-card { width: 150px; right: 0; }
  .float-card.b { display: none; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .about-banner { aspect-ratio: 16 / 9; }
}

/* wordmark (admin) */
.wordmark { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.wordmark b { font: 700 26px/1 var(--serif); color: inherit; }
.wordmark small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }

/* static review cards (reviews + results pages) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rv-static { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 8px 24px rgba(17, 49, 47, .06); display: flex; flex-direction: column; }
.rv-static:nth-child(3n+2) { background: var(--teal); color: #fff; }
.rv-static p { font-size: 15.5px; line-height: 1.55; margin: 12px 0 18px; padding-left: 14px; border-left: 2px solid var(--line); flex: 1; }
.rv-static:nth-child(3n+2) p { border-color: rgba(255, 255, 255, .4); }
.rv-static footer { display: flex; align-items: center; gap: 10px; }
.rv-static .av { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--teal-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.rv-static footer b { display: block; font: 600 15px var(--serif); }
.rv-static footer small { font-size: 12px; opacity: .75; }
.rv-static .g { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); color: #4285f4; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.rating-box { display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--r); padding: 18px 22px; box-shadow: var(--shadow); width: fit-content; max-width: 100%; }
.rating-box b { font: 700 44px/1 var(--serif); color: var(--teal-ink); }

/* faqs page */
.faq-groups { display: grid; gap: 22px; }
.faq-group { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; align-items: start; background: var(--sand-2); border-radius: 18px; padding: clamp(22px, 3vw, 36px); }
.faq-group:nth-child(even) { background: var(--mint); }
.faq-group h2 { font-size: clamp(24px, 2.4vw, 30px); }

/* blog article */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article { max-width: 680px; }
.article h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 30px 0 10px; }
.article p { font-size: 17px; line-height: 1.75; color: #33504c; }
.article p:first-child { font-size: 19px; color: var(--ink); }
.article-grid aside { position: sticky; top: 80px; }

/* new patients: checklist cards */
.np-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

@media (max-width: 880px) {
  .review-grid, .np-list { grid-template-columns: 1fr 1fr; }
  .faq-group, .article-grid { grid-template-columns: 1fr; }
  .article-grid aside { position: static; }
}
@media (max-width: 560px) {
  .review-grid, .np-list { grid-template-columns: 1fr; }
}
