/* ==========================================================================
   Metro Dental Centers: main stylesheet
   Structure mirrors the future WordPress theme:
   1. Tokens  2. Base  3. Layout  4. Components  5. Sections  6. Pages  7. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand: derived from the logo emblem (ink card + mint / pink / gold / lavender tiles) */
  --ink: #0b1626;
  --ink-2: #13243a;
  --ink-3: #1d3350;
  --teal: #0f7c73;
  --teal-600: #0c6b63;
  --teal-700: #0a5951;
  --teal-50: #e9f5f2;
  --teal-100: #d3ece6;
  --mint: #9edfd0;
  --gold: #c9a04a;
  --gold-50: #f8f1e1;
  --pink: #e2558f;
  --pink-50: #fbe9f0;
  --lavender: #b9a3de;
  --lavender-50: #f1ecf9;

  /* Neutrals */
  --cream: #f7f5f0;
  --sand: #efebe3;
  --white: #ffffff;
  --line: #e4dfd6;
  --line-soft: #eeeae3;
  --text: #1a2333;
  --muted: #5a6474;
  --muted-2: #8a92a0;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);

  /* Space & shape */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1240px;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .04);
  --shadow-md: 0 10px 30px -12px rgba(11, 22, 38, .18), 0 4px 10px -4px rgba(11, 22, 38, .06);
  --shadow-lg: 0 30px 60px -24px rgba(11, 22, 38, .30), 0 10px 24px -12px rgba(11, 22, 38, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); font-variation-settings: "opsz" 96, "SOFT" 50; }
h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-family: var(--font-body); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--teal); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1.25rem; background: var(--ink); color: #fff; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink h2 em { color: var(--mint); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
/* Collapse doubled spacing between consecutive sections that share the cream background */
.section:not(.section--white):not(.section--ink):not(.section--sand) + .section--tight { padding-top: 0; }
.section--tight + .section:not(.section--white):not(.section--ink):not(.section--sand) { padding-top: clamp(2rem, 1.5rem + 2vw, 3rem); }

.section-head { display: grid; gap: 1.25rem; max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.section-head p { color: var(--muted); font-size: var(--fs-lg); max-width: 60ch; }
.section--ink .section-head p { color: rgba(255, 255, 255, .7); }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
/* eyebrow: no leading dash line (client preference) */
.section--ink .eyebrow { color: var(--mint); }

/* 4. Components ------------------------------------------------------------ */
/* Buttons */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15, 124, 115, .55); --btn-bg: var(--teal-600); --btn-bd: var(--teal-600); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--ink { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--ink:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); box-shadow: 0 12px 24px -12px rgba(11, 22, 38, .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink); --btn-fg: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--mint); --btn-bd: var(--mint); --btn-fg: var(--ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .08); --btn-bd: #fff; --btn-fg: #fff; box-shadow: none; }
.btn--emergency { --btn-bg: var(--pink); --btn-bd: var(--pink); }
.btn--emergency:hover { --btn-bg: #c93f77; --btn-bd: #c93f77; box-shadow: 0 12px 24px -12px rgba(226, 85, 143, .6); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: var(--fs-sm); color: var(--teal); }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Pills / chips */
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .85rem; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 600; color: var(--ink); }
.chip .icon { color: var(--teal); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #2fb67c; box-shadow: 0 0 0 4px rgba(47, 182, 124, .18); }

/* Topbar */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: var(--fs-xs); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--mint); }
.topbar__emergency { color: #fff; font-weight: 700; }
.topbar__emergency .icon { color: var(--pink); }
@media (max-width: 899px) { .topbar__hide-sm { display: none !important; } .topbar__inner { justify-content: center; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 245, 240, .86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); box-shadow: 0 8px 30px -20px rgba(11, 22, 38, .25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; flex: none; }
.brand__mark { width: 50px; height: 50px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-body); font-weight: 800; font-size: 1.12rem; letter-spacing: .09em; color: var(--ink); text-transform: uppercase; }
.brand__sub { margin-top: .32rem; font-size: .66rem; font-weight: 600; letter-spacing: .3em; color: var(--teal); text-transform: uppercase; }

.nav { display: none; }
@media (min-width: 1140px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: .25rem; }
.nav__item { position: relative; }
.nav__item--has-mega { position: static; }
.site-header__inner { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .85rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; color: var(--text); transition: background .25s, color .25s; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(11, 22, 38, .05); color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--teal); }
.nav__link .icon { width: 15px; height: 15px; transition: transform .25s; }
.nav__item--has-mega:hover .nav__link .icon, .nav__item--has-mega:focus-within .nav__link .icon { transform: rotate(180deg); }
.nav__link--emergency { color: var(--pink); }
.nav__link--emergency:hover { background: var(--pink-50); color: #c93f77; }

/* Mega menu */
.mega { position: absolute; left: 50%; top: calc(100% - 10px); width: min(900px, 92vw); padding-top: 10px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav__item--has-mega:hover .mega, .nav__item--has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__panel { display: grid; grid-template-columns: 1fr 280px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: 1rem; }
.mega__link { display: flex; gap: .85rem; align-items: flex-start; padding: .8rem .9rem; border-radius: var(--r-md); transition: background .2s; }
.mega__link:hover { background: var(--teal-50); }
.mega__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--teal-50); color: var(--teal); flex: none; transition: background .2s, color .2s; }
.mega__link:hover .mega__icon { background: var(--teal); color: #fff; }
.mega__title { display: block; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); line-height: 1.3; }
.mega__desc { display: block; font-size: .8rem; color: var(--muted); line-height: 1.45; margin-top: .15rem; }
.mega__aside { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.75rem; background: var(--ink); color: rgba(255, 255, 255, .75); font-size: var(--fs-sm); line-height: 1.6; }
.mega__aside h4 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; margin-bottom: .6rem; }

