/* ==========================================================================
   SERVIOFFSET S.A.S. — Hoja de estilos principal
   Paleta basada en el logo: azul #06478E y naranja #ED6928.
   Estructura:
     01. Variables y reset
     02. Tipografía y utilidades
     03. Botones, iconos y etiquetas
     04. Barra superior y header
     05. Menú móvil
     06. Hero
     07. Confianza / marquee
     08. Secciones y encabezados
     09. Servicios
     10. Cifras
     11. Portafolio y modal
     12. Proceso
     13. Nosotros
     14. Testimonios
     15. CTA
     16. Contacto, formulario y mapa
     17. Footer y WhatsApp
     18. Animaciones de entrada
     19. Responsive
     20. Pulido de interacción (design engineering)
     21. Accesibilidad / movimiento reducido
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Variables y reset
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --brand: #06478E;
  --brand-700: #053A75;
  --brand-900: #04264F;
  --brand-950: #031B37;
  --accent: #ED6928;
  --accent-700: #D8571A;
  --accent-text: #B44E17;
  --accent-soft: #FBE9DE;

  /* Neutros */
  --paper: #F7F5F0;
  --paper-2: #EFEBE2;
  --sand: #E3DBCC;
  --white: #FFFFFF;
  --ink: #0D1B2A;
  --muted: #5B6B7A;
  --muted-light: #8A97A4;
  --line: rgba(6, 71, 142, 0.12);
  --line-strong: rgba(6, 71, 142, 0.26);
  --peach: #FBF1EA;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Espaciado */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 8vw, 116px);
  --header-h: 86px;

  /* Efectos */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 10px 30px -18px rgba(4, 30, 61, 0.28);
  --shadow: 0 26px 60px -34px rgba(4, 30, 61, 0.35);
  --shadow-lg: 0 44px 90px -40px rgba(4, 30, 61, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a,
button,
[role="button"] {
  touch-action: manipulation;
}

button,
[role="button"],
.btn,
.filter,
.project__btn,
.t-arrow,
.t-dot,
.nav-toggle,
.mobile-menu__close,
.whatsapp-fab,
.to-top {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand-950);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

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

/* --------------------------------------------------------------------------
   02. Tipografía y utilidades
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  line-height: 1.2;
}

.eyebrow-num {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-text);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

.eyebrow-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--brand-950);
  text-wrap: balance;
  margin-top: 16px;
}

.section-title .accent,
.hero-title .accent {
  color: var(--accent);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head__text {
  max-width: 400px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.section-head__text--inline {
  margin-top: 18px;
  max-width: 440px;
  padding-bottom: 0;
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--accent-text);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   03. Botones, iconos y etiquetas
   -------------------------------------------------------------------------- */
.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon--sm {
  width: 14px;
  height: 14px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-950);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.2s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.12s;
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-950);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(237, 105, 40, 0.7);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-950);
}

.btn--accent:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-950);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.4);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--brand-950);
}

.btn--ghost:hover {
  background: var(--white);
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-950);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 12.5px;
}

.btn--lg {
  padding: 17px 28px;
  font-size: 14.5px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .spinner {
  display: block;
}

.btn.is-loading > .icon {
  display: none;
}

/* --------------------------------------------------------------------------
   04. Barra superior y header
   -------------------------------------------------------------------------- */
.topbar {
  position: relative;
  z-index: 61;
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.25s var(--ease);
}

.topbar-item .icon {
  color: var(--accent);
}

a.topbar-item:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:
    background-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -24px rgba(4, 30, 61, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  min-height: var(--header-h);
  transition: min-height 0.35s var(--ease);
}

.site-header.is-scrolled .header-inner {
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 42px;
  transition: height 0.35s var(--ease);
}

.site-header.is-scrolled .brand img {
  height: 37px;
}

.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 27px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-950);
}

.nav-toggle span:nth-child(2) {
  width: 13px;
  margin-left: 6px;
}

.nav-toggle:hover {
  background: var(--white);
  border-color: var(--brand);
}

