﻿:root {
  --graphite: #111318;
  --graphite-2: #1a1d24;
  --paper: #ffffff;
  --warm: #f7f3ee;
  --warm-2: #eee7de;
  --red: #e30613;
  --green: #2e8b3c;
  --muted: #686f7a;
  --line: rgba(17, 19, 24, 0.12);
  --shadow: 0 24px 70px rgba(17, 19, 24, 0.16);
  --radius: 28px;
  --container: min(1280px, calc(100vw - 48px));
}

/* Promo page runs inside Bitrix/Aspro to keep native lead forms available.
   Hide regular site chrome and let the custom landing own the viewport. */
body.site_s2 #panel,
body.site_s2 > #ajax_basket,
body.site_s2 .wrapper1 > .mega_fixed_menu,
body.site_s2 .wrapper1 > .header_wrap,
body.site_s2 .wrapper1 > #headerfixed,
body.site_s2 .wrapper1 > #mobileheader,
body.site_s2 .wrapper1 > #mobilefilter,
body.site_s2 .wrapper1 > #mobilefilter-overlay,
body.site_s2 #content > .top-block-wrapper,
body.site_s2 #content .left_block,
body.site_s2 > #footer,
body.site_s2 .basket_wrapp {
  display: none !important;
}

body.site_s2,
body.site_s2 .wrapper1,
body.site_s2 #content,
body.site_s2 #content > .wrapper_inner,
body.site_s2 #content > .wrapper_inner > .container_inner,
body.site_s2 #content .right_block {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: #fff !important;
}

