/* ==========================================================================
   Mistral Dental - theme-forge "lumex" reskin (clean-clinical general practice)
   Likeness mode: lumex band order + geometry preserved (notched top-right cards,
   circular arrow-pill controls, gray pill eyebrows + duotone word-split headings,
   circular-check lists on dashed dividers, two-tone band alternation, one dark
   photo CTA band). Identity, palette, fonts, copy, imagery, sitemap are new.
   Palette adds a teal-slate PRIMARY the source lacked; amber is the sharp accent.
   Fonts: Onest (display) + Albert Sans (body) via Google Fonts.
   ========================================================================== */

/* ---- tokens ---- */
:root {
  /* role palette (named hex) */
  --paper: #f5f9f8;      /* near-white band */
  --mist: #eaf1ef;       /* cool clinical base band */
  --ink: #233034;        /* deep slate ink */
  --muted: #52626a;      /* muted steel (>=4.5 on paper + mist) */
  --primary: #2e6e6a;    /* teal-slate primary (buttons, checks) */
  --accent: #f0a63c;     /* single warm amber accent (glyphs, underline) */
  --dark: #1c2b2c;       /* dark teal-slate (CTA bands + footer strip) */

  /* supports (derived from the roles above) */
  --primary-deep: #285f5c;
  --primary-soft: #d7e6e4;
  --accent-deep: #e0912a;
  --accent-soft: #f7ddb0;
  --line: #cbd8d6;       /* dashed divider */
  --line-soft: #dbe6e4;
  --card-mist: #eaf1ef;
  --card-paper: #f5f9f8;
  --steel-2: #7c8a8f;
  --on-dark: #e9f1f0;
  --on-dark-muted: #9db3b1;
  --pill-gray: #d5e0de;
  --pill-gray-ink: #465254;

  /* fonts */
  --font-display: "Onest", system-ui, -apple-system, sans-serif;
  --font-body: "Albert Sans", system-ui, -apple-system, sans-serif;

  /* type scale (hero ~86px) */
  --fs-hero: clamp(2.9rem, 1.0rem + 6.8vw, 5.4rem);
  --fs-h1:   clamp(2.3rem, 1.35rem + 3.4vw, 3.5rem);
  --fs-h2:   clamp(1.85rem, 1.15rem + 2.5vw, 2.7rem);
  --fs-h3:   clamp(1.2rem, 1.05rem + 0.7vw, 1.45rem);
  --fs-h3-big: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --fs-body: clamp(0.98rem, 0.94rem + 0.2vw, 1.05rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-small: 0.8rem;
  --fs-price: clamp(2.8rem, 1.8rem + 3.6vw, 4rem);

  /* spacing */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  /* geometry */
  --notch: 30px;
  --notch-sm: 22px;
  --r-pill: 999px;
  --r-sm: 8px;

  /* shadows (soft, cool) */
  --sh-1: 0 1px 2px rgba(28,43,44,.05), 0 6px 20px rgba(28,43,44,.06);
  --sh-2: 0 2px 8px rgba(28,43,44,.07), 0 22px 48px rgba(28,43,44,.10);
  --sh-primary: 0 10px 24px rgba(46,110,106,.28);

  /* motion */
  --t-fast: 160ms;
  --t-base: 280ms;
  --ease: cubic-bezier(.22,.61,.36,1);

  --wrap: 1300px;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; margin: 0; letter-spacing: -0.03em; text-wrap: balance; color: var(--ink); }
h3 { line-height: 1.12; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* ---- layout primitives ---- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--s9) 0; }
.section--tight { padding: var(--s8) 0; }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.photocta h1, .photocta h2, .qstrip h1, .qstrip h2, .pagehead h1, .pagehead h2 { color: #fff; }
.photocta .arrowlink, .qstrip .arrowlink, .pagehead .arrowlink { color: #fff; }

/* duotone word split */
.hl { color: var(--muted); }
.section--dark .hl, .photocta .hl, .qstrip .hl, .pagehead .hl { color: var(--on-dark-muted); }

/* gray pill eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pill-gray-ink);
  background: var(--pill-gray);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.section--dark .eyebrow { background: rgba(255,255,255,.14); color: #dbe4e4; }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: var(--on-dark-muted); }

/* asymmetric section header */
.sec-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; margin-bottom: 60px; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head__right { text-align: right; }
.sec-head__tag { color: var(--muted); font-size: var(--fs-lead); display: block; margin-bottom: 16px; }
.sec-head--center { display: block; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; margin-bottom: 56px; }
.sec-head--center .lead { margin-top: 18px; }

/* ==========================================================================
   THE CONTROL SHAPE - arrow pills
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 9px 9px 9px 26px;
  border-radius: var(--r-pill);
  border: 0; cursor: pointer;
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn__ico {
  width: 36px; height: 36px; flex: 0 0 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.btn__ico svg { width: 16px; height: 16px; display: block; }

/* primary = solid teal pill, amber trailing circle w/ ink arrow */
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary .btn__ico { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--primary-deep); box-shadow: var(--sh-primary); }
.btn--primary:hover .btn__ico { transform: translate(2px,2px); }

/* ghost = pale pill, teal trailing circle w/ white arrow */
.btn--ghost { background: var(--card-mist); color: var(--ink); }
.section--paper .btn--ghost { background: var(--mist); }
.section--mist .btn--ghost { background: var(--paper); }
.btn--ghost .btn__ico { background: var(--primary); color: #fff; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost:hover .btn__ico { transform: translate(2px,2px); }

/* solid amber on dark bands */
.btn--solid { background: var(--accent); color: var(--ink); }
.btn--solid .btn__ico { background: var(--ink); color: var(--accent); }
.btn--solid:hover { background: var(--accent-deep); box-shadow: var(--sh-primary); }
.btn--solid:hover .btn__ico { transform: translate(2px,2px); }

/* outline (on dark, secondary) */
.btn--outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn--outline .btn__ico { background: rgba(255,255,255,.14); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); }

.btn--block { display: flex; justify-content: center; width: 100%; }

/* tertiary = bare label + amber arrow */
.arrowlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  color: var(--ink);
}
.arrowlink svg { width: 15px; height: 15px; color: var(--accent); transition: transform var(--t-base) var(--ease); }
.arrowlink:hover svg { transform: translate(3px,3px); }
.section--dark .arrowlink { color: #fff; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header { background: var(--mist); position: relative; z-index: 60; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.brand small { font-weight: 600; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); align-self: center; margin-left: -4px; }
.brand__mark { width: 28px; height: 28px; flex: 0 0 28px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__link { font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; color: var(--ink); position: relative; padding: 6px 0; display: inline-flex; align-items: center; gap: 5px; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); transition: width var(--t-base) var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__caret { width: 15px; height: 15px; color: var(--muted); }
.nav__item { position: relative; }
.dropdown { position: absolute; top: 100%; left: -14px; min-width: 234px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--sh-2); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast); }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.94rem; font-weight: 500; color: var(--ink); }
.dropdown a:hover { background: var(--mist); color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.header-phone svg { width: 18px; height: 18px; color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* transparent-over-hero variant (home) */
.site-header--over { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
.site-header--over .brand, .site-header--over .nav__link, .site-header--over .nav-toggle, .site-header--over .header-phone { color: #eef4f3; }
.site-header--over .brand small { color: rgba(238,244,243,.7); }
.site-header--over .header-phone svg { color: var(--accent); }
.site-header--over .nav__caret { color: rgba(238,244,243,.7); }
.site-header--over .brand__mark .mk-ring { stroke: #eef4f3; }

.mobile-panel { position: fixed; inset: 0; background: var(--paper); z-index: 120; transform: translateX(100%); transition: transform var(--t-base) var(--ease); display: flex; flex-direction: column; padding: 22px 26px; overflow-y: auto; }
.mobile-panel.open { transform: translateX(0); }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-panel__close { background: none; border: 0; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.mobile-panel__close svg { width: 26px; height: 26px; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-panel nav a { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-panel nav a.sub { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); padding: 9px 0 9px 16px; }
.mobile-panel nav a.btn { border-bottom: 0; margin-top: 18px; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: #fff; }

/* ==========================================================================
   HERO (full-viewport clinical, teal-slate grade, subject right)
   ========================================================================== */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: 74% 40%; }
.hero__scrim { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,32,33,.95) 0%, rgba(20,32,33,.86) 26%, rgba(20,32,33,.55) 52%, rgba(20,32,33,.12) 78%, rgba(20,32,33,.02) 100%),
    linear-gradient(180deg, rgba(20,32,33,.5) 0%, rgba(20,32,33,0) 22%, rgba(20,32,33,0) 58%, rgba(20,32,33,.6) 100%); }
.hero__wrap { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 150px 0 114px; }
.hero__copy { max-width: 680px; }
.hero__mark { width: 46px; height: 46px; color: var(--on-dark); opacity: .92; margin-bottom: 18px; }
.hero__mark svg { width: 100%; height: 100%; stroke-width: 1.3; }
.hero__kick { font-family: var(--font-body); font-weight: 500; color: var(--on-dark-muted); font-size: 1rem; margin-bottom: 22px; letter-spacing: 0.01em; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -0.045em; line-height: 0.96; color: #f1f6f5; }
.hero h1 .hl { color: rgba(224,235,234,.44); }
.hero__lead { margin-top: 28px; max-width: 460px; font-size: var(--fs-lead); color: #cfdbda; line-height: 1.58; }
.hero__rule { width: 150px; height: 0; border-top: 2px dashed rgba(224,235,234,.32); margin: 34px 0 32px; }
.hero__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero__cta .arrowlink { color: #f1f6f5; }

/* floating translucent stat cards */
.hero__stats { position: absolute; right: 0; bottom: 78px; z-index: 3; display: flex; flex-direction: column; gap: 16px; width: min(340px, 42vw); }
.statcard { display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: rgba(20,30,31,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(224,235,234,.13); border-radius: 14px; padding: 22px 26px; }
.statcard__label { font-family: var(--font-body); font-weight: 600; font-size: 0.98rem; color: #e5eded; line-height: 1.2; }
.statcard__label span { color: var(--accent); }
.statcard__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.2vw, 3rem); color: #f1f6f5; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.statcard__num em { color: var(--accent); font-style: normal; }
.hero__stats-note { font-size: 0.7rem; color: rgba(224,235,234,.42); text-align: right; letter-spacing: 0.02em; margin-top: 2px; }

/* scroll cue */
.hero__scroll { position: absolute; right: 34px; bottom: 78px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(224,235,234,.6); }
.hero__scroll-txt { writing-mode: vertical-rl; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; }
.hero__mouse { width: 20px; height: 32px; border: 1.5px solid rgba(224,235,234,.5); border-radius: 12px; position: relative; }
.hero__mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; border-radius: 2px; background: var(--accent); transform: translateX(-50%); animation: heroScroll 1.6s var(--ease) infinite; }
@keyframes heroScroll { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 60% { opacity: 1; transform: translate(-50%, 9px); } 100% { opacity: 0; transform: translate(-50%, 9px); } }

/* ==========================================================================
   NOTCHED CARD (reusable shape)
   ========================================================================== */
.notch-media img, .card, .team__photo, .post__img {
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
}
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card-paper);
  padding: 40px 34px 34px;
  display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.section--paper .card, .section--paper .price { background: var(--card-mist); }
.card__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 22px; }
.card__ico svg { width: 24px; height: 24px; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h3); color: var(--ink); line-height: 1.12; margin-bottom: 16px; }
.card__desc { color: var(--muted); margin-bottom: 24px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

/* dashed hairline divider */
.divider { border: 0; border-top: 1.5px dashed var(--line); margin: 24px 0; }

/* circular-check list */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.checks li { display: flex; align-items: center; gap: 13px; color: var(--ink); font-size: 0.98rem; }
.check-ico { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.check-ico svg { width: 13px; height: 13px; }
.checks li.off { color: var(--steel-2); }
.checks li.off .check-ico { background: var(--line-soft); color: var(--steel-2); }
.card .btn { margin-top: auto; }

/* ==========================================================================
   ICON-LIST FEATURE (why)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.split__intro { position: sticky; top: 40px; align-self: start; }
.split__intro h2 { font-size: var(--fs-h2); margin-bottom: 22px; }
.split__intro p { color: var(--muted); margin-bottom: 30px; max-width: 430px; }
.split__cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.featlist { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 34px; }
.featlist__item { }
.featlist__ico { width: 50px; height: 50px; border-radius: 13px; background: var(--mist); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.section--mist .featlist__ico { background: var(--paper); }
.featlist__ico svg { width: 26px; height: 26px; stroke-width: 1.4; }
.featlist__item h3 { font-size: 1.22rem; margin-bottom: 10px; }
.featlist__item p { color: var(--muted); }

/* ==========================================================================
   ABOUT band
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.about__copy { padding: 96px 64px 96px 0; }
.about__copy h2 { font-size: var(--fs-h2); margin-bottom: 26px; }
.about__copy > p { color: var(--muted); max-width: 470px; margin-bottom: 40px; }
.quote { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; }
.quote__ava { width: 132px; height: 150px; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); box-shadow: var(--sh-1); }
.quote__mark { color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.quote__by { font-weight: 700; color: var(--ink); margin: 10px 0 8px; }
.quote__by span { color: var(--muted); font-weight: 400; }
.quote__text { font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.15rem; line-height: 1.42; letter-spacing: -0.01em; }
.about__media { position: relative; min-height: 560px; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%); }

/* video play badge (over about media + testimonial) */
.playbadge { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; }
.playbadge__ring { width: 84px; height: 84px; border-radius: 50%; background: rgba(240,166,60,.94); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(20,30,31,.4); transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.playbadge:hover .playbadge__ring { transform: scale(1.06); background: var(--accent); }
.playbadge__ring svg { width: 32px; height: 32px; margin-left: 4px; }
.playbadge__label { position: absolute; bottom: 22px; left: 22px; background: rgba(20,30,31,.7); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: var(--r-pill); backdrop-filter: blur(4px); }

/* ==========================================================================
   VIDEO TESTIMONIAL band + lightbox
   ========================================================================== */
.vtesti { position: relative; }
.vtesti__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.vtesti__media { position: relative; aspect-ratio: 4/3.2; border-radius: 4px; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); box-shadow: var(--sh-2); }
.vtesti__media img { width: 100%; height: 100%; object-fit: cover; }
.vtesti__copy h2 { font-size: var(--fs-h2); margin: 14px 0 20px; }
.vtesti__quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); line-height: 1.36; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 24px; }
.vtesti__by { font-weight: 700; color: var(--ink); }
.vtesti__by span { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; margin-top: 3px; }
.vtesti__stars { display: flex; gap: 4px; color: var(--accent); margin-bottom: 18px; }
.vtesti__stars svg { width: 20px; height: 20px; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(14,22,23,.86); backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox__inner { position: relative; width: min(960px, 100%); }
.lightbox video { width: 100%; border-radius: 12px; display: block; background: #000; box-shadow: var(--sh-2); }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background var(--t-fast); }
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__note { color: rgba(255,255,255,.66); font-size: 0.78rem; text-align: center; margin-top: 14px; }

/* ==========================================================================
   DARK PHOTO CTA band
   ========================================================================== */
.photocta { position: relative; background: var(--dark); color: var(--on-dark); overflow: hidden; }
.photocta__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
.photocta__media img { width: 100%; height: 100%; object-fit: cover; }
.photocta__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, rgba(28,43,44,.75) 34%, rgba(28,43,44,.15) 100%); }
.photocta__inner { position: relative; z-index: 2; max-width: 560px; padding: 96px 0; }
.photocta__mark { width: 46px; height: 46px; color: #fff; margin-bottom: 14px; }
.photocta__mark svg { width: 100%; height: 100%; }
.photocta__kick { color: var(--on-dark-muted); font-weight: 500; font-size: 0.95rem; margin-bottom: 24px; }
.photocta h2 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.2rem); letter-spacing: -0.045em; line-height: 0.98; }
.photocta__lead { margin-top: 26px; max-width: 420px; color: var(--on-dark-muted); }
.photocta__rule { width: 120px; border-top: 2px dashed rgba(255,255,255,.28); margin: 32px 0 30px; }
.photocta__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ==========================================================================
   PRICING / membership plans
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.price { background: var(--card-paper); padding: 42px 36px 36px; display: flex; flex-direction: column; position: relative; }
.price--featured { background: var(--dark); color: var(--on-dark); }
.price--featured .price__name, .price--featured .price__fig { color: #fff; }
.price--featured .price__desc { color: var(--on-dark-muted); }
.price--featured .checks li { color: var(--on-dark); }
.price--featured .divider { border-color: rgba(255,255,255,.18); }
.price__badge { position: absolute; top: 20px; right: 24px; background: var(--accent); color: var(--ink); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-pill); }
.price__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 20px; }
.price__fig { font-family: var(--font-display); font-weight: 800; color: var(--ink); display: flex; align-items: baseline; gap: 4px; margin-bottom: 18px; letter-spacing: -0.03em; }
.price__cur { font-size: 1.6rem; align-self: flex-start; margin-top: 8px; }
.price__amt { font-size: var(--fs-price); line-height: 0.9; }
.price__per { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; align-self: flex-end; }
.price--featured .price__per { color: var(--on-dark-muted); }
.price__desc { color: var(--muted); margin-bottom: 4px; }
.price .btn { margin-top: 20px; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team__photo { width: 100%; aspect-ratio: 1/1.06; object-fit: cover; margin-bottom: 20px; }
.team__mono { width: 100%; aspect-ratio: 1/1.06; margin-bottom: 20px; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 3rem;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.member__name { font-family: var(--font-display); font-weight: 800; font-size: 1.16rem; letter-spacing: -0.01em; }
.member__role { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.member__bio { color: var(--muted); font-size: 0.92rem; margin-top: 10px; line-height: 1.5; }

/* ==========================================================================
   BLOG / notes cards
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--card-paper); display: flex; flex-direction: column; }
.section--mist .post { background: var(--paper); }
.post__media { position: relative; }
.post__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post__chip { position: absolute; top: 18px; left: 18px; background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 15px; border-radius: var(--r-pill); }
.post__body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.post__meta { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 0.85rem; }
.post__meta .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--primary); }
.section--mist .post__meta .dot { background: var(--mist); }
.post__meta .dot svg { width: 13px; height: 13px; }
.post__title { font-family: var(--font-display); font-weight: 800; font-size: 1.26rem; line-height: 1.14; letter-spacing: -0.015em; margin: 18px 0 12px; }
.post__excerpt { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; }
.post .btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   QUESTIONS strip
   ========================================================================== */
.qstrip { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.qstrip__bg { position: absolute; inset: 0; }
.qstrip__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.qstrip__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark) 20%, rgba(28,43,44,.6) 100%); }
.qstrip__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 66px 0; flex-wrap: wrap; }
.qstrip h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); letter-spacing: -0.04em; }
.qstrip__cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

/* ==========================================================================
   PAGEHEAD (inner-page dark hero)
   ========================================================================== */
.pagehead { position: relative; background: var(--dark); color: #fff; overflow: hidden; }
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,43,44,.72) 0%, rgba(28,43,44,.9) 100%); }
.pagehead__inner { position: relative; z-index: 2; padding: 118px 0 108px; max-width: 780px; }
.crumb { display: inline-flex; gap: 8px; color: var(--on-dark-muted); font-size: 0.85rem; margin-bottom: 24px; background: rgba(255,255,255,.1); padding: 7px 16px; border-radius: var(--r-pill); }
.crumb a:hover { color: #fff; }
.pagehead h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; line-height: 1; }
.pagehead__lead { margin-top: 22px; color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 580px; }