/* --------------------------------------------------------------------------
   05. Menú móvil
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu__scrim {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 40, 0.5);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(430px, 90vw);
  padding: 26px 28px calc(30px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  box-shadow: -40px 0 80px -30px rgba(3, 20, 40, 0.5);
  transform: translateX(103%);
  transition: transform 0.55s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-open .mobile-menu {
  visibility: visible;
  pointer-events: auto;
}

.menu-open .mobile-menu__scrim {
  opacity: 1;
}

.menu-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mobile-menu__head img {
  height: 34px;
  width: auto;
}

.mobile-menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.mobile-menu__close .icon {
  width: 19px;
  height: 19px;
}

.mobile-menu__close:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.mobile-nav-list {
  margin-top: 36px;
}

.mobile-nav-list li {
  border-top: 1px solid var(--line);
}

.mobile-nav-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-950);
  transition:
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.mobile-nav-list a span {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  transition: color 0.3s var(--ease);
}

.mobile-nav-list a:hover {
  color: var(--accent-text);
  transform: translateX(5px);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 36px;
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
}

.mobile-menu__foot p {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.menu-open .mobile-nav-list li {
  animation: menuItem 0.3s var(--ease) both;
  animation-delay: calc(0.04s + var(--n, 0) * 0.03s);
}

.mobile-nav-list li:nth-child(1) { --n: 0; }
.mobile-nav-list li:nth-child(2) { --n: 1; }
.mobile-nav-list li:nth-child(3) { --n: 2; }
.mobile-nav-list li:nth-child(4) { --n: 3; }
.mobile-nav-list li:nth-child(5) { --n: 4; }
.mobile-nav-list li:nth-child(6) { --n: 5; }
.mobile-nav-list li:nth-child(7) { --n: 6; }

/* --------------------------------------------------------------------------
   06. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(44px, 5.5vw, 76px);
  padding-bottom: clamp(54px, 7vw, 84px);
  overflow: clip;
  background: #f7f5ef;
}

.hero-grid-bg {
  display: none;
}

.hero-glow {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  grid-template-rows: auto auto;
  column-gap: clamp(32px, 4vw, 52px);
  row-gap: 0;
  align-items: center;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  max-width: 590px;
}

.hero-meta {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 590px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--brand-950);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-pill .icon {
  width: 14px;
  height: 14px;
  color: var(--accent-text);
  stroke-width: 1.6;
}

.hero-pill__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.hero-pill__place {
  color: var(--muted);
  font-weight: 500;
}

.hero-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.7vw, 4.5rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.042em;
  color: var(--brand-950);
  text-wrap: balance;
}

.hero-lead {
  max-width: 520px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.08vw, 1.06rem);
  line-height: 1.72;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-benefit__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  flex-shrink: 0;
}

.hero-benefit__icon .icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.hero-benefit__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-benefit__text strong {
  color: var(--brand-950);
  font-size: 12.5px;
  font-weight: 700;
}

.hero-benefit__text span {
  color: var(--muted);
  font-size: 10.5px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-avatars {
  display: flex;
  align-items: center;
}

.hero-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.hero-avatar:first-child {
  margin-left: 0;
}

.hero-avatar--brand {
  background: var(--brand-950);
  color: var(--white);
}

.hero-avatar--orange {
  background: var(--accent);
  color: var(--brand-950);
}

.hero-avatar--sand {
  background: var(--sand);
  color: var(--brand-950);
}

.hero-proof__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.hero-proof__copy strong {
  color: var(--brand-950);
  font-size: 12.5px;
  font-weight: 700;
}

.hero-proof__copy span {
  color: var(--muted);
  font-size: 10.5px;
}

.hero-proof__rating {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: auto;
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.hero-stars .icon {
  width: 12px;
  height: 12px;
}

.hero-proof__rating > span:last-child {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  padding: 18px 0;
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  transform: rotate(0.6deg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover .hero-media img {
  transform: scale(1.025);
}

.hero-media__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand-900);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.float-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(6, 71, 142, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 46px -24px rgba(4, 30, 61, 0.45);
}

.float-card--proof {
  top: 40px;
  left: -34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px 13px 13px;
  border-radius: 16px;
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.float-card__icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.float-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.float-card__text strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-950);
}

.float-card__text span {
  font-size: 10.5px;
  color: var(--muted);
}

.float-card--delivery {
  right: -26px;
  bottom: 74px;
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: 16px;
}

.float-card__kicker {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-card--delivery strong {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-950);
}

.float-card--delivery > span:last-child {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.spin-badge {
  position: absolute;
  top: -28px;
  right: -26px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 114px;
  height: 114px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-950);
  box-shadow: 0 20px 40px -18px rgba(237, 105, 40, 0.65);
}

.spin-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 30s linear infinite;
}

.spin-badge text {
  font-family: var(--font-body);
  font-size: 7.6px;
  font-weight: 700;
  letter-spacing: 1.35px;
  fill: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
}

.spin-badge__center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
}

.spin-badge__center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-dots {
  position: absolute;
  left: 22px;
  bottom: -18px;
  width: 132px;
  height: 86px;
  background-image: radial-gradient(rgba(6, 71, 142, 0.22) 1.4px, transparent 1.4px);
  background-size: 15px 15px;
  z-index: 0;
  opacity: 0.75;
}

.hero-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.hero-scroll:hover {
  color: var(--brand);
}

.hero-scroll__line {
  position: relative;
  width: 48px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.hero-scroll__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollLine 2.8s ease-in-out infinite;
}

.hero-foot__note {
  color: var(--muted-light);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero con video 2D */
.hero-visual {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  padding: 10px 0 0;
}

.hero-video-halo {
  display: none;
}

.hero-video-stage {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: transparent;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f7f5ef;
}

.hero-video-caption {
  display: none;
}

/* --------------------------------------------------------------------------
   07. Confianza / marquee
   -------------------------------------------------------------------------- */
