/* ============================================================
   TITAN DENTAL — Implant landing
   Design system replicated from titandental.ru
   ============================================================ */

/* ----------  Design tokens  ---------- */
:root {
  --black:        #000000;
  --white:        #FFFFFF;
  --blue:         #4F62CF;   /* primary accent */
  --blue-soft:    #8FA0FF;   /* hover / secondary */
  --blue-deep:    #3F50B0;   /* button hover */
  --graphite:     #1B1B1B;
  --graphite-2:   #181818;
  --bg-light:     #F2F2F2;
  --border:       #E0E0E0;
  --gray-soft:    #EAEAEA;
  --text-gray:    #979797;
  --text-gray-2:  #5D5D5D;
  --success:      #0EBC54;

  --radius-lg:   32px;
  --radius-card: 24px;
  --radius-md:   16px;
  --radius-sm:   10px;

  --container:   1200px;
  --gap:         24px;

  --ff-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --ff-body: 'Inter', Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* scroll offset for sticky header anchors */
section[id], [id]#top { scroll-margin-top: 96px; }

/* ----------  Layout  ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 860px; }

.section { padding: 92px 0; }
.section--light { background: var(--bg-light); }
.section--dark  { background: var(--graphite); color: var(--white); }

/* ----------  Logo  ---------- */
.logo-img { height: 28px; width: auto; }
.logo-img--dark { filter: brightness(0); }       /* black logo on white header */

/* ----------  Typography helpers  ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--blue-soft); }
.accent-blue { color: var(--blue); }

.section__head { margin-bottom: 48px; max-width: 760px; }
.section__head--light { color: var(--white); }
.section__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.section__title--light { color: var(--white); }
.section__lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--text-gray-2);
  max-width: 620px;
}
.section__lead--light { color: rgba(255,255,255,.62); }

.note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-gray);
  max-width: 760px;
}
.note--center { text-align: center; margin-inline: auto; }
.note a { color: var(--blue); font-weight: 600; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--blue); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--black); color: var(--white); }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), padding .25s var(--ease);
}
.header--scrolled { box-shadow: 0 6px 30px rgba(0,0,0,.07); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.header__logo { flex-shrink: 0; display: flex; align-items: center; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-right: auto;
}
.nav__link {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }

.header__contacts { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--black);
  transition: color .2s var(--ease);
}
.header__phone svg { color: var(--blue); }
.header__phone:hover { color: var(--blue); }
.header__square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
  transition: background .2s var(--ease);
}
.header__square:hover { background: var(--blue-deep); }

.burger { display: none; width: 40px; height: 40px; position: relative; flex-shrink: 0; }
.burger span {
  position: absolute; left: 8px; right: 8px; height: 2px;
  background: var(--black); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 32px 0 56px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--gap);
  align-items: start;
}
.hero__main { min-width: 0; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--graphite);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__media-ph {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(79,98,207,.45), transparent 60%),
    linear-gradient(180deg, #2a2a2e 0%, #161618 100%);
}
.hero__license {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__caption {
  position: relative;
  z-index: 2;
  padding: 40px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55) 55%);
}
.hero__title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 88px);
  line-height: .94;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__subtitle {
  margin-top: 18px;
  max-width: 540px;
  font-size: 16px;
  color: rgba(255,255,255,.78);
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chip {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--black);
}
.chip--accent { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* hero side panel */
.hero__panel { display: flex; flex-direction: column; gap: var(--gap); position: sticky; top: 92px; }

.info-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card__row { display: flex; flex-direction: column; gap: 3px; }
.info-card__label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-gray);
}
.info-card__value { font-size: 15px; font-weight: 500; color: var(--white); }
.info-card__value--link { color: var(--blue-soft); }
.info-card__value--link:hover { color: var(--white); }