/* ==========================================================================
   FEATURE row
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.feature h2 { font-size: var(--fs-h2); margin-bottom: 22px; }
.feature__body { color: var(--muted); margin-bottom: 20px; }
.feature .checks { margin: 26px 0 30px; }

/* process phases */
.phases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.phase { background: var(--card-paper); padding: 34px 32px; }
.section--paper .phase { background: var(--card-mist); }
.section--mist .phase { background: var(--paper); }
.phase__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--primary); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.phase__ico svg { width: 23px; height: 23px; }
.phase h3 { margin-bottom: 12px; }
.phase p { color: var(--muted); }

/* big quote */
.bigquote { max-width: 820px; margin: 0 auto; text-align: center; }
.bigquote__stars { display: flex; justify-content: center; gap: 4px; color: var(--accent); margin-bottom: 24px; }
.bigquote__stars svg { width: 22px; height: 22px; }
.bigquote blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 28px; }
.bigquote__by { display: flex; align-items: center; justify-content: center; gap: 14px; }
.bigquote__ava { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.4rem); color: var(--ink); letter-spacing: -0.03em; }
.section--dark .stat__num { color: var(--accent); }
.stat__label { color: var(--muted); margin-top: 8px; }
.section--dark .stat__label { color: var(--on-dark-muted); }

