/* ===================== TOKENS ===================== */
:root {
  --accent: #2F80ED;
  --accent-bright: #5a9bf3;
  --accent-dark: #1d5bb0;
  --accent-ink: #0d2b52;          /* text on accent */
  --accent-soft: rgba(47, 128, 237, 0.14);

  --bg: #f1f2f2;                  /* light grey ground, as on reference */
  --card: #ffffff;
  --ink: #141516;                 /* near-black for buttons/frames */
  --text: #17181a;
  --text-soft: #6b6f70;
  --text-mute: #9aa0a0;

  --glass: rgba(120, 124, 124, 0.38);      /* frosted grey capsule */
  --glass-dark: rgba(28, 30, 30, 0.52);    /* frosted dark caption */

  --hit: #ff8a3d;

  --shadow: 0 10px 34px rgba(20, 22, 22, 0.10);
  --shadow-lg: 0 22px 60px rgba(20, 22, 22, 0.16);

  --r-xl: 44px;   /* big cards */
  --r-lg: 32px;
  --r-md: 22px;
  --r-pill: 999px;

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===================== RESET / BASE ===================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,h2,h3,h4 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { min-inline-size: auto; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-pill); font-weight: 600; font-size: 16px;
  transition: transform 0.25s var(--ease), background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: scale(1.04); box-shadow: var(--shadow); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-bright); transform: scale(1.04); }
.btn--white { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px rgba(20,22,22,0.08); }
.btn--white:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.btn--xl { padding: 20px 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn__pill {
  background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill);
  margin: -8px -12px -8px 2px;
}

/* ===================== CHIPS & BADGES ===================== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--text); font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-pill); box-shadow: 0 2px 10px rgba(20,22,22,0.06);
}
.chip--soft { background: var(--accent-soft); color: var(--accent-dark); box-shadow: none; }
.badge--hit {
  display: inline-flex; background: var(--hit); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; padding: 6px 12px; border-radius: var(--r-pill);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,138,61,0.45); }
  50% { box-shadow: 0 0 0 8px rgba(255,138,61,0); }
}

/* ===================== HEADER: floating capsule ===================== */
.header { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 14px; }
.header__bar {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  background: var(--glass);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-pill); padding: 10px 12px 10px 20px;
  box-shadow: 0 6px 24px rgba(20,22,22,0.10);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.is-scrolled .header__bar { background: rgba(90, 94, 94, 0.5); box-shadow: 0 10px 30px rgba(20,22,22,0.18); }