.quick-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-form__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}
.quick-form__text { font-size: 14px; color: var(--text-gray-2); margin-bottom: 4px; }
.quick-form__consent { font-size: 11px; color: var(--text-gray); line-height: 1.4; }
.quick-form__consent a { color: var(--text-gray-2); text-decoration: underline; }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--text-gray-2); }
.field__opt { color: var(--text-gray); font-weight: 400; }
.field__input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: var(--text-gray); }
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(79,98,207,.15);
}
.field__input--area { resize: vertical; min-height: 56px; }
.field__input.is-invalid { border-color: #e0464f; box-shadow: 0 0 0 3px rgba(224,70,79,.12); }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.adv-card {
  border-radius: var(--radius-card);
  padding: 32px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.adv-card--dark   { background: var(--graphite); color: var(--white); }
.adv-card--accent { background: var(--blue); color: var(--white); }
.adv-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  margin-bottom: auto;
}
.adv-card--accent .adv-card__icon { background: rgba(255,255,255,.16); }
.adv-card__icon svg { width: 26px; height: 26px; color: var(--white); }
.adv-card__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 24px;
}
.adv-card__text { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,.72); }
.adv-card--accent .adv-card__text { color: rgba(255,255,255,.85); }

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.include-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.include-card__num {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 40px;
  color: var(--blue);
  line-height: 1;
}
.include-card__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 14px;
}
.include-card__text { margin-top: 12px; font-size: 15px; color: var(--text-gray-2); }

.ticks { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  font-size: 14.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  /* checkmark */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5 9-10' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.ticks--light li { color: rgba(255,255,255,.9); }
.ticks--light li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5 9-10' stroke='%234F62CF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ============================================================
   PERSONALIZED PLAN (dark)
   ============================================================ */
.plan__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.plan__lead { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 16px; }
.plan__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan__cell {
  background: var(--graphite-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 150px;
}
.plan__cell-num {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 38px;
  color: var(--blue-soft);
  line-height: 1;
}
.plan__cell-label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: auto; }

/* ============================================================
   STAGES
   ============================================================ */
.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: stage;
}
.stage {
  position: relative;
  background: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  min-height: 220px;
}
.stage__num {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 56px;
  color: var(--blue);
  line-height: 1;
  opacity: .9;
}
.stage__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 16px;
}
.stage__text { margin-top: 10px; font-size: 14.5px; color: var(--text-gray-2); }

/* ============================================================
   TECHNOLOGIES (dark)
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.tech-card {
  background: var(--graphite);
  padding: 36px 32px;
  min-height: 170px;
  transition: background .25s var(--ease);
}
.tech-card:hover { background: var(--graphite-2); }
.tech-card__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 14px;
  position: relative;
}
.tech-card__title::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 36px; height: 3px; background: var(--blue);
}
.tech-card__text { margin-top: 14px; font-size: 14.5px; color: rgba(255,255,255,.66); }

/* ============================================================
   COMFORT
   ============================================================ */
.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.comfort-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px;
  border-left: 4px solid var(--blue);
}
.comfort-card__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
}
.comfort-card__text { margin-top: 10px; font-size: 14.5px; color: var(--text-gray-2); }

/* ============================================================
   FINANCING
   ============================================================ */
.fin-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--gap);
}
.fin-card {
  border-radius: var(--radius-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.fin-card--accent { background: var(--blue); color: var(--white); }
.fin-card--dark   { background: var(--graphite); color: var(--white); }
.fin-card__kicker {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: auto;
}
.fin-card--accent .fin-card__kicker { color: rgba(255,255,255,.8); }
.fin-card__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  line-height: 1.04;
  margin-top: 24px;
}
.fin-card__text { margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.78); }
.fin-card__cta { margin-top: 24px; align-self: flex-start; }

/* ============================================================
   CASES (abcclinic-style editorial)
   ============================================================ */
.case {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.case__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.case__tag {
  display: inline-block;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 12px;
}
.case__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  text-transform: uppercase;
  line-height: 1;
}
.case__meta { display: flex; gap: 32px; }
.case__meta dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-gray); }
.case__meta dd { font-family: var(--ff-head); font-size: 18px; font-weight: 500; margin-top: 4px; }

.case__story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 36px 0;
}
.case__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case + .case { margin-top: 24px; }
.ba { position: relative; }
.ba__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--graphite);
}
.case__radio {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case__radio img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  background: #0d0d0d;
  border-radius: var(--radius-md);
}
.case__radio figcaption {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-gray);
}
.ba__cap {
  position: absolute;
  left: 12px; bottom: 12px;
  font-family: var(--ff-head);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--white);
}
.ba__cap--before { background: rgba(0,0,0,.7); }
.ba__cap--after  { background: var(--blue); }

