@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Colores base: /theme.css los sobrescribe con los de Configuración */
:root {
  --c-primary: #01257d;
  --c-electric: #00ffff;
  --c-accent: #c584d2;
  --c-ink: #0f1a3d;
  --c-text: #3d4663;
  --c-muted: #6b7390;
  --c-line: #e3e7f0;
  --c-soft: #f3f5fa;
  --c-white: #ffffff;
  --radius: 14px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 5.75rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--c-ink); line-height: 1.1; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--c-accent); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { background: var(--c-electric); color: var(--c-primary); }
.btn--accent:hover { box-shadow: 0 12px 32px -10px color-mix(in srgb, var(--c-electric) 75%, transparent); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { filter: brightness(1.25); }
.btn--outline { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn--outline:hover { background: #fff; color: var(--c-primary); border-color: #fff; }
.btn--ghost { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn--ghost:hover { background: var(--c-primary); color: #fff; }
.btn--light { background: #fff; color: var(--c-primary); }
.btn--light:hover { background: var(--c-electric); color: var(--c-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 0.22em; transform: translateX(3px); }
.theme-dark .link-arrow { color: var(--c-electric); }
.theme-dark .link-arrow:hover { color: #fff; }
.inline-link {
  color: var(--c-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
  transition: color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.inline-link:hover { opacity: 0.8; }
.theme-dark .inline-link,
.project .inline-link { color: var(--c-electric); }
.theme-dark .panel .inline-link,
.theme-dark .card:not(.project) .inline-link { color: var(--c-primary); }
.theme-accent .inline-link { color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #fff;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(
    90deg,
    var(--c-primary) 0%,
    color-mix(in srgb, var(--c-primary) 62%, var(--c-electric) 38%) 100%
  );
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--c-primary) 55%, transparent);
  transition: opacity 0.5s var(--ease-out);
}
.site-header.is-solid::before { opacity: 1; }
.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1320px, 100% - 2.5rem);
  min-height: var(--header-h);
}
.site-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.site-logo img { height: 70px; width: auto; max-width: calc(100vw - 7rem); object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.site-nav ul {
  display: flex;
  gap: 0.1rem;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.is-solid .site-nav ul { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.site-nav ul a {
  position: relative;
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.94rem;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.site-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav ul a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.14); }
.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.28rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--c-electric);
}
.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s var(--ease-out);
}
.site-header__phone-icon { flex: none; display: block; }
.site-header__phone:hover { color: var(--c-electric); }
.site-nav__cta { min-height: 2.75rem; padding-inline: 1.25rem; white-space: nowrap; }
.site-nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
}
.site-nav-toggle__bar {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out);
}
.nav-open .site-nav-toggle__bar:nth-child(2) { transform: translateY(3.75px) rotate(45deg); }
.nav-open .site-nav-toggle__bar:nth-child(3) { transform: translateY(-3.75px) rotate(-45deg); }
body:not(.has-hero) main { padding-top: var(--header-h); }

@media (max-width: 1240px) {
  .site-nav__cta { padding-inline: 1rem; }
}

@media (max-width: 1080px) {
  .site-nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.75rem;
    margin: 0;
    padding: calc(var(--header-h) + 1.5rem) clamp(1.25rem, 6vw, 3rem) 2rem;
    overflow-y: auto;
    background:
      radial-gradient(70% 50% at 100% 0%, color-mix(in srgb, var(--c-electric) 22%, transparent), transparent 70%),
      linear-gradient(165deg, color-mix(in srgb, var(--c-primary) 70%, #000) 0%, var(--c-primary) 100%);
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease-out), opacity 0.4s ease, visibility 0s linear 0.7s;
  }
  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.7s var(--ease-out), opacity 0.2s ease, visibility 0s;
  }
  .site-nav ul,
  .is-solid .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
  }
  .nav-open .site-nav ul li { opacity: 1; transform: none; }
  .nav-open .site-nav ul li:nth-child(1) { transition-delay: 0.12s; }
  .nav-open .site-nav ul li:nth-child(2) { transition-delay: 0.17s; }
  .nav-open .site-nav ul li:nth-child(3) { transition-delay: 0.22s; }
  .nav-open .site-nav ul li:nth-child(4) { transition-delay: 0.27s; }
  .nav-open .site-nav ul li:nth-child(5) { transition-delay: 0.32s; }
  .nav-open .site-nav ul li:nth-child(6) { transition-delay: 0.37s; }
  .nav-open .site-nav ul li:nth-child(n + 7) { transition-delay: 0.42s; }
  .site-nav ul a {
    padding: 1rem 0;
    border-radius: 0;
    font-size: clamp(1.5rem, 6vw, 2.25rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: normal;
  }
  .site-nav ul a:hover,
  .site-nav ul a[aria-current="page"] { background: none; color: #fff; }
  .site-nav ul a[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; width: 8px; height: 8px; margin: 0 0 -4px; }
  .site-header__phone { display: inline-flex; font-size: 1.15rem; }
  .site-nav__cta { align-self: flex-start; min-height: 3.25rem; padding-inline: 1.75rem; }
  .nav-open { overflow: hidden; }
  .nav-open .cookie-banner,
  .nav-open .whatsapp-float { visibility: hidden; }
}

@media (max-width: 1080px) and (prefers-reduced-motion: reduce) {
  .site-nav, .nav-open .site-nav, .site-nav ul li, .nav-open .site-nav ul li { transition: none; transform: none; }
}

/* ---------- Módulos: base ---------- */
.site-main { overflow-x: hidden; width: 100%; max-width: 100%; }
.mod { position: relative; padding-block: clamp(4.5rem, 8.5vw, 7rem); overflow: hidden; }
body:not(.has-hero) main > .mod:first-child:not(.mod--page_header) {
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 4.5rem));
}
.mod + .mod.theme-light,
.mod + .mod.theme-soft { scroll-margin-top: 6.5rem; }
.theme-light { background: var(--c-white); }
.theme-soft { background: var(--c-soft); }
.theme-dark {
  background:
    radial-gradient(60% 65% at 90% 10%, color-mix(in srgb, var(--c-electric) 14%, transparent), transparent 70%),
    radial-gradient(50% 60% at 8% 95%, color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 72%),
    linear-gradient(165deg, color-mix(in srgb, var(--c-primary) 78%, #000) 0%, var(--c-primary) 100%);
  color: rgba(255, 255, 255, 0.82);
}
.theme-dark h1, .theme-dark h2, .theme-dark h3 { color: #fff; }
.theme-accent { background: var(--c-accent); color: var(--c-primary); }
.theme-accent h2, .theme-accent h3 { color: var(--c-primary); }
.theme-accent .hl { color: #fff; }

.mod-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; z-index: 0; }
.mod > .container, .mod > .slider, .mod > .banner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-electric);
}
.eyebrow:not(.hero__eyebrow):not(.eyebrow--sm)::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
  flex: none;
}
.theme-light .eyebrow, .theme-soft .eyebrow { color: color-mix(in srgb, var(--c-electric) 32%, var(--c-primary)); }
.theme-accent .eyebrow { color: var(--c-primary); }
.eyebrow--sm { font-size: 0.76rem; letter-spacing: 0.16em; margin-bottom: 0.45rem; }

