﻿:root {
  --black: #080808;
  --ink: #111111;
  --panel: #171717;
  --panel-soft: #202020;
  --white: #f2eee6;
  --muted: #9a9690;
  --line: rgba(242, 238, 230, 0.12);
  --line-strong: rgba(242, 238, 230, 0.22);
  --paper: #e7dfd1;
  --paper-soft: #cfc5b7;
  --brand-blue: #3B6684;
  --accent: #3B6684;
  --red: #2b4f68;
  --steel: #6f7472;
  --max: 1180px;
  --header: 78px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --font: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body.modal-open,
body.is-loading {
  overflow: hidden;
}

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

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

button {
  border: 0;
  color: inherit;
  font: inherit;
}

section {
  position: relative;
  scroll-margin-top: 92px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--black);
  background: var(--accent);
  border-radius: 999px;
  transition: transform 240ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1800;
  pointer-events: none;
  opacity: 0.13;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    repeating-linear-gradient(90deg, transparent 0, transparent calc(12.5% - 1px), rgba(242, 238, 230, 0.065) calc(12.5% - 1px), rgba(242, 238, 230, 0.065) 12.5%),
    repeating-linear-gradient(180deg, rgba(242, 238, 230, 0.04) 0, rgba(242, 238, 230, 0.04) 1px, transparent 1px, transparent 86px);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--black);
  transition: opacity 700ms ease, visibility 0ms linear 700ms;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__brand {
  position: absolute;
  left: 38px;
  bottom: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(242, 238, 230, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.preloader__brand img {
  width: 32px;
  height: 32px;
}

.preloader__line {
  width: min(58vw, 660px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform-origin: left;
  animation: loaderLine 1.2s var(--ease) infinite alternate;
}

.preloader strong {
  position: absolute;
  right: 38px;
  bottom: 28px;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 0 40px;
  color: var(--white);
  background: rgba(8, 8, 8, 0.5);
  border-bottom: 1px solid rgba(242, 238, 230, 0.08);
  backdrop-filter: blur(18px);
  transition: background 260ms ease, transform 360ms var(--ease), border-color 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.9);
  border-color: rgba(59, 102, 132, 0.35);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
}

.brand strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: rgba(242, 238, 230, 0.58);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-header > p {
  margin: 0;
  color: rgba(242, 238, 230, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-badge {
  position: fixed;
  right: 0;
  top: 44%;
  z-index: 1200;
  display: grid;
  place-items: center;
  width: 56px;
  height: 176px;
  color: var(--black);
  background: var(--white);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.side-badge strong {
  font-size: 1.1rem;
}

.side-badge span {
  font-size: 0.66rem;
  font-weight: 900;
}

.kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header) + 70px) 40px 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.48) 54%, rgba(8, 8, 8, 0.88)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.96), transparent 58%);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--black);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.image-label,
.modal-image-label {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  color: var(--black);
  background: var(--accent);
  border: 1px solid rgba(8, 8, 8, 0.18);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.image-label--hero {
  top: calc(var(--header) + 22px);
  right: 40px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding-bottom: 48px;
}

.hero h1 {
  max-width: 930px;
  margin: 30px 0 0;
  font-size: 5.5rem;
  font-weight: 850;
  line-height: 1.02;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.word-mask > span {
  display: inline-block;
}

.accent-word {
  color: var(--accent);
}

.hero__content > p:not(.kicker) {
  max-width: 690px;
  margin: 30px 0 0 96px;
  color: rgba(242, 238, 230, 0.66);
  font-size: 1.06rem;
  font-weight: 600;
}

.hero__actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  margin-left: 96px;
  background: none;
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: transform 260ms var(--ease), background 220ms ease, color 220ms ease, border-color 220ms ease;
}

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

.btn--accent {
  color: var(--black);
  background: var(--accent);
}

.btn--accent:hover {
  background: var(--white);
}

.btn--ghost {
  color: var(--white);
  border-color: rgba(242, 238, 230, 0.2);
  background: rgba(242, 238, 230, 0.04);
}

.btn--ghost:hover {
  border-color: rgba(59, 102, 132, 0.72);
  color: var(--accent);
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.42);
  backdrop-filter: blur(12px);
  margin: 0 -40px;
}

.hero__stats article {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.hero__stats article:last-child {
  border-right: 0;
}

.hero__stats strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
}

.hero__stats span {
  display: block;
  max-width: 270px;
  margin-top: 10px;
  color: rgba(242, 238, 230, 0.56);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.manifesto,
.services,
.projects,
.operations,
.contact {
  position: relative;
  z-index: 2;
}

.manifesto {
  min-height: 88svh;
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 56px;
  align-items: center;
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  padding: 130px 0;
}

.manifesto__side p:last-child,
.contact > p:not(.kicker) {
  color: rgba(242, 238, 230, 0.64);
  font-size: 1.04rem;
  font-weight: 600;
}

.manifesto__side p:last-child {
  max-width: 320px;
  margin: 28px 0 0;
}

.manifesto h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: 4.7rem;
  font-weight: 850;
  line-height: 1.04;
}