.case__panels { display: flex; flex-direction: column; gap: 16px; }
.case-panel {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.case-panel--accent { background: var(--blue); color: var(--white); }
.case-panel__label {
  display: block;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-gray); margin-bottom: 8px;
}
.case-panel--accent .case-panel__label { color: rgba(255,255,255,.8); }
.case-panel__text { font-size: 15px; color: var(--text-gray-2); }

.case__team { padding-top: 32px; border-top: 1px solid var(--border); }
.case__team-title {
  display: block;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-gray); margin-bottom: 18px;
}
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-stage {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.team-stage__step {
  display: block;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); font-weight: 600;
}
.team-stage__name {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 17px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   VIDEO REVIEWS (dark)
   ============================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.review {
  background: var(--graphite-2);
  border-radius: var(--radius-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review__video {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  overflow: hidden;
}
.review__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.review__play::before {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}
.review__play:hover { transform: scale(1.08); background: var(--blue-deep); }
.review__name {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--white);
  padding: 0 6px 8px;
}

/* media placeholder (shared) */
.media-ph,
.ba__img--ph,
.review__video--ph,
.hero__media-ph {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #2a2a2e, #161618);
}
.ba__img--ph, .review__video--ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.media-ph__tag {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  border: 1px dashed rgba(255,255,255,.25);
  padding: 6px 12px;
  border-radius: 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 26px;
  position: relative;
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1.15;
  transition: color .2s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute;
  right: 24px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%234F62CF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .25s var(--ease);
}
.faq__item[open] .faq__q { color: var(--blue); }
.faq__item[open] .faq__q::after { transform: rotate(180deg); }
.faq__a { padding: 0 26px 24px; }
.faq__a p { color: var(--text-gray-2); font-size: 15.5px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { padding: 92px 0; }
.cta__box {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta__box::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(79,98,207,.55), transparent 65%);
  pointer-events: none;
}
.cta__title {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px);
  text-transform: uppercase;
  line-height: 1;
  position: relative;
}
.cta__lead { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 16px; max-width: 460px; }
.cta__list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.cta__list li { position: relative; padding-left: 28px; color: rgba(255,255,255,.9); }
.cta__list li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12l5 5 9-10' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.cta__form {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  color: var(--black);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--graphite-2); color: var(--white); padding: 64px 0 40px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer__col--brand .logo-img { height: 34px; }
.footer__tagline { color: rgba(255,255,255,.6); font-size: 14px; }
.footer__label {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-gray); margin-bottom: 4px;
}
.footer__link { color: rgba(255,255,255,.78); font-size: 14px; transition: color .2s var(--ease); }
.footer__link:hover { color: var(--blue-soft); }
.footer__link--phone { font-family: var(--ff-head); font-size: 22px; font-weight: 500; color: var(--white); }
.footer__line { color: rgba(255,255,255,.6); font-size: 14px; }
.footer__cta { margin-bottom: 6px; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 28px;
  color: var(--text-gray);
  font-size: 12.5px;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  max-width: 320px;
}
.toast.is-visible { transform: translateY(0); opacity: 1; }
.toast strong { font-family: var(--ff-head); font-size: 17px; text-transform: uppercase; }
.toast span { font-size: 14px; color: rgba(255,255,255,.75); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav__link { font-size: 12px; }
  .hero__grid { grid-template-columns: 1fr 320px; }
  .fin-grid { grid-template-columns: 1fr; }
  .fin-card--lead { min-height: 200px; }
}