.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-cta__phone { display: none; align-items: center; gap: .6rem; font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.header-cta__phone .icon { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--teal-50); color: var(--teal); }
.header-cta__phone small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
@media (min-width: 1280px) { .header-cta__phone { display: inline-flex; } }
@media (max-width: 560px) { .header-cta .btn { display: none; } }

.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1140px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 22, 38, .5); opacity: 0; transition: opacity .35s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--cream); transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__nav { padding: 1rem var(--gutter); flex: 1; }
.drawer__nav > ul > li { border-bottom: 1px solid var(--line-soft); }
.drawer__nav a, .drawer__nav summary { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .icon { transform: rotate(180deg); }
.drawer__nav summary .icon { transition: transform .25s; }
.drawer__sub { padding: 0 0 1rem .25rem; display: grid; gap: .15rem; }
.drawer__sub a { padding: .5rem 0; font-size: var(--fs-sm); font-weight: 500; color: var(--muted); justify-content: flex-start; gap: .65rem; }
.drawer__sub a .icon { color: var(--teal); }
.drawer__foot { padding: 1.25rem var(--gutter) 2rem; display: grid; gap: .75rem; background: var(--white); border-top: 1px solid var(--line); }
.drawer__meta { display: grid; gap: .5rem; margin-top: .5rem; font-size: var(--fs-sm); color: var(--muted); }
.drawer__meta span { display: flex; gap: .6rem; align-items: center; }
.drawer__meta .icon { color: var(--teal); }
body.no-scroll { overflow: hidden; }

/* Cards */
.card { position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.icon-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--teal-50); color: var(--teal); }
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge--pink { background: var(--pink-50); color: var(--pink); }
.icon-badge--gold { background: var(--gold-50); color: #a9822f; }
.icon-badge--lavender { background: var(--lavender-50); color: #7a5fb2; }
.icon-badge--ink { background: rgba(255, 255, 255, .08); color: var(--mint); }

/* Service cards */
.services-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
@media (min-width: 1100px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card--cta { background: var(--teal-50); border-color: var(--teal-100); justify-content: space-between; }
.service-card--cta h3 { font-style: italic; }
.service-card { display: flex; flex-direction: column; gap: 1rem; min-height: 100%; overflow: hidden; }
.service-card h3 { font-size: 1.45rem; }
.service-card p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.65; flex: 1; }
.service-card .link-arrow { margin-top: .25rem; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--mint), var(--pink), var(--gold), var(--lavender)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.service-card__num { position: absolute; top: 1.6rem; right: 1.75rem; font-family: var(--font-display); font-size: .95rem; color: var(--muted-2); font-style: italic; }
.service-card--feature { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .75); }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: rgba(255, 255, 255, .7); }
.service-card--feature .link-arrow { color: var(--mint); }
.service-card--feature .icon-badge { background: rgba(226, 85, 143, .16); color: #ff8fbd; }

/* Feature list */
.check-list { display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; line-height: 1.55; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-50); color: var(--teal); margin-top: .1rem; stroke-width: 2.4; }
.section--ink .check-list .icon { background: rgba(158, 223, 208, .14); color: var(--mint); }