.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: #fff; }
.header .logo { color: #fff; }
.logo__text em { font-style: normal; color: var(--accent-bright); }
.logo--light { color: #fff; }

.header__nav { display: flex; gap: 24px; margin-left: 8px; }
.header__nav a { color: rgba(255,255,255,0.9); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.header__nav a:hover { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; transition: transform 0.25s var(--ease), background 0.25s;
}
.icon-btn:hover { background: #000; transform: scale(1.08); }
.header__menu-btn { padding: 12px 26px; font-size: 15px; font-weight: 700; }

/* fullscreen menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(20,22,22,0.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: 110px 28px 40px; animation: fade 0.3s;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay__nav { display: flex; flex-direction: column; gap: 6px; }
.menu-overlay__nav a {
  color: #fff; font-size: clamp(30px, 6vw, 46px); font-weight: 700; letter-spacing: -0.03em;
  padding: 8px 0; transition: color 0.2s, transform 0.25s var(--ease);
}
.menu-overlay__nav a:hover { color: var(--accent-bright); transform: translateX(10px); }
.menu-overlay__foot { display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.menu-overlay__phone { color: var(--accent-bright); font-size: 22px; font-weight: 700; }
.menu-overlay .btn--dark { background: var(--accent); color: var(--accent-ink); }

/* ===================== SECTIONS ===================== */
.section { padding: 70px 0; }
.section__head { max-width: 760px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section__title { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
.section__lead { font-size: 18px; color: var(--text-soft); max-width: 560px; }

/* ===================== HERO ===================== */
.hero { padding: 100px 0 40px; }

.hero__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background:
    radial-gradient(120% 90% at 75% 20%, rgba(47,213,200,0.55), transparent 55%),
    radial-gradient(90% 90% at 15% 90%, rgba(62,166,255,0.35), transparent 55%),
    linear-gradient(160deg, #e8f2f1 0%, #cfeeeb 45%, #b8e9e4 100%);
  min-height: clamp(340px, 52vw, 560px);
  box-shadow: var(--shadow);
}
.hero__scene { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.25s ease-out; }
.hero__tooth {
  font-size: clamp(130px, 24vw, 280px); line-height: 1;
  filter: drop-shadow(0 30px 40px rgba(23,169,158,0.4));
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-18px) rotate(3deg); } }
.hero__spark { position: absolute; font-size: clamp(28px, 5vw, 54px); }
.hero__spark--1 { top: 22%; right: 26%; animation: floaty 4s ease-in-out infinite reverse; }
.hero__spark--2 { bottom: 20%; left: 24%; animation: floaty 6s ease-in-out infinite; }

.glass-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3;
  padding: 12px 22px 12px 12px; border-radius: var(--r-pill);
  box-shadow: 0 8px 26px rgba(20,22,22,0.16);
}
.glass-chip__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92); font-size: 24px; flex: none;
}
.hero__chip--1 { top: 26px; left: 26px; animation: floaty 5.5s ease-in-out infinite; }
.hero__chip--2 { bottom: 26px; right: 26px; animation: floaty 6.5s ease-in-out infinite reverse; }

.hero__chat {
  position: absolute; top: 26px; right: 26px; width: 62px; height: 62px; border-radius: 24px;
  background: #fff; font-size: 26px; box-shadow: 0 8px 26px rgba(20,22,22,0.16);
  transition: transform 0.25s var(--ease);
}
.hero__chat:hover { transform: scale(1.1) rotate(-6deg); }

.hero__content { padding: 44px 6px 8px; max-width: 900px; }
.hero__title {
  font-size: clamp(42px, 7.4vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02;
  margin-bottom: 22px;
}
.hero__title span { display: block; }
.hero__subtitle { font-size: clamp(17px, 2vw, 21px); color: var(--text-soft); max-width: 620px; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.hero__bullets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 28px; max-width: 720px; }
.hero__bullets li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800; }

/* stats band */
.stats {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat { background: #fff; border-radius: var(--r-lg); padding: 26px 28px; box-shadow: 0 2px 12px rgba(20,22,22,0.05); }
.stat__num { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 14px; color: var(--text-soft); }

/* ===================== GRID ===================== */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ===================== GLASS CARDS (why us / for whom) ===================== */
.gcard {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 14px;
  min-height: 320px; display: flex; flex-direction: column;
  background: linear-gradient(165deg, #e9ecec 0%, var(--tint, #dff3f1) 70%, var(--tint, #dff3f1) 100%);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gcard__caption {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--glass-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-md); padding: 18px;
}
.gcard__caption h3 { color: #fff; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 5px; }
.gcard__caption p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.45; }
.gcard__dot {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; font-size: 18px;
}
.gcard__art {
  margin: auto; font-size: 92px; line-height: 1;
  filter: drop-shadow(0 18px 22px rgba(20,22,22,0.22)) saturate(1.3);
  transition: transform 0.35s var(--ease);
}
.gcard:hover .gcard__art { transform: scale(1.15) rotate(-6deg); }
/* ===================== TILTED SCROLL CAROUSEL (why us) ===================== */
.carousel { overflow: hidden; padding: 26px 0 36px; }
.carousel__track { display: flex; gap: 22px; padding: 0 max(24px, calc((100vw - var(--container)) / 2)); width: max-content; will-change: transform; }
.gcard--tilt { flex: none; width: min(400px, 80vw); min-height: 430px; }
.carousel .gcard--tilt:nth-child(odd) { transform: rotate(-4deg) translateY(12px); }
.carousel .gcard--tilt:nth-child(even) { transform: rotate(3deg) translateY(-8px); }
.carousel .gcard--tilt:hover { transform: rotate(0deg) scale(1.04); box-shadow: var(--shadow-lg); z-index: 2; }
.carousel .gcard--tilt .gcard__art { font-size: 110px; }

/* ===================== DARK CTA BANNER ===================== */
.banner {
  margin-top: 36px; background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: 30px 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px;
}
.banner__num {
  flex: none; width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: grid; place-items: center;
  font-size: 25px; font-weight: 800; letter-spacing: -0.02em;
}
.banner p { flex: 1; min-width: 240px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }

/* ===================== CONFIGURATOR (interactive chips) ===================== */
.config { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.config__float {
  position: absolute; z-index: 0; font-size: 64px; pointer-events: none;
  filter: drop-shadow(0 16px 20px rgba(20,22,22,0.22)) saturate(1.2);
  animation: floaty 6s ease-in-out infinite;
}
.config__panel {
  position: relative; z-index: 1;
  background: rgba(150, 154, 154, 0.30);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg); padding: 24px;
}
.config__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.config__head h3 { font-size: 20px; letter-spacing: -0.02em; }
.config__plus {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff;
  font-size: 24px; line-height: 1; font-weight: 500;
  transition: transform 0.3s var(--ease);
}
.config__panel.is-closed .config__plus { transform: rotate(45deg); }
.config__panel.is-closed .config__chips { display: none; }
.config__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.config__opt {
  background: #fff; padding: 11px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.15s var(--ease);
}
.config__opt:hover { transform: translateY(-2px); }
.config__opt.is-on { background: var(--accent); color: var(--accent-ink); }
.config__bar {
  grid-column: 1 / -1; position: relative; z-index: 1;
  background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: 22px 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.config__bar p { font-size: 17px; font-weight: 600; }
.config__bar b { color: var(--accent-bright); font-variant-numeric: tabular-nums; }

/* ===================== PHOTO MASONRY (for whom) ===================== */
.masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pcard {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  min-height: 430px; display: flex; align-items: flex-end; padding: 16px;
  background: var(--pbg, linear-gradient(160deg, #cfeeeb, #8fd9d1));
}
.masonry .pcard:nth-child(even) { margin-top: 46px; }
.masonry .pcard:nth-child(n+3) { margin-top: -30px; }
.masonry .pcard:nth-child(4) { margin-top: 16px; }
.pcard__bg {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 170px; line-height: 1; opacity: 0.9;
  filter: drop-shadow(0 24px 30px rgba(20,22,22,0.25)) saturate(1.15);
  transition: transform 0.5s var(--ease);
}
.pcard:hover .pcard__bg { transform: scale(1.1) rotate(-5deg); }
.pcard__cap {
  position: relative; width: min(430px, 100%);
  background: rgba(20, 22, 22, 0.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md); padding: 22px; color: #fff;
}
.pcard__cap-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; font-size: 20px; margin-bottom: 14px;
}
.pcard__cap h3 { color: #fff; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.pcard__cap p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 1.5; }

/* ===================== SERVICES MARQUEE ===================== */
.marquee { overflow: hidden; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: scroll-x 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.service-card {
  position: relative; flex: none; width: 300px;
  background: linear-gradient(170deg, #fff 30%, var(--tint, #eef7f6) 100%);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__icon {
  display: inline-block; font-size: 54px; line-height: 1; margin-bottom: 16px;
  filter: drop-shadow(0 10px 14px rgba(20,22,22,0.18));
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.15) translateY(-3px) rotate(-5deg); }
.service-card h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.service-card p { color: var(--text-soft); font-size: 14px; margin-bottom: 16px; min-height: 42px; line-height: 1.45; }
.service-card .badge--hit { position: absolute; top: 20px; right: 20px; }
.link-arrow { font-weight: 700; color: var(--text); font-size: 15px; transition: opacity 0.2s; }
.link-arrow:hover { opacity: 0.6; }

/* ===================== PATH CARDS ===================== */
.path-card {
  position: relative; background: #fff; border-radius: var(--r-xl); padding: 40px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.path-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.path-card--accent { background: linear-gradient(165deg, #fff 10%, #d4f5f2 100%); }
.path-card__badge { position: absolute; top: 28px; right: 28px; }
.path-card h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.03em; }
.path-card > p { color: var(--text-soft); font-size: 16px; line-height: 1.5; }
.path-card__list { display: grid; gap: 12px; margin: 6px 0 10px; }
.path-card__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.path-card .btn { margin-top: auto; }

/* ===================== DOCTORS ===================== */
.doctor { text-align: center; }
.doctor__photo {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-lg); display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c1), var(--c2)); margin-bottom: 16px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.doctor__photo span { font-size: 42px; font-weight: 800; color: rgba(255,255,255,0.92); }
.doctor:hover .doctor__photo { transform: translateY(-5px) rotate(-1.5deg); box-shadow: var(--shadow); }
.doctor h3 { font-size: 19px; letter-spacing: -0.02em; }
.doctor__spec { color: var(--accent-dark); font-weight: 600; font-size: 14px; margin-top: 4px; }
.doctor__exp { color: var(--text-mute); font-size: 14px; }

/* ===================== REVIEWS ===================== */
.review {
  background: #fff; border-radius: var(--r-lg); padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review__stars { color: #ffb400; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review__text { color: var(--text); font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.review__author strong { display: block; font-size: 15px; }
.review__author span { font-size: 13px; color: var(--text-mute); }

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: #fff; border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--accent-bright); font-size: 22px; font-weight: 800;
}
.step h3 { font-size: 19px; letter-spacing: -0.02em; }
.step p { color: var(--text-soft); font-size: 15px; line-height: 1.45; flex: 1; }

/* ===================== PRICING ===================== */
.pricing {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: stretch;
}
.pricing__table {
  width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 2px 12px rgba(20,22,22,0.05);
}
.pricing__table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-mute); padding: 22px 26px 12px; }
.pricing__table th:last-child { text-align: right; }
.pricing__table td { padding: 16px 26px; border-top: 1px solid #f0f1f1; font-size: 15px; }
.pricing__table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricing__table tr:hover td { background: var(--accent-soft); }
.pricing__cta {
  background: linear-gradient(165deg, #fff 0%, #d4f5f2 100%); border-radius: var(--r-lg);
  padding: 36px; text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px;
}
.pricing__cta p { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; max-width: 260px; }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.25s; }
.faq__item.is-open { box-shadow: var(--shadow); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; padding: 24px 28px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; background: var(--accent-ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 28px 26px; color: var(--text-soft); font-size: 15px; line-height: 1.55; }

/* ===================== QUIZ ===================== */
.quiz { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.quiz__progress { height: 8px; background: #eceeee; }
.quiz__progress-bar { display: block; height: 100%; width: 33%; background: var(--accent); border-radius: 0 99px 99px 0; transition: width 0.4s var(--ease); }
.quiz__form { padding: 38px; }
.quiz__viewport { position: relative; overflow: hidden; }
.quiz__step { border: 0; padding: 0; margin: 0; min-width: 100%; }
.quiz__step[hidden] { display: none; }
.quiz__step.is-active { animation: slideIn 0.4s var(--ease); }
.quiz__step.is-active.slide-back { animation: slideInBack 0.4s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
.quiz__legend { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 22px; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt { position: relative; }
.quiz__opt input { position: absolute; opacity: 0; }
.quiz__opt span {
  display: flex; align-items: center; gap: 10px; padding: 17px 20px;
  background: var(--bg); border-radius: var(--r-md); font-weight: 600; font-size: 15px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.quiz__opt:hover span { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(20,22,22,0.08); }
.quiz__opt input:checked + span { background: var(--accent); color: var(--accent-ink); }
.quiz__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.quiz__field { margin-bottom: 18px; }
.quiz__field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.quiz__field input {
  width: 100%; padding: 16px 20px; border: none; background: var(--bg);
  border-radius: var(--r-md); font-size: 16px; font-family: inherit;
  transition: box-shadow 0.2s;
}
.quiz__field input:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.quiz__field input.is-invalid { box-shadow: 0 0 0 2px #ff5a5a; }

.quiz__radios { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.quiz__chip input { position: absolute; opacity: 0; }
.quiz__chip span { display: inline-flex; padding: 11px 18px; background: var(--bg); border-radius: var(--r-pill); font-size: 14px; font-weight: 600; transition: background 0.2s, color 0.2s; }
.quiz__chip input:checked + span { background: var(--accent); color: var(--accent-ink); }

.quiz__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }
.quiz__consent input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.quiz__consent a { color: var(--text); text-decoration: underline; }

.quiz__error { color: #e04545; font-size: 14px; font-weight: 500; min-height: 20px; margin-top: 10px; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; }
.quiz__counter { font-size: 14px; color: var(--text-mute); font-weight: 500; }
.quiz__nav #quizBack { margin-right: auto; }
.quiz__nav #quizNext, .quiz__nav #quizSubmit { margin-left: auto; }

.quiz__success { text-align: center; padding: 20px 0; }
.quiz__success-icon {
  width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font-size: 36px; font-weight: 800; animation: pop 0.4s var(--ease);
}
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.quiz__success h3 { font-size: 26px; margin-bottom: 10px; }
.quiz__success p { color: var(--text-soft); max-width: 420px; margin: 0 auto 24px; }

/* ===================== FOOTER ===================== */
.footer { padding: 10px 14px 14px; }
.footer__box {
  max-width: calc(var(--container) + 40px); margin: 0 auto;
  background: var(--ink); color: #c9cecd; border-radius: var(--r-xl);
  padding: 56px 48px 28px;
}
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: #8f9695; font-size: 15px; margin-top: 16px; max-width: 300px; line-height: 1.5; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: #a7adad; font-size: 15px; margin-bottom: 10px; transition: color 0.2s; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__col .btn { display: inline-flex; margin-top: 8px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer__bottom p { color: #737a79; font-size: 13px; }

/* ===================== MODAL ===================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20,22,22,0.55); backdrop-filter: blur(6px); animation: fade 0.3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box {
  position: relative; width: 100%; max-width: 480px; background: #fff;
  border-radius: var(--r-lg); padding: 42px; box-shadow: var(--shadow-lg); animation: modalIn 0.35s var(--ease);
}
.modal__box--wide { max-width: 640px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal__close {
  position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border-radius: 50%;
  font-size: 26px; line-height: 1; color: #fff; background: var(--ink); transition: background 0.2s, transform 0.2s;
}
.modal__close:hover { background: #000; transform: scale(1.08); }
.modal__title { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 8px; }
.modal__lead { color: var(--text-soft); margin-bottom: 24px; }
.modal__form .btn { margin-top: 8px; }
.modal__success { text-align: center; }
.modal__scroll { max-height: 50vh; overflow-y: auto; }
.modal__scroll p { color: var(--text-soft); margin-bottom: 14px; font-size: 15px; line-height: 1.55; }

/* ===================== COOKIE ===================== */
.cookie {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 150;
  max-width: 640px; margin: 0 auto; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px 26px;
  display: flex; align-items: center; gap: 20px; animation: slideUp 0.5s var(--ease);
}
.cookie[hidden] { display: none; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.cookie p { font-size: 14px; color: var(--text-soft); line-height: 1.45; }
.cookie__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.cookie__link { font-size: 14px; font-weight: 600; text-decoration: underline; white-space: nowrap; }

/* ===================== FAB (chat, as on reference) ===================== */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 140; width: 66px; height: 66px;
  border-radius: 26px; display: grid; place-items: center; font-size: 28px;
  background: var(--accent); box-shadow: 0 12px 32px rgba(47,213,200,0.5);
  transition: transform 0.25s var(--ease);
  animation: pulse-accent 2.5s infinite;
}
.fab:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes pulse-accent {
  0%,100% { box-shadow: 0 12px 32px rgba(47,213,200,0.5), 0 0 0 0 rgba(47,213,200,0.4); }
  50% { box-shadow: 0 12px 32px rgba(47,213,200,0.5), 0 0 0 12px rgba(47,213,200,0); }
}

/* ===================== REVEAL ANIM ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__box { padding: 44px 28px 24px; }
  .cookie { flex-direction: column; align-items: flex-start; }
  .quiz__form { padding: 28px 20px; }
  .header__actions .icon-btn:nth-child(2), .header__actions .icon-btn:nth-child(3) { display: none; }
  .gcard { min-height: 280px; }
  .config { grid-template-columns: 1fr; }
  .config__float { display: none; }
  .masonry { grid-template-columns: 1fr; }
  .masonry .pcard { margin-top: 0 !important; min-height: 360px; }
  .banner { padding: 26px; }
  .banner .btn--xl { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header { top: 10px; padding: 0 10px; }
  .hero { padding: 88px 0 30px; }
  .hero__bullets { grid-template-columns: 1fr; }
  .hero__chip--2 { display: none; }
  .glass-chip { font-size: 13px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px; border-radius: var(--r-md); }
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quiz__options { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .modal__box { padding: 32px 22px; }
  .btn--xl { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .logo__text { display: none; }
}

/* ===================== A11Y ===================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }