/* ==========================================================================
   Prestige Dental Suite — style.css
   Design tokens, typography, global styles, shared components and layout.
   Layout adjustments live in responsive.css; motion lives in animations.css.
   Bootstrap 5 is used only for its grid/flex utilities (bootstrap-grid.min.css).
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  --bg: #F8F7F4;
  --navy: #14213D;
  --purple: #6336B5;
  --white: #FFFFFF;
  --lavender: #EDE7F8;
  --text-2: #555968;
  --muted: #777B87;          /* decorative / large text only: contrast < 4.5:1 on off-white */
  --border: #E6E2EA;
  --success: #26734D;
  --error: #B42335;

  --purple-dark: #4F2A94;    /* hover for purple controls */
  --navy-soft: #1d2d52;
  --lavender-deep: #DCD0F2;

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .05), 0 6px 18px rgba(20, 33, 61, .05);
  --shadow-md: 0 14px 36px rgba(20, 33, 61, .10);
  --shadow-lg: 0 30px 64px rgba(20, 33, 61, .16);

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4, h5 {
  text-wrap: balance;
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lavender-deep); color: var(--navy); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 1000;
  background: var(--navy); color: var(--white); padding: .75rem 1.1rem; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 600; transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* 3. Layout helpers ------------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--white { background: var(--white); }
