/* Sections */
.section { padding: var(--s-9) 0; position: relative; }
.section--tight { padding: var(--s-8) 0; }
.section--dark { background: transparent; }
.section--dark2 { background: var(--ink-2); }
.section--brand-grad { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.section--brand { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }

/* Brand watermark — alyonadenza logo, large, bottom-left, "etched" darker shade */
.section--brand-grad::before,
.section--brand::before {
  content: '';
  position: absolute;
  left: 48px;
  bottom: 48px;
  width: 560px;
  height: 560px;
  background-color: #11144a;
  -webkit-mask: url('../img/logo-alyonadenza.png') no-repeat center / contain;
  mask: url('../img/logo-alyonadenza.png') no-repeat center / contain;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 720px) {
  .section--brand-grad::before,
  .section--brand::before { width: 280px; height: 280px; left: 16px; bottom: 16px; }
}
.section--brand-grad > *,
.section--brand > * { position: relative; z-index: 1; }
.section--paper { background: var(--paper); color: var(--paper-ink); }

.section--paper .eyebrow { color: #6c6c70; }
.section--paper h1, .section--paper h2, .section--paper h3 { color: var(--paper-ink); }

/* Smooth blend — the Denza hallmark */
.blend-to-brand { position: relative; }
.blend-to-brand::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 140px; background: linear-gradient(180deg, rgba(31,35,145,0) 0%, rgba(31,35,145,.35) 50%, var(--brand-deep) 100%); pointer-events: none; }
.blend-to-dark::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; background: linear-gradient(180deg, rgba(10,10,12,0) 0%, var(--ink) 100%); pointer-events: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(10,10,12,0.78); border-bottom: 1px solid var(--line); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; justify-self: start; }
.brand__mark { height: 36px !important; width: 36px !important; max-width: 36px !important; object-fit: contain; object-position: left center; flex-shrink: 0; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--t-hi); }
.brand__name--solo { font-size: 19px; letter-spacing: -0.015em; }
.brand__sub { font-family: var(--f-body); font-weight: 500; font-size: 10px; letter-spacing: 0.22em; color: var(--t-md); margin-top: 4px; }
.header__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header__logo-img { height: 36px; width: 36px; object-fit: contain; object-position: left center; flex-shrink: 0; display: block; }
.header__logo-badge { font-family: var(--f-display); font-weight: 600; font-size: 10px; letter-spacing: 0.14em; color: var(--t-hi); padding: 4px 7px; border: 1px solid rgba(255,255,255,0.35); border-radius: 3px; line-height: 1; white-space: nowrap; }
.header__nav { display: flex; gap: 22px; justify-self: center; white-space: nowrap; }
.header__nav a { font-size: 14px; color: var(--t-md); font-weight: 400; transition: color .15s; white-space: nowrap; }
.header__nav a:hover { color: var(--t-hi); }
.header__right { justify-self: end; display: flex; align-items: center; gap: 18px; }
.header__phone { font-family: var(--f-display); font-weight: 500; font-size: 16px; letter-spacing: 0.01em; white-space: nowrap; }
/* Burger + mobile menu (base styles BEFORE media overrides) */
.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; cursor: pointer; padding: 0; background: transparent; border: 0; justify-self: end; }
.burger span { width: 22px; height: 2px; background: var(--t-hi); transition: transform .25s ease, opacity .2s ease; border-radius: 2px; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 72px 0 0 0; z-index: 49; background: rgba(10,14,26,0.97); backdrop-filter: blur(18px); padding: 40px 28px calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 24px; transform: translateY(-100%); pointer-events: none; visibility: hidden; transition: transform .32s ease, visibility 0s linear .32s; overflow-y: auto; }
.mobile-menu.is-open { transform: translateY(0); pointer-events: auto; visibility: visible; transition: transform .32s ease, visibility 0s linear 0s; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__nav a { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--t-hi); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__nav a:last-child { border-bottom: 0; }
.mobile-menu__cta { margin-top: auto; padding-top: 24px; }
.mobile-menu__cta .btn { width: 100%; justify-content: center; }

@media (max-width: 1140px) {
  .header__nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .header__right { display: none; }
  .burger { display: flex; }
}
@media (max-width: 760px) { .header__phone { display: none; } }


/* Hero */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: stretch; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--brand-soft); border: 1px solid var(--brand-line); color: #CBD2FF; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; }
.hero__title { font-size: clamp(36px, 4.65vw, 63.18px); line-height: 1.05; letter-spacing: -0.035em; max-width: 680px; }
.hero__title .brand-word { color: var(--t-hi); background: linear-gradient(90deg, #7689FF 0%, var(--t-hi) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin-top: 24px; max-width: 560px; font-size: 18px; color: var(--t-md); line-height: 1.5; }
.hero__ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__visual { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-brand); display: flex; align-items: flex-end; padding: 28px; min-height: 100%; }
.hero__visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 10%, rgba(255,255,255,.14), transparent 55%); pointer-events: none; }
.hero__visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.9; }
.hero__visual-tag { position: relative; z-index: 2; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); padding: 12px 18px; border-radius: var(--r-pill); font-size: 13px; letter-spacing: 0.06em; color: var(--t-hi); border: 1px solid rgba(255,255,255,.2); }