body.site_s2 #content .right_block {
  overflow: visible !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--paper);
  font-family: Inter, Manrope, Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1280px) / 2));
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.header-actions,
.nav,
.hero-actions,
.hero-tags,
.case-filters {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(176px, 14vw, 250px);
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav {
  gap: 18px;
  color: #3f454d;
  font-size: 14px;
}

.nav a,
.nav-jqm,
.phone {
  transition: color 180ms ease;
}

.nav a:hover,
.nav-jqm:hover,
.phone:hover {
  color: var(--red);
}

.nav-jqm,
.animate-load {
  cursor: pointer;
}

.header-actions {
  gap: 14px;
}

.phone {
  color: #3f454d;
  font-size: 14px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 35px rgba(227, 6, 19, 0.22);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.btn-secondary {
  color: var(--graphite);
  background: #fff;
  border-color: var(--line);
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.section-shell {
  width: var(--container);
  margin: 0 auto;
}

.page-hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 640px;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: center;
  overflow: hidden;
  padding: clamp(78px, 9vh, 118px) max(28px, calc((100vw - 1280px) / 2));
  background:
    linear-gradient(110deg, rgba(17, 19, 24, 0.92), rgba(17, 19, 24, 0.58)),
    radial-gradient(circle at 82% 18%, rgba(227, 6, 19, 0.24), transparent 32%),
    var(--graphite);
  color: #fff;
}

.page-hero:not(.page-hero-dark) {
  background:
    linear-gradient(110deg, rgba(247, 243, 238, 0.98), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 82% 18%, rgba(227, 6, 19, 0.12), transparent 32%);
  color: var(--graphite);
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero h1 {
  color: inherit;
}

.page-hero p:not(.eyebrow) {
  max-width: 650px;
  color: currentColor;
  font-size: 19px;
  line-height: 1.6;
  opacity: 0.78;
}

.page-photo {
  min-height: 500px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 86px 0;
}

.page-card {
  min-height: 260px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(17, 19, 24, 0.10);
  border-radius: 24px;
  box-shadow: 0 18px 54px rgba(17, 19, 24, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(17, 19, 24, 0.14);
}

.page-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-card h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.page-card p {
  color: #5d646e;
  line-height: 1.55;
}

.hero {
  position: relative;
  display: grid;
  width: 100%;
  min-height: calc(100vh - 70px);
  grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(34px, 4.2vw, 72px);
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: clamp(62px, 7vh, 88px) max(32px, calc((100vw - 1280px) / 2)) clamp(58px, 7vh, 82px);
  isolation: isolate;
}

.hero > *,
.story-layout > *,
.welcome-layout > *,
.lead-layout > * {
  min-width: 0;
}

.hero-video,
.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 70px);
}

.hero-video {
  z-index: -2;
  object-fit: cover;
  opacity: 0;
  transition: opacity 500ms ease;
}

.hero-video.is-ready {
  opacity: 1;
}

.hero-backdrop {
  z-index: -3;
  opacity: 1;
  background:
    radial-gradient(circle at 18% 22%, rgba(227, 6, 19, 0.50), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(120deg, #07080b 0%, #171b22 34%, #3b3433 68%, #f4eee7 100%);
  transition: opacity 500ms ease;
}

.hero.has-video .hero-backdrop {
  opacity: 0;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(17, 19, 24, 0.90), rgba(17, 19, 24, 0.64) 43%, rgba(17, 19, 24, 0.18)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: -24% -18%;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.22) 42%, transparent 49%),
    linear-gradient(20deg, transparent 0 50%, rgba(227, 6, 19, 0.18) 56%, transparent 63%);
  content: "";
  mix-blend-mode: screen;
  opacity: 0.42;
  transform: translateX(-16%);
  animation: hero-film-sweep 8s linear infinite;
  pointer-events: none;
}

.hero.has-video::after {
  display: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ffb7bd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(50px, 4.7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.08;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 1.58;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-tags span,
.case-label,
.insights span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #3b414a;
  font-size: 12px;
  font-weight: 800;
}

.case-label {
  margin-bottom: 14px;
}

.micro-proof {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 15px;
}

.hero-visual {
  position: relative;
  min-height: clamp(520px, 62vh, 680px);
  isolation: isolate;
  overflow: hidden;
  border-radius: 34px;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(247, 243, 238, 0.16), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 82% 18%, rgba(227, 6, 19, 0.14), transparent 34%),
    radial-gradient(circle at 15% 78%, rgba(17, 19, 24, 0.30), transparent 42%);
  box-shadow: 0 38px 120px rgba(17, 19, 24, 0.18);
  content: "";
}

.photo-card,
.detail-card,
.case-card,
.photo-tile,
.welcome-stack,
.story-media {
  overflow: hidden;
  background: linear-gradient(135deg, var(--warm), #fff);
  border: 1px solid rgba(17, 19, 24, 0.08);
  box-shadow: var(--shadow);
}

.hero-photo {
  position: absolute;
  inset: 14% 5% 10% 11%;
  z-index: 2;
  border-radius: 28px;
  transform: translateZ(0);
}

.photo-overlay {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 310px;
  padding: 20px;
  color: #fff;
  background: rgba(17, 19, 24, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  backdrop-filter: blur(12px);
}

.photo-overlay span {
  display: block;
  margin-bottom: 8px;
  color: #ffb7bd;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  height: 190px;
  padding: 10px;
  border-radius: 26px;
}

.detail-card span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(17, 19, 24, 0.78);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.detail-card img,
.photo-tile img,
.welcome-stack img,
.story-media img,
.case-card img {
  border-radius: inherit;
  transition: transform 500ms ease;
}

.detail-card-a {
  top: 9%;
  right: 3%;
}

.detail-card-b {
  left: 3%;
  bottom: 5%;
}

@keyframes hero-film-sweep {
  0% {
    transform: translateX(-18%);
  }

  100% {
    transform: translateX(18%);
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 0 92px;
}

.proof-strip div {
  min-height: 150px;
  padding: 26px;
  background: var(--warm);
  border: 1px solid rgba(17, 19, 24, 0.08);
}

.proof-strip div:first-child {
  border-radius: 24px 0 0 24px;
}

.proof-strip div:last-child {
  border-radius: 0 24px 24px 0;
}

.proof-strip strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.proof-strip p,
.section-heading p,
.case-copy p,
.task-card p,
.story-copy p,
.welcome-copy p,
.lead-copy p,
.final-cta p,
.footer p {
  color: var(--muted);
  line-height: 1.55;
}

.cases,
.branding,
.faq {
  padding: 116px 0;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.case-filters {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  padding: 12px 16px;
  color: var(--graphite);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.chip.is-active {
  color: #fff;
  background: var(--graphite);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.case-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  border-radius: 30px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.case-card:hover,
.task-card:hover,
.photo-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(17, 19, 24, 0.2);
}

.case-card:hover img,
.photo-tile:hover img,
.story-media:hover img,
.welcome-stack:hover img {
  transform: scale(1.045);
}

.case-card img {
  height: 66%;
  min-height: 250px;
  border-radius: 30px 30px 0 0;
}

.case-copy {
  padding: 22px;
  background: #fff;
}

.case-copy h3 {
  margin: 0 0 14px;
  line-height: 1.12;
}

.case-copy p {
  margin: 0 0 22px;
}

.case-copy a {
  color: var(--red);
  font-weight: 900;
}

.case-feature {
  grid-row: span 2;
  min-height: 620px;
}

.case-feature img {
  min-height: 430px;
}

.task-section,
.welcome {
  padding: 116px 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f2ed 100%);
}

.task-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr) minmax(0, 0.82fr);
  grid-auto-rows: minmax(310px, auto);
  gap: 18px;
}

.task-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  background: var(--graphite);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(17, 19, 24, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease;
  isolation: isolate;
}

.task-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.06) 0%, rgba(17, 19, 24, 0.78) 100%),
    radial-gradient(circle at 82% 16%, rgba(227, 6, 19, 0.28), transparent 30%);
  content: "";
}

.task-card::after {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--graphite);
  background: #fff;
  border-radius: 50%;
  content: "↗";
  font-weight: 900;
}

