:root {
  --ink: #181818;
  --muted: #666;
  --line: #b8b8b8;
  --soft: #f4f4f4;
  --paper: #fff;
  --accent: #f5bd2e;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button, input, textarea { font: inherit; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; }

.site-header,
.screen,
footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 82px;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand strong,
.brand small { display: block; }
.brand small { color: var(--muted); }

nav { display: flex; gap: 1.2rem; }
nav a { font-size: 0.9rem; }

.screen {
  position: relative;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split-layout,
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #765900;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, a, button, summary { overflow-wrap: anywhere; }
h1 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}
h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
h3 { margin-bottom: 0.65rem; }

.lead { max-width: 700px; font-size: 1.2rem; }
.lead-small { max-width: 650px; color: var(--muted); font-size: 1.05rem; }
.geo { font-weight: 700; }
.microcopy { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.82rem; }

.actions,
.two-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.button {
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.button:hover { background: var(--soft); }
.button-primary { background: var(--accent); }
.button-primary:hover { background: #ffd45e; }
.button-ghost { border-style: dashed; }

.benefit-row,
.card-grid,
.case-grid,
.voice-showcase,
.workflow {
  display: grid;
  gap: 1rem;
}
.benefit-row,
.card-grid.three,
.case-grid { grid-template-columns: repeat(3, 1fr); }
.benefit-row { margin-top: 3rem; }

.benefit-row article,
.card-grid article,
.case-grid article,
.voice-showcase article,
.workflow li {
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: white;
}

.section-heading { margin-bottom: 2.5rem; }

.lead-form {
  padding: 1.4rem;
  border: 2px solid var(--ink);
}
.lead-form label { display: block; margin-bottom: 1rem; font-weight: 700; }
.lead-form label > span { color: #9a2d2d; }
.lead-form label > small { margin-left: .35rem; color: var(--muted); font-weight: 400; }
.lead-form input:not([type="checkbox"]),
.lead-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  background: white;
  font-weight: 400;
}
.lead-form input[type="file"] { width: 100%; max-width: 100%; color: var(--muted); }
.consent-note { margin: -.1rem 0 1rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.form-status { margin: 1rem 0 0; color: #735400; font-weight: 700; }

.numbered-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered-list li { counter-increment: steps; margin-bottom: 1.4rem; padding-left: 3rem; position: relative; }
.numbered-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.numbered-list strong,
.numbered-list span { display: block; }
.numbered-list span { color: var(--muted); }

.voice-showcase { grid-template-columns: repeat(2, 1fr); margin-bottom: 1.5rem; }
.voice-showcase article { display: grid; gap: 0.35rem; }
.voice-showcase span { color: var(--muted); font-size: 0.85rem; }
.voice-card audio { width: 100%; margin-top: 0.65rem; }
.voice-pending { border-style: dashed !important; align-content: center; min-height: 116px; }

.case-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.35fr);
  gap: 1.5rem;
}
.case-video {
  display: block;
  width: 100%;
  align-self: start;
  background: #111;
  border: 1px solid var(--line);
}

.review-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  max-width: 100%;
  overflow: hidden;
  align-items: start;
}

.reviews-contact-button {
  margin-top: 1.5rem;
}
.review-gallery figure {
  margin: 0;
  min-width: 0;
  border: 1px solid var(--line);
  background: white;
  overflow: hidden;
}
.review-gallery figcaption {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: #765900;
  background: #fff9e8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.review-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.review-featured {
  grid-column: 1 / -1;
  width: min(100%, 860px);
  justify-self: center;
}
.case-content h3 { margin-top: 0.35rem; }
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}
.case-facts li {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.case-facts strong,
.case-facts span { display: block; }
.case-facts span,
.case-note { color: var(--muted); }
.case-facts span { margin-top: 0.2rem; font-size: 0.82rem; }
.case-note { font-size: 0.82rem; }

.services-list {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.services-list span { padding: 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.workflow { grid-template-columns: repeat(3, 1fr); margin: 0 0 1.5rem; padding: 0; list-style: none; }
.workflow span { display: block; margin-bottom: 1.5rem; color: var(--muted); }
.workflow p { margin-bottom: 0; color: var(--muted); }
.document-note { padding: 1rem; border-left: 4px solid var(--accent); background: var(--soft); }

.faq-list { margin-bottom: 1.5rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 1.1rem 0; font-weight: 700; cursor: pointer; }
details p { max-width: 780px; color: var(--muted); }

.final-cta { text-align: center; }
.final-cta h2,
.final-cta p { margin-left: auto; margin-right: auto; }

footer {
  padding: 2rem 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
footer strong,
footer span,
footer a { display: block; margin-bottom: 0.35rem; }
footer strong { color: var(--ink); }
footer a:hover { color: var(--accent); }

dialog {
  width: min(560px, calc(100% - 24px));
  padding: 2rem;
  border: 2px solid var(--ink);
  background: white;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.messenger-list { display: grid; gap: 0.65rem; margin: 1.5rem 0; }
.messenger-list a {
  padding: 1rem;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  text-decoration: none;
}
.messenger-list a:hover { background: var(--soft); }
.text-link { font-weight: 700; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-grid,
  .split-layout,
  .section-heading { grid-template-columns: 1fr; }
  .benefit-row,
  .card-grid.three,
  .case-grid,
  .workflow { grid-template-columns: 1fr; }
  .case-featured { grid-template-columns: 1fr; }
  .voice-showcase,
  .services-list { grid-template-columns: 1fr; }
  .review-gallery { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header .button { display: none; }
  .screen { padding: 3.5rem 0; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.2rem; }
  .actions,
  .two-actions { flex-direction: column; }
  .actions .button,
  .two-actions .button,
  .screen > .button { width: 100%; }
  .voice-showcase article { grid-template-columns: 1fr; }
  .review-gallery { grid-template-columns: 1fr; }
  .case-facts { grid-template-columns: 1fr; }
}

/* Art-directed design pass */
:root {
  --ink: #f5f3ee;
  --muted: #aaa79f;
  --line: rgba(255,255,255,.14);
  --soft: #1b1b1a;
  --paper: #10100f;
  --accent: #f5b82e;
  --accent-strong: #ffd25a;
  --max: 1180px;
}

html { background: var(--paper); }
body {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

::selection { color: #111; background: var(--accent); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 72px;
  padding: .85rem max(24px, calc((100vw - var(--max))/2));
  border-bottom: 1px solid var(--line);
  background: rgba(16,16,15,.84);
  backdrop-filter: blur(18px);
}

.brand strong { font-size: 1.05rem; letter-spacing: -.03em; }
.site-header nav a { color: #d8d5ce; text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .9rem; }
.header-language-menu { position: relative; flex: 0 0 auto; border: 0; }
.header-language-toggle {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: #111;
  background: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.header-language-toggle::-webkit-details-marker { display: none; }
.header-language-menu[open] .header-language-toggle,
.header-language-toggle:hover { background: #ffd45e; }
.header-language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 148px;
  padding: 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: #1a1a19;
  box-shadow: 0 14px 32px rgba(0,0,0,.36);
}
.header-language-menu:not([open]) .header-language-options { display: none; }
.header-language-options a {
  padding: .65rem .75rem;
  border-radius: 9px;
  color: #f8f5ee;
  font-size: .86rem;
  text-decoration: none;
  white-space: nowrap;
}
.header-language-options a:hover,
.header-language-options a[aria-current="page"] { color: #111; background: var(--accent); }
.header-phone {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.header-phone:hover { color: var(--accent); }

.screen {
  width: 100%;
  padding: clamp(5rem, 9vw, 9rem) max(24px, calc((100vw - var(--max))/2));
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.screen[id] { scroll-margin-top: 72px; }
.screen:nth-of-type(even) { background: #141413; }
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 72px);
  padding-top: clamp(6rem, 10vw, 10rem);
  padding-bottom: 3rem;
  isolation: isolate;
  background: #0d0d0c;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: url("assets/hero-video-poster.jpg") center/cover no-repeat;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,8,7,.96) 0%, rgba(8,8,7,.8) 38%, rgba(8,8,7,.23) 72%, rgba(8,8,7,.32) 100%), linear-gradient(0deg, rgba(8,8,7,.92), transparent 45%);
}
.hero-grid { grid-template-columns: minmax(0, 720px); min-height: 55vh; align-items: center; }
.hero-copy { max-width: 760px; }
.hero .eyebrow { font-size: .92rem; letter-spacing: .09em; }
.hero h1 { max-width: 720px; font-size: clamp(2.4rem, 4.35vw, 4.55rem); line-height: 1.04; }
.hero .lead { max-width: 630px; color: #d7d3ca; }
.hero .geo { color: #ece8df; }
.hero .benefit-row { margin-top: clamp(4rem, 8vw, 8rem); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin: 1rem 0 0;
  color: #eee9df;
  font-size: .88rem;
}
.hero-proof > * { position: relative; }
.hero-proof > :not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -.62rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes heroBreath { from { transform: scale(1); } to { transform: scale(1.035); } }

h1, h2, h3 { color: #f8f6f0; }
h2 { max-width: 820px; }
h3 { font-size: 1.22rem; }
.eyebrow { color: var(--accent); }
.lead-small, .microcopy, .case-note, .case-facts span, .numbered-list span, details p { color: var(--muted); }

.button {
  min-height: 50px;
  padding: .82rem 1.25rem;
  border-color: rgba(255,255,255,.28);
  border-radius: 999px;
  color: #f7f4ed;
  background: rgba(255,255,255,.05);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  line-height: 1.15;
}
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.button-primary { color: #17130b; border-color: var(--accent); background: var(--accent); }
.button-primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button-ghost { border-style: solid; }

.benefit-row article, .card-grid article, .workflow li, .voice-card, .case-featured, .review-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}
.benefit-row article { padding: 1.4rem; backdrop-filter: blur(14px); }
.benefit-row h2 { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.02em; }
.benefit-row p { color: #bdb9b0; }

.lead-form { border: 1px solid var(--line); border-radius: 18px; background: #181817; }
.lead-form input:not([type="checkbox"]), .lead-form textarea {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f0f0e;
}
.lead-form input:focus, .lead-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-options { padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: #181817; }
.contact-options .messenger-list { margin-bottom: 1rem; }
.contact-options .button { width: 100%; }

.voice-groups { margin-bottom: 2rem; border-top: 1px solid var(--line); }
.voice-group { border-bottom: 1px solid var(--line); }
.voice-group.is-detail-animating,
.faq-list > details.is-detail-animating { overflow: hidden; }
.voice-group > :not(summary),
.faq-list > details > :not(summary) { transform-origin: top center; }
.voice-group > summary { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; list-style: none; font-size: 1.05rem; }
.voice-group > summary::-webkit-details-marker { display: none; }
.voice-group > summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: linear-gradient(var(--accent),var(--accent)) center/12px 2px no-repeat, linear-gradient(var(--accent),var(--accent)) center/2px 12px no-repeat;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}
.voice-group[open] > summary::after { transform: rotate(180deg); background: linear-gradient(var(--accent),var(--accent)) center/12px 2px no-repeat; }
.voice-group summary small { margin-left: auto; margin-right: 1rem; color: var(--muted); font-weight: 400; }
.voice-showcase { grid-template-columns: 1fr; gap: .55rem; max-width: 820px; padding-bottom: 1.1rem; }
.voice-showcase .voice-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(260px, 1.4fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: .05rem 1rem;
  min-height: 66px;
  padding: .65rem .8rem !important;
  color: var(--ink);
  border-color: var(--line);
  background: #1b1b1a;
}
.voice-card > strong { grid-column: 1; font-size: .95rem; line-height: 1.15; }
.voice-card > span { grid-column: 1; color: #aaa79f; font-size: .78rem; }
.voice-card audio { display: none; }
.custom-player { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-columns: 32px 1fr 40px; gap: .55rem; align-items: center; margin: 0; }
.player-toggle { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #15110a; background: var(--accent); cursor: pointer; font-size: 0; line-height: 1; }
.player-toggle::before { content: ""; width: 0; height: 0; margin-left: 2px; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.player-toggle.is-playing::before { width: 10px; height: 11px; margin-left: 0; border: 0; background: linear-gradient(90deg,currentColor 0 3px,transparent 3px 7px,currentColor 7px 10px); }
.player-progress { width: 100%; accent-color: var(--accent); }
.player-time { min-width: 40px; color: #c5c1b8; font-size: .72rem; font-variant-numeric: tabular-nums; text-align: right; }

.voice-compare {
  background:
    radial-gradient(circle at 84% 18%, rgba(245,184,46,.12), transparent 28%),
    #0c0c0b !important;
}
.comparison-panel {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #151514;
}
.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
}
.comparison-table th,
.comparison-table td {
  padding: 1.15rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.comparison-table tr > :last-child { border-right: 0; }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table thead th {
  color: #111;
  background: var(--accent);
  font-size: 1.05rem;
}
.comparison-table thead th:first-child,
.comparison-table tbody th { width: 24%; }
.comparison-table tbody th { color: #f5f2ea; font-weight: 800; }
.comparison-table tbody td { color: #aaa79f; }
.comparison-table tbody td:last-child { color: #f5f2ea; background: rgba(245,184,46,.035); }
.comparison-footer {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255,255,255,.035);
}
.comparison-footer p { max-width: 690px; margin: 0; color: #bbb7ae; }
.comparison-footer strong { color: #fff; }
.comparison-footer .button { flex: 0 0 auto; }

.carousel-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 1rem; color: var(--muted); }
.carousel-toolbar-controls-only { justify-content: flex-end; }
.carousel-toolbar div { display: flex; gap: .5rem; }
.carousel-toolbar button { width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: transparent; cursor: pointer; font-size: 1rem; line-height: 1; }
.carousel-toolbar button:hover { color: #111; background: var(--accent); border-color: var(--accent); }
.carousel-track { scroll-behavior: smooth; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.case-grid { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.case-grid .case-featured { flex: 0 0 min(900px, 86%); grid-template-columns: minmax(260px,.82fr) minmax(0,1.18fr); scroll-snap-align: start; padding: .85rem; color: var(--ink); border-color: var(--line); background: #1a1a19; }
.case-video { border: 0; border-radius: 12px; aspect-ratio: 16/9; object-fit: contain; }
.case-content { padding: .2rem .35rem; font-size: .9rem; line-height: 1.42; }
.case-content h3 { font-size: 1.25rem; line-height: 1.15; }
.case-content p { color: #d5d2ca; }
.case-content strong { color: #fff; }
.case-content .case-source { color: var(--accent); font-weight: 700; text-underline-offset: .2em; }
.case-content .case-source:hover { color: #fff; }
.case-facts li { border-color: var(--line); }
.case-grid + .button { margin-top: 2rem; }

.review-gallery { display: flex; align-items: stretch; gap: 1rem; overflow-x: auto; max-width: none; scroll-snap-type: x mandatory; }
.review-card { display: flex; flex: 0 0 min(500px, 86vw); flex-direction: column; align-items: flex-start; min-height: 290px; padding: 1.5rem; scroll-snap-align: start; }
.review-card.review-featured { flex-basis: min(620px, 88vw); width: auto; }
.review-card.review-video-card {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  flex-basis: min(900px, 86%);
  min-height: 0;
  padding: .85rem;
  gap: 1rem;
  overflow: hidden;
}
.review-video-card .case-video { border: 0; border-radius: 12px; }
.review-video-card .case-content { padding: .2rem .35rem; }
.review-card p { margin: 1.35rem 0 0; color: #d3d0c8; }
.review-links { width: 100%; margin-top: auto; padding-top: 1.25rem; }
.review-card .review-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 0; padding: .55rem .85rem .55rem .55rem; border: 1px solid rgba(255,255,255,.24); border-radius: .8rem; color: #fff; text-decoration: none; }
.review-card .review-link:hover, .review-card .review-link:focus-visible { border-color: var(--accent); background: rgba(255,255,255,.06); }
.review-link-icon { display: grid; place-items: center; flex: 0 0 2.2rem; width: 2.2rem; height: 2.2rem; border-radius: .6rem; background: #0077ff; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: -.04em; }
.review-link-text { display: grid; gap: .1rem; text-align: left; line-height: 1.2; }
.review-link-text strong { font-size: .92rem; }
.review-link-text small { color: #b8b8b8; font-size: .75rem; }
.review-person { display: flex; align-items: center; gap: .8rem; }
.review-avatar { position: relative; flex: 0 0 60px; width: 60px; height: 60px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: #fff; }
.review-avatar img { position: absolute; inset: 0; width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
.review-person strong { font-size: 1rem; line-height: 1.15; }

.services-list { border-color: var(--line); }
.services-list span { border-color: var(--line); }
.document-note { background: #1a1812; }
.faq-list, details { border-color: var(--line); }
.faq-list summary { position: relative; padding-right: 2.5rem; }
.faq-list summary::after { content: ""; position: absolute; top: 50%; right: .2rem; width: 18px; height: 18px; transform: translateY(-50%); background: linear-gradient(var(--accent),var(--accent)) center/12px 2px no-repeat, linear-gradient(var(--accent),var(--accent)) center/2px 12px no-repeat; transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(180deg); background: linear-gradient(var(--accent),var(--accent)) center/12px 2px no-repeat; }

@media (prefers-reduced-motion: reduce) {
  .voice-group > summary::after,
  .faq-list summary::after { transition: none; }
}

.final-cta { background: radial-gradient(circle at 50% 0, #2b2415, #10100f 58%); }
footer { width: 100%; padding: 3rem max(24px, calc((100vw - var(--max))/2)); color: var(--muted); background: #0b0b0a; }

dialog { max-height: calc(100svh - 32px); overflow-y: auto; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; background: #151514; }
dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.dialog-close { top: 12px; right: 12px; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: transparent; background: transparent; font-size: 0; line-height: 0; }
.dialog-close::before, .dialog-close::after { content: ""; position: absolute; width: 14px; height: 2px; border-radius: 2px; background: #f4f1e9; }
.dialog-close::before { transform: rotate(45deg); }
.dialog-close::after { transform: rotate(-45deg); }
.dialog-form { margin-top: .75rem; padding: 1rem; border: 1px solid var(--line); background: #111110; }
.dialog-or { margin: 1.4rem 0 .7rem; color: var(--muted); text-align: center; }
.dialog-form-toggle { margin-top: .9rem; border: 0; }
.dialog-form-toggle > summary { padding: .85rem 0; color: #ddd8ce; text-align: center; }
.bitrix-form-wrap { min-height: 520px; margin-top: 1rem; overflow: hidden; border-radius: 16px; background: #fff; }
.messenger-list a { border-color: var(--line); border-radius: 12px; }
.messenger-list a:hover { color: #111; background: var(--accent); }
.exit-dialog { width: min(680px, calc(100% - 24px)); padding: 0; overflow: hidden; }
.exit-dialog-content {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(circle at 100% 0, rgba(245,189,46,.2), transparent 40%),
    linear-gradient(145deg, #1d1c19, #111110 72%);
}
.exit-dialog-content::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.exit-dialog .eyebrow { margin-bottom: .8rem; color: var(--accent); }
.exit-dialog h2 { max-width: 570px; margin: 0; padding-right: 2rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.02; }
.exit-dialog-copy { max-width: 560px; margin: 1rem 0 0; color: #c6c1b7; font-size: 1.05rem; }
.exit-dialog-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.exit-dialog-note { margin: 1rem 0 0; color: #8f8b82; font-size: .78rem; }
.mobile-cta { display: none; opacity: 0; pointer-events: none; transform: translateY(10px); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 820px) {
  .site-header { grid-template-columns: auto 1fr auto; padding-inline: 20px; }
  .site-header nav { display: flex; justify-content: center; gap: 1rem; overflow: hidden; white-space: nowrap; }
  .site-header nav a:nth-child(n+3) { display: none; }
  .hero { padding-top: 6rem; }
  .hero::after { background: linear-gradient(90deg, rgba(8,8,7,.93), rgba(8,8,7,.54)), linear-gradient(0deg, rgba(8,8,7,.95), transparent 58%); }
  .hero-grid { min-height: 48vh; }
  .benefit-row { grid-template-columns: 1fr; }
  .voice-showcase { grid-template-columns: 1fr; }
  .comparison-footer { align-items: stretch; flex-direction: column; }
  .comparison-footer .button { width: 100%; }
  .case-featured { grid-template-columns: 1fr; flex-basis: 92%; }
  .case-content { padding: .4rem; }
  footer { padding-bottom: 6.5rem; }
  .mobile-cta { position: fixed; right: 14px; bottom: 14px; left: auto; z-index: 45; display: flex; width: auto; min-height: 44px; padding: .7rem 1rem; font-size: .82rem; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
  .mobile-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }
  body:has(dialog[open]) .mobile-cta { display: none; }
  .header-actions { gap: .65rem; }
  .header-phone { font-size: .84rem; }
}

@media (max-width: 620px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
}

@media (max-width: 520px) {
  .site-header { min-height: 62px; }
  .brand strong { font-size: .95rem; }
  .header-phone { font-size: .8rem; }
  .hero { min-height: calc(100svh - 62px); }
  .hero .eyebrow { font-size: .84rem; }
  .hero h1 { font-size: clamp(2rem, 8.7vw, 2.85rem); line-height: 1.06; }
  .hero-backdrop { background-position: 63% center; }
  .hero-video { object-position: 63% center; }
  .hero .actions .button { width: 100%; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .review-card { min-height: 260px; }
  .mobile-cta { right: 12px; bottom: 12px; left: auto; width: auto; min-height: 44px; padding: .7rem 1rem; font-size: .82rem; }
  .voice-showcase .voice-card { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: .15rem; padding: .75rem !important; }
  .voice-card > strong, .voice-card > span, .custom-player { grid-column: 1; }
  .custom-player { grid-row: 3; margin-top: .45rem; }
  dialog { width: calc(100% - 16px); padding: 1.25rem; }
  .exit-dialog { width: calc(100% - 16px); padding: 0; }
  .exit-dialog-content { padding: 2rem 1.25rem 1.5rem; }
  .exit-dialog h2 { padding-right: 2.25rem; font-size: clamp(1.8rem, 8.5vw, 2.45rem); }
  .exit-dialog-actions { display: grid; }
  .exit-dialog-actions .button { width: 100%; }
}

.footer-identity { max-width: 360px; }
.footer-legal { display: grid; align-content: start; gap: .15rem; }
.footer-legal button {
  width: fit-content;
  margin: 0 0 .35rem;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-decoration: underline;
  cursor: pointer;
}
.footer-legal button:hover { color: var(--accent); }
.domain-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .35rem 0 .55rem;
}
.domain-switcher span {
  flex-basis: 100%;
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}
.domain-switcher a {
  display: inline-flex;
  margin: 0;
  padding: .35rem .55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  line-height: 1;
  text-decoration: none;
}
.geo-attribution { font-size: .75rem; opacity: .72; }
footer { grid-template-columns: 1.4fr .85fr .65fr 1.2fr; }

.lead-form .consent-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: .65rem;
  align-items: start;
  margin: 0 0 .9rem;
  color: #c7c3ba;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.4;
}
.consent-option input { width: 18px; height: 18px; margin: .08rem 0 0; accent-color: var(--accent); }
.consent-option a { color: #f4f1e9; }

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 80;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #f4f1e9;
  background: rgba(18,18,17,.97);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { display: block; margin-bottom: .2rem; }
.cookie-banner p { max-width: 650px; margin: 0; color: #bdb9b0; font-size: .9rem; }
.cookie-banner a { color: var(--accent); font-size: .84rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; flex: 0 0 auto; }
.cookie-actions .button { min-height: 42px; padding: .65rem 1rem; font-size: .82rem; }
.cookie-settings-form { display: grid; gap: .75rem; }
.cookie-choice {
  padding: .9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #111110;
}
.cookie-choice span, .cookie-choice strong, .cookie-choice small { display: block; }
.cookie-choice small { margin-top: .2rem; color: var(--muted); font-weight: 400; }
.cookie-choice input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: var(--accent); }
body:has(.cookie-banner:not([hidden])) .mobile-cta { display: none; }

.legal-page { min-height: 100vh; color: #f4f1e9; background: #0f0f0e; }
.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem max(24px, calc((100vw - 900px)/2));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(15,15,14,.94);
  backdrop-filter: blur(14px);
}
.legal-header a { text-decoration: none; }
.legal-header a:last-child { color: var(--accent); font-size: .9rem; }
.legal-content { width: min(900px, calc(100% - 32px)); margin: 0 auto; padding: 4rem 0 6rem; }
.legal-content h1 { max-width: 820px; font-size: clamp(2.3rem, 6vw, 4.8rem); }
.legal-content h2 { margin-top: 2.8rem; font-size: clamp(1.45rem, 3vw, 2.2rem); letter-spacing: -.025em; }
.legal-content h3 { margin-top: 1.8rem; }
.legal-content p, .legal-content li { color: #c8c4bb; }
.legal-content li + li { margin-top: .45rem; }
.legal-content a { color: var(--accent); }
.legal-meta {
  margin: 1.5rem 0 2.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  color: #d8d4cb;
  background: #181713;
}
.legal-requisites {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: .35rem;
  background: rgba(255,255,255,.03);
}
.legal-requisites span { display: block; }
.legal-footer { width: min(900px, calc(100% - 32px)); padding: 2rem 0; grid-template-columns: 1fr 1fr; }

@media (max-width: 900px) {
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  footer, .legal-footer { grid-template-columns: 1fr; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); align-items: stretch; flex-direction: column; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-actions [data-cookie-accept] { grid-column: 1 / -1; grid-row: 1; }
  .cookie-actions .button { width: 100%; }
  .legal-header { padding-inline: 16px; }
  .legal-content { padding-top: 3rem; }
}

/* Mobile usability: comparison, reviews, cases and dialogs */
.review-avatar {
  flex-basis: 60px;
  width: 60px;
  height: 60px;
}
.review-avatar img,
.review-card:nth-child(n) .review-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transform: none;
}
.case-video {
  min-height: 1px;
  background: #080808;
}

@media (max-width: 620px) {
  .site-header {
    top: max(8px, env(safe-area-inset-top));
    width: calc(100% - 24px);
    min-height: 56px;
    margin: 10px auto 0;
    padding: .45rem .55rem .45rem .9rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(17,17,16,.82);
    box-shadow: 0 10px 30px rgba(0,0,0,.24);
  }
  .brand strong { font-size: .95rem; }
  .header-actions { gap: 0; }
  .header-phone {
    padding: .55rem .72rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: #f8f5ee;
    background: rgba(255,255,255,.045);
    font-size: .78rem;
    line-height: 1;
  }

  .comparison-panel {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .comparison-table,
  .comparison-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .comparison-table thead { display: none; }
  .comparison-table tbody {
    display: grid;
    gap: 1rem;
  }
  .comparison-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #151514;
  }
  .comparison-table tbody th,
  .comparison-table tbody td {
    width: auto;
    min-width: 0;
    padding: 1rem;
    border: 0;
  }
  .comparison-table tbody th {
    grid-column: 1 / -1;
    color: #111;
    background: var(--accent);
    font-size: 1rem;
  }
  .comparison-table tbody td {
    color: #c2beb5;
    background: #151514;
    font-size: .93rem;
    line-height: 1.45;
  }
  .comparison-table tbody td + td { border-left: 1px solid var(--line); }
  .comparison-table tbody td:last-child { background: rgba(245,184,46,.055); }
  .comparison-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .55rem;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  #reviews > .carousel-toolbar,
  #cases > .carousel-toolbar { display: none; }

  .review-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    overflow: visible;
    scroll-snap-type: none;
  }
  .review-card,
  .review-card.review-featured {
    width: 100%;
    min-height: 0;
    padding: 1.2rem;
    flex: none;
  }
  .review-card.review-video-card {
    width: 100%;
    padding: .7rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    flex: none;
  }
  .review-card p {
    margin-top: 1rem;
    font-size: .98rem;
    line-height: 1.55;
  }
  .review-person { gap: .9rem; }
  .review-person strong { font-size: 1.05rem; }

  .case-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    overflow: visible;
    scroll-snap-type: none;
  }
  .case-grid .case-featured {
    width: 100%;
    padding: .7rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    flex: none;
  }
  .case-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    object-fit: cover;
  }
  .case-content { padding: .45rem; }
  .case-content h3 { font-size: 1.35rem; }
  .case-facts { grid-template-columns: 1fr; }

  dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 4.75rem 1rem max(1rem, env(safe-area-inset-bottom));
    overflow-x: hidden;
  }
  dialog .dialog-close {
    position: absolute;
    z-index: 20;
    top: 14px;
    right: 14px;
    margin: 0;
  }
  #contact-dialog h2 { padding-right: 0; }
  #contact-dialog .eyebrow { max-width: calc(100% - 16px); }
  .messenger-list a {
    min-height: 72px;
    align-items: center;
  }
  #demo-dialog {
    padding: 4.65rem .55rem max(.55rem, env(safe-area-inset-bottom));
  }
  #demo-dialog .bitrix-form-wrap {
    min-height: 0;
    margin-top: 0;
    border-radius: 14px;
  }
}

@media (max-width: 390px) {
  .comparison-table tbody tr { grid-template-columns: 1fr; }
  .comparison-table tbody td + td {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  dialog { padding-inline: .75rem; }
  #demo-dialog { padding-inline: .35rem; }
}

@media (max-width: 1000px) {
  .site-header:has(.header-language-menu) { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header:has(.header-language-menu) nav { display: none; }
}

@media (max-width: 620px) {
  .site-header:has(.header-language-menu) { gap: .35rem; }
  .site-header:has(.header-language-menu) .header-actions { gap: .35rem; }
  .site-header:has(.header-language-menu) .header-actions > .button { display: none; }
}

@media (max-width: 350px) {
  .site-header:has(.header-language-menu) { min-height: 82px; }
  .site-header:has(.header-language-menu) .header-actions {
    display: grid;
    justify-items: end;
    gap: .15rem;
  }
  .site-header:has(.header-language-menu) .header-language-menu { grid-row: 1; }
  .site-header:has(.header-language-menu) .header-phone { grid-row: 2; }
}

/* Cookie consent: make the affirmative choice clear without hiding refusal. */
.cookie-actions [data-cookie-accept] { min-height: 50px; padding-inline: 1.5rem; font-size: .95rem; }
.cookie-actions [data-cookie-reject] { border-color: transparent; color: #d3cec5; background: transparent; }
.cookie-actions [data-cookie-reject]:hover { border-color: rgba(255,255,255,.28); color: #fff; }

/* Transparent brand mark for the header and mobile layout. */
.brand-logo { display: block; width: 42px; height: 42px; flex: 0 0 auto; object-fit: contain; }
@media (max-width: 620px) {
  .brand { gap: .45rem; }
  .brand-logo { width: 32px; height: 32px; }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .site-header nav { display: none; }
}