/* Stats bar */
.stats { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -0.02em; color: var(--t-hi); }
.stat__num sup { font-size: 28px; font-weight: 500; vertical-align: super; color: var(--brand-bright); margin-left: 4px; }
.stat__label { margin-top: 10px; font-size: 13px; color: var(--t-md); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { aspect-ratio: 16/10; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero__visual { display: none; }
}

/* Mobile section/hero gap shrink */
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 28px; }
  .hero__sub { margin-top: 16px; font-size: 16px; }
  .hero__ctas { margin-top: 24px; }
  .stats { margin-top: 40px; }
}
@media (max-width: 400px) {
  .btn--lg { padding: 14px 22px; font-size: 14px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* Hero variants */
.hero--v2 .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
.hero--v2 .hero__ctas { justify-content: center; }
.hero--v2 .hero__visual { aspect-ratio: 16/7; }
.hero--v2 .hero__title { font-size: clamp(56px, 8vw, 128px); }

.hero--v3 { padding-top: 48px; }
.hero--v3 .hero__grid { grid-template-columns: 1fr; gap: 24px; }
.hero--v3 .hero__title { font-size: clamp(64px, 9vw, 160px); line-height: 0.92; letter-spacing: -0.035em; }
.hero--v3 .hero__visual-strip { height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--grad-brand); margin-top: 16px; position: relative; }
.hero--v3 .hero__visual-strip img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.85; }

/* Catalog */
.cat__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.cat__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.cat__note { max-width: 420px; color: var(--t-md); font-size: 16px; }

.cat__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .cat__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .cat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .cat__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .car__body { padding: 12px 12px 14px; gap: 4px; }
  .car__model { font-size: 16px; }
  .car__meta, .car__variants { font-size: 12px; }
  .car__variants { padding-top: 5px; }
  .cat__head { margin-bottom: 28px; }
  .cat__cta { padding: 24px; }
}

.car { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, background .25s ease; position: relative; }
.car__num { position: absolute; top: 8px; right: 8px; z-index: 4; background: rgba(68,89,255,0.92); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; padding: 4px 9px; border-radius: var(--r-pill); pointer-events: none; }
.car:hover { transform: translateY(-3px); border-color: var(--brand-line); background: var(--surface-2); }
.car__img { position: relative; aspect-ratio: 16/11; background: linear-gradient(135deg, #1b1b24 0%, #0e0e14 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.car__img img { width: 100%; height: 100%; object-fit: cover; }
.car__img-placeholder { font-family: var(--f-display); font-size: 42px; font-weight: 700; color: rgba(255,255,255,.08); letter-spacing: -0.02em; }

.car__img--graphic { background: linear-gradient(135deg, #16161e 0%, #0b0b12 100%); overflow: hidden; }
.car__img--graphic::before { content: ''; position: absolute; inset: -40% -10% auto auto; width: 110%; height: 180%; background: radial-gradient(ellipse at top right, var(--brand-soft), transparent 55%); pointer-events: none; z-index: 1; }
.car__img--graphic::after { content: ''; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(0deg, rgba(0,0,0,.55), transparent); pointer-events: none; z-index: 2; }
.car__img-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.car__img-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(72px, 9vw, 124px); color: rgba(255,255,255,.05); letter-spacing: -0.04em; line-height: 1; user-select: none; z-index: 0; }
.car__altcount { color: var(--brand-bright); }

/* "Show more" / "Запросить все модели" button — single style, two variants */
.cat__more { margin-top: 32px; display: flex; justify-content: flex-end; }
.cat__more-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--t-hi); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; background: transparent; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.cat__more-btn:hover { border-color: var(--brand-bright); background: var(--brand-soft); color: #fff; }
.cat__more-btn svg { transition: transform .2s; }
.cat__more-btn--cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat__more-btn--cta:hover { background: var(--brand-bright); border-color: var(--brand-bright); color: #fff; }
.car__badge { position: absolute; top: 12px; left: 12px; background: rgba(10,10,12,.82); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: var(--r-pill); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-hi); border: 1px solid var(--line-2); }
.car__badge .dot { background: #4DE08E; margin-right: 6px; }
.car__wm { position: absolute; right: 10px; bottom: 10px; width: 22px; height: 22px; z-index: 3; opacity: 0.92; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); pointer-events: none; }
.car__body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car__brand { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-md); }
.car__model { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; color: var(--t-hi); }
.car__meta { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--t-md); }
.car__meta span { font-variant-numeric: tabular-nums; }
.car__variants { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--t-lo); border-top: 1px dashed var(--line); }