/* accordion (FAQ) */
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc__item { background: var(--card-paper); border-radius: 12px; padding: 4px 26px; overflow: hidden; }
.section--paper .acc__item { background: var(--card-mist); }
.section--dark .acc__item { background: rgba(255,255,255,.06); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); padding: 22px 0; }
.section--dark .acc__q { color: #fff; }
.acc__q::-webkit-details-marker { display: none; }
.acc__q svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--primary); transition: transform var(--t-base) var(--ease); }
.section--dark .acc__q svg { color: var(--accent); }
.acc__item[open] .acc__q svg { transform: rotate(45deg); }
.acc__a { color: var(--muted); padding: 0 0 24px; max-width: 66ch; }
.section--dark .acc__a { color: var(--on-dark-muted); }

/* checklist (care detail) */
.checklist { list-style: none; margin: 26px 0 30px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); }
.checklist .check-ico { margin-top: 2px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info h2 { font-size: var(--fs-h2); margin: 16px 0; }
.contact-rows { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-rows li { display: flex; gap: 16px; align-items: flex-start; }
.ci { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.ci svg { width: 21px; height: 21px; }
.contact-rows dt { font-weight: 700; color: var(--ink); }
.contact-rows dd { margin: 3px 0 0; color: var(--muted); }
.formcard { background: var(--card-mist); padding: 42px 40px;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color var(--t-fast) var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,110,106,0.2); }
.form__consent { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.form__success { display: none; padding: 20px; background: var(--primary-soft); border-radius: var(--r-sm); color: var(--ink); line-height: 1.55; }
.form__success.show { display: block; }

/* stylized map */
.contact__map { position: relative; }
.contact__map svg { width: 100%; height: 420px; display: block; }
.contact__card { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--paper); border-radius: 14px; box-shadow: var(--sh-2); padding: 30px 34px; text-align: center; max-width: 320px; width: calc(100% - 48px); }
.contact__card .brand { justify-content: center; margin-bottom: 14px; }
.contact__card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.contact__card a { display: block; color: var(--primary); font-weight: 600; margin-top: 4px; }

/* newsletter */
.news { position: relative; max-width: 430px; }
.news input { width: 100%; font-family: var(--font-body); font-size: 0.98rem; background: var(--paper); border: 1.5px solid var(--line-soft); border-radius: var(--r-sm); padding: 16px 68px 16px 18px; color: var(--ink); }
.news input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(46,110,106,0.2); }
.news button { position: absolute; top: 6px; right: 6px; bottom: 6px; width: 54px; border: 0; background: var(--primary); color: #fff; border-radius: var(--r-sm); cursor: pointer; display: grid; place-items: center; transition: background var(--t-fast); }
.news button:hover { background: var(--primary-deep); }
.news button svg { width: 20px; height: 20px; }

/* prefoot hours strip */
.prefoot { background: var(--primary); color: #fff; }
.prefoot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; flex-wrap: wrap; }
.prefoot__hours { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.prefoot__hours svg { width: 22px; height: 22px; color: var(--accent); }
.prefoot__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.prefoot__cta svg { width: 18px; height: 18px; color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--paper); }
.footer__top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 40px; padding: 84px 0 64px; }
.footer__brand .brand { margin-bottom: 26px; }
.footer__news-label { font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer__nav h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-body); font-weight: 600; margin-bottom: 18px; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--ink); font-weight: 500; }
.footer__nav a:hover { color: var(--primary); }
.footer__mid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line-soft); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.footer__social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer__social svg { width: 18px; height: 18px; }
.footer__office h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.footer__office p { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.footer__office a { font-weight: 700; color: var(--ink); }
.footer__bottom { padding: 26px 0 34px; border-top: 1px solid var(--line-soft); }
.footer__legal { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }

/* reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 620ms var(--ease), transform 620ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .cards3, .pricing, .posts, .phases, .stats { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
}
@media (max-width: 860px) {
  .nav, .header-cta .header-phone, .header-cta .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header .wrap { height: 74px; }
  .about, .feature, .split, .contact-grid, .vtesti__grid { grid-template-columns: 1fr; }
  .featlist { grid-template-columns: 1fr 1fr; }
  .hero__photo { object-position: 66% 28%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(20,32,33,.5) 0%, rgba(20,32,33,.18) 30%, rgba(20,32,33,.74) 70%, rgba(20,32,33,.96) 100%); }
  .hero__wrap { justify-content: flex-end; padding: 120px 0 48px; }
  .hero__copy { max-width: none; }
  .hero__lead { max-width: 460px; }
  .hero__stats { position: static; width: 100%; margin-top: 40px; }
  .hero__stats-note { text-align: left; }
  .hero__scroll { display: none; }
  .feature--rev .feature__media { order: 0; }
  .about__copy { padding: 64px 0 44px; }
  .about__media { min-height: 380px; }
  .vtesti__media { aspect-ratio: 16/10; }
  .split__intro { position: static; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-head__right { text-align: left; }
  .photocta__media { width: 100%; opacity: .5; }
  .photocta__media::after { background: linear-gradient(180deg, rgba(28,43,44,.55) 0%, var(--dark) 78%); }
  .photocta__inner { padding: 72px 0; }
  .qstrip__inner { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer__top, .footer__mid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: var(--s8) 0; }
  .cards3, .pricing, .posts, .phases, .stats, .team, .featlist, .field-row { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 96px 1fr; gap: 16px; }
  .quote__ava { width: 96px; height: 112px; }
  .formcard { padding: 30px 24px; }
  .lightbox__close { top: 8px; right: 8px; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