.mod-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 820px; }
.mod-head--center { margin-inline: auto; text-align: center; }
.mod-head--aside { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.mod-head--aside > div { max-width: 760px; }
.mod-head--aside .link-arrow { margin-top: 0; white-space: nowrap; }
.mod-title {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.theme-light .mod-title .hl,
.theme-soft .mod-title .hl {
  background: linear-gradient(115deg, var(--c-primary) 15%, color-mix(in srgb, var(--c-accent) 85%, var(--c-primary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.theme-dark .mod-title .hl { color: var(--c-electric); }
.mod-lead { margin-top: 1.1rem; max-width: 64ch; font-size: 1.08rem; line-height: 1.68; color: inherit; opacity: 0.88; }
.mod-note {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary);
}
.theme-dark .mod-note { border-top-color: rgba(255, 255, 255, 0.14); color: var(--c-electric); }

.grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  grid-auto-flow: dense;
}
[data-tab-panel][hidden] { display: none !important; }
.grid--1 { --cols: 1; }
.grid--2 { --cols: 2; }
.grid--3 { --cols: 3; }
.grid--4 { --cols: 4; }
.grid--5 { --cols: 5; }
.grid--tight { gap: 1rem; }
.grid--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.grid--3:has(> :nth-child(4):last-child) { --cols: 2; }
@media (max-width: 1120px) {
  .grid--4, .grid--5 { --cols: 2; }
  .grid--3 { --cols: 2; }
}
@media (max-width: 1120px) and (min-width: 641px) {
  .grid--3 > :last-child:nth-child(odd),
  .grid--4 > :last-child:nth-child(odd),
  .grid--5 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .mod-head--aside { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .mod-head--aside .link-arrow { white-space: normal; }
}
@media (max-width: 640px) {
  .grid { --cols: 1 !important; }
  .grid > * { grid-column: auto !important; }
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--wide { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ---------- Hero ---------- */
.mod--hero {
  z-index: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(55% 70% at 88% 18%, color-mix(in srgb, var(--c-electric) 20%, transparent) 0%, transparent 70%),
    radial-gradient(45% 55% at 8% 96%, color-mix(in srgb, var(--c-accent) 24%, transparent) 0%, transparent 72%),
    linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 62%, #000) 0%, var(--c-primary) 58%, color-mix(in srgb, var(--c-primary) 80%, #000) 100%);
}
.mod--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__ambient-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) contrast(1.15) blur(2px);
  mix-blend-mode: luminosity;
  transform: scale(1.08);
}
.hero__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 92%, #000) 0%, color-mix(in srgb, var(--c-primary) 55%, transparent) 60%, transparent 100%);
}
.has-hero .mod--hero + .mod,
.has-hero .pin-spacer + .mod,
.has-hero .site-footer {
  position: relative;
  z-index: 1;
}
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(1320px, 100% - 2.5rem);
  margin-inline: auto;
  padding-block: calc(var(--header-h) + clamp(2rem, 6vh, 4.5rem)) clamp(3rem, 8vh, 5.5rem);
}
.hero--split {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
}
.hero__copy { min-width: 0; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.26em;
}
.hero__eyebrow-line {
  flex: none;
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}
.hero__title {
  max-width: 22ch;
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.2vw, 5.25rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero--split .hero__title { max-width: none; }
.hero__title .hl { color: var(--c-accent); }
.hero__title-word { display: inline-block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; vertical-align: top; }
.hero__title-word > span { display: inline-block; will-change: transform; }
.hero__title--sm { font-size: clamp(2.2rem, 5vw, 4rem); }
.hero__text { max-width: 34rem; margin-top: 1.75rem; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.65; color: rgba(255, 255, 255, 0.76); }
.hero__actions { margin-top: 2.25rem; gap: 0.85rem; }
.hero__actions .btn { min-height: 3.35rem; padding-inline: 1.75rem; }
.hero__note {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  max-width: 34rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.66);
}
.hero__note-link { color: var(--c-electric); font-weight: 600; text-underline-offset: 0.22em; }
.hero__media {
  position: relative;
  margin: 0;
  height: min(68vh, 640px);
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    0 0 90px -20px color-mix(in srgb, var(--c-electric) 35%, transparent);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--c-primary) 55%, transparent) 100%);
}
.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
  transition: transform 1.2s var(--ease-out);
}
.hero__media:hover .hero__media-img { transform: scale(1.05); }