.trust {
  position: relative;
  padding-bottom: 34px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-head__note {
  color: var(--accent-text);
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.client-logo {
  padding: 6px 38px;
  color: var(--brand-950);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0.34;
  transition:
    opacity 0.3s var(--ease),
    color 0.3s var(--ease);
}

.client-logo:hover {
  opacity: 0.9;
  color: var(--brand);
}

.client-logo--serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.65rem;
  letter-spacing: 0;
}

.client-logo--wide {
  letter-spacing: 0.24em;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   08. Secciones y encabezados
   -------------------------------------------------------------------------- */
.services {
  background: var(--paper);
}

/* --------------------------------------------------------------------------
   09. Servicios
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 316px;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 71, 142, 0.22);
  box-shadow: var(--shadow);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-text);
  transition:
    background-color 0.4s var(--ease),
    color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.service-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
}

.service-card:hover .service-icon {
  background: var(--brand);
  color: var(--white);
  transform: rotate(-4deg);
}

.service-num {
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding-top: 6px;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brand-950);
}

.service-card p {
  color: var(--muted);
  font-size: 0.905rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.service-tags li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.service-card:hover .service-tags li {
  border-color: rgba(6, 71, 142, 0.2);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

.service-link .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.service-link:hover {
  color: var(--accent-text);
}

.service-link:hover .icon {
  transform: translateX(4px);
}

.service-card--feature {
  background: var(--brand-950);
  border-color: var(--brand-950);
  color: var(--white);
}

.service-card--feature::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 105, 40, 0.3), transparent 68%);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}

.service-card--feature:hover::after {
  transform: scale(1.18);
}

.service-card--feature .service-icon {
  background: var(--accent);
  color: var(--brand-950);
}

.service-card--feature:hover .service-icon {
  background: var(--white);
  color: var(--brand);
}

.service-card--feature .service-num {
  color: rgba(255, 255, 255, 0.45);
}

.service-card--feature h3 {
  color: var(--white);
}

.service-card--feature p {
  color: rgba(255, 255, 255, 0.66);
}

.service-card--feature .service-tags li {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.service-card--feature .service-link {
  color: var(--white);
}

.service-card--feature .service-link:hover {
  color: var(--accent);
}

.services-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   10. Cifras
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  padding: 58px 0;
  background: var(--brand-950);
  color: var(--white);
  overflow: hidden;
}

.stats-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 80%);
  mask-image: linear-gradient(to right, #000, transparent 80%);
  pointer-events: none;
}

.stats-pattern::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -80px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 105, 40, 0.22), transparent 65%);
}

.stats-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 8px 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   11. Portafolio y modal
   -------------------------------------------------------------------------- */
.portfolio {
  background: var(--white);
}

.portfolio-head {
  margin-bottom: 34px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filter {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    color 0.3s var(--ease),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.filter:hover {
  color: var(--brand);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.filter.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(200px, 20vw, 264px);
  gap: 18px;
  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.portfolio-grid.is-switching {
  opacity: 0.2;
  transform: translateY(5px);
}

.portfolio-grid.is-filtered {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
}

.portfolio-grid.is-filtered .project {
  aspect-ratio: 4 / 3;
}

.portfolio-grid.is-filtered[data-visible="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
  margin-inline: auto;
}

.portfolio-grid.is-filtered[data-visible="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-grid.is-filtered .project--lg,
.portfolio-grid.is-filtered .project--wide {
  grid-column: auto;
  grid-row: auto;
}

.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.project--lg {
  grid-column: span 2;
  grid-row: span 2;
}

.project--wide {
  grid-column: span 2;
}

.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3, 20, 40, 0.86) 0%, rgba(3, 20, 40, 0.28) 52%, transparent 78%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.project:hover::after,
.project:focus-within::after {
  opacity: 1;
}

.project.is-hidden {
  display: none;
}

.project__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.project__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.project:hover .project__btn img {
  transform: scale(1.045);
}

.project__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  pointer-events: none;
}

.project__cat {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--brand-950);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.project__title {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.project__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease) 0.04s,
    transform 0.4s var(--ease) 0.04s;
}

.project__cta .icon {
  width: 13px;
  height: 13px;
}

.project:hover .project__title,
.project:hover .project__cta,
.project:focus-within .project__title,
.project:focus-within .project__cta {
  opacity: 1;
  transform: translateY(0);
}

.project--lg .project__title {
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
}

.project.is-entering {
  animation: projectIn 0.35s var(--ease) both;
}

.portfolio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.portfolio-foot p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 620px;
  color: var(--muted);
  font-size: 11.5px;
}

.portfolio-foot .icon {
  width: 15px;
  height: 15px;
  color: var(--accent-text);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease);
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 40, 0.68);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.5);
  transform: translateY(24px) scale(0.985);
  transition: transform 0.45s var(--ease);
}

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

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-950);
  box-shadow: var(--shadow-sm);
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.modal__close:hover {
  background: var(--brand);
  color: var(--white);
  transform: rotate(90deg);
}

.modal__media {
  min-height: 340px;
  background: var(--paper-2);
}

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

.modal__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 42px 40px;
  overflow-y: auto;
}

.modal__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--brand-950);
}

.modal__body p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 12px;
}

.modal-tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   12. Proceso
   -------------------------------------------------------------------------- */
.process {
  background: var(--paper);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 71, 142, 0.2);
  box-shadow: var(--shadow-sm);
}

.step:hover::after {
  transform: scaleX(1);
}

.step-num {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--brand);
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.step:hover .step-icon {
  background: var(--accent);
  color: var(--brand-950);
}

.step h3 {
  margin: 22px 0 9px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-950);
}

.step p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.step-meta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent-text);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--brand-950);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.process-callout::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -40px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 105, 40, 0.24), transparent 66%);
  pointer-events: none;
}

.process-callout__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-callout__icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.process-callout h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.process-callout p {
  margin-top: 4px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.87rem;
  line-height: 1.6;
}

.process-callout .btn {
  position: relative;
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.process-callout .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--brand-950);
}

/* --------------------------------------------------------------------------
   13. Nosotros
   -------------------------------------------------------------------------- */
.about {
  background: var(--white);
  overflow: clip;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 6vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
  padding: 16px 0;
}