.section-heading {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 56px;
  align-items: start;
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2 {
  max-width: 820px;
}

.services,
.projects,
.operations {
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.services {
  overflow: hidden;
}

.service-list {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.service-card {
  grid-column: span 6;
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.media-slot {
  position: relative;
  overflow: hidden;
}

.media-slot .image-label {
  top: 14px;
  left: 14px;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 4;
}

.service-card:nth-child(6) {
  grid-column: span 4;
}

.service-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 700ms var(--ease), opacity 700ms ease;
}

.service-card:hover img {
  transform: scale(1.05);
  opacity: 0.86;
}

.service-card > span {
  display: block;
  margin: 26px 26px 0;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
}

.service-card h3 {
  margin: 54px 26px 0;
  font-size: 2.45rem;
  font-weight: 850;
  line-height: 1;
}

.service-card p {
  max-width: 520px;
  margin: 20px 26px 30px;
  color: rgba(242, 238, 230, 0.62);
  font-weight: 600;
}

.project-grid {
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 16px;
}

.project-card {
  position: relative;
  grid-column: span 4;
  grid-row: span 3;
  min-height: 0;
  padding: 26px;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    var(--panel);
  cursor: pointer;
  transition: transform 320ms var(--ease), border-color 240ms ease;
}

.project-card--large {
  grid-column: span 8;
  grid-row: span 4;
}

.project-card--wide {
  grid-column: span 8;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  opacity: 0.82;
  transition: transform 760ms var(--ease), opacity 320ms ease;
}

.project-card .image-label {
  top: 18px;
  right: 18px;
  z-index: 4;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(59, 102, 132, 0.22), transparent 46%);
  transition: opacity 300ms ease;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.84)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.82), transparent 70%);
}

.project-card:hover,
.project-card:focus-visible {
  border-color: rgba(59, 102, 132, 0.62);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.08);
  opacity: 1;
}

.project-card span {
  position: relative;
  z-index: 2;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-card strong {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 26px;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.05;
}

.contact {
  min-height: 92svh;
  display: grid;
  place-items: center;
  padding: 112px 40px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(43, 79, 104, 0.18), transparent 38%, rgba(59, 102, 132, 0.18)),
    var(--black);
}

.contact h2 {
  width: min(100%, 990px);
  max-width: 990px;
  margin: 24px auto 0;
}

.contact > p:not(.kicker) {
  width: min(100%, 660px);
  max-width: 660px;
  margin: 30px auto 0;
}