@media (max-width: 960px) {
  .hero--split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding-block: calc(var(--header-h) + 2.5rem) 3rem; }
  .hero__media { height: auto; min-height: 0; aspect-ratio: 16 / 10; border-radius: 20px; }
  .hero__ambient::after { background: linear-gradient(180deg, color-mix(in srgb, var(--c-primary) 75%, transparent) 0%, color-mix(in srgb, var(--c-primary) 92%, #000) 100%); }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__eyebrow { letter-spacing: 0.18em; }
  .hero__eyebrow-line { width: 1.75rem; }
  .hero__note { margin-top: 2rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .has-hero .site-header,
  .mod--hero [data-hero-in],
  .mod--hero [data-hero-title],
  .mod--hero [data-hero-media] { animation: hero-fallback 0.6s ease 2.5s both; }
  .motion-ready .site-header,
  .motion-ready .mod--hero [data-hero-in],
  .motion-ready .mod--hero [data-hero-title],
  .motion-ready .mod--hero [data-hero-media] { animation: none; }
}
@keyframes hero-fallback { from { opacity: 0; } to { opacity: 1; } }

.mod--page_header {
  padding-block: calc(var(--header-h) + clamp(3.75rem, 7vw, 5.75rem)) clamp(4rem, 7.5vw, 6rem);
  background:
    radial-gradient(55% 75% at 88% 18%, color-mix(in srgb, var(--c-electric) 22%, transparent) 0%, transparent 70%),
    radial-gradient(45% 60% at 8% 96%, color-mix(in srgb, var(--c-accent) 22%, transparent) 0%, transparent 72%),
    linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 64%, #000) 0%, var(--c-primary) 58%, color-mix(in srgb, var(--c-primary) 82%, #000) 100%);
}
.mod--page_header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-header__ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.page-header__ambient-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) contrast(1.15) blur(1.5px);
  mix-blend-mode: luminosity;
  transform: scale(1.06);
}
.page-header__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c-primary) 92%, #000) 0%, color-mix(in srgb, var(--c-primary) 60%, transparent) 65%, transparent 100%);
}
.mod--page_header .page-header { width: min(1320px, 100% - 2.5rem); }
.mod--page_header .mod-head { margin-bottom: 0; max-width: min(1120px, 100%); }
.mod--page_header .mod-title {
  font-size: clamp(2.15rem, 4.8vw, 4.5rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
@media (max-width: 480px) {
  .mod--page_header .mod-title { font-size: clamp(1.85rem, 8vw, 2.35rem); }
}
.mod--page_header .mod-lead {
  max-width: 60ch;
  margin-top: 1.35rem;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Carrusel ---------- */
.mod--slider { padding: 0; }
.slider { position: relative; min-height: clamp(380px, 55vw, 600px); }
.slider__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s; }
.slider__slide.is-active { opacity: 1; visibility: visible; }
.slider__slide .mod-bg { opacity: 0.4; }
.slider__content { position: relative; z-index: 1; }
.slider__arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.slider__arrow--prev { left: 1rem; }
.slider__arrow--next { right: 1rem; }
.slider__dots { position: absolute; bottom: 1.25rem; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 0.5rem; }
.slider__dots button { width: 0.7rem; height: 0.7rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.slider__dots button[aria-current="true"] { background: var(--c-accent); }

/* ---------- Banner ---------- */
.mod--banner { padding-block: 1.5rem; }
.banner img { width: 100%; height: auto; border-radius: var(--radius); }
.banner--full img { border-radius: 0; }

/* ---------- Cifras ---------- */
.mod--stats {
  padding-block: clamp(3rem, 5.5vw, 4.25rem);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}
.mod--stats.theme-dark {
  background:
    radial-gradient(60% 90% at 15% 0%, color-mix(in srgb, var(--c-electric) 15%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 88%, #000) 0%, color-mix(in srgb, var(--c-primary) 78%, #1e3fa8) 100%);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.25rem;
}
@media (max-width: 1120px) and (min-width: 641px) {
  .stats > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }
.stats__item {
  position: relative;
  padding: 1.55rem 1.65rem 1.65rem;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  background: #fff;
  transition: transform 0.45s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.stats__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(1, 37, 125, 0.22);
}
.theme-dark .stats__item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.theme-dark .stats__item:hover {
  border-color: color-mix(in srgb, var(--c-electric) 55%, rgba(255, 255, 255, 0.22));
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 48px -22px rgba(0, 0, 0, 0.45);
}
.theme-dark .stats__item:nth-child(2n):hover {
  border-color: color-mix(in srgb, var(--c-accent) 65%, rgba(255, 255, 255, 0.22));
}
.stats__value {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-primary);
}
.theme-dark .stats__value { color: #fff; }
.theme-dark .stats__value .hl { color: var(--c-electric); }
.theme-dark .stats__item:nth-child(2n) .stats__value .hl { color: var(--c-accent); }
.stats__label {
  margin: 0.65rem 0 0;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--c-muted);
}
.theme-dark .stats__label { color: rgba(255, 255, 255, 0.78); }

/* ---------- Clientes ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1080px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.clients__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: var(--c-soft);
  transition: transform 0.45s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.theme-soft .clients__item { background: #fff; }
.clients__item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--c-primary) 28%, var(--c-line));
  background: #fff;
  box-shadow: 0 20px 42px -22px rgba(1, 37, 125, 0.18);
}
.clients__item a, .clients__item > span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.clients__item span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: var(--c-ink);
}
.clients__item--logo img { height: 2.9rem; width: auto; max-width: 150px; object-fit: contain; }
.clients--gray img { filter: grayscale(1) contrast(1.08); opacity: 0.72; transition: filter 0.35s var(--ease-out), opacity 0.35s var(--ease-out), transform 0.45s var(--ease-out); }
.clients__item:hover img { filter: none; opacity: 1; transform: scale(1.04); }

/* ---------- Tarjetas ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  background: #fff;
  color: var(--c-text);
  box-shadow: 0 18px 42px -26px rgba(1, 37, 125, 0.14);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.35s var(--ease-out);
}
.card:not(.form):hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c-primary) 28%, var(--c-line));
  box-shadow: 0 28px 58px -22px rgba(1, 37, 125, 0.24);
}
.card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out);
}
.card:hover .card__img { transform: scale(1.06); }
.card__img--wide { aspect-ratio: 5 / 2; }
.card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.65rem;
  background: #fff;
}
.card__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}
.card__title--lg { font-size: clamp(1.55rem, 2.5vw, 2.15rem); line-height: 1.12; }
.card__title .hl {
  background: linear-gradient(115deg, var(--c-primary) 15%, color-mix(in srgb, var(--c-accent) 85%, var(--c-primary)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mod--cards .card:nth-child(2n) .eyebrow--sm {
  color: color-mix(in srgb, var(--c-accent) 68%, var(--c-primary));
}
.mod--cards .grid--2 .card__title { font-size: clamp(1.4rem, 2.1vw, 1.85rem); }
.mod--cards .grid--2 .card__text p + p {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.92rem;
  line-height: 1.55;
}
.card__text { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.62; color: var(--c-text); }
.card__body > .link-arrow { margin-top: auto; padding-top: 1.15rem; }
.card--feature {
  border-top: 4px solid var(--c-primary);
}
.card--feature:nth-child(2n) {
  border-top-color: var(--c-accent);
}
.card--feature:nth-child(2n) .eyebrow--sm {
  color: color-mix(in srgb, var(--c-accent) 70%, var(--c-primary));
}
.card--feature .card__body { padding: clamp(1.75rem, 3.2vw, 2.35rem); }
.card--feature .btn-row { margin-top: auto; padding-top: 1.6rem; }

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.9rem 2.15rem;
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-electric);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 40px -24px rgba(1, 37, 125, 0.14);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.35s var(--ease-out);
}
.panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px -22px rgba(1, 37, 125, 0.22);
}
.panel--line-1 { border-top-color: var(--c-accent); }
.panel--line-2 { border-top-color: var(--c-primary); }
.panel .card__title--lg { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -0.02em; }
.panel .card__text { margin-top: 0.75rem; font-size: 0.98rem; line-height: 1.65; }
.panel .card__text p + p {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--c-line);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-primary);
}

/* ---------- Proyectos ---------- */
.project {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.85rem 1.9rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: linear-gradient(155deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 75%, #000) 100%);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 48px -26px rgba(1, 37, 125, 0.35);
  transition: transform 0.5s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.project:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c-electric) 55%, rgba(255, 255, 255, 0.22));
  box-shadow: 0 28px 56px -22px rgba(1, 37, 125, 0.45);
}
.theme-dark .project {
  background: rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.4);
}
.theme-dark .project:hover {
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 28px 58px -24px rgba(0, 0, 0, 0.55);
}
.project__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}
.project__top .eyebrow {
  margin: 0;
  padding: 0.28rem 0.78rem;
  border: 1px solid rgba(61, 220, 151, 0.35);
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.14);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  color: #3ddc97;
}
.project__period {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--c-electric);
}
.project:nth-child(2n) .project__period { color: var(--c-accent); }
.project:nth-child(2n):hover {
  border-color: color-mix(in srgb, var(--c-accent) 60%, rgba(255, 255, 255, 0.22));
}
.project__title {
  margin-top: 0;
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: #fff;
}
.project__ref {
  margin: 0.35rem 0 0.95rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
}
.project__text { font-size: 0.96rem; line-height: 1.62; color: rgba(255, 255, 255, 0.84); }