@media (max-width: 920px) {
  .section { padding: 64px 0; }
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__contacts { gap: 10px; margin-left: auto; }

  /* mobile nav drawer */
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
  }
  .nav.is-open .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .nav.is-open .nav__link::after { display: none; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { position: static; flex-direction: row; }
  .hero__media { min-height: 440px; }
  .adv-grid, .include-grid, .stages, .tech-grid, .comfort-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .plan__grid { grid-template-columns: 1fr; gap: 32px; }
  .case__story { grid-template-columns: 1fr; }
  .cta__box { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .section { padding: 52px 0; }
  .hero__panel { flex-direction: column; }
  .hero__caption { padding: 24px; }
  .adv-grid, .include-grid, .stages, .tech-grid, .comfort-grid, .reviews-grid,
  .case__media, .team-row, .plan__cards, .footer__grid { grid-template-columns: 1fr; }
  .case { padding: 24px; }
  .case__meta { gap: 24px; }
  .tech-grid { gap: 1px; }
  .header__square { display: none; }
  .toast { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .btn { font-size: 14px; padding: 13px 20px; }
}

/* ============================================================
   HERO VIDEO (promo background + play)
   ============================================================ */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.65) 100%);
}
.hero__license { z-index: 2; }
.hero__playbtn {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__playbtn:hover { background: var(--blue); border-color: var(--blue); }
.hero__playicon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s var(--ease);
}
.hero__playbtn:hover .hero__playicon { background: #fff; }
.hero__playicon::before {
  content: "";
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}
.hero__playbtn:hover .hero__playicon::before { border-left-color: var(--blue); }
.hero__playlabel {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   REVIEWS CAROUSEL
   ============================================================ */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.carousel-nav { display: flex; gap: 12px; flex-shrink: 0; }
.carousel-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); }
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-btn:disabled:hover { background: none; border-color: rgba(255,255,255,.25); }

.reviews-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review { flex: 0 0 clamp(220px, 23%, 272px); scroll-snap-align: start; }

/* review card becomes a play button with poster */
.review__video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--graphite);
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
}
.review__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.review__video:hover .review__poster { transform: scale(1.05); }
.review__play { pointer-events: none; }
.review__video:hover .review__play { transform: scale(1.08); background: var(--blue-deep); }

/* ============================================================
   VIDEO LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__inner {
  position: relative;
  display: flex;
  max-width: min(92vw, 1100px);
  max-height: 86vh;
}
.lightbox__video {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  z-index: 2;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__close svg { width: 24px; height: 24px; }

@media (max-width: 920px) {
  .reviews__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero__playlabel { display: none; }
  .hero__playbtn { padding: 6px; }
  .lightbox__close { top: 12px; right: 12px; }
}

/* ============================================================
   CASES SLIDER (rework: slider + big before/after + gallery)
   ============================================================ */
.case + .case { margin-top: 0; }

.cases__head { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cases__head-text { max-width: 720px; }
.cases-nav { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.cases-nav .carousel-btn { border-color: var(--border); color: var(--black); }
.cases-nav .carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.cases-nav .carousel-btn:disabled { opacity: .3; }
.cases-nav .carousel-btn:disabled:hover { background: none; border-color: var(--border); color: var(--black); }
.cases-counter { font-family: var(--ff-head); font-weight: 500; font-size: 16px; letter-spacing: .06em; color: var(--text-gray-2); min-width: 52px; text-align: center; }

.cases-slider { overflow: hidden; transition: height .35s var(--ease); }
.cases-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  transition: transform .45s var(--ease);
  will-change: transform;
}
.cases-track .case { flex: 0 0 100%; margin: 0; }

/* consistent header: tag spans the top; title (left, ~57%) and meta (right) align at the top */
.case__head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "tag   meta"
    "title meta";
  column-gap: 40px;
  row-gap: 14px;
  align-items: start;
}
.case__tag { grid-area: tag; margin-bottom: 0; align-self: start; }
.case__title { grid-area: title; align-self: start; }
/* meta shares the header's two rows (subgrid): labels align with the tag, values with the title */
.case__meta {
  grid-area: meta;
  justify-self: end;
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: repeat(2, auto);
  column-gap: 32px;
}
.case__meta dt { grid-row: 1; align-self: start; line-height: 1; }
.case__meta dd { grid-row: 2; margin: 0; align-self: start; line-height: 1; }

/* big before / after */
.case__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 32px; }
.ba { position: relative; margin: 0; }
.ba__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--graphite);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.ba__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .45s var(--ease); }
.ba__btn:hover .ba__img { transform: scale(1.04); }
.ba__cap {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--ff-head);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  color: #fff;
  pointer-events: none;
}

/* gallery thumbnails */
.case__gallery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 110px; height: 110px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--graphite);
  padding: 0;
  cursor: pointer;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.thumb:hover img { transform: scale(1.08); }
.thumb--radio img { object-fit: contain; background: #0d0d0d; }
.thumb__tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.65); color: #fff;
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; padding: 3px 0;
}

/* panels in a row under the media */
.case__panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }

