  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, p { margin: 0; }
  ul { margin: 0; padding: 0; list-style: none; }

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

  /* ---------- Variant scopes ---------- */
  .variant-light {
    --bg: #FFFFFF;
    --text: #0A0A0A;
    --text-muted: #6B6B6B;
    --text-soft: #4A4A48;
    --line: #D4CFC4;
    --watermark: #0A0A0A;
    --watermark-opacity: 0.05;
  }
  .variant-dark {
    --bg: #0A0A0A;
    --text: #FAFAF7;
    --text-muted: #888884;
    --text-soft: #B4B2A9;
    --line: #2C2C2A;
    --watermark: #FAFAF7;
    --watermark-opacity: 0.04;
  }

  .site {
    background: var(--bg);
    color: var(--text);
  }

  .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
  }

  /* ============================================================
     HERO (single block, single bg, integrated subheadline)
     ============================================================ */
  .hero-wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
  }

  .watermark {
    position: absolute;
    right: -80px;
    bottom: -120px;
    height: 640px;
    width: auto;
    color: var(--watermark);
    opacity: var(--watermark-opacity);
    pointer-events: none;
    user-select: none;
    z-index: 1;
  }
  .watermark svg { display: block; height: 100%; width: auto; }

  .hero-header {
    position: relative;
    z-index: 3;
    padding-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .brand {
    display: flex;
    align-items: center;
    color: var(--text);
  }
  /* El lockup viene recortado a su contenido, asi que este alto es el alto
     real del isotipo: 68px deja el nombre en ~28px y la bajada en ~26px,
     con las proporciones oficiales de la marca. */
  .brand-lockup {
    height: 68px;
    width: auto;
    display: block;
    filter: var(--logo-filter, none);
  }

  .nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: opacity 200ms ease;
    padding-bottom: 4px;
  }
  .nav a:hover { opacity: 0.7; }
  .nav a.is-active {
    color: var(--text);
    border-bottom: 1px solid var(--text);
  }

  .lang {
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .lang .sep { color: var(--line); }
  .lang a { transition: opacity 200ms ease; }
  .lang a:hover { opacity: 0.7; }
  .lang .is-active { color: var(--text); }

  /* Hero content */
  .hero {
    position: relative;
    z-index: 2;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 96px 0;
  }
  .eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .hero-eyebrow { margin-bottom: 32px; }
  /* Escala alineada a la de Marval: cuerpo 16-18, titulos de seccion 36-48,
     titular mayor tope 60 (su variable mas grande es 60-63px). */
  .hero-headline {
    font-size: clamp(36px, 4.2vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 500;
    color: var(--text);
    max-width: 1100px;
    text-wrap: pretty;
  }
  .hero-subheadline {
    margin-top: 44px;
    font-size: clamp(18px, 1.5vw, 22px);
    line-height: 1.45;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: var(--text-soft);
    max-width: 780px;
    text-wrap: pretty;
  }

  /* ============================================================
     PAGE HEADER (interior pages — shorter than the Home hero)
     ============================================================ */
  .page-header {
    padding: 64px 0 72px;
    position: relative;
    overflow: hidden;
  }
  /* El padding-bottom de .hero-wrap esta pensado para el hero del Home.
     En las paginas interiores se sumaba al del .page-header y dejaba ~216px
     entre la introduccion y la seccion siguiente. */
  .hero-wrap:has(.page-header) {
    padding-bottom: 0;
  }
  .page-title {
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 32px;
  }
  .page-lead {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .page-lead p {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: -0.005em;
    color: var(--text-soft);
    text-wrap: pretty;
  }
  /* Linea de encabezado de Nosotros. Montserrat se carga en 400 y 500,
     asi que 500 es la negrita real del sitio; pedir 700 daria una negrita
     sintetica de peor calidad. */
  .page-lead p.page-lead-kicker {
    font-weight: 500;
    color: var(--text);
  }

  /* ============================================================
     CONTACT
     ============================================================ */
  .contact {
    padding: 0 0 160px;
  }
  .contact-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
  }
  .contact-info {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .office-info {
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  .office-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
  }
  .office-city {
    font-size: 24px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 12px;
  }
  .office-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-soft);
    margin-top: 10px;
  }
  .office-address:first-of-type {
    margin-top: 0;
  }
  .office-address a {
    color: var(--text-soft);
    transition: color 200ms ease;
  }
  .office-address a:hover {
    color: var(--text);
  }
  .office-address svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-muted);
  }
  .contact-map {
    width: 100%;
    height: 320px;
    border: 1px solid var(--line);
    filter: grayscale(0.15);
  }
  .contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .form-row {
    display: flex;
    gap: 32px;
  }
  .form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .form-field label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
  }
  .form-field input,
  .form-field textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    outline: none;
    transition: border-color 200ms ease;
  }
  .form-field input:focus,
  .form-field textarea:focus {
    border-color: var(--text);
  }
  .form-field textarea {
    resize: vertical;
    min-height: 120px;
  }
  /* Aviso de resultado del envio del formulario. Lo imprime contacto.php
     segun ?enviado=1 (exito) o ?enviado=0 (fallo). Se mantiene monocromo
     para no introducir colores fuera de la paleta del sitio. */
  .form-aviso {
    margin: 0;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-left: 2px solid var(--text);
    font-size: 16px;
    line-height: 1.55;
    color: var(--text);
    text-wrap: pretty;
  }
  .form-aviso.is-error {
    border-left-width: 4px;
    color: var(--text);
  }
  .form-submit {
    align-self: flex-start;
    display: inline-block;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0 0 4px;
    cursor: pointer;
    transition: opacity 200ms ease;
  }
  .form-submit:hover {
    opacity: 0.7;
  }

  @media (max-width: 1024px) {
    .contact-grid { flex-direction: column; }
    .contact-info { flex: 1 1 auto; width: 100%; }
  }
  @media (max-width: 768px) {
    .form-row { flex-direction: column; gap: 20px; }
  }

  /* ============================================================
     PERSPECTIVAS
     ============================================================ */
  .perspectives {
    padding: 96px 0;
  }
  .perspectives-eyebrow {
    margin-bottom: 56px;
  }
  .perspectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
  /* Mismo lenguaje de hover que .area-summary y .professional-summary:
     desplazamiento lateral + la regla superior que se marca. */
  .perspective-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    transition: padding-left 250ms ease, border-color 250ms ease;
  }
  .perspective-item:hover {
    padding-left: 12px;
    border-top-color: var(--text);
  }
  .perspective-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text);
    transition: opacity 250ms ease;
  }
  .perspective-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
    transition: color 250ms ease;
  }
  .perspective-item:hover .perspective-text {
    color: var(--text);
  }
  @media (max-width: 900px) {
    .perspectives-grid { grid-template-columns: 1fr; gap: 32px; }
  }

  /* ============================================================
     ABSTRACT BAND
     ============================================================ */
  /* Misma paleta que el resto del sitio: hereda --bg y dibuja con --line. */
  .abstract-band {
    padding: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    color: var(--line);
    line-height: 0;
  }
  .abstract-band svg {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ============================================================
     FOOTER
     ============================================================ */
  .site-footer {
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 56px 0 40px;
  }
  .footer-brand {
    display: flex;
    align-items: center;
  }
  .footer-lockup {
    height: 96px;
    width: auto;
    display: block;
    filter: var(--logo-filter, none);
  }
  .footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 200ms ease;
  }
  .footer-nav a:hover {
    color: var(--text);
  }
  .footer-address {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: right;
  }
  .footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
  }
  @media (max-width: 700px) {
    .footer-inner { flex-direction: column; }
    .footer-address { text-align: left; }
  }

  /* ============================================================
     AREAS ACCORDION
     ============================================================ */
  .areas {
    padding: 0 0 160px;
  }
  .area-item {
    border-top: 1px solid var(--line);
  }
  .area-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .area-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 4px;
    cursor: pointer;
    list-style: none;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text);
    transition: padding-left 250ms ease, color 250ms ease;
  }
  .area-summary:hover {
    padding-left: 12px;
    color: var(--text);
  }
  .area-summary::-webkit-details-marker {
    display: none;
  }
  .area-summary::marker {
    content: '';
  }
  .area-icon {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 250ms ease;
  }
  details[open] .area-icon {
    transform: rotate(45deg);
  }
  .area-body {
    max-width: 720px;
    padding: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: max-height 300ms ease;
  }
  .area-text {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
  }
  .area-sublist {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .area-sublist li {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-soft);
  }
  .area-sublist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--text-muted);
  }
  .area-sublist strong {
    font-weight: 500;
    color: var(--text);
  }

  /* ============================================================
     PROFESSIONALS LIST
     ============================================================ */
  .professionals {
    padding: 0 0 160px;
  }
  .professional-list {
    display: flex;
    flex-direction: column;
  }
  /* Acordeon: cada persona colapsa a una fila (nombre + cargo) y la bio
     se despliega al click. Mismo patron que .area-item. */
  .professional-item {
    border-top: 1px solid var(--line);
  }
  .professional-item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .professional-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 26px 4px;
    cursor: pointer;
    list-style: none;
    transition: padding-left 250ms ease;
  }
  /* Nombre arriba, cargo debajo. */
  .professional-identity {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .professional-summary:hover {
    padding-left: 12px;
  }
  .professional-summary::-webkit-details-marker {
    display: none;
  }
  .professional-summary::marker {
    content: '';
  }
  .professional-name {
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
  }
  .professional-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .professional-icon {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-muted);
    transition: transform 250ms ease;
  }
  details[open] .professional-icon {
    transform: rotate(45deg);
  }
  .professional-body {
    max-width: 720px;
    padding: 0 4px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow: hidden;
    transition: max-height 300ms ease;
  }
  @media (max-width: 640px) {
    .professional-summary {
      align-items: flex-start;
      gap: 16px;
    }
  }
  .areas-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
  .areas-list {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  /* Una ficha puede listar sus areas en varias lineas (por ejemplo,
     separando el bloque de tecnologia del resto). */
  .areas-list + .areas-list {
    margin-top: 8px;
  }
  .professional-bio {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-soft);
  }
  .professional-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    transition: opacity 200ms ease, color 200ms ease;
    width: fit-content;
  }
  .professional-mail:hover {
    opacity: 0.7;
    color: var(--text);
  }
  .professional-mail svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .principles {
    padding: 0 0 160px;
  }
  .principles-eyebrow {
    margin-bottom: 32px;
  }
  .principles-text {
    max-width: 780px;
    font-size: clamp(18px, 1.5vw, 20px);
    line-height: 1.65;
    letter-spacing: -0.005em;
    color: var(--text-soft);
    font-weight: 400;
    text-wrap: pretty;
    margin-bottom: 24px;
  }
  .principles-text:last-child {
    margin-bottom: 0;
  }
  /* Nosotros tiene dos bloques (Quienes somos / Como trabajamos) dentro de
     la misma seccion; esto los separa sin duplicar el padding de .principles. */
  .principles-group + .principles-group {
    margin-top: 72px;
  }

  /* ============================================================
     INSIGHTS
     ============================================================ */
  .statement {
    padding: 0 0 128px;
    text-align: left;
  }
  .statement-text {
    max-width: 720px;
    margin: 0 0 32px;
    font-size: clamp(18px, 1.6vw, 24px);
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--text-soft);
    font-weight: 400;
    text-wrap: pretty;
  }
  .statement-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: opacity 200ms ease;
  }
  .statement-link:hover {
    opacity: 0.7;
  }

  .insights {
    background: var(--bg);
    padding-top: 160px;
    padding-bottom: 160px;
  }
  .insights-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 64px;
  }
  .insights-eyebrow { /* eyebrow only */ }
  .insights-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--text);
    padding-bottom: 2px;
    transition: opacity 200ms ease;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .insights-all:hover { opacity: 0.7; }

  .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
  .card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }
  .card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
  }
  .card-meta .dot { color: var(--line); }
  .card-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: pretty;
  }
  .card-deck {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-link {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    transition: transform 200ms ease-out;
  }
  .card-link:hover { transform: translateX(4px); }

  /* ============================================================
     TRANSICION ENTRE PAGINAS
     Fundido al navegar de una pagina a otra (Home -> Profesionales, etc).
     Es una mejora progresiva: donde no hay soporte, la navegacion es la
     de siempre, sin salto ni error.
     ============================================================ */
  @view-transition {
    navigation: auto;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  @media (prefers-reduced-motion: reduce) {
    @view-transition {
      navigation: none;
    }
  }

  /* ============================================================
     SCROLL REVEAL
     Entrada suave de cada apartado al entrar en viewport.
     La lista de selectores debe coincidir con REVEAL_SELECTOR en main.js.
     Solo se aplica si hay JS (clase .js-reveal puesta por el head), asi
     que sin JS el contenido se ve normal.
     Para fotos futuras: basta con marcarlas [data-reveal].
     ============================================================ */
  html { scroll-behavior: smooth; }

  .js-reveal .statement,
  .js-reveal .perspective-item,
  .js-reveal .professional-item,
  .js-reveal .area-item,
  .js-reveal .card,
  .js-reveal .page-lead,
  .js-reveal .principles-text,
  .js-reveal .contact-grid,
  .js-reveal [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
  }
  .js-reveal .is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  /* Escalonado dentro de una misma grilla. */
  .js-reveal .perspective-item:nth-child(2),
  .js-reveal .card:nth-child(2) { transition-delay: 90ms; }
  .js-reveal .perspective-item:nth-child(3),
  .js-reveal .card:nth-child(3) { transition-delay: 180ms; }

  /* ============================================================
     Responsive
     ============================================================ */
  @media (max-width: 1024px) {
    .container { padding: 0 32px; }
    .hero-headline { font-size: clamp(40px, 5vw, 64px); }
    .hero-subheadline { font-size: clamp(18px, 1.6vw, 22px); margin-top: 40px; }
    .insights { padding-top: 120px; padding-bottom: 120px; }
    .hero-wrap { padding-bottom: 96px; }
    .insights-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  }

  @media (max-width: 768px) {
    .container { padding: 0 24px; }
    .nav { display: none; }
    .hero-headline { font-size: clamp(36px, 9vw, 56px); }
    .hero-subheadline { font-size: 17px; margin-top: 32px; }
    .insights-grid { grid-template-columns: 1fr; gap: 32px; }
    .insights-header { flex-direction: column; align-items: flex-start; gap: 24px; }
    .watermark {
      height: 380px;
      right: -40px;
      bottom: -80px;
    }
    .insights { padding-top: 80px; padding-bottom: 80px; }
    .card-title { font-size: 22px; }
    /* Marca reducida en mobile, manteniendo la proporcion del lockup. */
    .brand-lockup { height: 50px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      transition: none !important;
      animation: none !important;
    }
    html { scroll-behavior: auto; }
    /* Sin transiciones el reveal nunca animaria: se muestra todo de entrada. */
    .js-reveal .statement,
      .js-reveal .perspective-item,
    .js-reveal .professional-item,
    .js-reveal .area-item,
    .js-reveal .card,
    .js-reveal .page-lead,
    .js-reveal .principles-text,
    .js-reveal .contact-grid,
    .js-reveal [data-reveal] {
      opacity: 1;
      transform: none;
    }
  }

  /* ============================================================
     CABECERA EN ANCHOS INTERMEDIOS (769-1024)
     Ahi la nav no entraba junto a la marca y el selector de idioma
     quedaba fuera del ancho util. Como .hero-wrap tiene overflow:hidden,
     no aparecia scroll: el ES|EN simplemente se recortaba y desaparecia.
     Se aprieta el espaciado y, como red de seguridad, se permite que la
     cabecera envuelva en lugar de recortar.
     ============================================================ */
  @media (max-width: 1024px) {
    .hero-header {
      flex-wrap: wrap;
      row-gap: 14px;
      gap: 20px;
    }
    .nav {
      gap: 20px;
      flex-wrap: wrap;
    }
    .nav a {
      font-size: 12px;
      letter-spacing: 0.08em;
    }
    .lang {
      margin-left: auto;
    }
  }
