@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-display:swap;font-weight:200 800;src:url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-display:swap;font-weight:200 800;src:url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Vivi Clinic site styles.
   Layout idea: plan form sits beside the headline, a sticky action bar follows the visitor,
   every section ends in one step: get a free plan or message on WhatsApp. */
:root {
  --ink: #0c2d48;
  --ink-soft: #27506b;
  --teal: #0a6a73;
  --teal-soft: #e2f1f2;
  --amber: #f5b02e;
  --amber-deep: #d98f00;
  --paper: #f5f9fa;
  --white: #ffffff;
  --line: #d3e0e5;
  --muted: #4b6272;
  --ok: #1d7a4d;
  --radius: 14px;
  --font-display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }
.ic { width: 22px; height: 22px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ffc24f; color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #1a8f4a; color: #fff; }
.btn-wa:hover { background: #157a3f; color: #fff; }
.btn-block { width: 100%; }

/* Top bar and header */
.topbar { background: var(--ink); color: #dbe9f1; font-size: 0.9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .tel { font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.menu-btn { display: none; min-height: 44px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font: 700 0.95rem var(--font-body); color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #e8f3f5 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.trust-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; font-weight: 500; }
.trust-list svg { flex: none; width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.hero-photo { margin: 20px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--teal-soft); box-shadow: 0 18px 40px -26px rgba(12, 45, 72, 0.55); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Cards and forms */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.plan-card { box-shadow: 0 18px 40px -24px rgba(12, 45, 72, 0.45); border-top: 5px solid var(--amber); }
.plan-card h2, .plan-card h3 { font-size: 1.5rem; }
.plan-card .sub { margin: 6px 0 16px; color: var(--muted); font-size: 0.97rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.93rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #9db4c0; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(10, 106, 115, 0.25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); margin: 4px 0 16px; }
.consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--teal); }
.form-error { color: #a1281c; font-weight: 600; font-size: 0.92rem; margin: 0 0 12px; }
.form-error:empty { display: none; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.form-done { display: none; }
.form-done.is-open { display: block; }
.form-done h3 { color: var(--ok); margin-bottom: 8px; }
.form-done .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 10px; }
.msg-preview { background: var(--paper); border: 1px dashed #9db4c0; border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; white-space: pre-wrap; margin-top: 10px; }

/* Sections */
section { padding: clamp(40px, 6vw, 76px) 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 70ch; justify-items: start; }
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #eaf3f8; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: #7fd6dc; }
.band-dark .lead { color: #c8dbe7; }

/* Trust strip */
.strip { padding: 22px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip-item { display: flex; flex-direction: column; }
.strip-item b { font: 700 1.7rem var(--font-display); color: var(--ink); line-height: 1.1; }
.strip-item span { font-size: 0.92rem; color: var(--muted); }

/* Finder */
.finder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.finder-list { display: grid; gap: 10px; }
.finder-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; width: 100%; min-height: 56px; padding: 12px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font: 600 1.02rem var(--font-body); color: var(--ink); cursor: pointer; }
.finder-btn:hover { border-color: var(--teal); }
.finder-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder-btn svg { width: 18px; height: 18px; flex: none; }
.finder-panel { min-height: 280px; }
.fp-text { display: flex; flex-direction: column; align-items: flex-start; }
.fp-text h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.chips { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 8px; }
.chips li { display: flex; gap: 10px; align-items: flex-start; }
.chips li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.62em; border-radius: 50%; background: var(--amber-deep); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.small-print { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }

/* Treatment cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.t-card { display: flex; flex-direction: column; gap: 10px; }
.t-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); }
.t-card .more { margin-top: auto; padding-top: 8px; font-weight: 700; }

/* Guarantee */
.g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.g-big { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius); padding: 24px; }
.g-big b { display: block; font: 700 2.4rem var(--font-display); color: var(--amber); line-height: 1; margin-bottom: 8px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; margin: 0; padding: 0; list-style: none; color: #d4e4ee; font-size: 0.97rem; }
.terms li { padding-left: 22px; position: relative; }
.terms li::before { content: "•"; position: absolute; left: 6px; color: var(--amber); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 700 1.1rem var(--font-display); margin-bottom: 12px; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps h3 { margin-bottom: 6px; font-size: 1.08rem; }
.steps p { color: var(--ink-soft); font-size: 0.95rem; }

/* Clinic photos */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--teal-soft); aspect-ratio: 4 / 3; position: relative; }
.photos img { width: 100%; height: 100%; object-fit: cover; }
.photos figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,0.94); border-radius: 999px; padding: 3px 12px; font-size: 0.82rem; font-weight: 700; }

/* Before and after */
.cases { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.case { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--teal-soft); aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.case img { width: 100%; height: 100%; object-fit: cover; }
.case figcaption { position: absolute; left: 8px; top: 8px; background: rgba(255,255,255,0.94); border-radius: 999px; padding: 2px 10px; font-size: 0.78rem; font-weight: 700; }

/* Doctors */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc { display: flex; gap: 16px; align-items: center; }
.avatar { position: relative; flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--teal-soft); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.doc .role { color: var(--muted); font-size: 0.93rem; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.review blockquote { margin: 0; font-size: 1.08rem; font-weight: 500; }
.review figcaption { color: var(--muted); font-size: 0.92rem; margin-top: auto; }
.stars { color: #00b67a; letter-spacing: 3px; font-size: 1.05rem; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.offer .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.offer p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-copy { max-width: 540px; }
.contact-title { margin-top: 10px; font-size: clamp(2.1rem, 5vw, 3.1rem); line-height: 1.05; }
.contact-lead { margin-top: 16px; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); max-width: 48ch; }
.contact-list { margin: 26px 0 0; display: grid; font-size: 0.96rem; }
.contact-list > div { display: grid; grid-template-columns: 124px 1fr; gap: 4px 16px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal); }
.contact-list dd { margin: 0; color: var(--ink); line-height: 1.5; }
.contact-list a { font-weight: 600; }
.cl-line { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.cl-tag { min-width: 58px; color: var(--ink-soft); font-size: 0.88rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.compare thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.compare tbody th { font: 700 1.05rem var(--font-display); width: 17%; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; }
.pill.yes { background: #dff3e8; color: var(--ok); }
.pill.no { background: #eef2f4; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.notice { background: var(--teal-soft); border-left: 5px solid var(--teal); border-radius: 10px; padding: 18px 20px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font: 600 1.08rem var(--font-body); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); max-width: 70ch; }

/* Page hero for inner pages */
.page-hero { padding: clamp(28px, 5vw, 56px) 0; background: linear-gradient(180deg, #e8f3f5 0%, var(--paper) 100%); }
.page-hero .hero-grid { align-items: start; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.imp-photo { margin: 26px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; }
.imp-photo img { width: 100%; height: 100%; object-fit: cover; }
.legal-page { max-width: 760px; }

/* Footer */
.site-footer { background: #08202f; color: #b9cfdd; padding: 40px 0 110px; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 6px 12px; margin-bottom: 12px; }
.foot-logo img { height: 44px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; }

/* Sticky action bar */
.action-bar { position: fixed; z-index: 60; right: 16px; bottom: 16px; display: flex; gap: 10px; }
.action-bar .btn { box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5); }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .finder, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .cards, .docs, .reviews { grid-template-columns: 1fr 1fr; }
  .offers { grid-template-columns: 1fr 1fr; }
  .steps, .steps.five { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .g-grid, .terms { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .header-cta .tel { display: none; }
  .site-header .wrap { position: relative; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .brand img { height: 50px; }
  .cards, .docs, .reviews, .offers, .steps, .steps.five, .photos, .foot-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
    .topbar .wrap { justify-content: center; text-align: center; }
  .action-bar { left: 0; right: 0; bottom: 0; padding: 10px var(--gutter); background: rgba(255,255,255,0.97); border-top: 1px solid var(--line); }
  .action-bar .btn { flex: 1; box-shadow: none; padding: 0 12px; }
  .header-cta .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
.page-hero .lead { margin-top: 16px; }

@media (max-width: 640px) {
  .contact-list > div { grid-template-columns: 96px 1fr; gap: 4px 12px; }
}
.sub-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sub-cards .card h3 { margin-bottom: 8px; }
.sub-cards .card p { color: var(--ink-soft); }
.sub-cards .card ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-soft); }
@media (max-width: 640px) { .sub-cards { grid-template-columns: 1fr; } }

.nav a { white-space: nowrap; }
.topbar a { white-space: nowrap; }

@media (min-width: 1001px) {
  .hero .hero-grid { align-items: stretch; }
  .hero .hero-side { display: flex; flex-direction: column; }
  .hero .plan-card, .hero .plan-card > [data-form-shell], .hero .plan-card form, .hero .plan-card .form-fields { display: flex; flex-direction: column; flex: 1; }
  .hero .plan-card .form-fields > .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
  .hero .plan-card .form-fields textarea { flex: 1; min-height: 64px; }
  .hero .plan-card .form-done { flex: none; }
}

/* Bento-style hero */
.hero { padding-bottom: 18px; }
.hero-copy { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 18px 40px -30px rgba(12, 45, 72, 0.35); }
.hero .hero-copy .eyebrow { display: inline-block; background: var(--teal-soft, #e1f0f1); padding: 7px 14px; border-radius: 999px; font-size: 0.74rem; line-height: 1.3; }
.bento { padding: 0 0 clamp(26px, 4vw, 44px); background: var(--paper); }
.bento-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 16px; }
.tile { border-radius: 20px; padding: 20px 22px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 130px; }
.tile b { font: 700 clamp(1.6rem, 2.4vw, 2.1rem) var(--font-display); line-height: 1.05; color: var(--ink); white-space: nowrap; }
.tile span { font-size: 0.95rem; color: var(--ink-soft); }
.tile-amber { background: var(--amber); border-color: var(--amber); }
.tile-amber span { color: var(--ink); }
.tile-ink { background: var(--ink); border-color: var(--ink); }
.tile-ink b { color: #fff; }
.tile-ink span { color: #c8dbe7; }
.tile-cert { background: #eef6e4; border-color: #dcebc6; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 16px; text-decoration: none; }
.tile-cert img { flex: none; width: 46%; max-width: 190px; height: auto; border-radius: 8px; border: 1px solid #cfe0b5; background: #fff; }
.tile-cert span { display: flex; flex-direction: column; gap: 4px; }
.tile-cert b { font: 700 1.02rem var(--font-body); line-height: 1.3; color: var(--ink); white-space: normal; }
.tile-cert small { font-size: 0.82rem; color: var(--ink-soft); }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.quick-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); }
.quick-item:hover { border-color: var(--teal); }
.quick-item svg { flex: none; width: 24px; height: 24px; color: var(--teal); }
.quick-item span { display: flex; flex-direction: column; }
.quick-item b { font-size: 1rem; }
.quick-item small { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 1000px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .quick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tile { min-height: 110px; padding: 16px; }
  .quick-item { padding: 14px; gap: 10px; }
  .quick-item small { display: none; }
}

/* Dark hero card + tiles under the form (matches reference layout) */
.hero-copy { background: var(--ink); border-color: var(--ink); color: #fff; display: flex; flex-direction: column; box-shadow: 0 24px 50px -30px rgba(12, 45, 72, 0.7); }
.hero-copy h1 { color: #fff; }
.hero .hero-copy h1 em { color: var(--amber); }
.hero-copy .lead { color: #c8dbe7; }
.hero .hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; background: rgba(255,255,255,0.1); color: #fff; }
.hero .hero-copy .eyebrow svg { width: 15px; height: 15px; color: var(--amber); flex: none; }
.hero-copy .trust-list { margin-top: auto; padding-top: 28px; }
.hero-copy .trust-list li { color: #e6eef4; }
.hero-copy .trust-list svg { color: var(--amber); }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-tiles .tile { min-height: 0; }
.hero-tiles .tile-amber { justify-content: flex-end; min-height: 150px; }
.hero-tiles .tile-cert { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; padding: 14px; }
.hero-tiles .tile-cert img { width: 100%; max-width: none; }
.hero-tiles .tile-cert b { font-size: 0.92rem; }
.bento { padding-top: 6px; }
@media (min-width: 1001px) {
  .hero .hero-side .plan-card { flex: 1; }
  .hero .plan-card .form-fields textarea { min-height: 56px; }
}
@media (max-width: 520px) { .hero-tiles .tile-amber b { font-size: 1.7rem; } }
@media (min-width: 1001px) {
  .hero .hero-copy h1 { font-size: clamp(2.9rem, 4.4vw, 3.9rem); line-height: 1.05; margin-top: 22px !important; }
  .hero .hero-copy .lead { font-size: 1.18rem; margin-top: 22px; }
  .hero .hero-copy .hero-actions { margin-top: 30px; }
  .hero .hero-copy .eyebrow { font-size: 0.68rem; letter-spacing: 0.06em; padding: 8px 14px; }
}
.hero-copy .trust-list { border-top: 1px solid rgba(255,255,255,0.14); margin-top: auto; padding-top: 24px; }
@media (max-width: 1000px) { .hero-tiles .tile-cert { grid-column: auto; } }
@media (max-width: 520px) { .hero-tiles { grid-template-columns: 1fr; } .hero-tiles .tile-amber { min-height: 110px; } }

/* v3: compact hero, tiles in one row below */
.bento-grid { grid-template-columns: 1fr 1.7fr 1fr; }
.bento-grid .tile-amber span { color: var(--ink); }
.bento { padding-top: 16px; }
.bento-grid .tile { min-height: 120px; }
@media (min-width: 1001px) {
  .hero .hero-copy h1 { font-size: clamp(2.6rem, 3.9vw, 3.4rem); margin-top: 18px !important; }
  .hero .hero-copy .lead { font-size: 1.08rem; margin-top: 18px; }
  .hero .hero-copy .hero-actions { margin-top: 24px; }
  .hero .hero-copy .trust-list { margin-top: auto; padding-top: 20px; }
}
@media (max-width: 1000px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid .tile-cert { grid-column: 1 / -1; order: -1; }
}

/* Treatment finder (grey shell, white option buttons) */
.finder-shell { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; background: #e9eff2; border-radius: 28px; padding: clamp(16px, 2.6vw, 28px); align-items: start; }
.finder-side { padding: clamp(4px, 1vw, 12px) clamp(0px, 1vw, 8px); }
.pill-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.pill-label svg { width: 16px; height: 16px; color: var(--teal); }
.finder-side h2 { margin: 14px 0 0; font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.08; }
.finder-side .lead { margin: 12px 0 22px; font-size: 1rem; }
.finder-side .finder-list { gap: 8px; }
.finder-shell .finder-btn { background: #fff; border: 0; border-radius: 14px; min-height: 52px; padding: 12px 18px; font-weight: 700; font-size: 0.98rem; box-shadow: none; }
.finder-shell .finder-btn:hover { background: #f6fafb; }
.finder-shell .finder-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.finder-shell .finder-btn svg { width: 17px; height: 17px; }
.finder-shell .finder-panel { background: #fff; border-radius: 22px; padding: clamp(22px, 3.4vw, 38px); min-height: 0; }
.pill-tag { display: inline-block; background: #eaf0f3; color: var(--ink); font-size: 0.82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.finder-panel h3 { margin: 18px 0 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.15; }
.finder-panel > p:not(.small-print) { margin: 14px 0 0; color: var(--ink-soft); }
.checks { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.checks svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--teal); }
.btn-dark { background: var(--ink); color: #fff; gap: 8px; }
.btn-dark:hover { background: #12466b; color: #fff; }
.btn-dark svg { width: 17px; height: 17px; }
@media (max-width: 1000px) { .finder-shell { grid-template-columns: 1fr; } }

@media (min-width: 1001px) {
  .finder-shell { align-items: stretch; }
  .finder-shell .finder-panel { display: flex; flex-direction: column; padding: 30px 34px; }
  .finder-shell .finder-panel .panel-actions { margin-top: auto; }
  .finder-panel .checks { margin: 16px 0 22px; gap: 8px; }
}
.finder-panel .pill-tag { align-self: flex-start; }
/* finder: tighter */
.finder-shell { padding: clamp(14px, 2vw, 20px); gap: 18px; border-radius: 24px; }
.finder-side { padding: 6px 6px 4px; }
.finder-side h2 { margin-top: 10px; font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.finder-side .lead { margin: 8px 0 16px; font-size: 0.95rem; line-height: 1.5; }
.finder-shell .finder-btn { min-height: 46px; padding: 9px 16px; font-size: 0.95rem; }
.finder-side .finder-list { gap: 6px; }
@media (min-width: 1001px) {
  .finder-shell .finder-panel { padding: 24px 30px; }
  .finder-panel h3 { margin-top: 14px; }
  .finder-panel .checks { margin: 12px 0 18px; }
}
@media (min-width: 1001px) {
  .hero .hero-copy .trust-list { margin-top: 24px; padding-top: 20px; }
}
@media (min-width: 1001px) and (max-width: 1279px) {
  .hero .hero-copy .lead { font-size: 1.18rem; }
  .hero .hero-copy .hero-actions { margin-top: 30px; }
  .hero .hero-copy .trust-list { margin-top: 34px; }
}
/* compact hero form */
.hero .plan-card { padding: 20px 24px 18px; }
.hero .plan-card .sub { margin: 4px 0 12px; font-size: 0.92rem; }
.hero .plan-card .field { margin-bottom: 10px; gap: 4px; }
.hero .plan-card .field label { font-size: 0.88rem; }
.hero .plan-card .field input, .hero .plan-card .field select { min-height: 42px; padding: 8px 12px; }
.hero .plan-card .field textarea { min-height: 48px; padding: 8px 12px; }
.hero .plan-card .consent { margin: 2px 0 12px; font-size: 0.82rem; }
.hero .plan-card .form-note { margin-top: 8px; font-size: 0.8rem; }
.hero .plan-card .btn-block { min-height: 46px; }
@media (min-width: 1001px) {
  .hero .hero-copy { padding: 28px 32px; }
  .hero .hero-copy h1 { font-size: clamp(2.3rem, 3.4vw, 2.9rem); margin-top: 14px !important; }
  .hero .hero-copy .lead { font-size: 1rem; margin-top: 14px; line-height: 1.55; }
  .hero .hero-copy .hero-actions { margin-top: 18px; }
  .hero .hero-copy .trust-list { margin-top: 20px; padding-top: 16px; gap: 8px 18px; }
  .hero .hero-copy .trust-list li { font-size: 0.9rem; }
}
@media (min-width: 1001px) { .hero .hero-copy { justify-content: center; } }

.tile-cert .cert-text { gap: 6px; }
.tile-cert .ht-logo { width: 124px; height: auto; margin-top: 8px; border: 0; border-radius: 0; background: transparent; max-width: none; flex: none; }
@media (max-width: 520px) { .tile-cert .ht-logo { width: 88px; } }

/* certificate tile: images side by side, text underneath */
.bento-grid .tile-cert { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; padding: 16px 18px; }
.tile-cert .cert-row { display: flex; align-items: center; gap: 18px; }
.tile-cert .cert-row > img:first-child { width: 58%; max-width: 260px; flex: none; }
.tile-cert .cert-row .ht-logo { width: auto; flex: 1; min-width: 0; max-width: 150px; margin: 0 auto; }
.tile-cert .cert-text { gap: 2px; }
@media (max-width: 520px) { .tile-cert .cert-row { gap: 12px; } .tile-cert .cert-row .ht-logo { max-width: 110px; } }
.tile-cert .cert-row { flex-direction: row; }
/* shorter certificate tile */
.bento-grid .tile-cert { padding: 12px 18px; gap: 8px; }
.tile-cert .cert-row { justify-content: center; gap: 24px; }
.tile-cert .cert-row > img:first-child { width: 160px; max-width: 48%; }
.tile-cert .cert-row .ht-logo { width: 110px; max-width: 40%; flex: none; margin: 0; }
.bento-grid .tile { min-height: 0; }
@media (max-width: 520px) { .tile-cert .cert-row { gap: 14px; } .tile-cert .cert-row > img:first-child { width: 48%; max-width: none; } .tile-cert .cert-row .ht-logo { width: 38%; max-width: none; } }
/* even shorter certificate tile */
.bento-grid .tile-cert { padding: 10px 16px; gap: 6px; }
.tile-cert .cert-row { gap: 20px; }
.tile-cert .cert-row > img:first-child { width: 118px; max-width: 45%; }
.tile-cert .cert-row .ht-logo { width: 84px; max-width: 38%; }
.tile-cert .cert-text b { font-size: 0.95rem; line-height: 1.25; }
.tile-cert .cert-text small { font-size: 0.78rem; }
.bento-grid .tile { padding-top: 14px; padding-bottom: 14px; }
.bento-grid .tile b { font-size: clamp(1.4rem, 2vw, 1.8rem); }
@media (max-width: 520px) { .tile-cert .cert-row > img:first-child { width: 42%; max-width: none; } .tile-cert .cert-row .ht-logo { width: 32%; max-width: none; } }
.bento-grid .tile-cert .cert-text b { font-size: 0.95rem; line-height: 1.25; }

/* All treatments (grey shell, white cards) */
.t-shell { background: #e9eff2; border-radius: 28px; padding: clamp(16px, 2.6vw, 28px); }
.t-head { padding: 6px 6px 24px; }
.t-head h2 { margin: 12px 0 0; font-size: clamp(1.7rem, 2.8vw, 2.2rem); line-height: 1.1; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.t-card2 { background: #fff; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.t-card2 h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 6px; }
.t-card2 .checks { margin: 8px 0 20px; gap: 8px; }
.t-card2 .btn { margin-top: auto; align-self: flex-start; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
@media (max-width: 1000px) { .t-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .t-grid { grid-template-columns: 1fr; } .t-card2 { padding: 20px; } }

/* Guarantee (dark shell, white cards) */
#guarantee { padding: clamp(28px, 5vw, 56px) 0; }
.g-shell { background: var(--ink); color: #eaf3f8; border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.g-shell h2 { color: #fff; margin: 14px 0 10px; font-size: clamp(1.6rem, 2.7vw, 2.15rem); line-height: 1.12; }
.g-shell .lead { color: #c8dbe7; margin: 0 0 16px; }
.g-shell .pill-label { background: rgba(255,255,255,0.12); color: #fff; padding: 6px 12px; border-radius: 999px; }
.g-shell .pill-label svg { color: #7fd6dc; }
.g-shell .checks { margin: 0; gap: 9px; }
.g-shell .checks li { color: #dbe8f0; font-size: 0.95rem; }
.g-shell .checks svg { color: #7fd6dc; }
.g-cards { display: grid; gap: 14px; }
.g-card { background: #fff; border-radius: 22px; padding: 22px 24px; color: var(--muted); }
.g-card b { display: block; font: 700 2.3rem var(--font-display); color: var(--ink); line-height: 1; margin-bottom: 8px; }
.g-card b::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--amber); margin-top: 10px; }
@media (max-width: 900px) { .g-shell { grid-template-columns: 1fr; } }

/* How it works */
#how { padding: clamp(28px, 5vw, 56px) 0 0; }
#how .t-head .lead { margin: 10px 0 0; max-width: none; font-size: 1rem; }
.h-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-card { background: #fff; border-radius: 22px; padding: 20px 22px 22px; }
.h-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--ink); font: 700 1.05rem var(--font-display); margin-bottom: 14px; }
.h-card h3 { font-size: 1.12rem; line-height: 1.25; margin: 0 0 6px; }
.h-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 1000px) { .h-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .h-grid { grid-template-columns: 1fr; } .h-card { padding: 18px 20px; } }

/* Clinic photos */
#clinic { padding: clamp(28px, 5vw, 56px) 0 0; }
#clinic .t-head .lead { margin: 10px 0 0; font-size: 1rem; max-width: none; }
#clinic .photos { gap: 14px; }
#clinic .photos figure { border-radius: 22px; aspect-ratio: 16 / 10; }
#clinic .photos figcaption { left: 12px; bottom: 12px; }

/* Results */
#results { padding: clamp(28px, 5vw, 56px) 0 0; }
#results .t-head .lead { margin: 10px 0 0; font-size: 1rem; max-width: none; }
#results .cases { gap: 12px; }
#results .case { border: 0; border-radius: 18px; overflow: hidden; background: #fff; margin: 0; position: relative; }
#results .case img { display: block; width: 100%; height: 100%; object-fit: cover; }
#results .case figcaption { position: absolute; left: 8px; top: 8px; bottom: auto; background: rgba(255,255,255,0.94); border-radius: 999px; padding: 3px 11px; font-size: 0.78rem; font-weight: 700; }

/* Specialists + reviews */
#doctors { padding: clamp(28px, 5vw, 56px) 0 0; }
.dr-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; align-items: stretch; }
.dr-left { display: flex; flex-direction: column; }
.dr-left h2 { margin: 12px 0 16px; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.12; }
.d-list { display: grid; gap: 10px; margin-top: auto; }
.d-row { background: #fff; border-radius: 18px; padding: 10px; display: flex; align-items: center; gap: 14px; }
.d-row img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.d-row h3 { font-size: 1.05rem; line-height: 1.2; margin: 0 0 3px; }
.d-row p { margin: 0; color: var(--teal); font-weight: 600; font-size: 0.9rem; }
.r-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.r-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.r-card blockquote { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.5; }
.r-card figcaption { margin-top: auto; color: var(--muted); font-size: 0.88rem; }
.r-card .stars { font-size: 0.95rem; }
.r-tp { background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; text-decoration: none; gap: 12px; }
.r-tp b { font: 700 1.3rem/1.2 var(--font-display); }
.r-tp span { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 700; }
.r-tp svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .dr-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .r-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

/* Even spacing between the home page cards */
#find, #treatments, #guarantee, #how, #clinic, #results, #doctors { padding: 0; margin-top: clamp(28px, 4vw, 48px); }
#find { margin-top: 4px; }

/* Offers */
#offers { padding: 0; margin-top: clamp(28px, 4vw, 48px); }
.o-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.o-card { background: #fff; border-radius: 22px; padding: 20px 22px; }
.o-card .tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.o-card h3 { font-size: 1.15rem; line-height: 1.2; margin: 0 0 6px; }
.o-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.o-note { margin: 14px 6px 0; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 1000px) { .o-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .o-grid { grid-template-columns: 1fr; } }

/* Contact */
#contact { padding: 0 0 clamp(36px, 5vw, 64px); margin-top: clamp(28px, 4vw, 48px); }
#contact .contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
#contact .contact-copy { max-width: none; }
#contact .contact-title { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
#contact .contact-lead { font-size: 0.96rem; max-width: none; color: var(--muted); }
#contact .contact-list { margin-top: 18px; background: #fff; border-radius: 22px; padding: 4px 20px; }
#contact .contact-list > div:first-child { border-top: 0; }
#contact .contact-list > div:last-child { border-bottom: 0; }
#contact .contact-grid > .card { background: #fff; border-radius: 22px; border-top: 5px solid var(--amber); }
@media (max-width: 900px) { #contact .contact-grid { grid-template-columns: 1fr; } }

/* Contact form: same compact style as the hero form */
#contact .plan-card { padding: 20px 24px 18px; }
#contact .plan-card .sub { margin: 4px 0 12px; font-size: 0.92rem; }
#contact .plan-card .field { margin-bottom: 10px; gap: 4px; }
#contact .plan-card .field label { font-size: 0.88rem; }
#contact .plan-card .field input, #contact .plan-card .field select { min-height: 42px; padding: 8px 12px; }
#contact .plan-card .field textarea { min-height: 64px; padding: 8px 12px; }
#contact .plan-card .consent { margin: 2px 0 12px; font-size: 0.82rem; }
#contact .plan-card .form-note { margin-top: 8px; font-size: 0.8rem; }
#contact .plan-card .btn-block { min-height: 46px; }
@media (min-width: 901px) {
  #contact .contact-grid { align-items: stretch; }
  #contact .plan-card, #contact .plan-card > [data-form-shell], #contact .plan-card form, #contact .plan-card .form-fields { display: flex; flex-direction: column; flex: 1; }
  #contact .plan-card .form-fields > .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
  #contact .plan-card .form-fields textarea { flex: 1; min-height: 64px; }
  #contact .plan-card .form-done { flex: none; }
}

/* ---------- Treatment pages: grey shells ---------- */
.page-hero { background: none; padding: clamp(18px, 3vw, 32px) 0 0; }
.page-hero .hero-grid { align-items: stretch; }
.page-hero .hero-grid > div:first-child { display: flex; flex-direction: column; }
.page-hero .imp-photo { flex: 1; min-height: 170px; aspect-ratio: auto; border-radius: 22px; margin-top: 22px; }
.page-hero .plan-card { padding: 20px 24px 18px; display: flex; flex-direction: column; }
.page-hero .plan-card > [data-form-shell], .page-hero .plan-card form, .page-hero .plan-card .form-fields { display: flex; flex-direction: column; flex: 1; }
.page-hero .plan-card .form-fields > .field:has(textarea) { flex: 1; display: flex; flex-direction: column; }
.page-hero .plan-card .form-fields textarea { flex: 1; min-height: 64px; }
.page-hero .plan-card .form-done { flex: none; }
.page-hero .plan-card h2 { font-size: 1.4rem; }
.page-hero .plan-card .sub { margin: 4px 0 12px; font-size: 0.92rem; }
.page-hero .plan-card .field { margin-bottom: 10px; gap: 4px; }
.page-hero .plan-card .field label { font-size: 0.88rem; }
.page-hero .plan-card .field input, .page-hero .plan-card .field select { min-height: 42px; padding: 8px 12px; }
.page-hero .plan-card .field textarea { padding: 8px 12px; }
.page-hero .plan-card .consent { margin: 2px 0 12px; font-size: 0.82rem; }
.page-hero .plan-card .btn-block { min-height: 46px; }

.sx { padding: 0; margin-top: clamp(28px, 4vw, 48px); }
main > .sx:last-of-type { margin-bottom: clamp(28px, 4vw, 48px); }
.sx .t-shell h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.12; margin: 12px 0 0; }
.sx .t-head { padding-bottom: 20px; }
.sx .t-head .lead { margin: 10px 0 0; font-size: 1rem; max-width: 80ch; }
.sx .t-shell.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(18px, 3vw, 36px); align-items: start; }
.sx .t-shell.two-col .lead { margin-top: 12px; font-size: 1rem; }
.sx .t-shell .card, .sx .t-shell .sub-cards .card { background: #fff; border: 0; border-radius: 22px; box-shadow: none; }
.sx .t-shell .sub-cards { gap: 14px; }
.sx .t-shell .sub-cards .card h3 { font-size: 1.2rem; }
.sx .t-shell .steps { gap: 14px; }
.sx .t-shell .steps li { background: #fff; border-radius: 22px; padding: 20px 22px 22px; }
.sx .t-shell .notice { background: #fff; border: 0; border-radius: 22px; padding: 20px 22px; }
.sx .t-shell .faq { background: #fff; border-radius: 22px; padding: 6px 22px; }
.sx .t-shell .faq details:last-child { border-bottom: 0; }
.sx .t-shell .docs { gap: 14px; }
.sx .t-shell .review { margin-top: 14px !important; }
.sx .t-shell .table-wrap { border: 0; border-radius: 22px; }
.sx .t-shell .compare thead th:first-child { border-top-left-radius: 22px; }
.sx .t-shell .compare thead th:last-child { border-top-right-radius: 22px; }
.sx .t-shell .chips { margin: 0; }
.sx .t-shell > .chips, .sx .t-shell.two-col > .chips { background: #fff; border-radius: 22px; padding: 20px 22px; }
.t-shell.dark { background: var(--ink); color: #eaf3f8; }
.t-shell.dark h2 { color: #fff; }
.t-shell.dark .lead { color: #c8dbe7; }
.t-shell.dark .pill-label { background: rgba(255,255,255,0.12); color: #fff; padding: 6px 12px; border-radius: 999px; }
.t-shell.dark .pill-label svg { color: #7fd6dc; }
.t-shell.cta { text-align: center; display: grid; gap: 14px; justify-items: center; padding-block: clamp(26px, 4vw, 44px); }
.t-shell.cta h2 { margin: 0; }
.t-shell.cta .lead { margin: 0; }
@media (max-width: 1000px) { .sx .t-shell.two-col { grid-template-columns: 1fr; } }
.page-hero .plan-card .form-fields > .field:has(textarea) { flex: 0 1 auto; }
.page-hero .plan-card .form-fields textarea { flex: none; height: 84px; min-height: 84px; max-height: 140px; }
.page-hero .plan-card .consent { margin-top: auto; padding-top: 6px; }
.page-hero .imp-photo { position: relative; }
.page-hero .imp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .page-hero .imp-photo { flex: none; height: 200px; } }

/* Footer as a dark rounded card */
.site-footer { background: none; padding: 0 0 110px; margin-top: clamp(28px, 4vw, 48px); }
.site-footer > .wrap { background: var(--ink); border-radius: 28px; padding: clamp(24px, 3.4vw, 40px); }
.site-footer a { text-decoration-color: rgba(255,255,255,0.35); }
.site-footer .foot-logo { border-radius: 14px; }
.site-footer > .wrap { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); padding: clamp(24px, 3.4vw, 40px); }

/* Same gap under the header on every page */
.hero, .page-hero { padding-top: clamp(18px, 2.4vw, 32px); }

/* Treatments dropdown in the header menu */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; font: 600 0.97rem var(--font-body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.nav-dd-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.nav-dd-btn:hover, .nav-dd.is-current .nav-dd-btn { color: var(--teal); }
.nav-dd.is-open .nav-dd-btn svg { transform: rotate(180deg); }
.nav-dd-menu { display: none; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 250px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px rgba(12,45,72,.14); z-index: 60; }
.nav-dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.is-open .nav-dd-menu { display: block; }
.nav-dd-menu a { display: block; padding: 11px 14px; border-radius: 12px; border: 0; }
.nav-dd-menu a:hover, .nav-dd-menu a[aria-current="page"] { background: #e9eff2; color: var(--teal); }
.nav-dd-menu a.dd-all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--teal); }
@media (hover:hover) and (min-width: 1061px) { .nav-dd:hover .nav-dd-menu { display: block; } .nav-dd:hover .nav-dd-btn svg { transform: rotate(180deg); } }
@media (max-width: 1060px) {
  .nav-dd-btn { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
  .nav-dd-menu { position: static; min-width: 0; padding: 0 0 0 14px; border: 0; border-radius: 0; box-shadow: none; }
  .nav-dd-menu::before { display: none; }
  .nav-dd-menu a, .nav-dd-menu a.dd-all { padding: 12px 0; border-radius: 0; border-top: 0; border-bottom: 1px solid var(--line); margin: 0; background: none; }
}

/* Contact list: only "Get directions" keeps its underline */
.contact-list a { text-decoration: none; }
.contact-list a[href*="google.com/maps"] { text-decoration: underline; text-underline-offset: 3px; }

/* Comparison table: keep "Metal-free" on one line */
.compare .c-metal { white-space: nowrap; }
.compare thead th:last-child, .compare tbody td:last-child { width: 1%; white-space: nowrap; }

/* Individual treatment pages: related links under the cards */
.rel-links { margin: 20px 0 0; font-size: 0.97rem; color: var(--ink-soft); }
.rel-links a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Links inside lists, card headings and the comparison table: look like text, show they are links */
.t-card2 .checks a, .sub-cards .card h3 a, .compare tbody th a { color: inherit; text-decoration: underline; text-decoration-color: rgba(10,106,115,.4); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.t-card2 .checks a:hover, .sub-cards .card h3 a:hover, .compare tbody th a:hover { color: var(--teal); text-decoration-color: var(--teal); }

.sub-cards.wide-last .card:last-child:nth-child(odd){grid-column:1/-1}

.topbar .nw { white-space: nowrap; }

.topbar .tb-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.topbar .tb-contact > * + *::before { content: none; }
@media (max-width: 640px) { .topbar .tb-contact { justify-content: center; gap: 2px 14px; } }
@media (max-width: 640px) { .topbar .wrap > span:first-child { display: none; } }

.header-cta .btn { white-space: nowrap; }

.page-hero .hero-note { margin: 22px 0 0; max-width: 56ch; color: var(--muted); font-size: 0.97rem; line-height: 1.55; }

/* Results gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery .case { aspect-ratio: 3 / 4; border: 0; border-radius: 18px; background: #fff; }
.gallery .case a { display: block; width: 100%; height: 100%; }
.gallery .case img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .case figcaption { white-space: nowrap; }
.gal-note { margin: 22px 0 0; text-align: center; color: var(--muted); }
.gal-note a { color: var(--teal); font-weight: 600; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,32,47,0.92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.lb-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

.res-more { margin: 20px 0 0; text-align: center; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 18px; font: 600 0.95rem var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--teal); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery .case[hidden] { display: none; }

/* dentist profile pages */
.dr-page .hero-grid { align-items: center; }
.dr-card { display: flex; align-items: center; gap: 22px; border-radius: 22px; }
.dr-card .dr-photo { width: 150px; height: 150px; border-radius: 18px; object-fit: cover; flex: none; }
.dr-card h2 { font-size: 1.35rem; margin: 0 0 4px; }
.dr-card p { margin: 0; color: var(--teal); font-weight: 600; }
.sub-cards .card ul { line-height: 1.5; }
.sub-cards .card li + li { margin-top: 6px; }
a.d-row { color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.d-row:hover, a.d-row:focus-visible { box-shadow: 0 6px 18px rgba(12,45,72,.14); transform: translateY(-1px); }
@media (max-width: 640px) { .dr-card { flex-direction: column; text-align: center; } .dr-card .dr-photo { width: 180px; height: 180px; } }

/* home results: "see all" link beside the heading (desktop only) */
#results .t-head { position: relative; }
.res-top { position: absolute; top: 10px; right: 6px; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.res-top:hover, .res-top:focus-visible { color: var(--ink); }
@media (max-width: 640px) { .res-top { display: none; } }

/* home hero: without the tick list, give the text a little more size so the box fills its height */
@media (min-width: 1001px) {
  .hero .hero-copy h1 { font-size: clamp(2.45rem, 3.8vw, 3.1rem); margin-top: 20px !important; }
  .hero .hero-copy .lead { font-size: 1.12rem; margin-top: 20px; }
  .hero .hero-copy .hero-actions { margin-top: 26px; }
}

/* v4: certificate and Health Türkiye logo in their own larger boxes */
.bento-grid { grid-template-columns: 1fr 1.35fr 1fr 1fr; }
.bento-grid .tile { min-height: 190px; }
.bento-grid .tile-cert { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 14px 16px; }
.bento-grid .tile-cert > img { width: 100%; max-width: none; height: 96px; object-fit: contain; background: #fff; }
.bento-grid .tile-cert .cert-text { gap: 2px; }
.bento-grid .tile-cert b { font-size: 0.95rem; }
.tile-ht { align-items: center; justify-content: center; gap: 10px; text-align: center; background: #fff; }
.tile-ht img { width: 100%; max-width: 190px; height: auto; }
.tile-ht span { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid .tile { min-height: 130px; }
  .bento-grid .tile-cert { grid-column: auto; order: 0; }
}
@media (max-width: 520px) {
  .bento-grid .tile-cert { grid-column: 1 / -1; order: 1; }
  .bento-grid .tile-ht { grid-column: 1 / -1; order: 2; min-height: 120px; }
  .bento-grid .tile-cert > img { height: 150px; }
  .tile-ht img { max-width: 170px; }
}
.tile-ht { text-decoration: none; }
.tile-ht span { font-weight: 600; color: var(--teal); }
.tile-ht:hover { border-color: var(--teal); }

/* v5: certificate fills its box (no white side bands) */
.bento-grid { grid-template-columns: 1fr 1.3fr 1fr 1fr; }
.bento-grid .tile { min-height: 0; }
.bento-grid .tile-cert { padding: 10px 10px 12px; gap: 8px; justify-content: flex-start; }
.bento-grid .tile-cert > img { height: auto; aspect-ratio: 1500 / 1043; object-fit: cover; border-radius: 8px; }
.bento-grid .tile-cert .cert-text { padding: 0 6px; }
@media (max-width: 1000px) { .bento-grid { grid-template-columns: 1fr 1fr; } .bento-grid .tile-cert { grid-column: 1 / -1; } }
@media (max-width: 520px) { .bento-grid .tile-cert > img { height: auto; } }

/* v6: certificate and logo large, the two text boxes stacked beside them */
@media (min-width: 1001px) {
  .bento-grid { grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .bento-grid .tile-cert { grid-column: 1; grid-row: 1 / 3; order: 0; }
  .bento-grid .tile-ht { grid-column: 2; grid-row: 1 / 3; }
  .bento-grid .tile-amber { grid-column: 3; grid-row: 1; }
  .bento-grid .tile-amber + .tile-cert + .tile-ht + .tile { grid-column: 3; grid-row: 2; }
}
@media (max-width: 1000px) {
  .bento-grid .tile-amber { order: 1; }
  .bento-grid .tile-amber + .tile-cert + .tile-ht + .tile { order: 2; }
  .bento-grid .tile-cert { order: 3; grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; padding: 12px; }
  .bento-grid .tile-cert > img { width: 52%; flex: none; }
  .bento-grid .tile-ht { order: 4; grid-column: 1 / -1; min-height: 150px; }
}
@media (max-width: 520px) {
  .bento-grid .tile-cert { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 10px 12px; }
  .bento-grid .tile-cert > img { width: 100%; }
  .bento-grid .tile-ht { order: 4; }
}
.tile-ht span { text-wrap: balance; padding: 0 8px; }
.review .stars { font-size: 1.25rem; letter-spacing: 4px; line-height: 1; }
.terms-card { padding: 22px 24px; }
.terms-card .terms { color: var(--ink-soft); }
#contact { padding-bottom: 0; }
.tile-amb { text-decoration: none; color: inherit; }
.tile-amb:hover { border-color: var(--teal); }

/* v7: shorter top row; certificate and logo a little narrower */
@media (min-width: 1001px) {
  .bento-grid { grid-template-columns: 0.85fr 0.9fr 1.05fr; }
  .bento-grid .tile-cert { padding: 8px 8px 10px; gap: 6px; }
  .bento-grid .tile-cert b { font-size: 0.88rem; }
  .bento-grid .tile-cert small { font-size: 0.8rem; }
  .tile-ht img { max-width: 160px; }
}
@media (min-width: 1001px) {
  .bento-grid .tile-cert b { font-size: 0.78rem; line-height: 1.25; }
  .bento-grid .tile-cert small { font-size: 0.72rem; }
}
.bento-grid .tile-cert b { font-weight: 400; }
.tile-amb { justify-content: center; }
.tile-amb b { font-size: clamp(1.25rem, 1.9vw, 1.55rem); white-space: normal; }
.tile-amb span { font-size: 0.9rem; text-wrap: balance; }
.tile-amb { gap: 3px; }
.tile-amb .amb-link { margin-top: 4px; font-size: 0.85rem; font-weight: 600; color: var(--teal); text-wrap: auto; }
@media (max-width: 520px) {
  .tile-amb { padding: 12px 14px; }
  .tile-amb b { font-size: 1.1rem; }
  .tile-amb span { font-size: 0.8rem; }
  .tile-amb .amb-link { font-size: 0.78rem; margin-top: 2px; }
}
/* certificate title almost the same size as the line below */
.bento-grid .tile-cert b { font-size: 0.74rem; line-height: 1.25; }
.bento-grid .tile-cert small { font-size: 0.72rem; }
/* certificate title smaller still */
.bento-grid .tile-cert b { font-size: 0.68rem; line-height: 1.25; }
.bento-grid .tile-cert small { font-size: 0.68rem; }
/* certificate title: almost the same size as the line below (beats the .cert-text rule) */
.bento-grid .tile-cert .cert-text b { font-size: 0.74rem; line-height: 1.25; }
.bento-grid .tile-cert .cert-text small { font-size: 0.68rem; }
/* Smile ambassadors box: smaller text */
.tile-amb b { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.tile-amb span { font-size: 0.8rem; }
.tile-amb .amb-link { font-size: 0.76rem; margin-top: 3px; }
@media (max-width: 520px) {
  .tile-amb { padding: 12px 14px; }
  .tile-amb b { font-size: 1rem; }
  .tile-amb span { font-size: 0.74rem; }
  .tile-amb .amb-link { font-size: 0.72rem; margin-top: 2px; }
}
/* Smile ambassadors: make the smaller sizes win over .bento-grid .tile b */
.bento-grid .tile-amb b { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
@media (max-width: 520px) { .bento-grid .tile-amb b { font-size: 1rem; } }
.tile-amb span { text-wrap: wrap; }
@media (max-width: 520px) { .tile-amb .amb-br { display: none; } }
/* Smile ambassadors description on one line (above phone width) */
@media (min-width: 1100px), (min-width: 850px) and (max-width: 1000px) {
  .tile-amb { container-type: inline-size; }
  .tile-amb span:not(.amb-link) { white-space: nowrap; font-size: min(0.8rem, calc(100cqw / 29)); }
}
/* certificate box: same white background as the Health Türkiye box */
.bento-grid .tile-cert { background: #fff; border-color: var(--line); }
.bento-grid .tile-cert > img { border-color: var(--line); }
.bento-grid .tile-cert:hover { border-color: var(--teal); }
/* 5,000+ box: big number */
.bento-grid .tile-amber b { font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bento-grid .tile-amber span { font-size: 0.95rem; font-weight: 500; }
@media (max-width: 520px) { .bento-grid .tile-amber b { font-size: 2.4rem; } .bento-grid .tile-amber span { font-size: 0.9rem; } }
/* Home guarantee block: light grey like the other blocks */
.g-shell { background: #e9eff2; color: var(--ink-soft, #3d5566); }
.g-shell h2 { color: var(--ink); }
.g-shell .lead { color: var(--ink-soft, #3d5566); }
.g-shell .pill-label { background: #fff; color: var(--ink); }
.g-shell .pill-label svg { color: var(--teal); }
.g-shell .checks li { color: var(--ink-soft, #3d5566); }
.g-shell .checks svg { color: var(--teal); }
/* Section labels: white pill like "Our guarantee" (dark blocks keep their own style) */
.pill-label { background: #fff; padding: 6px 12px; border-radius: 999px; }
/* Footer on phones: Treatments in two columns */
@media (max-width: 600px) {
  .foot-grid > div:nth-child(2) ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}
/* Footer on phones: Contact in two columns (email + phones | directions + social) */
@media (max-width: 600px) {
  .foot-grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: 16px; }
}
/* Phones and small tablets: heading and intro, then the form, then the contact details */
@media (max-width: 900px) {
  #contact .contact-copy { display: contents; }
  #contact .contact-copy > .pill-label { order: 1; justify-self: start; }
  #contact .contact-copy > .contact-title { order: 2; margin: 0; }
  #contact .contact-copy > .contact-lead { order: 3; margin: 0; }
  #contact .plan-card { order: 4; }
  #contact .contact-copy > .contact-list { order: 5; margin-top: 0; }
  #contact .contact-grid { gap: 14px; }
}

/* === Phone cards for the implant comparison table (remove this block to go back to the swipeable table) === */
@media (max-width: 900px) {
  .sx .t-shell .table-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; }
  table.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { background: #fff; border-radius: 18px; padding: 14px 16px 10px; margin-bottom: 12px; }
  .compare tbody tr:last-child { margin-bottom: 0; }
  .compare tbody th { padding: 0 0 6px; border: 0; width: auto; font-size: 1.1rem; }
  .compare tbody td { padding: 7px 0; border: 0; border-top: 1px solid var(--line); font-size: 0.95rem; white-space: normal; width: auto; }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
  .compare tbody td:last-child { display: flex; align-items: center; justify-content: space-between; width: auto; white-space: normal; }
  .compare tbody td:last-child::before { margin: 0; }
}
/* Material column: neutral blue-grey pill for titanium */
.pill.ti { background: #e3ecf2; color: var(--ink); }
.compare .pill { white-space: nowrap; }

/* === Treatment finder accordion on phones (remove this block to go back) === */
.finder-panel[hidden] { display: none; }
@media (max-width: 1000px) {
  .finder-side .finder-list .finder-panel { margin: 2px 0 8px; }
  .finder-shell .finder-list .finder-panel { padding: 22px 20px; }
  .finder-btn svg { transition: transform .2s ease; }
  .finder-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
}

/* Very narrow phones (320px): no sideways scroll */
.contact-grid > *, #contact .plan-card, .field-row > .field { min-width: 0; }
.field input, .field select, .field textarea { max-width: 100%; }
@media (max-width: 360px) {
  .field-row { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid .tile-amber, .bento-grid .tile-amb, .bento-grid .tile-cert, .bento-grid .tile-ht { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  #contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .compare tbody td:last-child { flex-wrap: wrap; gap: 6px; }
  .compare .pill { white-space: normal; border-radius: 14px; }
}
@media (max-width: 380px) {
  #contact .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  #contact .contact-list dd { min-width: 0; overflow-wrap: anywhere; }
}

/* ---- Ad landing pages (lp-*.html). Remove this block and build_landing.py output to drop them. ---- */
body.lp .brand { display: inline-flex; }
body.lp .header-cta { display: flex; gap: 10px; }
.lp-ticks { margin: 18px 0 18px; }
.lp-ticks li { font-weight: 600; color: var(--ink); }
.lp-photos { margin-top: 6px; }
.lp-photos img { display: block; width: 100%; height: auto; border-radius: 14px; }
.lp-photos.one img { max-width: 300px; }
.lp-photos.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-photos.two img { aspect-ratio: 3 / 4; object-fit: cover; }
.lp-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lp-trust-grid b { display: block; font: 700 1.05rem var(--font-display); color: var(--ink); margin-bottom: 4px; }
.lp-trust-grid span { color: var(--ink-soft); font-size: 0.93rem; }
.lp-prices { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lp-prices li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.lp-prices li:first-child { border-top: 1px solid var(--line); }
.lp-prices b { white-space: nowrap; color: var(--teal); font-size: 1.08rem; }
.lp-offer { margin-top: 14px; padding: 12px 14px; background: #fff; border-radius: 12px; }
.lp-guarantee p { margin-top: 10px; color: var(--ink-soft); max-width: 78ch; }
.lp-final p { margin: 8px 0 16px; color: var(--ink-soft); }
.lp-footer { padding-bottom: 90px; }
@media (max-width: 760px) { .lp-trust-grid { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 520px) {
  .lp-trust-grid { grid-template-columns: 1fr; gap: 14px; }
  body.lp .header-cta .btn { padding: 9px 12px; font-size: 0.92rem; }
  .lp-prices li { flex-direction: column; gap: 2px; }
}
body.lp .page-hero .hero-grid { align-items: start; }
body.lp .plan-card { align-self: start; }
body.lp .plan-card, body.lp .plan-card > [data-form-shell], body.lp .plan-card form, body.lp .plan-card .form-fields { display: block; }
body.lp .plan-card .form-fields textarea { min-height: 84px; height: 84px; }
.lp-photos.one img { max-width: 240px; }

/* Legal pages */
.legal-page h2 { margin-top: 32px; font-size: 1.35rem; }
.legal-page h3 { margin-top: 22px; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin: 6px 0; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; display: block; overflow-x: auto; }
.legal-page th, .legal-page td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.legal-page th { background: var(--paper); }

/* Landing pages: tighter headline and a form that stays in view on desktop */
body.lp .page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08; }
@media (min-width: 1001px) {
  body.lp .plan-card { position: sticky; top: 92px; }
}
@media (min-width: 1001px) { body.lp .lp-photos.one img { max-width: 320px; } }

/* Landing page: patient results gallery */
.lp-res-h { margin: 0 0 16px; }
.lp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lp-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.lp-res-note { margin: 12px 0 0; color: var(--ink-soft); font-size: 0.88rem; }
@media (max-width: 760px) { .lp-gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Trustpilot rating line */
.lp-stars { color: #00b67a; letter-spacing: 2px; font-size: 1.1em; }
.lp-rating { margin: 14px 0 4px; font-size: 0.98rem; color: var(--ink); }
.lp-rating a { color: inherit; text-decoration: none; }
.lp-rating a:hover { text-decoration: underline; }
.lp-trust-grid b .lp-stars { display: block; font-size: 1rem; margin-bottom: 2px; }
body.lp .page-hero .lead { margin-bottom: 12px; }
body.lp .page-hero .lp-ticks { margin-top: 0; }
.lp-offer-line, body.lp .lp-offer { font-style: italic; }

.lp-g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 14px; }
.lp-g-grid b { display: block; font: 700 1.05rem var(--font-display); color: var(--ink); margin-bottom: 4px; }
.lp-g-grid span { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }
@media (max-width: 760px) { .lp-g-grid { grid-template-columns: 1fr; gap: 14px; } }
body.lp .faq details p { max-width: none; padding-right: 36px; }
body.lp .faq summary { align-items: center; }