.about-media {
  position: relative;
  aspect-ratio: 9 / 7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--brand-950);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.about-visual:hover .about-media img {
  transform: scale(1.03);
}

.about-float {
  position: absolute;
  right: 18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 14px 18px;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-float__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-text);
  flex-shrink: 0;
}

.about-float__icon .icon {
  width: 19px;
  height: 19px;
}

.about-float p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.about-float strong {
  color: var(--brand-950);
  font-weight: 700;
}

.about-stamp {
  position: absolute;
  top: -14px;
  left: -18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--accent);
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  color: var(--brand-950);
  transform: rotate(-9deg);
  line-height: 1;
}

.about-stamp__logo {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.about-stamp small {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-copy .section-title {
  margin-top: 16px;
}

.about-lead {
  max-width: 580px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.mv-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.mv-card__label {
  display: inline-block;
  color: var(--accent-text);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mv-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.values li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-950);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: var(--white);
}

.values li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   14. Testimonios
   -------------------------------------------------------------------------- */
.testimonials {
  background: linear-gradient(180deg, var(--paper) 0%, var(--peach) 100%);
}

.t-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.t-intro__text {
  max-width: 380px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.72;
}

.t-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
}

.t-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--brand-950);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.t-arrow:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.t-arrow .icon {
  width: 18px;
  height: 18px;
}

.t-counter {
  margin-left: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.t-counter #tCurrent {
  color: var(--brand-950);
}

.t-stage {
  position: relative;
  touch-action: pan-y;
  min-height: 390px;
  padding: 46px 46px 36px;
  border: 1px solid rgba(6, 71, 142, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 34px 70px -46px rgba(4, 30, 61, 0.4);
}

.t-quote-mark {
  position: absolute;
  top: 4px;
  right: 34px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  opacity: 0.16;
  pointer-events: none;
  user-select: none;
}

.t-slide {
  display: none;
  flex-direction: column;
  min-height: 300px;
}

.t-slide.is-active {
  display: flex;
  animation: fadeSlide 0.55s var(--ease) both;
}

.t-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
}

.t-stars .icon {
  width: 15px;
  height: 15px;
}

.t-slide blockquote {
  margin-top: 22px;
}

.t-slide blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.75vw, 1.5rem);
  font-weight: 400;
  line-height: 1.46;
  letter-spacing: -0.018em;
  color: var(--brand-950);
  text-wrap: pretty;
}

.t-slide figcaption {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.t-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-950);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.t-author {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.t-author strong {
  color: var(--brand-950);
  font-size: 13px;
  font-weight: 700;
}

.t-author span {
  color: var(--muted);
  font-size: 11.5px;
}

.t-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
}

.t-dot {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(6, 71, 142, 0.16);
  transform: scaleX(1);
  transform-origin: center;
  transition:
    transform 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.t-dot:hover {
  background: rgba(6, 71, 142, 0.35);
}

.t-dot.is-active {
  transform: scaleX(1.7);
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   15. CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(56px, 7vw, 82px) 0;
  background: var(--brand-950);
  color: var(--white);
  overflow: hidden;
}

.cta-band__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
}

.cta-shape--1 {
  top: -180px;
  right: 8%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cta-shape--2 {
  bottom: -220px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(237, 105, 40, 0.2), transparent 68%);
}

.cta-shape--3 {
  top: 50%;
  right: 26%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  box-shadow:
    34px 42px 0 -3px rgba(237, 105, 40, 0.55),
    -26px 58px 0 -4px rgba(255, 255, 255, 0.4);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
}

.cta-copy {
  max-width: 650px;
}

.cta-copy h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.032em;
  color: var(--white);
  text-wrap: balance;
}