/* blue "what we did" banner — set apart from the three info panels */
.case-action {
  margin-top: 16px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 14px 40px;
  flex-wrap: wrap;
}
.case-action__label {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: .02em;
  flex-shrink: 0;
  position: relative;
  padding-right: 40px;
}
.case-action__label::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 1px; height: 26px;
  margin-top: -13px;
  background: rgba(255,255,255,.3);
}
.case-action__list { margin: 0; flex: 1; display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px 30px; }
.case-action__list li { color: #fff; }

/* image in the lightbox */
.lightbox__img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-md); background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.5); }

/* lightbox gallery navigation */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  z-index: 2;
}
.lightbox__nav:hover { background: var(--blue); border-color: var(--blue); }
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 15px;
  letter-spacing: .08em;
  background: rgba(0,0,0,.5);
  padding: 6px 16px;
  border-radius: 999px;
  z-index: 2;
}
.lightbox__counter[hidden] { display: none; }

@media (max-width: 920px) {
  .case-action { flex-direction: column; align-items: flex-start; gap: 14px; }
  .case-action__label { padding-right: 0; }
  .case-action__label::after { display: none; }
}
@media (max-width: 600px) {
  .case__head { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "meta"; row-gap: 12px; }
  .case__meta { justify-self: start; grid-template-rows: auto auto; }
  .case__ba { gap: 10px; }
  .ba__img { aspect-ratio: 3 / 4; }
  .case__panels { grid-template-columns: 1fr; }
  .case-action { padding: 18px 20px; }
  .thumb { width: 84px; height: 84px; }
  .cases-counter { min-width: 44px; font-size: 14px; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}

/* ============================================================
   HERO — redesign (premium)
   ============================================================ */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden; }
.hero__glow {
  position: absolute;
  top: -220px; right: -120px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(79,98,207,.16), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid { position: relative; z-index: 1; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 560px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 28px 70px rgba(15,18,40,.20);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: 0; }
.hero__media::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,10,20,.34) 0%, rgba(8,10,20,0) 26%, rgba(8,10,20,.42) 60%, rgba(8,10,20,.9) 100%),
    linear-gradient(96deg, rgba(8,10,20,.36) 0%, rgba(8,10,20,0) 58%);
}

.hero__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 12px; letter-spacing: .015em;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__badge svg { width: 16px; height: 16px; color: var(--blue-soft); }

.hero__caption { position: relative; z-index: 2; padding: 44px; background: none; }
.hero__eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--ff-body); font-weight: 600; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--blue); padding: 7px 16px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(40px, 6.2vw, 78px); line-height: .92;
  letter-spacing: .01em; text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero__accent { color: var(--blue-soft); }