.contact-actions {
  justify-content: center;
  margin-left: 0;
  max-width: 100%;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.social-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(242, 238, 230, 0.68);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.social-links a:hover {
  color: var(--accent);
  border-color: rgba(59, 102, 132, 0.66);
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  padding: 64px max(40px, calc((100vw - var(--max)) / 2)) 30px;
  color: var(--white);
  background: var(--black);
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer p,
.site-footer address {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(242, 238, 230, 0.58);
  font-style: normal;
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: rgba(242, 238, 230, 0.36);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 0ms linear 260ms;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0ms;
}

.modal-panel {
  position: relative;
  width: min(100%, 1080px);
  max-height: calc(100svh - 48px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: auto;
  background: var(--black);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.modal-image-label {
  top: 18px;
  left: 18px;
}

.modal-panel img {
  width: 100%;
  min-height: 620px;
  height: 100%;
  object-fit: cover;
}

.modal-copy {
  display: grid;
  align-content: end;
  padding: 34px;
}

.modal-copy p {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.modal-copy span {
  margin-top: 22px;
  color: rgba(242, 238, 230, 0.64);
}

.modal-close {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--black);
  background: var(--white);
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

[data-reveal] {
  opacity: 1;
  background-color: transparent;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  background-color: transparent;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms var(--ease);
}

@keyframes loaderLine {
  from {
    transform: scaleX(0.25);
    opacity: 0.35;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .hero h1,
  .manifesto h2,
  .section-heading h2,
  .contact h2 {
    font-size: 4.15rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 22px;
  }

  .site-header > p,
  .side-badge {
    display: none;
  }

  .hero {
    padding: 110px 22px 0;
  }

  .hero__content {
    padding-bottom: 36px;
  }

  .hero__content > p:not(.kicker),
  .hero__actions {
    margin-left: 0;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    margin: 34px -22px 0;
  }

  .hero__stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .manifesto,
  .section-heading,
  .site-footer,
  .modal-panel {
    grid-template-columns: 1fr;
  }

  .manifesto,
  .section-heading,
  .service-list,
  .project-grid {
    width: min(calc(100% - 44px), var(--max));
  }

  .service-list,
  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .service-card:nth-child(n),
  .project-card,
  .project-card--large,
  .project-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card {
    min-height: 360px;
  }

  .footer-bottom {
    display: grid;
  }

  .modal-panel img {
    min-height: 320px;
  }
}



@media (max-width: 768px) {
  .service-track,
  .operations-viewport {
    overflow: visible;
  }

  .service-list,
  .operations-track {
    width: min(calc(100% - 44px), var(--max));
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 18px;
  }

  .service-card,
  .operation-slide {
    flex: none;
    width: 100%;
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-rows: auto auto auto auto;
  }

  .service-card .media-slot {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    height: 240px;
    min-height: 240px;
  }

  .service-card .media-slot::after {
    inset: auto 0 0;
    width: 100%;
    height: 36%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.86), transparent);
  }

  .service-card img {
    min-height: 240px;
    height: 240px;
  }

  .service-card h3,
  .service-card p,
  .service-specs {
    grid-column: 1;
    margin-left: 22px;
    margin-right: 22px;
  }

  .service-card h3 {
    grid-row: 2;
    margin-top: 26px;
  }

  .service-card p {
    grid-row: 3;
    margin-bottom: 16px;
  }

  .service-specs {
    grid-row: 4;
    margin-bottom: 28px;
  }

  .operation-slide__media {
    min-height: 240px;
    height: 240px;
  }

  .operation-slide__media::after {
    inset: auto 0 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.72), transparent);
  }

  .operation-slide__media img {
    min-height: 240px;
    height: 240px;
  }

  .operation-slide__copy {
    min-height: auto;
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .preloader strong {
    right: 22px;
    bottom: 24px;
    font-size: 3rem;
  }

  .preloader__brand {
    left: 22px;
  }

  .hero h1,
  .manifesto h2,
  .section-heading h2,
  .contact h2 {
    font-size: 2.75rem;
  }

  .hero__actions,
  .contact-actions,
  .btn {
    width: 100%;
  }

  .manifesto,
  .services,
  .projects,
  .process,
  .contact {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .contact {
    padding-left: 22px;
    padding-right: 22px;
  }

  .contact .btn {
    min-width: 0;
    max-width: 100%;
    min-height: 58px;
    padding-top: 12px;
    padding-bottom: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.15;
    text-align: center;
  }

  .social-links {
    max-width: 100%;
  }

  .service-card {
    min-height: auto;
  }

  .service-card img {
    height: 220px;
  }

  .image-label,
  .modal-image-label {
    min-height: 26px;
    padding: 7px 9px;
    font-size: 0.6rem;
  }

  .image-label--hero {
    top: calc(var(--header) + 70px);
    right: 22px;
  }

  .service-card h3 {
    margin-top: 34px;
    font-size: 2rem;
  }

  .project-card strong {
    font-size: 1.55rem;
  }

  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .modal-copy h2 {
    font-size: 2rem;
  }
}

@media (max-width: 390px) {
  .hero h1,
  .manifesto h2,
  .section-heading h2,
  .contact h2 {
    font-size: 2.35rem;
  }
}

/* DDT premium refresh */
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-actions > p {
  margin: 0;
  color: rgba(242, 238, 230, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icons a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(242, 238, 230, 0.74);
  border: 1px solid rgba(242, 238, 230, 0.14);
  border-radius: 50%;
  background: rgba(242, 238, 230, 0.035);
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 260ms var(--ease);
}

.social-icons a:hover {
  color: var(--white);
  border-color: rgba(59, 102, 132, 0.72);
  background: rgba(59, 102, 132, 0.24);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.hero__stats {
  gap: 0;
  border: 0;
  border-top: 1px solid rgba(242, 238, 230, 0.18);
  border-bottom: 1px solid rgba(242, 238, 230, 0.12);
  background:
    linear-gradient(90deg, rgba(59, 102, 132, 0.16), rgba(8, 8, 8, 0.34) 36%, rgba(8, 8, 8, 0.66)),
    rgba(8, 8, 8, 0.34);
  box-shadow: 0 -24px 80px rgba(0, 0, 0, 0.24);
}

.hero__stats article {
  position: relative;
  min-height: 172px;
  padding: 24px 30px 26px;
  border-right: 1px solid rgba(242, 238, 230, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 72%),
    linear-gradient(135deg, rgba(59, 102, 132, 0.1), transparent 54%);
}

.hero__stats article::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 52px;
  height: 2px;
  background: var(--accent);
}

.hero__stats strong {
  max-width: 380px;
  color: var(--white);
  font-size: clamp(2.15rem, 4vw, 4.6rem);
  font-weight: 820;
  letter-spacing: 0;
}

.hero__stats article:nth-child(n + 2) strong {
  font-size: clamp(1.6rem, 2.25vw, 2.7rem);
  line-height: 1.05;
}

.hero__stats span {
  max-width: 360px;
  color: rgba(242, 238, 230, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.hero__stats p {
  max-width: 390px;
  margin: 14px 0 0;
  color: rgba(242, 238, 230, 0.56);
  font-size: 0.92rem;
  font-weight: 550;
  line-height: 1.45;
}

.services,
.operations {
  border-top: 1px solid var(--line);
}

.services,
.operations {
  padding-top: 72px;
  padding-bottom: 48px;
}

.services .section-heading,
.operations .section-heading {
  margin-bottom: 34px;
}

.services .section-heading h2,
.operations .section-heading h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  line-height: 1.02;
}

.service-track,
.operations-viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  height: clamp(300px, calc(100svh - var(--header) - 72px - 160px - 34px - 48px), 560px);
  min-height: 0;
}

.service-track::-webkit-scrollbar,
.operations-viewport::-webkit-scrollbar {
  display: none;
}

.gsap-ready .service-track,
.gsap-ready .operations-viewport {
  overflow-x: hidden;
  overflow-y: visible;
}

.service-list {
  width: max-content;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0 40px 16px;
  padding-right: 40px;
  display: flex;
  align-items: stretch;
  grid-template-columns: none;
  gap: 24px;
  will-change: transform;
}

.service-card {
  position: relative;
  flex: 0 0 min(calc(100vw - 80px), 860px);
  width: min(calc(100vw - 80px), 860px);
  height: clamp(300px, calc(100svh - var(--header) - 72px - 160px - 34px - 48px), 560px);
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 230, 0.14);
  background: #101010;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(59, 102, 132, 0.10), transparent 38%);
}

.service-card .media-slot {
  grid-column: 1;
  grid-row: 1 / -1;
  height: 100%;
  min-height: 0;
}

.service-card .media-slot::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(8, 8, 8, 0.72));
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.86) contrast(1.08);
}

.service-card h3,
.service-card p,
.service-specs {
  position: relative;
  z-index: 2;
  grid-column: 2;
  margin-left: 32px;
  margin-right: 32px;
}

.service-card h3 {
  grid-row: 1;
  align-self: end;
  margin-top: 36px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.4rem, 2.1vw, 2.4rem);
  line-height: 1.05;
}

.service-card p {
  grid-row: 2;
  max-width: 380px;
  margin-top: 14px;
  margin-bottom: 0;
  color: rgba(242, 238, 230, 0.68);
  font-size: 0.9rem;
  line-height: 1.52;
}

.service-specs {
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 36px;
  align-self: start;
}

.service-specs small,
.micro-details span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  color: rgba(242, 238, 230, 0.72);
  border: 1px solid rgba(242, 238, 230, 0.14);
  background: rgba(8, 8, 8, 0.34);
  font-size: 0.64rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.operations {
  background:
    radial-gradient(circle at 74% 18%, rgba(59, 102, 132, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    var(--black);
}

.operations-track {
  display: flex;
  align-items: stretch;
  height: 100%;
  width: max-content;
  gap: 24px;
  padding: 0 40px 18px;
  will-change: transform;
}

.operation-slide {
  position: relative;
  flex: 0 0 min(calc(100vw - 80px), 860px);
  height: clamp(300px, calc(100svh - var(--header) - 72px - 160px - 34px - 48px), 560px);
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 230, 0.13);
  background: #101010;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.operation-slide__media {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.operation-slide__media::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(8, 8, 8, 0.52));
}

.operation-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.08);
}