/* Media frames */
.media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--square { aspect-ratio: 1; }

/* Floating stat card */
.float-card { position: absolute; display: flex; align-items: center; gap: .85rem; padding: .9rem 1.15rem; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: var(--r-md); box-shadow: var(--shadow-lg); font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); }
.float-card strong { display: block; font-size: var(--fs-sm); color: var(--ink); }

/* Accordion */
.accordion { display: grid; gap: .75rem; }
.accordion details { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-md); transition: border-color .3s, box-shadow .3s; }
.accordion details[open] { border-color: var(--line); box-shadow: var(--shadow-sm); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; line-height: 1.4; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-50); color: var(--teal); flex: none; transition: transform .3s var(--ease), background .3s, color .3s; transform: rotate(45deg); }
.accordion__icon .icon { width: 18px; height: 18px; }
.accordion details[open] .accordion__icon { transform: rotate(180deg); background: var(--teal); color: #fff; }
.accordion summary:hover .accordion__icon { background: var(--teal-100); }
.accordion__body { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-xs); font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.field > label span { color: var(--pink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235a6474' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15, 124, 115, .12); }
.field.has-error input, .field.has-error select { border-color: var(--pink); }
.field__error { font-size: var(--fs-xs); color: #c93f77; display: none; }
.field.has-error .field__error { display: block; }
.form__note { font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }
.form__success { display: none; padding: 1.5rem; border-radius: var(--r-md); background: var(--teal-50); color: var(--teal-700); font-weight: 600; }
.form.is-sent .form__success { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 600; cursor: pointer; background: var(--cream); transition: all .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 2px; }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; transform: rotate(-90deg); }
.breadcrumbs [aria-current] { color: var(--ink); }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 17px; height: 17px; }

/* 5. Sections -------------------------------------------------------------- */
/* Hero (home) */
.hero { position: relative; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(4rem, 3rem + 4vw, 7rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; background: radial-gradient(closest-side, rgba(158, 223, 208, .45), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 700px; height: 700px; left: -320px; bottom: -380px; background: radial-gradient(closest-side, rgba(185, 163, 222, .28), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.02fr 1fr; } }
.hero__content { display: grid; gap: 1.6rem; justify-items: start; }
.hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 52ch; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 1rem 1.25rem; padding-top: 1.5rem; margin-top: .5rem; border-top: 1px solid var(--line); width: 100%; }
.hero__trust-item { display: flex; align-items: center; gap: .7rem; font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }
.hero__trust-item strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.hero__trust-item .icon-badge { width: 42px; height: 42px; border-radius: 12px; }
.hero__trust-item .icon-badge .icon { width: 20px; height: 20px; }
.hero__visual { position: relative; }
.hero__visual .media { aspect-ratio: 4 / 4.4; border-radius: 40px 40px 40px 160px; box-shadow: var(--shadow-lg); }
@media (min-width: 980px) { .hero__visual .media { aspect-ratio: 4 / 4.6; } }
.hero__tiles { position: absolute; top: -18px; right: -18px; display: grid; grid-template-columns: repeat(2, 22px); gap: 5px; z-index: 2; }
.hero__tiles i { width: 22px; height: 22px; border-radius: 6px; }
.hero__tiles i:nth-child(1) { background: var(--mint); } .hero__tiles i:nth-child(2) { background: var(--pink); } .hero__tiles i:nth-child(3) { background: var(--lavender); } .hero__tiles i:nth-child(4) { background: var(--gold); }
.hero__visual .float-card--a { left: -12px; bottom: 15%; }
.hero__visual .float-card--b { right: 16px; top: 22px; }
@media (min-width: 1200px) { .hero__visual .float-card--a { left: -48px; } }
@media (max-width: 600px) { .hero__visual .float-card--b { display: none; } .hero__visual .float-card--a { left: 12px; bottom: 16px; } }

/* Logo marquee / trust strip */
.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .trust-strip__inner { grid-template-columns: repeat(4, 1fr); } }
.trust-strip__item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.25rem; border-right: 1px solid var(--line-soft); }
.trust-strip__item:last-child { border-right: 0; }
@media (max-width: 899px) { .trust-strip__item:nth-child(2n) { border-right: 0; } .trust-strip__item:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } .trust-strip__item { padding: 1.25rem .75rem; gap: .7rem; } }
.trust-strip__item .icon { width: 28px; height: 28px; color: var(--teal); flex: none; }
.trust-strip__item strong { display: block; font-size: var(--fs-sm); color: var(--ink); line-height: 1.3; }
.trust-strip__item span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; display: block; }