/* ---------- Valores / razones ---------- */
.tile {
  padding: 1.9rem 1.85rem 2rem;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px -24px rgba(1, 37, 125, 0.12);
  transition: transform 0.5s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.tile:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c-primary) 28%, var(--c-line));
  box-shadow: 0 24px 50px -22px rgba(1, 37, 125, 0.2);
}
.theme-dark .tile {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.theme-dark .tile:hover {
  border-color: color-mix(in srgb, var(--c-electric) 55%, rgba(255, 255, 255, 0.2));
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 52px -24px rgba(0, 0, 0, 0.45);
}
.tile__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; color: var(--c-ink); }
.theme-light .tile--0 .tile__title, .theme-soft .tile--0 .tile__title { color: var(--c-primary); }
.theme-light .tile--1 .tile__title, .theme-soft .tile--1 .tile__title { color: color-mix(in srgb, var(--c-accent) 65%, var(--c-primary)); }
.theme-light .tile--1, .theme-soft .tile--1 { border-top: 3px solid var(--c-accent); }
.theme-light .tile--0, .theme-soft .tile--0 { border-top: 3px solid var(--c-primary); }
.theme-light .tile--2, .theme-soft .tile--2 { border-top: 3px solid color-mix(in srgb, var(--c-electric) 60%, var(--c-primary)); }
.theme-light .tile--3, .theme-soft .tile--3 { border-top: 3px solid var(--c-accent); }
.theme-dark .tile--0 .tile__title { color: var(--c-accent); }
.theme-dark .tile--1 .tile__title { color: #f5b93a; }
.theme-dark .tile--2 .tile__title { color: #3ddc97; }
.theme-dark .tile--3 .tile__title { color: #c7a4ff; }
.tile__text { margin-top: 0.65rem; font-size: 0.95rem; line-height: 1.62; opacity: 0.88; }
.mod--values .split--wide > .grid--3 { --cols: 2; }
@media (max-width: 640px) { .mod--values .split--wide > .grid--3 { --cols: 1; } }

.reasons { margin: 0; padding: 0; list-style: none; }
.reasons__num {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-electric);
}
.theme-light .reasons__num,
.theme-soft .reasons__num { color: var(--c-primary); }

/* ---------- Texto, frase, etiquetas ---------- */
.prose { max-width: 68ch; font-size: 1.05rem; line-height: 1.68; }
.prose-wrap--center .prose { margin-inline: auto; text-align: center; }
.mod--about .split > :only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.mod--about .split > :only-child .mod-head { margin-bottom: 0; }
.mod--about .split > :only-child .prose {
  display: grid;
  gap: 1.1rem;
  max-width: none;
}
.mod--about .split > :only-child .prose p {
  margin: 0;
  padding: 1.45rem 1.65rem;
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-primary);
  border-radius: 18px;
  background: var(--c-soft);
  box-shadow: 0 14px 34px -24px rgba(1, 37, 125, 0.14);
}
.mod--about .split > :only-child .prose p:nth-child(2n) {
  border-left-color: var(--c-accent);
}
.mod--about.theme-soft .split > :only-child .prose p { background: #fff; }
@media (max-width: 900px) {
  .mod--about .split > :only-child { grid-template-columns: 1fr; }
}

#cero-accidentes.mod--about.theme-dark {
  background:
    radial-gradient(55% 80% at 92% 12%, color-mix(in srgb, var(--c-electric) 16%, transparent), transparent 68%),
    linear-gradient(165deg, color-mix(in srgb, var(--c-primary) 55%, #1d4cb5) 0%, var(--c-primary) 100%);
}
#cero-accidentes .split {
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}
#cero-accidentes .mod-head { margin-bottom: 1.15rem; max-width: none; }
#cero-accidentes .eyebrow {
  max-width: 100%;
  white-space: normal;
  text-wrap: balance;
}
#cero-accidentes .mod-title {
  font-size: clamp(2.05rem, 3.5vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.038em;
  max-width: 11.5ch;
  text-wrap: balance;
}
#cero-accidentes .prose {
  display: grid;
  gap: 0.85rem;
  max-width: none;
}
#cero-accidentes .prose p { margin: 0; }
#cero-accidentes .prose p:first-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.65;
}
#cero-accidentes .prose p:not(:first-child) {
  position: relative;
  padding: 0.2rem 0 0.2rem 2.15rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}