.cta-copy p {
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   16. Contacto, formulario y mapa
   -------------------------------------------------------------------------- */
.contact {
  background: var(--paper);
  padding-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact-lead {
  max-width: 460px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.contact-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  flex-shrink: 0;
}

.contact-list__icon .icon {
  width: 17px;
  height: 17px;
}

.contact-list__label {
  display: block;
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list__body p {
  margin-top: 4px;
  color: var(--brand-950);
  font-size: 13.5px;
  line-height: 1.65;
}

.contact-list__body a {
  transition: color 0.25s var(--ease);
}

.contact-list__body a:hover {
  color: var(--accent-text);
}

.contact-list__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-list__link .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.contact-list__link:hover .icon {
  transform: translateX(2px);
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.contact-social > span {
  color: var(--muted-light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brand);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.socials a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
}

.socials .icon {
  width: 16px;
  height: 16px;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form-card {
  position: relative;
  padding: 34px 32px 30px;
  border: 1px solid rgba(6, 71, 142, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 34px 70px -46px rgba(4, 30, 61, 0.4);
}

.contact-form-card.is-success .form-head {
  display: none;
}

.form-head h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--brand-950);
}

.form-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
}

.quote-form {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  position: relative;
  margin-bottom: 14px;
  min-width: 0;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.req {
  color: var(--accent-text);
}

.opt {
  color: var(--muted-light);
  font-weight: 500;
  font-size: 10.5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(6, 71, 142, 0.16);
  border-radius: 10px;
  background: #FBFAF7;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9AA7B4;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(6, 71, 142, 0.3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(6, 71, 142, 0.1);
}

.field textarea {
  min-height: 116px;
  resize: vertical;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.field-error {
  display: block;
  margin-top: 4px;
  color: #B42318;
  font-size: 11px;
  line-height: 1.4;
  min-height: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #D92D20;
  background: #FEF3F2;
}

.field.has-error input:focus,
.field.has-error select:focus,
.field.has-error textarea:focus {
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.1);
}

.field--check {
  margin-top: 2px;
  margin-bottom: 18px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  color: var(--muted);
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkbox__box {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: var(--white);
  color: transparent;
  flex-shrink: 0;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.checkbox__box .icon {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.checkbox input:checked + .checkbox__box {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.checkbox input:focus-visible + .checkbox__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.inline-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.25s var(--ease);
}

.inline-link:hover {
  color: var(--accent-text);
}

.quote-form .btn {
  margin-top: 2px;
}

.btn__label {
  transition: opacity 0.25s var(--ease);
}

.quote-form .btn.is-loading .btn__label {
  opacity: 0.75;
}

.form-note {
  margin-top: 11px;
  color: var(--muted-light);
  font-size: 10.5px;
  text-align: center;
  line-height: 1.55;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  padding: 32px 16px;
  text-align: center;
  animation: fadeSlide 0.5s var(--ease) both;
}

.form-success[hidden] {
  display: none;
}

.form-success:focus {
  outline: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
}

.form-success__icon .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.form-success h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--brand-950);
}

.form-success p {
  max-width: 340px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.form-success .btn {
  margin-top: 24px;
}

/* Mapa */
.map-band {
  position: relative;
  min-height: 390px;
  margin-top: clamp(56px, 8vw, 90px);
  background: #E8E2D6;
  overflow: hidden;
}

.map-canvas {
  position: absolute;
  inset: 0;
  background-color: #EAE5DA;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 46px 46px;
}

.map-canvas::before {
  content: "BOGOTÁ D.C.";
  position: absolute;
  top: 46px;
  left: 50%;
  transform: translateX(-50%);
  color: #A39883;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.map-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 62% 46%, rgba(237, 105, 40, 0.1), transparent 24%),
    linear-gradient(120deg, transparent 44%, rgba(6, 71, 142, 0.06) 44.3%, rgba(6, 71, 142, 0.06) 44.8%, transparent 45.1%);
}

.map-block {
  position: absolute;
  border-radius: 8px;
  background: #DDD6C7;
  box-shadow: inset 0 0 0 1px rgba(120, 108, 88, 0.08);
}

.map-block--1 {
  top: 12%;
  left: 8%;
  width: 19%;
  height: 22%;
}

.map-block--2 {
  top: 18%;
  left: 34%;
  width: 13%;
  height: 13%;
  background: #D6CEBD;
}

.map-block--3 {
  top: 58%;
  left: 16%;
  width: 24%;
  height: 26%;
  background: #D9D2C3;
}

.map-block--4 {
  top: 52%;
  right: 8%;
  width: 17%;
  height: 30%;
}

.map-road {
  position: absolute;
  background: #F7F4EC;
  box-shadow: 0 0 0 1px rgba(120, 108, 88, 0.06);
}

.map-road--h {
  top: 46%;
  left: -5%;
  width: 110%;
  height: 26px;
  transform: rotate(-3deg);
}

.map-road--v {
  top: -10%;
  left: 38%;
  width: 22px;
  height: 130%;
  transform: rotate(7deg);
}

.map-pin {
  position: absolute;
  top: 42%;
  left: 58%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 12px 24px -8px rgba(4, 30, 61, 0.4);
  transform: rotate(-45deg);
}

.map-pin span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
}

.map-card {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 38px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  width: 360px;
  padding: 22px;
  border: 1px solid rgba(6, 71, 142, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 30px 60px -34px rgba(4, 30, 61, 0.45);
}

.map-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  grid-row: span 1;
}

.map-card__icon .icon {
  width: 18px;
  height: 18px;
}

.map-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-950);
}

.map-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.map-card__hours {
  color: var(--accent-text) !important;
  font-size: 10.5px !important;
  font-weight: 700;
}

.map-card .btn {
  grid-column: 1 / -1;
  margin-top: 12px;
  justify-self: start;
}

/* --------------------------------------------------------------------------
   17. Footer y WhatsApp
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-top: clamp(56px, 7vw, 78px);
  background: var(--brand-950);
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 60%);
  mask-image: linear-gradient(to bottom, #000, transparent 60%);
  pointer-events: none;
}

.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 0.62fr 0.92fr 1fr;
  gap: clamp(32px, 4vw, 52px);
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.8;
}

.socials--footer {
  margin-top: 22px;
}

.socials--footer a {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.socials--footer a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-950);
}

.footer-col h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col li {
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  transition:
    color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  padding-left: 3px;
}

.footer-col--contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col--contact .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--accent);
  flex-shrink: 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 22px;
  padding-bottom: 26px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10.5px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.legal-links a {
  transition: color 0.25s var(--ease);
}

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

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.to-top .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}

.to-top:hover {
  color: var(--accent);
}

.to-top:hover .icon {
  transform: translateY(-2px);
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1FA855;
  color: var(--white);
  box-shadow: 0 16px 34px -12px rgba(12, 80, 45, 0.65);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.whatsapp-fab .icon {
  width: 28px;
  height: 28px;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 40px -12px rgba(12, 80, 45, 0.7);
}

.whatsapp-fab__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--brand-950);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-50%) translateX(6px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
  pointer-events: none;
}

.whatsapp-fab:hover .whatsapp-fab__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Barra de progreso */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 2px;
  background: transparent;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.1s linear;
}

/* --------------------------------------------------------------------------
   18. Animaciones de entrada
   -------------------------------------------------------------------------- */
.js .reveal {
  --reveal-x: 0px;
  --reveal-y: 24px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
}

.js .reveal--left {
  --reveal-x: -28px;
  --reveal-y: 0px;
}

.js .reveal--right {
  --reveal-x: 28px;
  --reveal-y: 0px;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  animation: revealIn 0.6s var(--ease) backwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 24px), 0);
  }
}