/* Emergency band */
.emergency-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: rgba(255, 255, 255, .75); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .emergency-band { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.emergency-band::before { content: ""; position: absolute; right: -200px; top: -200px; width: 560px; height: 560px; background: radial-gradient(closest-side, rgba(226, 85, 143, .35), transparent 70%); }
.emergency-band > * { position: relative; }
.emergency-band h2 { color: #fff; }
.emergency-band h2 em { color: #ff8fbd; }
.emergency-band__eyebrow { color: #ff8fbd; }
.emergency-band__list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.emergency-band__list li { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.emergency-band__list .icon { color: #ff8fbd; }
@media (max-width: 420px) { .emergency-band__list { grid-template-columns: 1fr; } }

/* Split / about */
.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__content { display: grid; gap: 1.5rem; justify-items: start; }
.split__content > p { color: var(--muted); font-size: var(--fs-lg); }
.split__visual { position: relative; }
.split__visual .float-card { left: -16px; bottom: 28px; }
@media (min-width: 1200px) { .split__visual .float-card { left: -40px; } }
.media-stack { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.media-stack .media:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.media-stack .media { aspect-ratio: 1; border-radius: var(--r-lg); }

/* Value grid */
.value-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 900px) { .value-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.value { display: grid; gap: 1rem; align-content: start; }
.value p { color: var(--muted); font-size: var(--fs-sm); }
.section--ink .value { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
.section--ink .value:hover { background: rgba(255, 255, 255, .07); box-shadow: none; }
.section--ink .value p { color: rgba(255, 255, 255, .66); }

/* Steps */
.steps { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--teal); margin-bottom: 1rem; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--teal); }
.step h4 { margin-bottom: .45rem; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
.section--ink .step { border-color: rgba(255, 255, 255, .12); }
.section--ink .step::before { color: var(--mint); }
.section--ink .step::after { background: var(--mint); }
.section--ink .step p { color: rgba(255, 255, 255, .66); }

/* Testimonials */
.testimonials { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
figure { margin: 0; }
.testimonial { display: flex; flex-direction: column; gap: 1.25rem; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.5; color: var(--ink); letter-spacing: -0.01em; flex: 1; }
.testimonial__who { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); font-size: var(--fs-xs); color: var(--muted); }
.testimonial__who strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-weight: 800; font-size: .9rem; color: var(--ink); flex: none; }
.avatar--mint { background: var(--mint); } .avatar--pink { background: #f6b6d0; } .avatar--gold { background: #ecd197; } .avatar--lav { background: #d6c8ef; }
.rating-summary { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.2rem; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); width: fit-content; }
.rating-summary strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
.rating-summary .stars { color: var(--gold); }
.rating-summary > span:last-child { font-size: var(--fs-xs); color: var(--muted); line-height: 1.35; }

/* Insurance */
.insurance { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .insurance { grid-template-columns: 1fr 1fr; } }
.insurance .card { display: grid; gap: 1.1rem; align-content: start; }
.logo-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.logo-pills span { padding: .5rem .9rem; border-radius: var(--r-pill); background: var(--cream); border: 1px solid var(--line-soft); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); letter-spacing: .02em; }

/* Location */
.location { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .location { grid-template-columns: 1fr 1.25fr; } }
.location__card { display: grid; gap: 1.6rem; align-content: start; }
.location__row { display: flex; gap: 1rem; align-items: flex-start; }
.location__row .icon-badge { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.location__row .icon-badge .icon { width: 22px; height: 22px; }
.location__row strong { display: block; color: var(--ink); font-size: var(--fs-sm); margin-bottom: .15rem; }
.location__row a:hover { color: var(--teal); }
.location__row p, .location__row a { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours td { padding: .38rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 600; }
.hours tr.is-today td { color: var(--teal); font-weight: 700; }
.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 1rem + 4vw, 5rem); background: var(--teal); color: rgba(255, 255, 255, .85); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 960px) { .cta { grid-template-columns: 1.4fr auto; } }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--mint); }
.cta p { font-size: var(--fs-lg); max-width: 54ch; margin-top: 1rem; }
.cta__tiles { position: absolute; right: -60px; bottom: -60px; display: grid; grid-template-columns: repeat(2, 120px); gap: 12px; opacity: .14; transform: rotate(-12deg); pointer-events: none; }
.cta__tiles i { width: 120px; height: 120px; border-radius: 28px; background: #fff; }
.cta .btn-row { position: relative; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(3rem, 2.5rem + 3vw, 5rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 800px; height: 800px; right: -260px; top: -420px; background: radial-gradient(closest-side, rgba(158, 223, 208, .4), transparent 70%); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; gap: clamp(2rem, 1.5rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.1fr 1fr; } }
.page-hero__content { display: grid; gap: 1.4rem; justify-items: start; }
.page-hero__content > p { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; }
.page-hero .media { aspect-ratio: 5 / 4; border-radius: 32px 32px 32px 120px; box-shadow: var(--shadow-lg); }
.page-hero--center .page-hero__content { justify-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.page-hero--emergency::before { background: radial-gradient(closest-side, rgba(226, 85, 143, .22), transparent 70%); }

/* Service detail */
.service-layout { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 1024px) { .service-layout { grid-template-columns: 1fr 360px; } }
.prose { font-size: var(--fs-lg); color: var(--muted); }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); margin: 0 0 1.25rem; }
.treatments { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.treatment { display: grid; gap: .55rem; padding: 1.5rem; }
.treatment h4 { display: flex; gap: .65rem; align-items: center; font-size: 1.05rem; }
.treatment h4 .icon { color: var(--teal); width: 20px; height: 20px; }
.treatment p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.6; }
.sidebar { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-card { display: grid; gap: 1rem; }
.sidebar-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; }
.sidebar-card--ink { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
.sidebar-card--ink h4 { color: #fff; }
.sidebar-card--ink:hover { box-shadow: var(--shadow-lg); }
.sidebar-nav { display: grid; gap: .1rem; }
.sidebar-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; color: var(--text); transition: background .2s, color .2s; }
.sidebar-nav a .icon { color: var(--teal); width: 18px; height: 18px; }
.sidebar-nav a:hover { background: var(--teal-50); }
.sidebar-nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.sidebar-nav a[aria-current="page"] .icon { color: #fff; }
.signs { padding: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); border-radius: var(--r-lg); background: var(--teal-50); border: 1px solid var(--teal-100); }
.signs h3 { margin-bottom: 1.25rem; }
.signs .check-list .icon { background: #fff; }
@media (min-width: 700px) { .signs .check-list { grid-template-columns: 1fr 1fr; gap: 1rem 2rem; } }

/* Emergency page specifics */
.scenario-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.scenario { display: grid; gap: .9rem; align-content: start; }
.scenario h3 { font-size: 1.35rem; }
.scenario p { color: var(--muted); font-size: var(--fs-sm); }
.scenario__tip { margin-top: .25rem; padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--pink-50); font-size: var(--fs-xs); line-height: 1.55; color: #7d2a4d; }
.scenario__tip strong { display: block; color: #a8325f; margin-bottom: .15rem; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.callout-911 { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem 1.6rem; border-radius: var(--r-md); background: var(--white); border: 1.5px solid #f3c0d5; font-size: var(--fs-sm); color: var(--muted); }
.callout-911 .icon { color: var(--pink); width: 26px; height: 26px; flex: none; }
.callout-911 strong { color: var(--ink); }

/* Big phone link */
.phone-xl { display: inline-flex; align-items: center; gap: .9rem; font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.phone-xl .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--pink); color: #fff; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 85, 143, .45); } 70% { box-shadow: 0 0 0 16px rgba(226, 85, 143, 0); } }

/* Contact */
.contact-grid { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.35fr 1fr; } }
.form-card { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); }
.form-card:hover { transform: none; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .64); font-size: var(--fs-sm); padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.footer-top { display: grid; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
@media (min-width: 600px) and (max-width: 899px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
.footer-about { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.footer-about .brand__name { color: #fff; }
.footer-about .brand__sub { color: var(--mint); }
.footer-about p { max-width: 36ch; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: #fff; }
.footer-col h4 { color: #fff; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: var(--mint); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .icon { color: var(--mint); margin-top: .25rem; width: 18px; height: 18px; }
.socials { display: flex; gap: .5rem; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); transition: background .25s, border-color .25s, color .25s; }
.socials a:hover { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; padding-block: 1.75rem; font-size: var(--fs-xs); }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-wordmark { font-family: var(--font-display); font-size: clamp(3.5rem, 1rem + 11vw, 11rem); line-height: .8; letter-spacing: -0.04em; color: rgba(255, 255, 255, .05); text-align: center; white-space: nowrap; padding-top: 1rem; padding-bottom: .12em; user-select: none; overflow: hidden; }

/* Mobile action bar */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem; border-radius: var(--r-pill); background: rgba(11, 22, 38, .94); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .45s var(--ease); }
.mobile-bar.is-visible { transform: none; }
.mobile-bar .btn { min-height: 48px; padding-inline: .75rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 76px; } }

/* 6. Reveal animations ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* 7. Utilities ------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.stack { display: grid; gap: 1.25rem; }
.stack-lg { display: grid; gap: clamp(3rem, 2.5rem + 2vw, 5rem); }

/* Phone refinements --------------------------------------------------------- */
@media (max-width: 699px) {
  .service-card { gap: .7rem; padding: 1.35rem 1.35rem 1.5rem; }
  .service-card h3 { font-size: 1.3rem; }
  .service-card__num { top: 1.35rem; right: 1.35rem; }
  .service-card .icon-badge { width: 46px; height: 46px; border-radius: 13px; }
  .value { padding: 1.35rem; gap: .7rem; }
  .value .icon-badge { width: 44px; height: 44px; border-radius: 12px; }
  .hero__tiles { right: 10px; top: -12px; grid-template-columns: repeat(2, 16px); gap: 4px; }
  .hero__tiles i { width: 16px; height: 16px; border-radius: 5px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; }
  .step::before { font-size: 2.1rem; margin-bottom: .6rem; }
  .testimonial blockquote { font-size: 1.15rem; }
}
@media (min-width: 600px) { .service-layout .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; } }

/* Implant partner (service pages with a "partner" entry) */
.partner { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.75rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-soft); border-radius: var(--r-lg, 18px); background: #fff; }
.partner img { width: 180px; height: auto; flex: none; border-radius: 10px; }
.partner p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.partner strong { color: var(--ink); }
@media (max-width: 599px) { .partner { flex-direction: column; align-items: flex-start; } .partner img { width: 160px; } }
@media (min-width: 700px) { .hero__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; } }

/* Home: implant partner feature */
.implant-feature { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.implant-feature__badge { width: 150px; height: auto; }
.implant-feature__body h3 { margin: .5rem 0 .6rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.implant-feature__body p { margin: 0; color: var(--muted); max-width: 52ch; }
.implant-feature__aside { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.implant-feature__logo { width: 170px; height: auto; border-radius: 10px; }
@media (max-width: 999px) { .implant-feature { grid-template-columns: auto 1fr; } .implant-feature__aside { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; } }
@media (max-width: 599px) { .implant-feature { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.25rem; } .implant-feature__badge { width: 120px; } .implant-feature__aside { flex-direction: column; } .implant-feature__body p { margin-inline: auto; } }