.section--lav { background: var(--lavender); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .78); }
.section__head { max-width: 680px; margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section__head--split > div { max-width: 640px; }
.rule { width: 56px; height: 2px; background: var(--purple); border: 0; margin: 0 0 1.5rem; }
.section__head--center .rule { margin-inline: auto; }

/* 4. Typography ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--purple);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; display: block; }
.section--navy .eyebrow, .on-dark .eyebrow { color: #C9B6F0; }
.display { font-size: clamp(2.5rem, 4.6vw + .6rem, 4.75rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.h1 { font-size: clamp(2.3rem, 4vw + .6rem, 4.1rem); line-height: 1.07; letter-spacing: -0.03em; font-weight: 800; }
.h2 { font-size: clamp(2rem, 2.8vw + .8rem, 3.35rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.h3 { font-size: clamp(1.25rem, .8vw + 1rem, 1.55rem); letter-spacing: -0.02em; }
.accent { color: var(--purple); }
.lead { font-size: clamp(1.08rem, .35vw + 1rem, 1.28rem); line-height: 1.65; color: var(--text-2); max-width: 56ch; }
.section__head .lead, .section__head p { margin-top: 1.1rem; }
.section--navy h2, .section--navy h3, .on-dark h2, .on-dark h3, .on-dark .h2 { color: var(--white); }
.small { font-size: .9rem; }
.prose p + p { margin-top: 1.1rem; }

/* 5. Buttons & links ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.7rem; border-radius: 14px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: -0.005em;
  line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn i { font-size: 1.05em; transition: transform .25s var(--ease); }
.btn:hover i.bi-arrow-right { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--purple); box-shadow: 0 10px 24px rgba(99, 54, 181, .28); transform: translateY(-1px); }
.btn--accent { background: var(--purple); color: var(--white); }
.btn--accent:hover { background: var(--purple-dark); box-shadow: 0 10px 24px rgba(99, 54, 181, .3); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(20, 33, 61, .25); }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); background: rgba(99, 54, 181, .05); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--lavender); transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-head);
  font-weight: 700; font-size: .95rem; color: var(--purple); position: relative; padding-block: .35rem;
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.6rem; bottom: .1rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.text-link { color: var(--purple); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.text-link:hover { background-size: 100% 1.5px; }

.badge-demo {
  display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border-radius: 8px;
  background: var(--lavender); color: var(--purple); border: 1px solid var(--lavender-deep);
  font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* 6. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 247, 244, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 24px rgba(20, 33, 61, .07); }
.site-header.is-scrolled .site-header__inner { min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; min-width: 0; }
.brand__mark { width: 44px; height: 44px; border-radius: 13px; background: var(--navy); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__mark i { color: #C9B6F0; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.1; color: var(--navy); letter-spacing: -0.02em; }
.brand__name small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); margin-top: .2rem; }
.brand__img { display: none; height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.brand.has-logo .brand__img { display: block; }
.brand.has-logo .brand__mark, .brand.has-logo .brand__name { display: none; }
.site-footer .brand .brand__name { color: var(--white); }
.site-footer .brand .brand__name small { color: #C9B6F0; }
.site-footer .brand .brand__mark { background: var(--white); color: var(--navy); }
.site-footer .brand.has-logo .brand__img { background: var(--white); padding: .55rem .8rem; border-radius: 14px; height: 62px; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.site-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.2rem); }
.site-nav__link {
  position: relative; font-family: var(--font-head); font-weight: 600; font-size: .96rem; color: var(--navy);
  padding: .55rem 0; transition: color .25s var(--ease);
}
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.site-nav__link:hover { color: var(--purple); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--purple); }
.site-nav .btn { min-height: 46px; padding: 0 1.35rem; font-size: .92rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--navy); align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav-toggle:hover { border-color: var(--purple); }
.nav-toggle .bi-x-lg { display: none; font-size: 1.2rem; }
.nav-toggle[aria-expanded="true"] .bi-list { display: none; }
.nav-toggle[aria-expanded="true"] .bi-x-lg { display: inline; }

/* 7. Image placeholder system ------------------------------------------- */
.ph {
  --ar: 4 / 3;
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg);
  aspect-ratio: var(--ar);
  background: linear-gradient(150deg, #ECE6F6 0%, #F3F0EA 52%, #E2DAF1 100%);
}
.ph--lav { background: linear-gradient(150deg, #E3D9F5, #F1ECFA 55%, #D9CCF0); }
.ph--navy { background: linear-gradient(150deg, #22335d, #14213D 60%, #2a2f66); }
.ph--navy .ph__label { background: rgba(255, 255, 255, .92); }
.ph::before, .ph::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.ph::before { width: 62%; aspect-ratio: 1; right: -14%; top: -22%; background: radial-gradient(circle, rgba(99, 54, 181, .16), transparent 68%); }
.ph::after { width: 48%; aspect-ratio: 1; left: -12%; bottom: -24%; background: radial-gradient(circle, rgba(20, 33, 61, .10), transparent 68%); }
.ph__fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; padding: 1rem; text-align: center; transition: opacity .4s var(--ease), transform .8s var(--ease);
}
.ph__icon {
  width: clamp(44px, 18%, 68px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .78); color: var(--purple); font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  box-shadow: 0 6px 18px rgba(20, 33, 61, .08);
}
.ph__label {
  max-width: 100%; padding: .32rem .8rem; border-radius: 8px; background: rgba(255, 255, 255, .8);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy);
}
.ph > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.ph.is-loaded > img { opacity: 1; }
.ph.is-loaded .ph__fallback { opacity: 0; pointer-events: none; }
.ph.is-missing > img { display: none; }
.ph--fill { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; height: 100%; }
.zoom-host:hover .ph > img, .zoom-host:focus-within .ph > img { transform: scale(1.05); }
.zoom-host:hover .ph__fallback { transform: scale(1.04); }
.ph-tag {
  position: absolute; left: .85rem; top: .85rem; z-index: 2; padding: .25rem .65rem; border-radius: 8px;
  background: rgba(255, 255, 255, .92); color: var(--navy); font-family: var(--font-head); font-size: .66rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}

/* 8. Hero ---------------------------------------------------------------- */
.hero--fullbleed {
  position: relative;
  min-height: clamp(520px, 80vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Background slider fills the entire hero */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slider__track { position: absolute; inset: 0; }
.hero-bg-slider .slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s; }
.hero-bg-slider .slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero-bg-slider .slide .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; height: 100%; }
.hero-bg-slider .slide .ph > img { transform-origin: 55% 45%; }

/* Dark gradient overlay for text legibility */
.hero-bg-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(14, 22, 44, .72) 0%,
    rgba(14, 22, 44, .52) 55%,
    rgba(14, 22, 44, .18) 100%
  );
}

/* Slider controls pinned to bottom-right, above overlay */
.slider-ui--bg {
  position: absolute;
  z-index: 4;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.slider-ui--bg .icon-btn { color: var(--white); }
.slider-ui--bg .icon-btn:hover { background: rgba(255, 255, 255, .25); color: var(--white); }
.slider-ui--bg .dot::before { background: rgba(255, 255, 255, .45); }
.slider-ui--bg .dot[aria-current="true"]::before,
.slider-ui--bg .dot.is-active::before { background: var(--white); }

/* Foreground content sits above overlay */
.hero__content {
  position: relative;
  z-index: 3;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.hero__copy { max-width: 640px; }
.hero__copy .eyebrow { color: #C9B6F0; }
.hero__copy .eyebrow::before { background: currentColor; }
.hero__copy .display { color: var(--white); margin-bottom: 1.5rem; }
.hero__copy .accent { color: #C9B6F0; }
.hero__copy .lead { color: rgba(255, 255, 255, .88); margin-bottom: 2.25rem; max-width: 52ch; }

/* Ghost button variant for dark backgrounds */
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .5);
}
.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
}

/* Keep old hero vars for backwards compat in animations.css */
.hero__copy > * { /* animations applied via animations.css */ }

/* Shared slider UI components (used in hero and elsewhere) */
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--navy);
  display: inline-grid; place-items: center; font-size: 1.05rem; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { background: var(--lavender); color: var(--purple); }
.dots { display: flex; align-items: center; gap: .15rem; }
.dot { width: 24px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; padding: 0; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lavender-deep); transition: width .35s var(--ease), background-color .35s var(--ease); }
.dot[aria-current="true"]::before, .dot.is-active::before { width: 22px; border-radius: 6px; background: var(--purple); }
.slider-ui {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm);
}

