/* ============================================================
   АРТ-СТРОЙ — style.css
   Тёмно-синий + оранжевый акцент, гротеск Unbounded / Onest,
   технические метки IBM Plex Mono
   ============================================================ */

:root {
  --navy: #11232f;
  --navy-deep: #0c1a24;
  --orange: #ff5432;
  --orange-dark: #e8431f;
  --ink: #1c1c1a;
  --paper: #ede9e8;
  --paper-soft: #f4f1f0;
  --line-light: rgba(28, 28, 26, 0.12);
  --line-dark: rgba(237, 233, 232, 0.14);
  --font-display: "Unbounded", "Onest", sans-serif;
  --font-body: "Onest", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: var(--paper);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dark);
}
.btn-ghost {
  border: 1px solid var(--line-dark);
  color: var(--paper);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(237, 233, 232, 0.08);
}
.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ---------- Логотип ---------- */
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.logo .accent {
  color: var(--orange);
}
.logo--small {
  font-size: 14px;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease,
    border-color 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(12, 26, 36, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) {
  .header-inner {
    height: 80px;
  }
}
.header-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgb(237 233 232 / 0.8);
  transition: color 0.25s ease;
}
.header-nav a:hover {
  color: var(--paper);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  display: none;
  height: 44px;
  padding-inline: 20px;
}
.burger {
  height: 44px;
  width: 44px;
  padding: 0;
}
.burger .icon-close {
  display: none;
}
.burger.is-open .icon-menu {
  display: none;
}
.burger.is-open .icon-close {
  display: block;
}
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
  .header-phone {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
}

/* ---------- Мобильное меню ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--navy-deep);
  padding: 112px 24px 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.55s cubic-bezier(0.77, 0, 0.18, 1), visibility 0.55s;
}
.mobile-menu.is-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--paper);
  padding-block: 16px;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu .menu-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.mobile-menu.is-open .menu-item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.12s + var(--i, 0) * 0.06s);
}
.mobile-menu-hours {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgb(237 233 232 / 0.5);
}

/* ---------- Техническая метка ---------- */
.tech-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  white-space: nowrap;
  color: rgb(237 233 232 / 0.85);
}
.tech-label--light {
  border-color: var(--line-light);
  color: rgb(28 28 26 / 0.7);
}
.tech-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