.operation-slide__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 36px 40px 36px 32px;
  background:
    linear-gradient(180deg, rgba(59, 102, 132, 0.14), transparent 44%),
    rgba(8, 8, 8, 0.78);
}

.operation-slide__copy .kicker {
  margin-top: 0;
}

.operation-slide__copy h3 {
  max-width: 440px;
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 2.3vw, 2.6rem);
  font-weight: 850;
  line-height: 1.06;
}

.operation-slide__copy > p:not(.kicker) {
  max-width: 360px;
  margin: 12px 0 0;
  color: rgba(242, 238, 230, 0.62);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.52;
}

.micro-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 0;
}

.operation-process {
  --operation-progress: 0;
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.operation-process__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(242, 238, 230, 0.13);
  background:
    linear-gradient(90deg, rgba(59, 102, 132, 0.12), transparent 42%),
    rgba(8, 8, 8, 0.54);
}

.operation-process__rail::before,
.operation-process__rail::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 64px;
  top: 58px;
  height: 2px;
  pointer-events: none;
}

.operation-process__rail::before {
  background: rgba(242, 238, 230, 0.13);
}

.operation-process__rail::after {
  background: var(--accent);
  box-shadow: 0 0 28px rgba(59, 102, 132, 0.5);
  transform: scaleX(var(--operation-progress));
  transform-origin: left center;
  transition: transform 420ms var(--ease);
}

.operation-step {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px 16px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background 260ms ease, color 260ms ease, transform 260ms var(--ease);
}

.operation-step:hover {
  background: rgba(242, 238, 230, 0.045);
}

.operation-step.is-active {
  background:
    linear-gradient(180deg, rgba(59, 102, 132, 0.24), rgba(59, 102, 132, 0.06)),
    rgba(242, 238, 230, 0.035);
}

.operation-step__number {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 238, 230, 0.72);
  border: 1px solid rgba(242, 238, 230, 0.2);
  background: var(--black);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  transition: background 260ms ease, border-color 260ms ease, color 260ms ease;
}

.operation-step.is-active .operation-step__number {
  color: var(--black);
  border-color: var(--accent);
  background: var(--accent);
}

.operation-step__body {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.operation-step__body strong {
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1.08;
}

.operation-step__body small {
  color: rgba(242, 238, 230, 0.56);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.operation-process__stage {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  overflow: hidden;
  border: 1px solid rgba(242, 238, 230, 0.13);
  background:
    linear-gradient(135deg, rgba(59, 102, 132, 0.16), transparent 48%),
    #101010;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.34);
}

.operation-process__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--black);
}

.operation-process__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgba(8, 8, 8, 0.74)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.7), transparent 44%);
  pointer-events: none;
}

.operation-process__media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.08);
  transform: scale(1.02);
  transition: opacity 280ms ease, transform 640ms var(--ease);
}

.operation-process__media img.is-changing {
  opacity: 0;
  transform: scale(1.055);
}

.operation-process__media .image-label {
  top: 24px;
  left: 24px;
}

.operation-process__signal {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 10px 13px;
  color: rgba(242, 238, 230, 0.82);
  border: 1px solid rgba(242, 238, 230, 0.14);
  background: rgba(8, 8, 8, 0.64);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.operation-process__signal span {
  width: 9px;
  height: 9px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(59, 102, 132, 0.9);
}

.operation-process__panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.2vw, 56px);
  background:
    radial-gradient(circle at 85% 18%, rgba(59, 102, 132, 0.2), transparent 34%),
    rgba(8, 8, 8, 0.72);
  transition: opacity 220ms ease, transform 320ms var(--ease);
}

.operation-process__panel.is-changing {
  opacity: 0;
  transform: translateY(10px);
}

.operation-process__panel .kicker {
  margin-top: 0;
}

.operation-process__panel h3 {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1.02;
}

.operation-process__panel > p:not(.kicker) {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(242, 238, 230, 0.66);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
}

.operation-process__output {
  max-width: 520px;
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(242, 238, 230, 0.055);
}

.operation-process__output span {
  display: block;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.operation-process__output strong {
  display: block;
  margin-top: 9px;
  color: rgba(242, 238, 230, 0.84);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.45;
}

.operation-process__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(242, 238, 230, 0.12);
  background:
    linear-gradient(90deg, rgba(59, 102, 132, 0.12), transparent 34%),
    rgba(8, 8, 8, 0.42);
}

.operation-process__metrics div {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid rgba(242, 238, 230, 0.1);
}

.operation-process__metrics div:last-child {
  border-right: 0;
}

.operation-process__metrics span,
.operation-process__metrics strong {
  display: block;
}

.operation-process__metrics span {
  color: var(--white);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 950;
  line-height: 1;
}

.operation-process__metrics strong {
  max-width: 330px;
  margin-top: 12px;
  color: rgba(242, 238, 230, 0.6);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.45;
}

.contact.finale {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 130px max(28px, calc((100vw - var(--max)) / 2)) 120px;
  overflow: hidden;
  text-align: left;
  background: var(--black);
}

.finale__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.finale__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.96), rgba(8, 8, 8, 0.54) 58%, rgba(8, 8, 8, 0.92)),
    linear-gradient(0deg, rgba(8, 8, 8, 0.96), transparent 56%),
    radial-gradient(circle at 70% 45%, rgba(59, 102, 132, 0.2), transparent 34%);
}

.finale__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(0.7) contrast(1.18);
  transform: scale(1.06);
}

.finale__content {
  position: relative;
  z-index: 2;
  width: min(100%, 1160px);
}