#cero-accidentes .prose p:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background-color: rgba(255, 255, 255, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.4 8.3l3.1 3.1 6.1-6.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.78rem;
}
#cero-accidentes .gallery { gap: 0.7rem; }
#cero-accidentes .gallery__frame {
  border-radius: 10px;
  box-shadow: 0 18px 36px -18px rgba(0, 0, 0, 0.45);
}
@media (max-width: 900px) {
  #cero-accidentes .mod-title { max-width: 16ch; }
  #cero-accidentes .eyebrow { letter-spacing: 0.14em; }
}

.quote {
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 92% 8%, color-mix(in srgb, var(--c-accent) 32%, transparent) 0%, transparent 62%),
    var(--c-primary);
  color: #fff;
}
.theme-dark .quote {
  background:
    radial-gradient(70% 90% at 92% 8%, color-mix(in srgb, var(--c-accent) 22%, transparent) 0%, transparent 62%),
    rgba(255, 255, 255, 0.06);
}
.quote .eyebrow { color: #f5b93a; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.55rem, 3.2vw, 2.55rem); font-weight: 700; line-height: 1.15; }
.quote figcaption { margin-top: 1rem; opacity: 0.8; }
.quote__word { display: inline; }
.quote__word > span { display: inline; }

.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-ink);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.chips li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-electric) 45%, transparent);
}
.chips li:nth-child(3n)::before {
  background: var(--c-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 38%, transparent);
}
.chips li:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary);
  background: #fff;
  box-shadow: 0 10px 24px -12px rgba(1, 37, 125, 0.22);
}
.theme-soft .chips li { background: #fff; }
.theme-dark .chips li { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07); color: #fff; }
.theme-dark .chips li::before { background: var(--c-electric); }

.gallery { display: grid; gap: 0.9rem; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
.gallery__frame {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 40px -24px rgba(1, 37, 125, 0.2);
}
.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.85s var(--ease-out);
}
.gallery__frame:hover img { transform: scale(1.06); }
.gallery--1 { grid-template-columns: 1fr; }
.gallery--3 .gallery__frame:nth-child(3n) { grid-column: 1 / -1; }
.gallery--3 .gallery__frame:nth-child(3n) img { aspect-ratio: 16 / 7; }

/* ---------- Franja de llamado ---------- */
.mod--cta { padding-block: clamp(3rem, 5.5vw, 4.25rem); }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cta > div { max-width: 640px; }
.cta__title { font-family: var(--font-head); font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
.cta__text { margin-top: 0.6rem; font-size: 1.05rem; }
.cta .btn-row { margin-top: 0; }

@media (max-width: 640px) {
  .cta { flex-direction: column; align-items: stretch; }
  .cta .btn-row,
  .card--feature .btn-row { flex-direction: column; align-items: stretch; }
  .cta .btn-row .btn,
  .card--feature .btn-row .btn { justify-content: center; width: 100%; }
  .gallery:not(.gallery--1) { grid-template-columns: 1fr; }
  .gallery--3 .gallery__frame:nth-child(3n) { grid-column: auto; }
  .gallery--3 .gallery__frame:nth-child(3n) img { aspect-ratio: 4 / 3; }
}

/* ---------- Documentos ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--c-line); }
.tabs button { padding: 0.7rem 0.1rem; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-weight: 650; color: var(--c-muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--c-primary); border-color: var(--c-accent); }
.doc__top { display: flex; align-items: start; justify-content: space-between; gap: 0.75rem; }
.doc .btn { align-self: flex-start; margin-top: auto; }
.doc .card__text { flex: 1; margin-bottom: 0.8rem; }
.doc__source { font-size: 0.85rem; color: var(--c-muted); }
.badge { flex: none; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge--ok { background: #dcfce7; color: #166534; }
.badge--pending { background: #fef3c7; color: #92400e; }

/* ---------- Aviso ---------- */
.mod--notice { padding-block: 1.5rem; }
.notice { padding: 1rem 1.25rem; border-radius: 10px; border: 1px solid; font-size: 0.95rem; }
.notice strong { display: block; margin-bottom: 0.2rem; }
.notice--warning { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.notice--info { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }

/* ---------- Contacto y formularios ---------- */
.contact { display: grid; gap: clamp(2rem, 4.5vw, 3.5rem); }
.contact--split { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: start; }
@media (max-width: 960px) { .contact--split { grid-template-columns: 1fr; } }
.contact__info { display: grid; gap: 1.25rem; }
.contact__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact__list li {
  display: grid;
  gap: 0.3rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px -20px rgba(1, 37, 125, 0.16);
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.contact__list li:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-primary) 35%, var(--c-line));
  box-shadow: 0 18px 36px -18px rgba(1, 37, 125, 0.22);
}
.contact__list li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact__list { grid-template-columns: 1fr; } }
.theme-dark .contact__list li { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); }
.contact__list strong {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c-electric) 30%, var(--c-primary));
}
.theme-dark .contact__list strong { color: var(--c-electric); }
.contact__list span,
.contact__list a {
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--c-ink);
  text-decoration: none;
  word-break: break-word;
}
.theme-dark .contact__list span,
.theme-dark .contact__list a { color: #fff; }
.contact__list a:hover { color: var(--c-primary); }
.contact__map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  box-shadow: 0 22px 48px -22px rgba(1, 37, 125, 0.2);
}