/* ---------- Сетка чертежа ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 233, 232, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 233, 232, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 26, 36, 0.7),
    rgba(12, 26, 36, 0.35),
    #0c1a24
  );
}
.hero-bg .blueprint-grid {
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 128px;
  padding-bottom: 40px;
}
.hero-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-title {
  max-width: 1024px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.2vw, 4.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero-text {
  margin-top: 24px;
  max-width: 576px;
  font-size: 16px;
  line-height: 1.65;
  color: rgb(237 233 232 / 0.75);
}
@media (min-width: 768px) {
  .hero-text {
    font-size: 18px;
  }
}
.hero-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-dark);
}
.stat {
  padding-block: 24px;
  padding-right: 16px;
}
.stat + .stat {
  border-left: 1px solid var(--line-dark);
  padding-left: 20px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--paper);
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: rgb(237 233 232 / 0.55);
}
@media (min-width: 768px) {
  .stat + .stat {
    padding-left: 32px;
  }
  .stat-value {
    font-size: 36px;
  }
  .stat-label {
    font-size: 14px;
  }
}
@media (min-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Секции: общее ---------- */
.section-light {
  background: var(--paper);
  padding-block: 80px;
}
.section-soft {
  background: var(--paper-soft);
  padding-block: 80px;
}
.section-navy {
  background: var(--navy);
  color: var(--paper);
  padding-block: 80px;
}
.section-deep {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--paper);
  padding-block: 80px;
}
@media (min-width: 768px) {
  .section-light,
  .section-soft,
  .section-navy,
  .section-deep {
    padding-block: 112px;
  }
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .section-head {
    margin-bottom: 64px;
  }
}
.section-head-main .tech-label {
  margin-bottom: 20px;
}
.section-title {
  max-width: 768px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-note {
  max-width: 384px;
  font-size: 14px;
  line-height: 1.65;
  color: rgb(28 28 26 / 0.6);
}

/* ---------- Услуги ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.tile {
  position: relative;
  display: block;
  min-height: 320px;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}
.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
  will-change: transform;
}
.tile:hover .tile-img {
  transform: scale(1.06);
}
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 26, 36, 0.9),
    rgba(12, 26, 36, 0.25),
    rgba(12, 26, 36, 0.1)
  );
}
.tile-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: inherit;
  padding: 24px;
}
.tile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.tile-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgb(237 233 232 / 0.7);
}
.tile-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgb(237 233 232 / 0.3);
  color: var(--paper);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.tile:hover .tile-arrow {
  transform: translate(4px, -4px);
  background: var(--orange);
  border-color: var(--orange);
}
.tile-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}
.tile-desc {
  margin-top: 12px;
  max-width: 448px;
  font-size: 14px;
  line-height: 1.6;
  color: rgb(237 233 232 / 0.7);
}
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tile {
    min-height: 380px;
  }
  .tile-body {
    padding: 32px;
  }
  .tile-title {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .tile {
    grid-column: span 2;
  }
  .tile--wide {
    grid-column: span 3;
  }
}
.services-hint {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: rgb(28 28 26 / 0.55);
}
.services-hint-phone {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- О компании ---------- */
.about .tech-label {
  margin-bottom: 24px;
}
.about-title {
  max-width: 896px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.about-grid {
  margin-top: 40px;
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .about-grid {
    margin-top: 64px;
    grid-template-columns: 5fr 7fr;
  }
}
.about-img-wrap {
  overflow: hidden;
  border-radius: 16px;
}
@media (min-width: 1024px) {
  .about-img-wrap {
    position: sticky;
    top: 112px;
  }
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-text {
  max-width: 672px;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(237 233 232 / 0.75);
}
@media (min-width: 768px) {
  .about-text {
    font-size: 18px;
  }
}
.about-points {
  margin-top: 40px;
}
.point {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line-dark);
  padding-block: 24px;
}
.point-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--orange);
}
.point-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}
.point-text {
  font-size: 14px;
  line-height: 1.65;
  color: rgb(237 233 232 / 0.65);
}
@media (min-width: 768px) {
  .point {
    grid-template-columns: 56px 1fr 1.4fr;
    align-items: baseline;
    gap: 24px;
  }
  .point-title {
    font-size: 18px;
  }
}

/* ---------- Проекты ---------- */
.projects-grid {
  display: grid;
  gap: 40px;
}
.project-img-wrap {
  overflow: hidden;
  border-radius: 16px;
}
.project-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.project:hover .project-img-wrap img {
  transform: scale(1.04);
}
.project-caption {
  margin-top: 20px;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
}
.project-title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.project-meta {
  margin-top: 6px;
  font-size: 14px;
  color: rgb(28 28 26 / 0.55);
}
@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .project--offset {
    margin-top: 56px;
  }
  .project-title {
    font-size: 20px;
  }
}

/* ---------- Этапы ---------- */
.steps-grid {
  display: grid;
  gap: 32px;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--orange);
}
.step-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.step-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: rgb(28 28 26 / 0.6);
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .step-num {
    font-size: 48px;
  }
  .step-title {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.process-cta {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  background: var(--navy);
  padding: 28px;
}
@media (min-width: 768px) {
  .process-cta {
    padding: 36px;
  }
}
.process-cta-text {
  flex: 1;
  min-width: 240px;
}
.process-cta-text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}
@media (min-width: 768px) {
  .process-cta-text h3 {
    font-size: 24px;
  }
}
.process-cta-text p {
  margin-top: 8px;
  font-size: 14px;
  color: rgb(237 233 232 / 0.65);
}