/* 9. Trust band ---------------------------------------------------------- */
.trust { background: var(--white); border-block: 1px solid var(--border); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; gap: 1rem; padding: 2rem 1.5rem; align-items: flex-start; }
.trust__item + .trust__item { border-left: 1px solid var(--border); }
.trust__item:first-child { padding-left: 0; }
.trust__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: var(--purple); background: var(--lavender); font-size: 1.3rem; }
.trust__item h3 { font-size: 1.02rem; margin-bottom: .3rem; letter-spacing: -0.01em; }
.trust__item p { font-size: .92rem; line-height: 1.55; }

/* 10. Service cards ------------------------------------------------------ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--lavender-deep); }
.svc-card .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 0 1.6rem 1.7rem; }
.svc-card .icon-chip { margin-top: -26px; margin-bottom: 1.1rem; position: relative; z-index: 2; }
.icon-chip { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--white); color: var(--purple); font-size: 1.35rem; box-shadow: 0 8px 20px rgba(20, 33, 61, .12); border: 1px solid var(--border); transition: background-color .3s var(--ease), color .3s var(--ease); }
.svc-card:hover .icon-chip { background: var(--purple); color: var(--white); }
.svc-card h3 { font-size: 1.28rem; margin-bottom: .6rem; }
.svc-card p { font-size: .98rem; line-height: 1.62; margin-bottom: 1.3rem; }
.svc-card .link-arrow, .svc-card .btn { margin-top: auto; align-self: flex-start; }
.svc-card--detail p { font-size: .96rem; }
.svc-card--detail .svc-card__note { font-size: .78rem; color: var(--text-2); margin: -.4rem 0 1.2rem; display: flex; gap: .4rem; align-items: center; }
.svc-card[hidden] { display: none; }
@media (min-width: 992px) { .svc-grid--stagger > :nth-child(3n+2) { margin-top: 2.75rem; } }

/* Filter chips (services + gallery) */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.chip {
  min-height: 44px; padding: 0 1.15rem; border-radius: 12px; border: 1.5px solid var(--border); background: var(--white); color: var(--navy);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.disclaimer {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.3rem; border-radius: var(--r-md);
  background: var(--lavender); border: 1px solid var(--lavender-deep); color: var(--navy); font-size: .95rem; line-height: 1.55;
}
.disclaimer i { color: var(--purple); font-size: 1.15rem; margin-top: .1rem; flex-shrink: 0; }

/* 11. Editorial about block --------------------------------------------- */
.about-media { position: relative; padding-bottom: 3rem; padding-right: 1.5rem; }
.about-media .ph { border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.about-media__panel { position: absolute; right: 0; bottom: 0; width: min(310px, 78%); z-index: 2; }
.profile-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.profile-card .ph { width: 76px; flex-shrink: 0; border-radius: 18px; box-shadow: none; --ar: 1 / 1; }
.profile-card .ph__label { display: none; }
.profile-card .ph__icon { width: 44px; font-size: 1.2rem; }
.profile-card h3 { font-size: 1.05rem; margin: .3rem 0 .15rem; }
.profile-card p { font-size: .84rem; line-height: 1.4; }
.about-copy .h2 { margin-bottom: 1.5rem; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy .btn-row { margin-top: 2rem; }
.check-list { display: grid; gap: .8rem; margin-top: 1.75rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list i { color: var(--purple); margin-top: .2rem; }

/* 12. Timeline ----------------------------------------------------------- */
.exp { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.exp__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 4.25rem; }
.timeline::before { content: ""; position: absolute; left: 1.55rem; top: 1.5rem; bottom: 1.5rem; width: 1.5px; background: linear-gradient(var(--purple), rgba(99, 54, 181, .15)); }
.tl-step { position: relative; background: var(--white); border: 1px solid var(--lavender-deep); border-radius: var(--r-lg); padding: 1.9rem 2rem; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tl-step:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.tl-step__num {
  position: absolute; left: -4.25rem; top: 1.5rem; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--purple); color: var(--purple); font-family: var(--font-head); font-weight: 800; font-size: .95rem;
}
.tl-step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.tl-step i.tl-step__icon { position: absolute; right: 1.5rem; top: 1.5rem; font-size: 1.5rem; color: var(--lavender-deep); }

/* 13. Gallery cards / grid / lightbox ----------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
.pcard { position: relative; border-radius: var(--r-xl); overflow: hidden; display: block; aspect-ratio: 4 / 5; background: var(--lavender); }
.pcard .ph { border-radius: 0; }
.pcard__cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 3rem 1.5rem 1.4rem; color: var(--white); background: linear-gradient(to top, rgba(20, 33, 61, .88), rgba(20, 33, 61, 0)); }
.pcard__cap h3 { color: var(--white); font-size: 1.3rem; margin-bottom: .25rem; }
.pcard__cap p { font-size: .88rem; color: rgba(255, 255, 255, .8); line-height: 1.5; }
.note-line { margin-top: 1.4rem; font-size: .88rem; color: var(--text-2); display: flex; gap: .55rem; align-items: center; }
.note-line i { color: var(--purple); }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: clamp(.75rem, 1.6vw, 1.1rem); grid-auto-flow: dense; }
.mosaic__item { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: 0; border: 0; background: var(--lavender); display: block; width: 100%; text-align: left; }
.mosaic__item .ph { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.mosaic__item--tall { grid-row: span 3; }
.mosaic__item--std { grid-row: span 2; }
.mosaic__item--wide { grid-column: span 2; grid-row: span 2; }
.mosaic__item[hidden] { display: none; }
.mosaic__zoom {
  position: absolute; z-index: 3; right: .8rem; bottom: .8rem; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .94); color: var(--navy); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.mosaic__item:hover .mosaic__zoom, .mosaic__item:focus-visible .mosaic__zoom { opacity: 1; transform: none; }
.mosaic__cap { position: absolute; z-index: 3; left: .85rem; bottom: .85rem; max-width: calc(100% - 4.5rem); padding: .3rem .7rem; border-radius: 8px; background: rgba(20, 33, 61, .82); color: var(--white); font-family: var(--font-head); font-size: .72rem; font-weight: 600; letter-spacing: .02em; }

dialog.lightbox { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; max-height: 92vh; margin: auto; color: var(--white); overflow: visible; }
dialog.lightbox::backdrop { background: rgba(14, 22, 44, .9); }
.lightbox__stage { position: relative; }
.lightbox__figure .ph { --ar: 3 / 2; border-radius: var(--r-lg); max-height: 74vh; width: 100%; }
.lightbox__figure .ph > img { object-fit: contain; background: #0e162c; }
.lightbox__cap { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem .25rem 0; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.lightbox__cap strong { font-family: var(--font-head); color: var(--white); display: block; margin-bottom: .1rem; }
.lightbox__count { font-family: var(--font-head); font-weight: 700; font-size: .85rem; white-space: nowrap; color: #C9B6F0; }
.lb-btn { position: absolute; z-index: 5; width: 48px; height: 48px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .95); color: var(--navy); display: grid; place-items: center; font-size: 1.15rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.lb-btn:hover { background: var(--lavender); color: var(--purple); }
.lb-btn:focus-visible { outline-color: #C9B6F0; }
.lb-btn--close { top: .75rem; right: .75rem; }
.lb-btn--prev { top: 50%; left: .75rem; transform: translateY(-50%); }
.lb-btn--next { top: 50%; right: .75rem; transform: translateY(-50%); }

/* 14. Testimonials carousel --------------------------------------------- */
.tcar { max-width: 880px; margin-inline: auto; }
.tcar__viewport { overflow: hidden; border-radius: var(--r-xl); }
.tcar__track { display: flex; transition: transform .6s var(--ease); touch-action: pan-y; }
.tcar__slide { flex: 0 0 100%; padding: .25rem; }
.tcard { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.75rem, 5vw, 3.25rem); box-shadow: var(--shadow-sm); height: 100%; position: relative; }
.tcard__quote { font-size: 2.6rem; color: var(--lavender-deep); line-height: 1; margin-bottom: 1rem; display: block; }
.tcard blockquote { font-family: var(--font-head); font-size: clamp(1.15rem, 1.2vw + .9rem, 1.55rem); line-height: 1.5; color: var(--navy); font-weight: 600; letter-spacing: -0.015em; }
.tcard__who { display: flex; align-items: center; gap: .9rem; margin-top: 1.75rem; flex-wrap: wrap; }
.tcard__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--lavender); color: var(--purple); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.tcard__who strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .98rem; }
.tcard__who span.small { color: var(--text-2); }
.tcar__ui { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.tcar__ui .icon-btn { border: 1.5px solid var(--border); background: var(--white); border-radius: 14px; }
.tcar__ui .icon-btn:hover { border-color: var(--purple); }

/* 15. Location / hours / map -------------------------------------------- */
.info-list { display: grid; gap: 1.4rem; margin-block: 2rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--lavender); color: var(--purple); display: grid; place-items: center; font-size: 1.15rem; }
.info-item h3 { font-size: 1rem; margin-bottom: .2rem; letter-spacing: -0.01em; }
.info-item a { transition: color .25s var(--ease); }
.info-item a:hover { color: var(--purple); }
.hours { width: 100%; max-width: 420px; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--border); font-size: .98rem; }
.hours li span:first-child { color: var(--navy); font-weight: 600; font-family: var(--font-head); font-size: .94rem; }
.hours li:last-child { border-bottom: 0; }
.map-ph {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; min-height: 320px; border: 1px solid var(--border);
  background-color: #EFEAF7;
  background-image:
    linear-gradient(rgba(255, 255, 255, .75) 2px, transparent 2px), linear-gradient(90deg, rgba(255, 255, 255, .75) 2px, transparent 2px),
    linear-gradient(rgba(99, 54, 181, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 54, 181, .07) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.map-ph::before { content: ""; position: absolute; left: -10%; right: -10%; top: 55%; height: 34px; background: rgba(255, 255, 255, .85); transform: rotate(-9deg); }
.map-ph::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 38%; width: 30px; background: rgba(255, 255, 255, .85); transform: rotate(14deg); }
.map-ph__inner { position: relative; z-index: 2; display: grid; gap: .8rem; justify-items: center; }
.map-ph__pin { width: 62px; height: 62px; border-radius: 50%; background: var(--purple); color: var(--white); display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 12px 28px rgba(99, 54, 181, .4); }
.map-ph__label { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: .65rem 1rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--navy); box-shadow: var(--shadow-sm); max-width: 26ch; line-height: 1.4; }
.map-ph--wide { width: 100%; }
@media (min-width: 768px) { .map-ph--wide { aspect-ratio: 21 / 9; } }
.exp__intro .lead { margin-top: 1.1rem; }
.map-embed { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 5 / 4; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-caption { margin-top: .9rem; font-size: .92rem; display: flex; gap: .55rem; align-items: flex-start; }
.map-caption i { color: var(--purple); margin-top: .2rem; }

/* 16. CTA panel ---------------------------------------------------------- */
.cta-panel {
  position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(135deg, #14213D 0%, #1b2a52 60%, #2a2468 120%);
  padding: clamp(2.75rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem); color: rgba(255, 255, 255, .8); text-align: center; isolation: isolate;
}
.cta-panel::before { content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -160px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 54, 181, .55), transparent 68%); z-index: -1; }
.cta-panel::after { content: ""; position: absolute; width: 360px; aspect-ratio: 1; left: -120px; bottom: -190px; border-radius: 50%; border: 1.5px solid rgba(201, 182, 240, .25); box-shadow: 0 0 0 36px rgba(201, 182, 240, .05); z-index: -1; }
.cta-panel .h2 { color: var(--white); max-width: 18ch; margin: 0 auto 1.25rem; }
.cta-panel p { max-width: 54ch; margin: 0 auto 2.25rem; font-size: 1.12rem; }
.cta-panel .btn-row { justify-content: center; align-items: center; }
.cta-panel .eyebrow { color: #C9B6F0; }
.cta-panel .link-light { color: var(--white); font-family: var(--font-head); font-weight: 700; padding: .8rem 1rem; border-bottom: 1.5px solid rgba(255, 255, 255, .35); transition: border-color .25s var(--ease); }
.cta-panel .link-light:hover { border-color: var(--white); }

/* 17. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .74); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: .97rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 640px; aspect-ratio: 1; right: -260px; top: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 54, 181, .32), transparent 68%); pointer-events: none; }
.site-footer .row { position: relative; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--white); margin-bottom: 1.25rem; font-weight: 700; }
.footer__tag { font-family: var(--font-head); font-weight: 700; color: #C9B6F0; margin: 1.3rem 0 .6rem; }
.footer__desc { max-width: 38ch; line-height: 1.65; }
.footer__links { display: grid; gap: .65rem; }
.footer__links a, .footer__contact a { transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer__links a:hover { color: var(--white); padding-left: .3rem; }
.footer__contact { display: grid; gap: .8rem; }
.footer__contact li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.55; }
.footer__contact i { color: #C9B6F0; margin-top: .25rem; }
.footer__contact a:hover { color: var(--white); }
.footer__hours { margin-top: 1.4rem; display: grid; gap: .35rem; font-size: .92rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 300px; }
.footer__hours span:first-child { color: var(--white); }
.socials { display: flex; gap: .6rem; margin-top: 1.6rem; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .22); display: grid; place-items: center; color: var(--white); transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.socials a:hover { background: var(--purple); border-color: var(--purple); transform: translateY(-2px); }
.socials a:focus-visible, .site-footer a:focus-visible { outline-color: #C9B6F0; }
.footer__bar { margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .13); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center; font-size: .88rem; position: relative; }
.footer__bar a:hover { color: var(--white); text-decoration: underline; }
.footer__bar-right { display: flex; gap: .5rem 1.75rem; flex-wrap: wrap; align-items: center; }
.footer__dev { font-size: .78rem; opacity: .6; }

/* 18. Floating controls -------------------------------------------------- */
.wa-float {
  position: fixed; z-index: 90; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%; background: #1f7a46; color: var(--white); display: grid; place-items: center; font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(20, 33, 61, .28); transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: #186339; }
.to-top {
  position: fixed; z-index: 89; right: max(1.35rem, env(safe-area-inset-right)); bottom: calc(max(1.1rem, env(safe-area-inset-bottom)) + 70px);
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--white); color: var(--navy); display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); color: var(--white); }
.quick-bar { display: none; }
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); max-width: min(92vw, 420px);
  background: var(--navy); color: var(--white); padding: .85rem 1.2rem; border-radius: var(--r-sm); font-size: .92rem; line-height: 1.45;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .35s var(--ease); text-align: center;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 19. Inner page hero ---------------------------------------------------- */