.contact.finale h2 {
  width: min(100%, 920px);
  max-width: 920px;
  margin: 22px 0 0;
  font-size: clamp(2.8rem, 6.5vw, 6.2rem);
  font-weight: 900;
  line-height: 1.0;
}

/* .finale-links replaced by .finale-contacts */

.finale-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 2;
  display: flex;
  gap: 0;
  width: max-content;
  color: rgba(242, 238, 230, 0.32);
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
  animation: finaleMarquee 26s linear infinite;
}

.finale-marquee div {
  display: flex;
  gap: 34px;
  padding-right: 34px;
}

.finale-marquee span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 34px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.1em;
}

.social-icons--footer {
  margin-top: 24px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-links a {
  color: rgba(242, 238, 230, 0.5);
  transition: color 220ms ease;
}

.legal-links a:hover {
  color: var(--white);
}

.privacy-main {
  position: relative;
  z-index: 2;
  padding: calc(var(--header) + 86px) max(22px, calc((100vw - var(--max)) / 2)) 100px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 14%, rgba(59, 102, 132, 0.28), transparent 30%),
    var(--black);
}

.privacy-hero {
  min-height: 48svh;
  display: grid;
  align-content: end;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--line);
}

.privacy-hero h1 {
  max-width: 980px;
  margin: 24px 0 0;
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 900;
  line-height: 0.94;
}

.privacy-hero p:not(.kicker),
.privacy-section p,
.privacy-section li {
  color: rgba(242, 238, 230, 0.66);
  font-weight: 600;
}

.privacy-hero p:not(.kicker) {
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 1.05rem;
}

.privacy-content {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 56px;
  padding-top: 64px;
}

.privacy-aside {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.privacy-aside a {
  color: rgba(242, 238, 230, 0.58);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.privacy-aside a:hover {
  color: var(--white);
}

.privacy-sections {
  display: grid;
  gap: 42px;
}

.privacy-section {
  padding: 0 0 42px;
  border-bottom: 1px solid rgba(242, 238, 230, 0.1);
}

.privacy-section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.privacy-section p,
.privacy-section ul {
  max-width: 820px;
  margin: 14px 0 0;
}

.privacy-section ul {
  padding-left: 20px;
}

.privacy-section li + li {
  margin-top: 10px;
}

.privacy-note {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 14px;
  color: rgba(242, 238, 230, 0.7);
  border: 1px solid rgba(242, 238, 230, 0.12);
  background: rgba(242, 238, 230, 0.04);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

@keyframes finaleMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1120px) {
  /* Keep horizontal scroll active down to 901px — just tighten card sizing */
  .service-card {
    flex: 0 0 min(88vw, 780px);
    width: min(88vw, 780px);
  }

  .operation-slide {
    flex: 0 0 min(88vw, 780px);
  }
}

@media (max-width: 900px) {
  .header-actions > p {
    display: none;
  }

  .social-icons--header a {
    width: 34px;
    height: 34px;
  }

  .hero__stats {
    display: grid;
    gap: 0;
  }

  .hero__stats article {
    min-height: 150px;
  }

  /* ---- Disable horizontal scroll on mobile: stack cards vertically ---- */
  .service-track,
  .operations-viewport {
    overflow: visible;
    width: 100%;
    min-height: 0;
  }

  .service-list,
  .operations-track {
    display: grid;
    grid-template-columns: 1fr;
    width: min(calc(100% - 44px), var(--max));
    max-width: none;
    margin: 0 auto;
    padding: 0;
    gap: 20px;
    will-change: auto;
  }

  /* Reset card to vertical layout */
  .service-card {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .service-card::before {
    background:
      linear-gradient(0deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.22) 72%),
      linear-gradient(120deg, rgba(59, 102, 132, 0.18), transparent 50%);
  }

  .service-card .media-slot {
    grid-column: 1;
    grid-row: 1;
    height: 240px;
    min-height: 240px;
  }

  .service-card .media-slot::after {
    inset: auto 0 0;
    width: 100%;
    height: 36%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.86), transparent);
  }

  .service-card img {
    height: 240px;
    min-height: 240px;
  }

  .service-card h3,
  .service-card p,
  .service-specs {
    grid-column: 1;
    margin-left: 24px;
    margin-right: 24px;
  }

  .service-card h3 {
    grid-row: 2;
    margin-top: 24px;
    font-size: 1.9rem;
  }

  .service-card p {
    grid-row: 3;
    margin-top: 12px;
  }

  .service-specs {
    grid-row: 4;
    margin-bottom: 28px;
  }

  /* Reset operation-slide to vertical layout */
  .operation-slide {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .operation-slide__media {
    min-height: 240px;
    height: 240px;
  }

  .operation-slide__media::after {
    inset: auto 0 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(0deg, rgba(8, 8, 8, 0.72), transparent);
  }

  .operation-slide__media img {
    height: 240px;
  }

  .operation-slide__copy {
    min-height: auto;
    padding: 28px 24px 32px;
  }

  .operation-process {
    width: min(calc(100% - 44px), var(--max));
  }

  .operation-process__rail {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .operation-process__rail::before,
  .operation-process__rail::after {
    top: 42px;
    bottom: 42px;
    left: 38px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .operation-process__rail::after {
    transform: scaleY(var(--operation-progress));
    transform-origin: center top;
    transition: transform 420ms var(--ease);
  }

  .operation-step {
    min-height: 88px;
    padding: 14px 14px 14px 58px;
  }

  .operation-step__number {
    position: absolute;
    left: 0;
    top: 14px;
    width: 48px;
    height: 48px;
  }

  .operation-process__stage {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .operation-process__media {
    min-height: 300px;
    height: 42svh;
  }

  .operation-process__media::after {
    background:
      linear-gradient(0deg, rgba(8, 8, 8, 0.76), transparent 46%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.25), transparent);
  }

  .operation-process__media img {
    min-height: 300px;
  }

  .operation-process__panel {
    padding: 30px 24px 34px;
  }

  .operation-process__metrics {
    grid-template-columns: 1fr;
  }

  .operation-process__metrics div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(242, 238, 230, 0.1);
  }

  .operation-process__metrics div:last-child {
    border-bottom: 0;
  }

  /* Re-show sections that were hidden by gsap-ready */
  .gsap-ready .service-track,
  .gsap-ready .operations-viewport {
    overflow: visible;
    min-height: 0;
  }

  .privacy-content {
    grid-template-columns: 1fr;
  }

  .privacy-aside {
    position: static;
  }

  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero__stats p {
    font-size: 0.86rem;
  }

  .contact.finale {
    padding: 112px 22px 104px;
  }

  .contact.finale h2 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    line-height: 1.05;
  }

  .finale-links {
    grid-template-columns: 1fr;
  }

  .finale-links a:nth-child(odd) {
    padding-right: 0;
    border-right: 0;
  }

  .finale-links a:nth-child(even) {
    padding-left: 0;
  }

  .finale-links a {
    overflow-wrap: anywhere;
  }

  .operation-process {
    width: min(calc(100% - 32px), var(--max));
    gap: 16px;
  }

  .operation-process__rail {
    padding: 12px;
  }

  .operation-step {
    min-height: 82px;
    padding-right: 10px;
  }

  .operation-step__body strong {
    font-size: 0.9rem;
  }

  .operation-step__body small {
    font-size: 0.62rem;
  }

  .operation-process__media {
    min-height: 260px;
    height: 36svh;
  }

  .operation-process__media img {
    min-height: 260px;
  }

  .operation-process__signal {
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }

  .operation-process__panel h3 {
    font-size: clamp(1.6rem, 9vw, 2.45rem);
  }

  .operation-process__output {
    padding: 16px;
  }

  .privacy-main {
    padding-top: calc(var(--header) + 56px);
  }
}



/* =============================================
   HERO CAROUSEL
   ============================================= */
.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 200px;
  right: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242, 238, 230, 0.3);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 300ms ease, transform 300ms ease;
}