.hero__subtitle { margin-top: 16px; max-width: 540px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.82); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head); font-weight: 500; font-size: 14px;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--black);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,98,207,.12); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.chip--accent { background: var(--blue); color: #fff; border-color: var(--blue); }
.chip--accent:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* contact info card with icons */
.info-card { background: var(--black); color: #fff; border-radius: var(--radius-card); padding: 8px 24px; gap: 0; }
.info-card__row {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.info-card__row:last-child { border-bottom: none; }
.info-card__ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  background: rgba(79,98,207,.16); color: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 600; font-size: 18px;
}
.info-card__ico svg { width: 19px; height: 19px; }
.info-card__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.info-card__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-gray); }
.info-card__value { font-size: 15px; font-weight: 500; color: #fff; }
.info-card__value--link { color: var(--blue-soft); }
.info-card__value--link:hover { color: #fff; }

/* quick form polish */
.quick-form { box-shadow: 0 14px 40px rgba(15,18,40,.06); }

@media (max-width: 600px) {
  .hero__media { min-height: 460px; }
  .hero__caption { padding: 28px 22px; }
}

/* ============================================================
   HERO — single full screen (all info inside, horizontal form)
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,12,22,.5) 0%, rgba(10,12,22,.18) 26%, rgba(10,12,22,.48) 66%, rgba(10,12,22,.9) 100%),
    linear-gradient(100deg, rgba(10,12,22,.55) 0%, rgba(10,12,22,.05) 60%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 26px;
  padding-top: 36px; padding-bottom: 32px;
}

.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.hero__badge { position: static; top: auto; left: auto; }
.hero__playbtn { position: static; top: auto; right: auto; }

.hero__body { display: flex; flex-direction: column; align-items: flex-start; max-width: 760px; }
.hero__title { font-size: clamp(38px, 5.6vw, 70px); }
.hero__subtitle { max-width: 560px; }
.hero .chips { margin-top: 22px; }

.hero__bottom { display: flex; flex-direction: column; gap: 14px; }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero__contact {
  display: inline-flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500;
}
.hero__contact svg { width: 18px; height: 18px; color: var(--blue-soft); flex-shrink: 0; }
.hero__contact--link:hover { color: var(--blue-soft); }
.hero__m {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--ff-head); font-size: 12px; font-weight: 600; flex-shrink: 0;
}

.hero-form {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: rgba(255,255,255,.97);
  border-radius: 16px; padding: 10px;
  box-shadow: 0 22px 55px rgba(10,12,22,.28);
  max-width: 760px;
}
.hero-form__input {
  flex: 1 1 190px; min-width: 0;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--black);
}
.hero-form__input::placeholder { color: var(--text-gray); }
.hero-form__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,98,207,.15); }
.hero-form__input.is-invalid { border-color: #e0464f; box-shadow: 0 0 0 3px rgba(224,70,79,.12); }
.hero-form__btn { flex: 0 0 auto; padding: 15px 28px; }
.hero__consent { font-size: 11px; color: rgba(255,255,255,.66); max-width: 760px; }
.hero__consent a { color: rgba(255,255,255,.85); text-decoration: underline; }

@media (max-width: 820px) {
  .hero { min-height: 0; }
  .hero__inner { padding-top: 24px; padding-bottom: 28px; gap: 24px; }
  .hero__body { padding: 8px 0; }
  .hero-form__input { flex: 1 1 100%; }
  .hero-form__btn { flex: 1 1 100%; }
}

/* ============================================================
   HEADER — pill nav (match titandental.ru)
   ============================================================ */
.header__inner { gap: 14px; height: auto; padding-block: 14px; align-items: center; }
.header__logo { background: var(--bg-light); border-radius: 14px; padding: 8px 18px; display: inline-flex; align-items: center; }
.nav {
  margin-right: auto; margin-left: 6px;
  background: var(--bg-light); border-radius: 14px;
  padding: 0 6px; display: flex; align-items: center; gap: 0;
}
.nav__link {
  position: relative;
  font-family: var(--ff-head); font-weight: 500; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--black); padding: 15px 17px;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); width: 1px; height: 14px; background: rgba(0,0,0,.14);
}
.nav__link:last-child::after { display: none; }
.nav__link:hover { color: var(--blue); }
.header__phone {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 13px 18px; gap: 8px;
}
.header__cta { border-radius: 14px; padding: 14px 26px; }

/* ============================================================
   HERO — reference black card with autoplay video background
   ============================================================ */