/* ---------- Контакты ---------- */
.contacts .blueprint-grid {
  position: absolute;
}
.contacts .container {
  position: relative;
  z-index: 1;
}
.contacts .tech-label {
  margin-bottom: 24px;
}
.contacts-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contacts-text {
  margin-top: 20px;
  max-width: 576px;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(237 233 232 / 0.7);
}
.contacts-phone {
  margin-top: 40px;
}
.contacts-phone-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.contacts-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: transform 0.3s ease;
}
@media (min-width: 768px) {
  .contacts-phone-icon {
    width: 64px;
    height: 64px;
  }
}
.contacts-phone-link:hover .contacts-phone-icon {
  transform: scale(1.1);
}
.contacts-phone-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  transition: color 0.25s ease;
}
.contacts-phone-link:hover .contacts-phone-num {
  color: var(--orange);
}
.contacts-cards {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: var(--line-dark);
}
.contact-card {
  background: var(--navy-deep);
  padding: 28px;
}
@media (min-width: 768px) {
  .contacts-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-card {
    padding: 32px;
  }
}
.contact-card-label {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(237 233 232 / 0.5);
}
.contact-card-value {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(237 233 232 / 0.85);
}
@media (min-width: 768px) {
  .contact-card-value {
    font-size: 16px;
  }
}
.contact-card-phone {
  font-weight: 600;
}
.dim {
  color: rgb(237 233 232 / 0.55);
}

/* ---------- Подвал ---------- */
.footer {
  background: var(--navy-deep);
  color: var(--paper);
}
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-dark);
  padding-block: 20px;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 32px;
  animation: marquee 28s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: rgb(237 233 232 / 0.2);
}
@media (min-width: 768px) {
  .marquee-item {
    font-size: 30px;
  }
}
.marquee-item i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(255 84 50 / 0.5);
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(237 233 232 / 0.45);
}
.footer-phone {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
}
.footer-note {
  margin-top: 8px;
  font-size: 14px;
  color: rgb(237 233 232 / 0.55);
}
.footer-text {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: rgb(237 233 232 / 0.85);
}
.footer-text svg {
  flex: none;
  margin-top: 3px;
}
.footer-nav {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  width: fit-content;
  font-size: 14px;
  color: rgb(237 233 232 / 0.75);
  transition: color 0.25s ease;
}
.footer-nav a:hover {
  color: var(--paper);
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-block: 24px;
  font-size: 12px;
  color: rgb(237 233 232 / 0.45);
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-motto {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 50;
  transform: translateY(calc(100% + 32px));
  transition: transform 0.6s var(--ease-out);
}
.cookie-banner.is-shown {
  transform: translateY(0);
}
@media (min-width: 768px) {
  .cookie-banner {
    inset-inline: auto;
    right: 24px;
    bottom: 24px;
    max-width: 448px;
  }
}
.cookie-card {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgb(12 26 36 / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .cookie-card {
    padding: 24px;
  }
}
.cookie-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cookie-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgb(255 84 50 / 0.15);
  color: var(--orange);
}
.cookie-text {
  min-width: 0;
  flex: 1;
}
.cookie-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
}
.cookie-desc {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: rgb(237 233 232 / 0.6);
}
.cookie-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgb(237 233 232 / 0.5);
  transition: color 0.25s ease, background-color 0.25s ease;
}
.cookie-close:hover {
  background: rgb(237 233 232 / 0.1);
  color: var(--paper);
}
.cookie-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}
.cookie-btn {
  flex: 1;
  height: 44px;
}

/* ---------- Подчёркивание-ссылка ---------- */
.u-link {
  position: relative;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.u-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ============================================================
   Анимации появления (управляются из js/main.js)
   Контент виден и без JS — классы добавляются прогрессивно
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.js .word-mask > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: transform;
}
.js .is-visible .word-mask > span {
  transform: translateY(0);
}
.word-accent {
  color: var(--orange);
}

.js .img-settle {
  transform: scale(1.12);
  transition: transform 1.6s var(--ease-out);
  will-change: transform;
}
.js .is-visible .img-settle,
.js .img-settle.is-visible {
  transform: scale(1);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal],
  .js .word-mask > span,
  .js .img-settle,
  .mobile-menu,
  .cookie-banner {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js .word-mask > span,
  .js .img-settle {
    transform: none;
  }
  .marquee-track {
    animation: none;
  }
}