.task-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.task-card-feature {
  grid-row: span 2;
  min-height: 658px;
}

.task-card-dark {
  background: #101217;
}

.task-card:hover img {
  transform: scale(1.045);
}

.task-card span {
  display: block;
  margin-bottom: 14px;
  color: #ffb7bd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.task-card h3 {
  max-width: 520px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1;
}

.task-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.task-card:not(.task-card-feature) h3 {
  font-size: 30px;
}

.case-story {
  padding: 124px 0;
  color: #fff;
  background: var(--graphite);
}

.story-layout,
.welcome-layout,
.lead-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.story-media,
.welcome-stack {
  height: 620px;
  border-radius: 34px;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.insights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 2px solid var(--red);
}

.insights span {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.photo-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.photo-tile {
  position: relative;
  height: 360px;
  border-radius: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.photo-tile span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(17, 19, 24, 0.78);
  border-radius: 999px;
  font-weight: 900;
}

.welcome-copy {
  max-width: 610px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: inherit;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "✓";
  font-weight: 900;
}

.lead-section {
  padding: 124px 0;
  color: #fff;
  background: var(--graphite);
}

.lead-copy p,
.lead-form p {
  color: rgba(255, 255, 255, 0.7);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  color: var(--graphite);
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.lead-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

.lead-form-head h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.lead-form-head p {
  margin: 0;
  color: #6a707a;
}

.lead-aspro-points {
  display: grid;
  gap: 10px;
  margin: 8px 0 6px;
  color: var(--graphite);
}

.lead-aspro-points span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  color: #4e5662;
  background: var(--warm);
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--graphite);
  background: var(--warm);
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 16px;
  font: inherit;
}

textarea {
  min-height: 116px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(227, 6, 19, 0.35);
  border-color: var(--red);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 13px !important;
  color: #8a8f98;
  font-size: 15px;
  font-weight: 500 !important;
}

.consent input {
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  accent-color: var(--red);
}

.consent a {
  color: var(--red);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #4d975f !important;
  font-size: 14px;
  font-weight: 800;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 19, 24, 0.62);
  backdrop-filter: blur(7px);
}

.lead-modal-dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.30);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.lead-modal.is-open .lead-modal-dialog {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 34px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.lead-modal-close::before,
.lead-modal-close::after {
  position: absolute;
  top: 16px;
  left: 6px;
  width: 22px;
  height: 2px;
  background: #a7abb2;
  content: "";
}

.lead-modal-close::before {
  transform: rotate(45deg);
}

.lead-modal-close::after {
  transform: rotate(-45deg);
}

.lead-modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
}