/* Catalog CTA strip (single "Узнать цену" block) */
.cat__cta { margin-top: 40px; padding: 32px 40px; border-radius: var(--r-lg); background: var(--grad-brand); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cat__cta-text { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; max-width: 600px; }
.cat__cta-sub { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 6px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; position: relative; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 24px 30px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-card); backdrop-filter: blur(6px); position: relative; }
.step__num { font-family: var(--f-display); font-weight: 700; font-size: 52px; line-height: 1; color: rgba(255,255,255,.3); }
.step__title { font-family: var(--f-display); font-weight: 700; font-size: 19px; margin-top: 14px; }
.step__txt { margin-top: 10px; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.75); }

/* Advantages */
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 900px) { .adv__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .adv__grid { grid-template-columns: 1fr; } }
.adv { padding: 28px 26px 32px; background: #fff; border: 1px solid rgba(14,14,16,.08); border-radius: var(--r-card); }
.adv__num { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--brand); letter-spacing: 0.08em; }
.adv__title { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin-top: 10px; color: var(--paper-ink); }
.adv__txt { margin-top: 10px; font-size: 14.5px; color: #4a4a52; line-height: 1.55; }

/* About */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.about__photo { aspect-ratio: 4/5; border-radius: var(--r-lg); background: linear-gradient(180deg, #2a2a36 0%, #14141c 100%); overflow: hidden; position: relative; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__ph-label { position: absolute; inset: auto 16px 16px 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: 0.08em; }
.about__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.about__lead { margin-top: 24px; font-size: 18px; color: var(--t-md); line-height: 1.55; }
.about__body { margin-top: 16px; font-size: 16px; color: var(--t-md); line-height: 1.6; }
.about__ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__title { font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.faq__item { border-top: 1px solid rgba(14,14,16,.12); padding: 22px 0; cursor: pointer; }
.faq__item:last-child { border-bottom: 1px solid rgba(14,14,16,.12); }
.faq__q { display: flex; justify-content: space-between; gap: 24px; align-items: center; font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--paper-ink); }
.faq__plus { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; background: var(--paper-ink); }
.faq__plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq__plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); transition: transform .25s ease; }
.faq__item[open] .faq__plus::after { transform: translateX(-50%) rotate(90deg); }
.faq__a { margin-top: 14px; font-size: 15px; line-height: 1.6; color: #4a4a52; max-width: 640px; }

/* Download strip */
.download { padding: 48px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .download { grid-template-columns: 1fr; padding: 32px; } }
.download__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; }
.download__sub { margin-top: 14px; color: var(--t-md); font-size: 16px; }
.download__right { display: flex; flex-direction: column; gap: 12px; }
.download__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(77,224,142,0.12); color: #4DE08E; border: 1px solid rgba(77,224,142,0.35); border-radius: var(--r-pill); font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.download__badge .dot { width: 6px; height: 6px; background: #4DE08E; border-radius: 50%; display: inline-block; }
.download__tbl { background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.8; color: var(--t-md); }
.download__tbl b { color: var(--t-hi); font-weight: 500; }

/* Final CTA / Form */
.cta__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
.cta__title { font-size: clamp(44px, 5.4vw, 80px); line-height: 0.98; }
.cta__lead { margin-top: 24px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 480px; }
.channels { margin-top: 36px; display: grid; gap: 14px; max-width: 480px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--r-card); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.channel:hover { background: rgba(255,255,255,.14); }
.channel__ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.channel--max .channel__ico {
  background:
    radial-gradient(circle at 30% 80%, rgba(0,0,255,0.35), transparent 60%),
    linear-gradient(135deg, #4cf 0%, #53e 60%, #93d 100%);
}
.channel__label { font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 0.1em; text-transform: uppercase; }
.channel__val { font-family: var(--f-display); font-weight: 500; font-size: 18px; }

.form { background: #fff; color: var(--paper-ink); border-radius: var(--r-lg); padding: 36px; }
.form h3 { font-family: var(--f-display); font-weight: 700; font-size: 24px; margin-bottom: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; color: #6c6c70; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field select, .field textarea { font-family: inherit; font-size: 15px; padding: 14px 16px; border: 1px solid rgba(14,14,16,.15); border-radius: 10px; background: #F8F7F2; color: var(--paper-ink); outline: none; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background: #fff; }
.form__submit { width: 100%; margin-top: 8px; padding: 16px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; transition: background .2s; }
.form__submit:hover { background: var(--brand-bright); }
.form__fine { margin-top: 12px; font-size: 12px; color: #80808a; line-height: 1.5; }

/* Footer */
.footer { background: #050507; padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__top > div:first-child { grid-column: auto; }
}
.footer__about { color: var(--t-md); font-size: 14px; line-height: 1.6; max-width: 380px; margin-top: 16px; }
.footer h4 { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t-lo); margin-bottom: 14px; font-weight: 500; }
.footer__links { display: grid; gap: 10px; font-size: 14px; color: var(--t-md); }
.footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: var(--t-lo); flex-wrap: wrap; gap: 12px; }

/* Mobile sticky CTA — canonical bottom-pin (iOS Safari 15.4+ / Chrome 108+ track visual viewport natively) */
.m-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,10,12,.95); backdrop-filter: blur(12px); border-top: 1px solid var(--line); gap: 10px; }
.m-cta .btn { flex: 1; justify-content: center; padding: 14px 12px; }
/* Hide m-cta when typing into form (prevents keyboard overlap on iOS) */
body:has(input:focus, textarea:focus) .m-cta { display: none; }
@media (max-width: 760px) {
  .m-cta { display: flex; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); padding-top: 56px; }
  .header { position: fixed; left: 0; right: 0; }
  .header__inner { height: 56px; }
  .mobile-menu { inset: 56px 0 0 0; }
  html { scroll-padding-top: 64px; }
}