.page-hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; overflow-x: clip; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -30%; width: 46vw; max-width: 620px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(99, 54, 181, .09), transparent 66%); pointer-events: none; }
.page-hero .row { position: relative; }
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero--center { text-align: center; }
.page-hero--center .lead { margin-inline: auto; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .86rem; margin-bottom: 1.6rem; font-family: var(--font-head); font-weight: 600; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--purple); }
.crumbs i { font-size: .65rem; color: var(--muted); }
.crumbs span[aria-current] { color: var(--purple); }

/* 20. About-page components --------------------------------------------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.1rem, 2.4vw, 1.75rem); }
.mv-card { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--border); position: relative; overflow: hidden; }
.mv-card--navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .82); }
.mv-card--navy h2 { color: var(--white); }
.mv-card--navy .eyebrow { color: #C9B6F0; }
.mv-card h2 { font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.1rem); margin-bottom: 1.1rem; }
.mv-card p { font-size: 1.1rem; line-height: 1.7; }
.mv-card > i { position: absolute; right: 1.5rem; top: 1.2rem; font-size: 3.5rem; opacity: .1; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value-card { background: var(--white); border: 1px solid var(--lavender-deep); border-radius: var(--r-lg); padding: 1.75rem 1.5rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .icon-chip { box-shadow: none; background: var(--lavender); border: 0; margin-bottom: 1.1rem; }
.value-card h3 { font-size: 1.12rem; margin-bottom: .45rem; }
.value-card p { font-size: .93rem; line-height: 1.6; }
.dentist-feature { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.team-card .ph { border-radius: 0; --ar: 4 / 4.2; }
.team-card__body { padding: 1.3rem 1.5rem 1.5rem; }
.team-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.team-card p { font-size: .9rem; }
.placeholder-note { border: 1.5px dashed var(--lavender-deep); border-radius: var(--r-lg); padding: 1.6rem 1.8rem; background: rgba(255, 255, 255, .6); }
.hist { display: grid; gap: 1.25rem; margin-top: 2rem; }
.hist__item { display: grid; grid-template-columns: 96px 1fr; gap: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.hist__item:last-child { border-bottom: 0; }
.hist__year { font-family: var(--font-head); font-weight: 800; color: var(--purple); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }

/* 21. FAQ ---------------------------------------------------------------- */
.faq-list { display: grid; gap: .9rem; max-width: 880px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item.is-open { border-color: var(--lavender-deep); box-shadow: var(--shadow-sm); }
.faq-item h3 { font-size: inherit; letter-spacing: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; text-align: left; border: 0; background: transparent;
  padding: 1.3rem 1.5rem; min-height: 64px; font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; color: var(--navy); line-height: 1.35; border-radius: var(--r-md);
}
.faq-q:hover { color: var(--purple); }
.faq-q .faq-icon { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--lavender); color: var(--purple); display: grid; place-items: center; transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); background: var(--purple); color: var(--white); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__content { padding: 0 1.5rem 1.5rem; max-width: 70ch; }
.faq-a__content p + p { margin-top: .8rem; }
.faq-a__content a { color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.js .faq-a__inner { visibility: hidden; transition: visibility 0s linear .4s; }
.js .faq-item.is-open .faq-a__inner { visibility: visible; transition-delay: 0s; }

/* 22. Forms & wizard ----------------------------------------------------- */
.field { display: grid; gap: .45rem; margin-bottom: 1.35rem; }
.field > label, .field > legend, .legend {
  font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--navy);
}
.field .opt { font-weight: 500; color: var(--text-2); font-size: .85rem; }
.req { color: var(--error); margin-left: .15rem; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--white); border: 1.5px solid #D6D1DE; border-radius: 14px; font-size: 1rem; color: var(--navy);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease); appearance: none; -webkit-appearance: none;
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2314213D' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 4.6a.75.75 0 0 1 1.06 0L8 9.94l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 5.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.input::placeholder, .textarea::placeholder { color: #8A8E9A; }
.input:hover, .select:hover, .textarea:hover { border-color: #B9B1C9; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(99, 54, 181, .16); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 53, .15); }
.field-error { display: none; gap: .45rem; align-items: flex-start; color: var(--error); font-size: .88rem; line-height: 1.4; font-weight: 500; }
.field-error::before { content: "\F333"; font-family: "bootstrap-icons"; font-size: .95rem; margin-top: .05rem; }
.field.has-error .field-error { display: flex; }
.field-hint { font-size: .86rem; color: var(--text-2); }
.field-count { font-size: .8rem; color: var(--text-2); text-align: right; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; z-index: 2; }
.choice__box {
  display: flex; gap: .8rem; align-items: center; min-height: 64px; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 14px; background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); line-height: 1.3; transition: all .25s var(--ease);
}
.choice__box i { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--lavender); color: var(--purple); display: grid; place-items: center; font-size: 1.05rem; transition: all .25s var(--ease); }
.choice:hover .choice__box { border-color: #B9A5E0; }
.choice input:checked + .choice__box { border-color: var(--purple); background: #F6F2FC; box-shadow: 0 0 0 3px rgba(99, 54, 181, .14); }
.choice input:checked + .choice__box i { background: var(--purple); color: var(--white); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--purple); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .6rem; }
.slot .choice__box { min-height: 48px; justify-content: center; padding: .55rem; font-size: .92rem; }
.method-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.method-row .choice__box { flex-direction: column; justify-content: center; text-align: center; gap: .4rem; min-height: 78px; font-size: .88rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.55; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--purple); flex-shrink: 0; cursor: pointer; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.notice { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--r-sm); background: var(--lavender); border: 1px solid var(--lavender-deep); font-size: .92rem; line-height: 1.55; color: var(--navy); margin-bottom: 1.35rem; }
.notice i { color: var(--purple); font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.notice--warn { background: #FFF6E5; border-color: #F1D9A3; }
.notice--warn i { color: #946200; }
.notice a { text-decoration: underline; font-weight: 600; text-underline-offset: 3px; }

.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(1.4rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-md); }
.wizard-progress { display: flex; justify-content: space-between; position: relative; margin: 0 0 2.25rem; padding: 0; counter-reset: step; --wp: 0; }
.wizard-progress::before, .wizard-progress::after { content: ""; position: absolute; left: 12.5%; top: 19px; height: 2px; }
.wizard-progress::before { right: 12.5%; background: var(--border); }
.wizard-progress::after { background: var(--purple); width: calc(var(--wp) * 75%); transition: width .5s var(--ease); }
.wp-step { position: relative; z-index: 1; flex: 1; display: grid; justify-items: center; gap: .55rem; text-align: center; }
.wp-step__dot { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--border); font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--text-2); transition: all .3s var(--ease); }
.wp-step__label { font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--text-2); line-height: 1.25; }
.wp-step.is-current .wp-step__dot { background: var(--purple); border-color: var(--purple); color: var(--white); box-shadow: 0 0 0 5px rgba(99, 54, 181, .16); }
.wp-step.is-current .wp-step__label { color: var(--purple); }
.wp-step.is-done .wp-step__dot { background: var(--navy); border-color: var(--navy); color: var(--white); }
.wp-step.is-done .wp-step__label { color: var(--navy); }
.wiz-step[hidden] { display: none; }
.wiz-step__title { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.85rem); margin-bottom: .5rem; }
.wiz-step__desc { margin-bottom: 1.75rem; font-size: .98rem; }
.wiz-actions { display: flex; justify-content: space-between; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.wiz-actions .btn:only-child { margin-left: auto; }
.review { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.review__group { border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.1rem 1.3rem; background: var(--bg); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.review__head h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.review__edit { border: 0; background: transparent; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .86rem; min-height: 40px; padding: 0 .6rem; border-radius: 10px; text-decoration: underline; text-underline-offset: 3px; }
.review__edit:hover { color: var(--purple); background: rgba(99, 54, 181, .07); }
.review dl { display: grid; gap: .55rem; }
.review dl > div { display: grid; grid-template-columns: 140px 1fr; gap: .75rem; font-size: .95rem; }
.review dt { color: var(--text-2); }
.review dd { color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.confirm { text-align: center; padding: clamp(.5rem, 3vw, 2rem) 0; }
.confirm__icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.5rem; display: grid; place-items: center; background: #E6F3EC; color: var(--success); font-size: 2.2rem; }
.confirm h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.3rem); margin-bottom: 1rem; }
.confirm p { max-width: 52ch; margin-inline: auto; }
.confirm .btn-row { justify-content: center; margin-top: 2rem; }
.confirm:focus { outline: none; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem 1.75rem; }
.side-card + .side-card { margin-top: 1.1rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.side-card--lav { background: var(--lavender); border-color: var(--lavender-deep); }
.mini-steps { display: grid; gap: 1.1rem; counter-reset: ms; }
.mini-steps li { display: flex; gap: .9rem; align-items: flex-start; counter-increment: ms; }
.mini-steps li::before { content: counter(ms); width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--lavender); color: var(--purple); font-family: var(--font-head); font-weight: 800; font-size: .82rem; margin-top: .1rem; }
.mini-steps strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: .98rem; }
.mini-steps span { font-size: .92rem; line-height: 1.5; display: block; }
.noscript-box { padding: 1.5rem; border-radius: var(--r-md); background: var(--lavender); border: 1px solid var(--lavender-deep); color: var(--navy); }
html:not(.js) .js-only { display: none; }

/* 23. Contact cards ------------------------------------------------------ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; gap: .35rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.9rem 1.75rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--lavender-deep); }
.contact-card .icon-chip { margin-bottom: 1rem; box-shadow: none; background: var(--lavender); border: 0; }
.contact-card:hover .icon-chip { background: var(--purple); color: var(--white); }
.contact-card h3 { font-size: 1.08rem; }
.contact-card strong { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.contact-card span.small { color: var(--text-2); }
.social-list { display: grid; gap: .7rem; }
.social-list a { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--white); transition: border-color .25s var(--ease), transform .25s var(--ease); min-height: 56px; }
.social-list a:hover { border-color: var(--purple); transform: translateX(4px); }
.social-list i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--lavender); color: var(--purple); flex-shrink: 0; }
.social-list strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; line-height: 1.25; }
.social-list small { color: var(--text-2); font-size: .82rem; }

/* 24. Privacy / long-form prose ----------------------------------------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.35rem, 1vw + 1.1rem, 1.7rem); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.legal h2:first-of-type { border-top: 0; margin-top: 2rem; padding-top: 0; }
.legal p, .legal li { line-height: 1.8; }
.legal p + p { margin-top: 1rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .5rem; margin-top: 1rem; }
.legal li::marker { color: var(--purple); }
.legal a { color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.legal-toc a { font-size: .84rem; padding: .35rem .75rem; border-radius: 8px; background: var(--white); border: 1px solid var(--border); color: var(--navy); font-family: var(--font-head); font-weight: 600; text-decoration: none; }
.legal-toc a:hover { border-color: var(--purple); color: var(--purple); }

[hidden] { display: none !important; }

/* small refinements */
legend { padding: 0; float: none; }
.side-card h2 { margin-bottom: 1rem; }