.form {
  gap: 1.2rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border: 1px solid rgba(1, 37, 125, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 60px -26px rgba(1, 37, 125, 0.18);
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  gap: 1.1rem;
}
.form__grid > label:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }
.form label {
  display: grid;
  gap: 0.42rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-ink);
}
.form input, .form textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-soft);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.form input:hover, .form textarea:hover { border-color: color-mix(in srgb, var(--c-primary) 28%, var(--c-line)); }
.form input:focus, .form textarea:focus {
  background: #fff;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-electric) 26%, transparent);
  outline: none;
}
.form textarea { resize: vertical; min-height: 7.5rem; }
.form .btn { justify-self: start; min-height: 3.25rem; padding-inline: 1.85rem; }
.form .btn--primary:hover {
  filter: none;
  background: color-mix(in srgb, var(--c-primary) 82%, var(--c-electric));
  box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--c-primary) 65%, transparent);
}
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { margin: 0; font-size: 0.82rem; color: var(--c-muted); }
.form__status { margin: 0; padding: 0.75rem 1rem; border-radius: 8px; font-weight: 600; }
.form__status--ok { background: #dcfce7; color: #166534; }
.form__status--error { background: #fee2e2; color: #991b1b; }

/* ---------- Legales y vacíos ---------- */
.legal-doc { max-width: 780px; }
.legal-doc h2 { margin: 2rem 0 0.6rem; font-family: var(--font-head); font-size: 1.6rem; }
.legal-doc ul { padding-left: 1.2rem; }
.empty-page { text-align: center; max-width: 640px; }
.empty-page h1 { font-family: var(--font-head); font-size: 2.4rem; margin-bottom: 0.75rem; }

/* ---------- Pie de página ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--c-primary) 78%, #000);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}
.site-footer > .container { position: relative; z-index: 1; width: min(1320px, 100% - 2.5rem); }
.site-footer a:not(.btn) { color: rgba(255, 255, 255, 0.86); text-decoration: none; transition: color 0.3s var(--ease-out); }
.site-footer a:not(.btn):hover { color: #fff; }
.site-footer__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 0%, color-mix(in srgb, var(--c-electric) 16%, transparent), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 72%),
    linear-gradient(180deg, var(--c-primary) 0%, transparent 60%);
}
.site-footer__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Cierre: titular grande + acciones */
.site-footer__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem 3rem;
  padding-block: clamp(5rem, 12vw, 9rem) clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__cta-title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.6vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.site-footer__cta-title .hl { color: var(--c-electric); }
.site-footer__cta-actions { justify-content: flex-end; margin: 0; }
.site-footer__word { display: inline-block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; vertical-align: bottom; }
.site-footer__word > span { display: inline-block; }

/* Columnas */
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
}
.site-footer__logo { display: inline-flex; margin-bottom: 1.25rem; }
.site-footer__logo img { height: 56px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; }
.site-footer__logo strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.site-footer__desc { max-width: 38ch; margin: 0; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.7); }
.site-footer__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-electric);
}
.site-footer__links { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.site-footer__links a,
.site-footer__contact a,
.site-footer__docs a,
.site-footer__credit a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.3s var(--ease-out), background-size 0.45s var(--ease-out);
}
.site-footer__links a:hover,
.site-footer__contact a:hover,
.site-footer__docs a:hover,
.site-footer__credit a:hover { background-size: 100% 1px; }
.site-footer__contact { display: grid; gap: 0.7rem; justify-items: start; font-style: normal; }
.site-footer__contact p { margin: 0; line-height: 1.55; }
.site-footer__contact-big { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; color: #fff !important; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.site-footer__social a {
  display: inline-flex;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.site-footer__social a:hover { background: #fff; border-color: #fff; color: var(--c-primary); transform: translateY(-2px); }

/* Nombre del sitio de fondo */
.site-footer__wordmark {
  position: relative;
  z-index: 0;
  margin: 0 0 -0.18em;
  padding-inline: 1.25rem;
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 19vw, 19rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  pointer-events: none;
}

/* Barra inferior */
.site-footer__bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}
.site-footer:has(.whatsapp-float) .site-footer__bottom { padding-right: 6rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal p + p { margin-top: 0.15rem; color: rgba(255, 255, 255, 0.45); }
.site-footer__docs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.site-footer__credit { margin: 0; color: rgba(255, 255, 255, 0.5); }
.site-footer__credit a { font-weight: 600; letter-spacing: 0.04em; color: #fff; }

@media (max-width: 1080px) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__bottom { grid-template-columns: 1fr auto; }
  .site-footer__docs { grid-column: 1 / -1; grid-row: 1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .site-footer__cta { grid-template-columns: 1fr; }
  .site-footer__cta-actions { justify-content: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > .site-footer__col:last-child:nth-child(even) { grid-column: 1 / -1; }
  .site-footer__bottom,
  .site-footer:has(.whatsapp-float) .site-footer__bottom { grid-template-columns: 1fr; padding-right: 0; padding-bottom: 5.5rem; }
}
@media (max-width: 560px) {
  .site-footer__cta-actions { flex-direction: column; align-items: stretch; }
  .site-footer__cta-actions .btn { justify-content: center; }
}

/* ---------- Recorrido de Inicio ---------- */
.scroll-nav {
  position: fixed;
  left: max(0.55rem, env(safe-area-inset-left, 0px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 39;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  opacity: 0.38;
  transition: opacity 0.35s var(--ease-out);
}
.scroll-nav:hover,
.scroll-nav:focus-within { opacity: 1; }
.nav-open .scroll-nav {
  opacity: 0;
  pointer-events: none;
}
.scroll-nav__inner {
  position: relative;
  display: grid;
  grid-template-columns: 12px auto;
  align-items: stretch;
}
.scroll-nav__rail {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: 2px;
  margin: 0.55rem 0;
  border-radius: 2px;
  background: color-mix(in srgb, var(--c-primary) 28%, #fff);
  overflow: hidden;
}
.scroll-nav__fill {
  display: block;
  width: 100%;
  height: 0%;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--c-electric), var(--c-accent));
  transform-origin: top;
  transition: height 0.2s linear;
}
.scroll-nav__list {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.15rem;
  min-height: 15.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scroll-nav__list a {
  display: grid;
  grid-template-columns: 12px auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 1.9rem;
  color: inherit;
  text-decoration: none;
}
.scroll-nav__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--c-primary) 55%, #fff);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, #01257d 18%, transparent);
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.scroll-nav__list a.is-active .scroll-nav__dot,
.scroll-nav__list a:hover .scroll-nav__dot,
.scroll-nav__list a:focus-visible .scroll-nav__dot {
  background: var(--c-electric);
  border-color: var(--c-primary);
  transform: scale(1.18);
}
.scroll-nav__label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  padding: 0.2rem 0;
  vertical-align: middle;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), max-width 0.35s var(--ease-out), padding 0.28s var(--ease-out), background 0.28s var(--ease-out);
}
.scroll-nav:hover .scroll-nav__label,
.scroll-nav:focus-within .scroll-nav__label {
  max-width: 14rem;
  opacity: 1;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  color: var(--c-primary);
  box-shadow: 0 8px 22px rgba(1, 37, 125, 0.28);
}
.scroll-nav__list a.is-active .scroll-nav__label {
  box-shadow: 0 0 0 2px var(--c-electric), 0 8px 22px rgba(1, 37, 125, 0.28);
}
@media (max-width: 1080px) {
  .scroll-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-nav,
  .scroll-nav__fill,
  .scroll-nav__dot,
  .scroll-nav__label { transition: none; }
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff !important;
  text-decoration: none !important;
  filter: drop-shadow(0 10px 22px rgba(37, 211, 102, 0.45));
  transition: transform 0.45s var(--ease-out), filter 0.45s var(--ease-out);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.06); filter: drop-shadow(0 14px 26px rgba(37, 211, 102, 0.55)); }
.whatsapp-float__lottie { display: block; width: 4.25rem; height: 4.25rem; pointer-events: none; }
.whatsapp-float__lottie svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float, .whatsapp-float:hover { transition: none; transform: none; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  max-width: min(520px, calc(100% - 2rem));
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: #fff;
  color: var(--c-text);
  font-size: 0.9rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1 1 260px; margin: 0; }
.cookie-banner a { color: var(--c-primary); font-weight: 650; }
.cookie-banner .btn { min-height: 2.4rem; padding: 0.45rem 1rem; }

@media (max-width: 640px) {
  body:has(.cookie-banner:not([hidden])) .whatsapp-float {
    bottom: 6.5rem;
  }
}

@media (max-width: 480px) {
  .project__top { flex-wrap: wrap; gap: 0.4rem 0.75rem; }
  .container,
  .hero,
  .site-header__inner,
  .mod--page_header .page-header,
  .site-footer > .container {
    width: min(var(--container), 100% - 1.5rem);
  }
}