/* Floating contact widget (FAB) */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab__top { width: 38px; height: 38px; border-radius: 50%; background: rgba(20,22,40,0.65); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .22s ease, transform .22s ease, background .2s, border-color .2s; }
.fab__top:hover { background: rgba(20,22,40,0.85); border-color: rgba(255,255,255,0.32); }
.fab.is-scrolled .fab__top { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab__list { display: flex; flex-direction: column; gap: 12px; align-items: center; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transform: translateY(8px) scale(0.96); transform-origin: bottom right; transition: max-height .25s ease, opacity .22s ease, transform .22s ease; }
.fab.is-open .fab__list { max-height: 320px; opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.fab__btn { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.18); transition: transform .15s ease, box-shadow .2s ease; overflow: hidden; }
.fab__btn:hover { transform: scale(1.08); box-shadow: 0 6px 14px rgba(0,0,0,0.28); }
.fab__btn img { display: block; border-radius: 50%; }
.fab__btn--max {
  background:
    radial-gradient(circle at 30% 80%, rgba(0,0,255,0.35), transparent 60%),
    linear-gradient(135deg, #4cf 0%, #53e 60%, #93d 100%);
}
.fab__btn--max img { width: 24px; height: 24px; }
.fab__btn--tg { background: #229ED9; }
.fab__btn--tg svg { width: 26px; height: 26px; }
.fab__btn--wa { background: #25D366; }
.fab__btn--wa svg { width: 24px; height: 24px; }
.fab__btn--ph { background: #1A1A1F; }
.fab__btn--ph svg { width: 24px; height: 24px; }
.fab__toggle { width: 60px; height: 60px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(255,255,255,0.22), 0 6px 16px rgba(0,0,0,0.3); cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; padding: 0; }
.fab__toggle:hover { background: var(--brand-bright); transform: scale(1.05); box-shadow: 0 0 0 3px rgba(255,255,255,0.32), 0 8px 20px rgba(0,0,0,0.4); }
.fab__icon--close { display: none; }
.fab.is-open .fab__icon--msg { display: none; }
.fab.is-open .fab__icon--close { display: block; }
@media (max-width: 760px) { .fab { right: 14px; bottom: 88px; } .fab__btn { width: 48px; height: 48px; } .fab__toggle { width: 56px; height: 56px; } }