.hero-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.5);
}

/* =============================================
   SCROLL NAV BUTTONS
   ============================================= */
.scroll-nav {
  position: fixed;
  left: 32px;
  bottom: 36px;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms var(--ease);
  pointer-events: none;
}

.scroll-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-nav__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid rgba(242, 238, 230, 0.16);
  border-radius: 50%;
  color: rgba(242, 238, 230, 0.7);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 260ms var(--ease);
}

.scroll-nav__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
  transform: translateY(-2px);
}

.scroll-nav__btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 640px) {
  .scroll-nav {
    left: 16px;
    bottom: 24px;
  }
  .hero-carousel__dots {
    bottom: 180px;
    right: 22px;
  }
}

/* =============================================
   FINALE CONTACT CARDS
   ============================================= */
.finale__sub {
  margin: 18px 0 0;
  color: rgba(242, 238, 230, 0.52);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 480px;
}

.finale-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: min(100%, 860px);
  margin-top: 48px;
  border: 1px solid rgba(242, 238, 230, 0.1);
  background: rgba(242, 238, 230, 0.1);
  overflow: hidden;
}

.finale-contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(10px);
  transition: background 240ms ease;
  text-decoration: none;
}

.finale-contact-card:hover {
  background: rgba(59, 102, 132, 0.18);
}

.finale-contact-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(242, 238, 230, 0.12);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color 240ms ease, background 240ms ease;
}

.finale-contact-card:hover .finale-contact-card__icon {
  border-color: rgba(59, 102, 132, 0.6);
  background: rgba(59, 102, 132, 0.16);
}