.lead-modal-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 56px 44px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17, 19, 24, 0.20), rgba(17, 19, 24, 0.86)),
    url("./assets/cases/BelGee%2001.png") center / cover;
}

.lead-modal-aside h2 {
  max-width: 360px;
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.lead-modal-aside p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

.lead-modal-form {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 70px 48px 54px;
}

.lead-modal-form label {
  display: grid;
  gap: 9px;
  color: #8a8f98;
  font-weight: 500;
}

.lead-modal-form input:not([type="checkbox"]) {
  background: #fff;
  border-radius: 3px;
}

body.modal-open {
  overflow: hidden;
}

.faq h2 {
  margin-bottom: 28px;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 24px 0;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

details p {
  max-width: 760px;
  padding-bottom: 24px;
}

.final-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--warm);
}

.final-cta .section-shell {
  max-width: 980px;
}

.final-cta .hero-actions {
  justify-content: center;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 0 88px;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(17, 19, 24, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  display: grid;
  min-height: 44px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-weight: 900;
}

.mobile-cta a:last-child {
  background: var(--red);
}

.reveal {
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.is-hidden {
  display: none;
}

.image-fallback {
  display: grid;
  height: 100%;
  place-items: end start;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.18), rgba(17, 19, 24, 0.66)),
    radial-gradient(circle at 70% 20%, rgba(227, 6, 19, 0.22), transparent 34%),
    linear-gradient(135deg, #d9d1c7, #827a73);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .nav,
  .phone {
    display: none;
  }

  .hero,
  .page-hero,
  .story-layout,
  .welcome-layout,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-right: 24px;
    padding-left: 24px;
  }

  h1 {
    max-width: 820px;
    font-size: clamp(46px, 8vw, 74px);
  }

  .hero-visual {
    min-height: 580px;
  }

  .page-photo {
    min-height: 420px;
  }

  .proof-strip,
  .page-grid,
  .task-grid,
  .photo-tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .task-card-feature {
    grid-row: span 1;
    grid-column: 1 / -1;
    min-height: 420px;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100% - 28px);
  }

  .section-shell {
    max-width: 640px;
  }

  .site-header {
    padding: 10px 14px;
  }

  .brand-logo {
    width: 150px;
    max-height: 40px;
  }

  .header-actions .btn {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
    gap: 34px;
    padding: 46px 14px 58px;
  }

  .page-hero {
    min-height: auto;
    gap: 30px;
    padding: 58px 14px;
  }

  h1 {
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.04;
  }

  h2 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .page-photo {
    min-height: 320px;
    border-radius: 24px;
  }

  .hero-photo {
    inset: 82px 0 0;
    border-radius: 28px;
  }

  .detail-card {
    width: 165px;
    height: 140px;
  }

  .detail-card-a {
    top: 8px;
    right: 8px;
  }

  .detail-card-b {
    left: 8px;
    bottom: 8px;
  }

  .photo-overlay {
    right: 14px;
    bottom: 160px;
    left: 14px;
    max-width: none;
  }

  .proof-strip,
  .case-grid,
  .page-grid,
  .task-grid,
  .photo-tile-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-modal {
    padding: 12px;
  }

  .lead-modal-grid {
    grid-template-columns: 1fr;
  }

  .lead-modal-aside {
    min-height: 250px;
    padding: 42px 28px 30px;
  }

  .lead-modal-form {
    padding: 34px 24px 28px;
  }

  .task-card,
  .task-card-feature {
    min-height: 360px;
  }

  .task-card {
    padding: 22px;
    border-radius: 22px;
  }

  .proof-strip div,
  .proof-strip div:first-child,
  .proof-strip div:last-child {
    border-radius: 22px;
  }

  .case-feature,
  .case-card {
    min-height: 0;
  }

  .case-feature img,
  .case-card img {
    min-height: 260px;
  }

  .story-media,
  .welcome-stack {
    height: 430px;
  }

  .photo-tile {
    height: 300px;
  }

  .cases,
  .branding,
  .faq,
  .task-section,
  .welcome,
  .lead-section,
  .case-story {
    padding: 76px 0;
  }

  .lead-form {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    padding-bottom: 108px;
  }

  .mobile-cta {
    display: grid;
  }
}