.hero { position: relative; display: block; align-items: stretch; padding: 10px 0 24px; min-height: 0; overflow: visible; }
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 400px);
  gap: 40px;
  padding: 44px;
  align-items: stretch;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.22) 60%, rgba(0,0,0,.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
}
.hero__left { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.hero__aside { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; }

.hero__badge {
  position: static; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: #111; border: none;
  border-radius: 999px; padding: 10px 18px 10px 12px;
  font-size: 13px; font-weight: 500;
}
.hero__badge svg { width: 20px; height: 20px; color: var(--success); }

.hero__title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(44px, 6.4vw, 88px); line-height: .9; text-transform: uppercase; color: #fff; }
.hero__subtitle { margin-top: 10px; max-width: none; font-family: var(--ff-head); font-weight: 600; font-size: clamp(19px, 2.3vw, 30px); line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; color: #fff; }
.hero__lead { margin-top: 16px; max-width: 460px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.8); }
.hero__videobtn {
  margin-top: 22px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff;
  border-radius: 999px; padding: 8px 20px 8px 8px;
  font-family: var(--ff-head); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  backdrop-filter: blur(4px); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__videobtn:hover { background: var(--blue); border-color: var(--blue); }
.hero__videoicon { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s var(--ease); }
.hero__videobtn:hover .hero__videoicon { background: #fff; }
.hero__videoicon::before { content: ""; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent #fff; margin-left: 2px; }
.hero__videobtn:hover .hero__videoicon::before { border-left-color: var(--blue); }

.hero__loc { color: #fff; }
.hero__addr { font-family: var(--ff-head); font-weight: 500; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.hero__hours { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

.hero-map { position: relative; border-radius: 20px; overflow: hidden; height: 190px; background: #1a1a1a; }
.hero-map__frame { width: 100%; height: 100%; border: 0; display: block; }
.hero-map__metro {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 7px 14px 7px 7px;
  font-size: 13px; font-weight: 500; color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
.hero-map__m { width: 22px; height: 22px; border-radius: 50%; background: #e8392b; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-weight: 600; font-size: 13px; }

.hero-form {
  display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px;
  background: #fff; border-radius: 22px; padding: 22px;
  box-shadow: 0 22px 55px rgba(0,0,0,.28); max-width: none;
}
.hero-form__select, .hero-form__phone {
  width: 100%; padding: 15px 18px;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--black); font-size: 15px;
}
.hero-form__select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--ff-head); font-weight: 500; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235D5D5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; cursor: pointer;
}
.hero-form__select:required:invalid { color: var(--text-gray); }
.hero-form__phone::placeholder { color: var(--text-gray); }
.hero-form__select:focus, .hero-form__phone:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,98,207,.15); }
.hero-form__select.is-invalid, .hero-form__phone.is-invalid { border-color: #e0464f; box-shadow: 0 0 0 3px rgba(224,70,79,.12); }
.hero-form__consent { font-size: 11px; color: var(--text-gray); line-height: 1.4; text-align: center; }
.hero-form__consent a { color: var(--text-gray-2); text-decoration: underline; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .header__contacts { margin-left: auto; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; gap: 0; background: #fff; border-radius: 0; margin: 0;
    border-bottom: 1px solid var(--border); padding: 8px 24px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,.12); z-index: 99;
  }
  .nav.is-open .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .nav.is-open .nav__link::after { display: none; }
}
@media (max-width: 980px) {
  .hero__card { grid-template-columns: 1fr; gap: 26px; padding: 30px; min-height: 0; }
  .hero__left { gap: 22px; }
}
@media (max-width: 600px) {
  .hero__card { padding: 20px; border-radius: var(--radius-card); }
  .hero__title { font-size: clamp(40px, 13vw, 58px); }
  .header__logo { padding: 7px 14px; }
}

/* ============================================================
   HEADER nav hover = fill  +  HERO column layout / horizontal form
   ============================================================ */
.nav { padding: 4px 6px; }
.nav__link { padding: 11px 16px; border-radius: 10px; }
.nav__link:hover { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.nav__link:hover::after { opacity: 0; }
.nav__link:has(+ .nav__link:hover)::after { opacity: 0; }

/* hero card → vertical layout: info row · title · horizontal form */
.hero__card {
  display: flex; flex-direction: column; justify-content: space-between;
  grid-template-columns: none; gap: 28px;
  min-height: clamp(560px, calc(100svh - 110px), 760px);
}
.hero__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.hero__loc { color: #fff; text-align: right; }
.hero__body { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { line-height: .95; }
.hero__subtitle { margin-top: 22px; }
.hero__cta { position: relative; z-index: 2; }

/* horizontal lead form */
.hero-form {
  display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 10px;
  box-shadow: 0 18px 45px rgba(0,0,0,.28); max-width: none; width: 100%;
}
.hero-form__input {
  flex: 1 1 180px; min-width: 0;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--black); font-size: 15px;
}
.hero-form__input::placeholder { color: var(--text-gray); }
.hero-form__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79,98,207,.15); }
.hero-form__input.is-invalid { border-color: #e0464f; box-shadow: 0 0 0 3px rgba(224,70,79,.12); }
.hero-form__btn { flex: 0 0 auto; padding: 15px 30px; }
.hero-form__consent { margin-top: 12px; font-size: 11px; line-height: 1.4; text-align: left; color: rgba(255,255,255,.66); }
.hero-form__consent a { color: rgba(255,255,255,.85); text-decoration: underline; }

@media (max-width: 600px) {
  .hero__head { flex-direction: column; gap: 12px; }
  .hero__loc { text-align: left; }
  .hero-form__input { flex: 1 1 100%; }
  .hero-form__btn { flex: 1 1 100%; }
}