.finale-contact-card__icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.finale-contact-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finale-contact-card__body small {
  color: rgba(242, 238, 230, 0.4);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.finale-contact-card__body strong {
  color: rgba(242, 238, 230, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  line-height: 1.3;
  transition: color 240ms ease;
}

.finale-contact-card:hover .finale-contact-card__body strong {
  color: var(--white);
}

.finale-contact-card__arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 240ms ease, transform 280ms var(--ease);
}

.finale-contact-card:hover .finale-contact-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

@media (max-width: 640px) {
  .finale-contacts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================================
   VIDEO SHOWCASE — Experiencias en Acción
   ============================================================ */

/* ── VIDEO SHOWCASE / CAROUSEL ───────────────────────────────────────────── */
.video-showcase {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding-top: 96px;
  padding-bottom: 112px;
}

.video-showcase .section-heading {
  margin-bottom: 32px;
  width: min(calc(100% - 80px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

/* Carousel wrapper */
.video-carousel {
  position: relative;
  width: min(calc(100% - 80px), var(--max));
  margin: 0 auto;
  isolation: isolate;
}

.video-carousel__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 16px;
}

.video-carousel__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
  text-transform: uppercase;
}

.video-carousel__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-carousel__viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.video-carousel__viewport::-webkit-scrollbar {
  display: none;
}

/* Track — slides sit side by side */
.video-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
}

/* Each slide */
.video-slide {
  min-width: 0;
  padding: 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  color: var(--white);
  background: #101010;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: left;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.video-slide:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.video-slide__inner {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.video-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  filter: saturate(0.88) contrast(1.04);
  pointer-events: none;
  transform: scale(1.002);
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.5s var(--ease);
}

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

.video-slide:hover video {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

/* Gradient overlay */
.video-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.02) 35%,
    rgba(8, 8, 8, 0.2) 64%,
    rgba(8, 8, 8, 0.82) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Play button */
.video-slide__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.video-slide__play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.video-slide:hover .video-slide__play-btn {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.video-slide__play-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  margin-left: 2px;
}

/* Info lower-left */
.video-slide__info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 16px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.video-slide__info strong {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.video-slide__info span {
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(242, 238, 230, 0.72);
  white-space: nowrap;
}

/* Arrow buttons */
.video-carousel__arrow {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.video-carousel__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.video-carousel__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
}

.video-carousel__arrow[disabled] {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Dots */
.video-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-height: 3px;
  margin-top: 18px;
}

.video-carousel__dot {
  width: 22px;
  height: 3px;
  border-radius: 0;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
}

.video-carousel__dot.is-active {
  background: var(--accent);
}

.video-carousel.is-static .video-carousel__controls,
.video-carousel.is-static .video-carousel__dots {
  visibility: hidden;
}

/* ── VIDEO LIGHTBOX ──────────────────────────────────────────────────────── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-lightbox__container {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s ease;
}

.video-lightbox.is-open .video-lightbox__container {
  transform: scale(1) translateY(0);
}

.video-lightbox__player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: 4px;
  background: #000;
  outline: none;
}

.video-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.video-lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.video-lightbox__close svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1023px) {
  .video-carousel__track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }
}

@media (max-width: 639px) {
  .video-showcase {
    padding-top: 72px;
    padding-bottom: 80px;
  }

  .video-showcase .section-heading,
  .video-carousel {
    width: calc(100% - 40px);
  }

  .video-showcase .section-heading {
    margin-bottom: 24px;
  }

  .video-carousel__toolbar {
    margin-bottom: 12px;
  }

  .video-carousel__track {
    grid-auto-columns: 88%;
    gap: 12px;
  }

  .video-carousel.is-static .video-carousel__track {
    grid-auto-columns: 100%;
  }

  .video-carousel__arrow {
    width: 36px;
    height: 36px;
  }

  .video-lightbox__container {
    width: 96vw;
  }
  .video-lightbox__close {
    top: -40px;
  }
}
/* ============================================================
   DDT MOBILE RESPONSIVE FIX
   Correcciones exclusivas para tablet/mobile.
   Desktop (>900px) permanece sin cambios.
   ============================================================ */

@media (max-width: 900px) {
  /* Evita que el layout horizontal de desktop conserve alturas fijas
     cuando las tarjetas pasan a una columna vertical. */
  .service-track,
  .service-list {
    height: auto !important;
    min-height: 0 !important;
  }

  .service-track {
    overflow: visible !important;
  }

  .service-list {
    align-items: stretch;
  }

  /* Mejor separación entre bloques principales en mobile. */
  .manifesto,
  .services,
  .projects,
  .operations,
  .video-showcase,
  .contact {
    position: relative;
    clear: both;
  }

  /* Hero: conservar todos los elementos, pero darles aire y jerarquía. */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header) + 46px);
  }

  .hero__content {
    max-width: 760px;
    padding-bottom: 28px;
  }

  .hero h1 {
    max-width: 760px;
    margin-top: 22px;
    line-height: 1.02;
  }

  .hero__content > p:not(.kicker) {
    max-width: 620px;
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__stats {
    margin-top: 34px;
  }

  .hero__stats article {
    min-height: 0;
    padding: 22px;
  }

  .hero__stats strong {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  .hero__stats article:nth-child(n + 2) strong {
    font-size: clamp(1.45rem, 6vw, 2.15rem);
  }

  .hero__stats p {
    max-width: 620px;
    margin-top: 10px;
    line-height: 1.5;
  }

  /* Encabezados: evitar que todas las secciones hereden la misma escala. */
  .section-heading {
    gap: 18px;
    margin-bottom: 34px;
  }

  .manifesto {
    gap: 24px;
    min-height: auto;
  }

  .manifesto h2 {
    font-size: clamp(2.5rem, 8vw, 3.6rem);
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 7.2vw, 3.2rem);
  }

  .services .section-heading h2,
  .operations .section-heading h2 {
    font-size: clamp(2.15rem, 7vw, 3rem);
  }

  /* Servicios: tarjetas verticales reales dentro del flujo del documento. */
  .service-card {
    min-height: 0 !important;
    height: auto !important;
  }

  .service-card .media-slot {
    min-height: 260px;
    height: min(58vw, 360px);
  }

  .service-card img {
    min-height: 0;
    height: 100%;
  }

  .service-card h3 {
    line-height: 1.08;
  }

  .service-card p {
    max-width: none;
    line-height: 1.55;
  }

  /* Projects: conservar visuales grandes sin sensación de compresión. */
  .project-grid {
    gap: 18px;
  }

  .project-card,
  .project-card--large,
  .project-card--wide {
    min-height: clamp(330px, 68vw, 500px);
  }

  /* Operación integral: conservar todo el contenido,
     compactando únicamente la navegación superior. */
  .operation-process__rail {
    gap: 6px;
  }

  .operation-step {
    min-height: 76px;
  }

  .operation-process__stage {
    margin-top: 2px;
  }

  .operation-process__panel {
    justify-content: flex-start;
  }

  /* Footer: mejorar respiración de columnas. */
  .site-footer {
    gap: 34px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .social-icons--header {
    gap: 6px;
  }

  .social-icons--header a {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: calc(var(--header) + 34px);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  .hero__content > p:not(.kicker) {
    font-size: 0.96rem;
  }

  .hero__actions {
    gap: 10px;
  }

  .hero__stats {
    margin-left: -18px;
    margin-right: -18px;
  }

  .hero__stats article {
    padding: 20px 18px 22px;
  }

  .hero__stats article::before {
    left: 18px;
  }

  .manifesto,
  .section-heading,
  .service-list,
  .project-grid {
    width: calc(100% - 36px);
  }

  .manifesto,
  .services,
  .projects,
  .operations {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .manifesto h2 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .section-heading h2,
  .services .section-heading h2,
  .operations .section-heading h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
    line-height: 1.06;
  }

  .service-list {
    gap: 16px;
  }

  .service-card .media-slot {
    min-height: 230px;
    height: min(62vw, 300px);
  }

  .service-card h3,
  .service-card p,
  .service-specs {
    margin-left: 20px;
    margin-right: 20px;
  }

  .service-card h3 {
    margin-top: 22px;
    font-size: clamp(1.65rem, 8vw, 2.05rem);
  }

  .service-card p {
    margin-top: 10px;
    font-size: 0.94rem;
  }

  .service-specs {
    margin-top: 16px;
    margin-bottom: 22px;
  }

  .project-card,
  .project-card--large,
  .project-card--wide {
    min-height: clamp(300px, 78vw, 430px);
    padding: 20px;
  }

  .project-card strong {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .video-showcase {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .video-showcase .section-heading,
  .video-carousel {
    width: calc(100% - 36px);
  }

  .operation-process {
    width: calc(100% - 28px);
  }

  .operation-process__rail {
    padding: 10px;
  }

  .operation-step {
    min-height: 74px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .operation-process__media {
    min-height: 240px;
    height: 34svh;
  }

  .operation-process__panel {
    padding: 26px 20px 30px;
  }

  .operation-process__panel h3 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .operation-process__panel > p:not(.kicker) {
    font-size: 0.94rem;
  }

  .operation-process__metrics div {
    padding: 20px;
  }

  .contact.finale {
    min-height: auto;
    padding: 94px 18px 96px;
  }

  .contact.finale h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .finale-contacts {
    margin-top: 36px;
  }

  .finale-contact-card {
    padding: 20px 18px;
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.45rem;
  }

  .manifesto h2 {
    font-size: 2.15rem;
  }

  .section-heading h2,
  .services .section-heading h2,
  .operations .section-heading h2 {
    font-size: 1.95rem;
  }

  .service-card .media-slot {
    min-height: 215px;
    height: 215px;
  }

  .project-card,
  .project-card--large,
  .project-card--wide {
    min-height: 285px;
  }
}
/* ============================================================
   DDT MOBILE HERO IMAGE FIX
   Ajuste exclusivo para móvil:
   - imagen con proporción propia
   - sin zoom agresivo
   - indicadores anclados a la imagen
   ============================================================ */

@media (max-width: 640px) {
  .hero {
    position: relative;
    background: var(--black);
  }

  /* La imagen deja de intentar cubrir toda la altura del Hero.
     Se limita a una zona visual superior y el resto continúa
     naturalmente sobre fondo oscuro. */
  .hero__media {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: min(68svh, 620px);
    min-height: 470px;
  }

  /* Evita el efecto de acercamiento/zoom en móvil provocado
     por la escala inicial y mantiene un encuadre más natural. */
  .hero__media img,
  .hero-carousel__slide img {
    transform: none !important;
    scale: 1 !important;
  }

  /* Encuadre más amable en pantallas verticales. */
  .hero-carousel__slide img {
    object-fit: cover;
    object-position: center center;
  }

  /* El degradado superior sigue protegiendo la lectura del texto,
     pero la parte baja del Hero queda más limpia. */
  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.30) 0%, rgba(8, 8, 8, 0.18) 28%, rgba(8, 8, 8, 0.70) 62%, rgba(8, 8, 8, 0.98) 82%, rgba(8, 8, 8, 1) 100%),
      linear-gradient(90deg, rgba(8, 8, 8, 0.48), rgba(8, 8, 8, 0.10) 58%, rgba(8, 8, 8, 0.34));
  }

  /* Los indicadores pertenecen visualmente al carrusel:
     quedan dentro de la propia imagen, abajo a la derecha. */
  .hero-carousel__dots {
    right: 18px;
    bottom: 18px;
    top: auto;
    flex-direction: row;
    gap: 8px;
  }

  .hero-carousel__dot {
    width: 7px;
    height: 7px;
  }

  .hero-carousel__dot.is-active {
    transform: scale(1.45);
  }

  /* Asegura que el contenido tenga suficiente espacio visual
     antes de entrar a las estadísticas. */
  .hero__content {
    padding-bottom: 34px;
  }

  .hero__stats {
    position: relative;
    z-index: 3;
    background:
      linear-gradient(180deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 1)),
      var(--black);
  }
}

@media (max-width: 390px) {
  .hero__media {
    height: 62svh;
    min-height: 430px;
  }

  .hero-carousel__dots {
    right: 16px;
    bottom: 16px;
  }
}
/* ============================================================
   DDT MOBILE HERO COMPACT V3
   Ajuste exclusivo para móvil:
   - reduce la altura general del Hero
   - compacta espacios internos sin quitar contenido
   - suaviza la transición hacia las estadísticas
   ============================================================ */

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--header) + 24px);
  }

  .hero__media {
    height: min(58svh, 530px);
    min-height: 410px;
  }

  .hero__content {
    padding-bottom: 20px;
  }

  .hero .kicker {
    margin-bottom: 0;
  }

  .hero h1 {
    margin-top: 16px;
    line-height: 0.98;
  }

  .hero__content > p:not(.kicker) {
    margin-top: 16px;
    line-height: 1.48;
  }

  .hero__actions {
    margin-top: 18px;
    gap: 8px;
  }

  .hero .btn {
    min-height: 50px;
  }

  .hero-carousel__dots {
    right: 18px;
    bottom: 20px;
  }

  .hero__stats {
    margin-top: 12px;
    border-top: 1px solid rgba(242, 238, 230, 0.14);
  }

  .hero__stats::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -54px;
    height: 54px;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(8, 8, 8, 0),
      rgba(8, 8, 8, 0.98)
    );
  }

  .hero__stats article {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 390px) {
  .hero__media {
    height: 54svh;
    min-height: 390px;
  }

  .hero {
    padding-top: calc(var(--header) + 20px);
  }

  .hero h1 {
    margin-top: 14px;
  }

  .hero__content > p:not(.kicker) {
    margin-top: 14px;
  }

  .hero__actions {
    margin-top: 16px;
  }
}