.hero-anim {
  animation: heroRise 0.95s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 0.11s + 0.08s);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes projectIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes menuItem {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-inner {
    gap: 24px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 5.9vw, 4.7rem);
  }

  .portfolio-grid {
    grid-auto-rows: clamp(190px, 21vw, 245px);
  }
}

@media (max-width: 1080px) {
  :root {
    --header-h: 78px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }

  /* Dos columnas antes para que las tarjetas no queden estrechas. */
  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 36px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 0.8fr 1fr;
  }

  .footer-col--contact {
    grid-column: 2 / -1;
  }
}

@media (max-width: 980px) {
  :root {
    --section-y: clamp(64px, 8vw, 92px);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 46px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 640px;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    max-width: 620px;
    margin: 0 auto;
  }

  .hero-meta {
    grid-column: 1;
    grid-row: 3;
    max-width: 640px;
  }

  .hero-meta .hero-benefits {
    margin-top: 0;
  }

  .hero-title {
    font-size: clamp(2.7rem, 8vw, 4.5rem);
  }

  .hero-video-caption {
    justify-content: flex-start;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section-head__text {
    max-width: 540px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .about-copy {
    max-width: 720px;
  }

  .t-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .t-intro {
    max-width: 620px;
  }

  .t-controls {
    margin-top: 24px;
  }

  .t-stage {
    min-height: 360px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    max-width: 640px;
  }

  .contact-form-card {
    max-width: 720px;
  }

  .portfolio-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .filters {
    justify-content: flex-start;
    max-width: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 235px;
  }

  .portfolio-grid.is-filtered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .project--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .project--wide {
    grid-column: span 2;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-copy {
    max-width: 700px;
  }

  .map-band {
    min-height: 360px;
  }

  .map-card {
    left: var(--gutter);
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr;
    gap: 38px;
  }

  .footer-col--contact {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --header-h: 72px;
    --section-y: 64px;
  }

  html {
    scroll-padding-top: 88px;
  }

  .topbar-inner {
    justify-content: center;
    min-height: 34px;
  }

  .topbar-links {
    display: none;
  }

  .topbar-item {
    font-size: 10.5px;
  }

  .header-inner {
    min-height: var(--header-h);
    gap: 12px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 35px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(2.55rem, 11.5vw, 3.6rem);
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }

  .hero-benefit__icon {
    width: 36px;
    height: 36px;
  }

  .hero-proof {
    gap: 12px;
    margin-top: 24px;
  }

  .hero-proof__rating {
    width: 100%;
    margin-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }

  .hero-visual {
    padding: 12px 0 0;
    max-width: 100%;
  }

  .hero-video-stage {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .hero-video-halo {
    width: 122%;
    opacity: 0.8;
  }

  .trust {
    padding-bottom: 24px;
  }

  .trust-head {
    padding-bottom: 16px;
    font-size: 9.5px;
    letter-spacing: 0.12em;
  }

  .trust-head__note {
    display: none;
  }

  .client-logo {
    padding: 4px 26px;
    font-size: 1.25rem;
  }

  .client-logo--serif {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

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

  .service-card {
    min-height: 0;
    padding: 24px 22px;
  }

  .services-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
  }

  .stats {
    padding: 44px 0 18px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .stat {
    padding: 0 20px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-num {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .stats-note {
    text-align: left;
    margin-top: 22px;
  }

  .portfolio-grid,
  .portfolio-grid.is-filtered {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 14px;
  }

  .portfolio-grid.is-filtered {
    grid-auto-rows: auto;
  }

  .portfolio-grid.is-filtered[data-visible="1"],
  .portfolio-grid.is-filtered[data-visible="2"] {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .project--lg,
  .project--wide,
  .portfolio-grid.is-filtered .project--lg,
  .portfolio-grid.is-filtered .project--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .project__title,
  .project__cta {
    opacity: 1;
    transform: none;
  }

  .project::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(3, 20, 40, 0.82) 0%, rgba(3, 20, 40, 0.16) 48%, transparent 76%);
  }

  .project__btn img {
    transform: scale(1.001);
  }

  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .portfolio-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    padding: 22px 22px;
  }

  .step p {
    max-width: 90%;
  }

  .process-callout {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 24px;
    gap: 16px;
  }

  .process-callout .btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 4px;
  }

  .about-stamp {
    width: 78px;
    height: 78px;
    top: -8px;
    left: -8px;
    border-width: 4px;
  }

  .about-stamp__logo {
    width: 44px;
    height: 44px;
  }

  .about-float {
    right: 10px;
    bottom: -18px;
    max-width: 250px;
    padding: 12px 14px;
  }

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

  .t-stage {
    min-height: 0;
    padding: 32px 24px 26px;
  }

  .t-slide {
    min-height: 280px;
  }

  .t-slide blockquote p {
    font-size: 1.12rem;
  }

  .t-quote-mark {
    font-size: 100px;
    right: 20px;
  }

  .cta-band {
    padding: 52px 0;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .contact-form-card {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-head h3 {
    font-size: 1.35rem;
  }

  .contact-list li {
    padding: 16px 0;
  }

  .map-band {
    min-height: 0;
    margin-top: 52px;
  }

  .map-canvas {
    position: relative;
    height: 210px;
  }

  .map-canvas::before {
    top: 28px;
  }

  .map-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    border-radius: 0;
    border: 0;
    border-top: 1px solid var(--line);
    box-shadow: none;
    padding: 22px var(--gutter) 26px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 36px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    /* Espacio para que el botón flotante de WhatsApp no tape los enlaces. */
    padding-bottom: 92px;
  }

  .to-top {
    order: -1;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 52px;
    height: 52px;
  }

  .whatsapp-fab__tip {
    display: none;
  }

  .modal {
    padding: 10px;
  }

  .modal__dialog {
    display: block;
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    overflow-y: auto;
    border-radius: 20px;
  }

  .modal__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .modal__body {
    padding: 26px 22px 28px;
    overflow: visible;
  }

  .modal__close {
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(2.35rem, 12vw, 2.9rem);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .stat,
  .stat:nth-child(even),
  .stat:nth-child(odd) {
    padding: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
  }

  .stat:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .process-callout {
    grid-template-columns: 1fr;
  }

  .process-callout__icon {
    width: 44px;
    height: 44px;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .t-controls {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------
   20. Pulido de interacción (design engineering)
   -------------------------------------------------------------------------- */

/* Respuesta inmediata al presionar (100–160 ms) */
.filter:active,
.t-arrow:active,
.t-dot:active,
.socials a:active,
.nav-toggle:active,
.mobile-menu__close:active,
.whatsapp-fab:active,
.to-top:active {
  transform: scale(0.96);
  transition-duration: 0.12s;
}

.project:active {
  transform: scale(0.995);
  transition-duration: 0.12s;
}

.nav-link:active,
.footer-col a:active,
.legal-links a:active,
.contact-list__body a:active,
.link-arrow:active,
.service-link:active {
  opacity: 0.65;
}

/* Ritmo de UI: 200–250 ms; modal y drawer conservan su presupuesto */
.btn,
.btn .icon,
.filter,
.t-arrow,
.socials a,
.whatsapp-fab,
.nav-toggle,
.to-top,
.nav-link::after,
.link-arrow .icon,
.service-link .icon {
  transition-duration: 0.2s;
}

.service-card {
  transition-duration: 0.25s;
}

.service-card::before,
.step::after {
  transition-duration: 0.3s;
}

.service-icon,
.service-tags li,
.service-link,
.step-icon,
.mv-card,
.mobile-nav-list a {
  transition-duration: 0.2s;
}

.project {
  transition-duration: 0.25s;
}

.project::after {
  transition-duration: 0.3s;
}

.project__btn img {
  transition-duration: 0.55s;
}

.project__title,
.project__cta {
  transition-duration: 0.25s;
}

.step {
  transition-duration: 0.25s;
}

.site-header,
.header-inner,
.brand img {
  transition-duration: 0.25s;
}

.mobile-menu__scrim {
  transition-duration: 0.3s;
}

.mobile-menu__panel {
  transition-duration: 0.5s;
}

.hero-media img,
.about-media img {
  transition-duration: 0.8s;
}

.hero-anim {
  animation-duration: 0.7s;
  animation-delay: calc(var(--i, 0) * 0.09s + 0.05s);
}

.t-slide.is-active {
  animation-duration: 0.4s;
}

/* En pantallas táctiles no se quedan pegados los estados hover */
@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .nav-toggle:hover,
  .filter:hover,
  .service-card:hover,
  .project:hover,
  .t-arrow:hover,
  .socials a:hover,
  .whatsapp-fab:hover,
  .step:hover,
  .mv-card:hover,
  .about-visual:hover .about-media img,
  .hero-visual:hover .hero-media img {
    transform: none;
  }

  .btn:hover .icon,
  .link-arrow:hover .icon,
  .service-link:hover .icon {
    transform: none;
  }

  .service-card:hover {
    border-color: var(--line);
    box-shadow: none;
  }

  .service-card--feature:hover {
    border-color: var(--brand-950);
  }

  .service-card:hover .service-icon {
    transform: none;
  }

  .service-card:not(.service-card--feature):hover .service-icon {
    background: var(--accent-soft);
    color: var(--accent-text);
  }

  .service-card--feature:hover .service-icon {
    background: var(--accent);
    color: var(--brand-950);
  }

  .service-card:hover::before,
  .step:hover::after {
    transform: scaleX(0);
  }

  .project:hover {
    box-shadow: none;
  }

  .project:hover .project__btn img {
    transform: none;
  }

  /* En táctil, el proyecto muestra su información sin depender del hover */
  .project::after {
    opacity: 1;
  }

  .project__title,
  .project__cta {
    opacity: 1;
    transform: none;
  }

  .t-arrow:hover,
  .socials a:hover,
  .nav-toggle:hover,
  .mobile-menu__close:hover {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--brand);
  }

  .t-dot:hover:not(.is-active) {
    background: rgba(6, 71, 142, 0.16);
  }

  .filter:hover:not(.is-active) {
    color: var(--muted);
    border-color: var(--line);
  }
}

/* iOS hace zoom al enfocar campos con tipografía menor a 16 px */
@media (pointer: coarse) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   21. Accesibilidad / movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .reveal--left,
  .js .reveal--right,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .hero-anim,
  .marquee__track,
  .spin-badge svg {
    animation: none !important;
  }

  .hero-scroll__line::after {
    animation: none !important;
    opacity: 0.6;
    transform: none;
  }

  /* Sin movimiento en hover ni en press; se conserva el color */
  .btn:hover,
  .btn:hover .icon,
  .link-arrow:hover .icon,
  .service-link:hover .icon,
  .nav-toggle:hover,
  .filter:hover,
  .service-card:hover,
  .project:hover,
  .t-arrow:hover,
  .socials a:hover,
  .whatsapp-fab:hover,
  .step:hover,
  .mv-card:hover,
  .about-visual:hover .about-media img,
  .hero-visual:hover .hero-media img {
    transform: none !important;
  }

  .project:hover .project__btn img {
    transform: none !important;
  }

  .project__title,
  .project__cta {
    transform: none !important;
  }

  .btn:active,
  .filter:active,
  .t-arrow:active,
  .t-dot:active,
  .socials a:active,
  .nav-toggle:active,
  .mobile-menu__close:active,
  .whatsapp-fab:active,
  .to-top:active,
  .project:active {
    transform: none !important;
  }

  .btn,
  .filter,
  .nav-link,
  .t-arrow,
  .socials a,
  .whatsapp-fab,
  .to-top,
  .footer-col a,
  .link-arrow,
  .service-link,
  .contact-list__body a {
    transition-duration: 0.16s !important;
    transition-property: color, background-color, border-color, opacity !important;
  }

  .project::after,
  .project__title,
  .project__cta {
    transition-duration: 0.16s !important;
    transition-property: opacity !important;
  }
}

/* --------------------------------------------------------------------------
   Hero full-bleed blanco
   -------------------------------------------------------------------------- */
.hero--full {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, calc(100svh - var(--header-h) - 38px), 860px);
  padding: 0;
  overflow: clip;
  background: #ffffff;
}

.hero-full__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #ffffff;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  z-index: 0;
  background: #ffffff;
  pointer-events: none;
}

.hero-full__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 26%,
    rgba(255, 255, 255, 0.88) 37%,
    rgba(255, 255, 255, 0.32) 46%,
    rgba(255, 255, 255, 0) 54%
  );
  pointer-events: none;
}

.hero-full__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(48px, 6.5vw, 78px);
  padding-bottom: clamp(34px, 4vw, 50px);
}

.hero-full__main {
  max-width: 760px;
}

.hero-title--full {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(2.7rem, 4.9vw, 4.9rem);
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.hero-title--full > span {
  display: block;
}

.hero-title--full .accent {
  color: var(--accent);
}

.hero--full .hero-lead {
  max-width: 560px;
  margin-top: 24px;
}

.hero-full__bottom {
  max-width: 560px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-top: clamp(22px, 3.2vw, 32px);
  border-top: 1px solid rgba(3, 27, 55, 0.14);
}

.hero-full__bottom .hero-benefits {
  margin-top: 0;
}

.hero-full__bottom .hero-proof {
  margin-top: 22px;
}



@media (max-width: 1080px) {
  .hero--full {
    min-height: clamp(620px, calc(100svh - var(--header-h) - 38px), 800px);
  }

  .hero-full__inner {
    padding-top: clamp(38px, 6vw, 56px);
  }

  .hero-full__main {
    max-width: 700px;
  }

  .hero-full__bottom {
    max-width: 560px;
  }

  .hero-title--full {
    font-size: clamp(2.65rem, 6.2vw, 4.2rem);
  }

  .hero--full {
    min-height: 0;
  }

  .hero-full__inner {
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .hero-full__bottom {
    display: none;
  }

  .hero-full__media {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 280px;
    margin-top: 10px;
    overflow: hidden;
  }

  .hero-bg-video {
    object-fit: contain;
    object-position: center center;
  }

  .hero-full__shade {
    display: none;
  }

}

@media (max-width: 760px) {
  .hero--full {
    min-height: clamp(690px, calc(100svh - var(--header-h) - 34px), 820px);
  }

  .hero-full__inner {
    padding-top: 34px;
    padding-bottom: 26px;
  }

  .hero-full__main,
  .hero-full__bottom {
    max-width: 100%;
  }

  .hero-title--full {
    margin-top: 18px;
    font-size: clamp(2.4rem, 10.2vw, 3.45rem);
    line-height: 0.98;
  }

  .hero--full .hero-lead {
    margin-top: 18px;
    font-size: 0.95rem;
    max-width: 34rem;
  }

  .hero--full .hero-actions {
    margin-top: 24px;
  }

  .hero--full {
    min-height: 0;
  }

  .hero-full__inner {
    flex: 0 0 auto;
    padding-bottom: 0;
  }

  .hero-full__bottom {
    display: none;
  }

  .hero-full__media {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 280px;
    margin-top: 10px;
    overflow: hidden;
  }

  .hero-bg-video {
    object-fit: contain;
    object-position: center center;
  }

  .hero-full__shade {
    display: none;
  }

}

@media (max-width: 430px) {
  .hero-title--full {
    font-size: clamp(2.15rem, 9.7vw, 2.9rem);
  }

  .hero--full .hero-actions .btn {
    flex: 1 1 auto;
  }
}
