/* Quality & Services LLC — hoja de estilos
   Dirección visual: contenido en azul marino profundo; encabezado crema con el logo original. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* Azules del contenido (contraste verificado WCAG AA) */
  --bg: #0D2438;          /* fondo principal */
  --bg-alt: #142F46;      /* secciones alternas */
  --surface: #1B3A52;     /* tarjetas y superficies elevadas */
  --bg-deep: #091B2B;     /* pie de página */
  --heading: #F7F3EB;     /* títulos — 14.3:1 sobre --bg */
  --text: #D5DEE6;        /* párrafos — 11.6:1 sobre --bg, 8.7:1 sobre --surface */
  --text-soft: #A9B8C6;   /* notas y metadatos — 5.8:1 sobre --surface */
  --gold: #C9A45C;        /* etiquetas, líneas, íconos — 5:1 sobre --surface */
  --gold-hover: #E2BD74;
  --line: rgba(213, 222, 230, 0.14);
  --line-strong: rgba(213, 222, 230, 0.26);
  --field-border: #6F8AA3; /* 3.3:1 sobre --surface */

  /* Encabezado crema (sin cambios) */
  --cream: #FAF7F0;
  --cream-2: #F3EDE2;
  --navy-logo: #112A44;
  --navy-btn-hover: #1B3A5C;
  --gold-text-on-cream: #7D5F2A;
  --muted-on-cream: #4A5562;

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--heading); font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.005em; }
ul, ol { padding: 0; margin: 0; }
abbr[title] { text-decoration: none; }

/* Enlaces sobre azul: claros, subrayados con línea dorada */
a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--gold-hover); text-decoration-color: var(--gold-hover); text-decoration-thickness: 2px; }

/* Foco visible: dorado claro sobre azul, azul sobre crema */
:focus-visible { outline: 2px solid var(--gold-hover); outline-offset: 3px; border-radius: 1px; }
.site-header :focus-visible, .cta-band :focus-visible { outline-color: var(--navy-logo); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy-logo); color: #fff;
  padding: .75rem 1.25rem; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }
.icon--sm { width: 1.1rem; height: 1.1rem; }

/* ---------- Tipografía de sección ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.kicker--light { color: var(--gold); }
.section-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.section-title--sm { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin-bottom: 1.5rem; }
.section-lead { margin: 1rem 0 0; max-width: 46rem; color: var(--text); font-size: 1.125rem; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .kicker::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.split-head .section-head { margin-bottom: 0; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); background: var(--bg); }
.section--alt { background: var(--bg-alt); }
/* Primer bloque tras una cabecera interior: el contenido queda más cerca del título */
.page-hero + .section, .section--tight { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); }

.note { margin-top: 2.5rem; padding-left: 1rem; border-left: 2px solid var(--gold); color: var(--text-soft); font-size: .98rem; max-width: 52rem; }

/* ---------- Botones y enlaces destacados ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 .9rem/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { text-decoration: none; }
.btn--sm { min-height: 2.5rem; padding: .55rem 1.1rem; font-size: .78rem; }
/* Principal: dorado con texto azul marino (6.8:1) */
.btn--gold, .btn--primary { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn--gold:hover, .btn--primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--bg); }
/* Secundario: transparente, borde claro, texto marfil */
.btn--ghost-light { background: transparent; border-color: rgba(247, 243, 235, .7); color: var(--heading); }
.btn--ghost-light:hover { background: var(--heading); border-color: var(--heading); color: var(--bg); }
/* Azul sobre crema (encabezado y bloque de llamada a la acción) */
.btn--navy { background: var(--navy-logo); color: #fff; border-color: var(--navy-logo); }
.btn--navy:hover { background: var(--navy-btn-hover); border-color: var(--navy-btn-hover); color: #fff; }
.btn:disabled { cursor: not-allowed; background: transparent; border-color: var(--field-border); color: var(--text-soft); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--heading); padding-bottom: .35rem; border-bottom: 1px solid var(--gold);
}
.link-arrow .icon { color: var(--gold); transition: transform .25s, color .25s; }
.link-arrow:hover { color: var(--gold-hover); border-bottom-color: var(--gold-hover); text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(4px); color: var(--gold-hover); }
.link-arrow--light { color: var(--heading); }

/* ---------- Encabezado crema (se mantiene al hacer scroll y en móvil) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--cream);
  border-bottom: 1px solid rgba(17, 42, 68, .1);
  box-shadow: 0 1px 0 rgba(201, 164, 92, .35), 0 10px 24px -22px rgba(9, 27, 43, .55);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(201, 164, 92, .45), 0 12px 28px -18px rgba(9, 27, 43, .6); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-header a { text-decoration: none; }
.brand { display: inline-flex; flex: none; }
.brand__logo { height: 52px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; gap: 1.6rem; list-style: none; }
.site-nav__list a {
  position: relative; display: inline-block; padding: .4rem 0; color: var(--navy-logo);
  font-size: .9rem; font-weight: 500; letter-spacing: .01em;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-text-on-cream);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav__list a:hover { color: var(--navy-logo); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { font-weight: 600; }
.site-nav__cta.btn { background: var(--navy-logo); color: #fff; border-color: var(--navy-logo); }
.site-nav__cta.btn:hover { background: var(--navy-btn-hover); border-color: var(--navy-btn-hover); color: #fff; }
.site-header__tools { display: flex; align-items: center; gap: .5rem; }

.lang { display: inline-flex; align-items: center; gap: .15rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; }
.lang__item { display: inline-grid; place-items: center; min-width: 2.25rem; min-height: 2.25rem; padding: 0 .35rem; text-decoration: none; border-radius: var(--radius); }
.lang__sep { opacity: .45; }
.site-header .lang__item { color: var(--muted-on-cream); }
.site-header .lang__item.is-active { color: var(--navy-logo); box-shadow: inset 0 -2px 0 var(--gold-text-on-cream); }
.site-header a.lang__item:hover { color: var(--navy-logo); background: var(--cream-2); }
.site-header .lang__sep { color: var(--muted-on-cream); }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0;
  background: transparent; border: 1px solid rgba(17, 42, 68, .25); border-radius: var(--radius); color: var(--navy-logo); cursor: pointer;
}
.nav-toggle:hover { background: var(--cream-2); }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: inline-flex; }

@media (max-width: 1080px) {
  .site-nav__list { gap: 1.1rem; }
  .site-nav__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand__logo { height: 44px; }
  .site-header__tools { margin-left: auto; }
  .js .nav-toggle { display: inline-grid; }
  .js .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; margin: 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--cream); border-bottom: 1px solid rgba(201, 164, 92, .45);
    box-shadow: 0 24px 40px -24px rgba(9, 27, 43, .6);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(17, 42, 68, .12); }
  .site-nav__list a::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--gold-text-on-cream); }
  .site-nav__cta { display: inline-flex; align-self: flex-start; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .site-nav { width: 100%; margin: 0; }
  html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; }
  html:not(.js) .site-nav__list a { border: 0; padding: .25rem 0; font-size: .95rem; }
}
@media (max-width: 380px) { .brand__logo { height: 38px; } .lang__item { min-width: 2rem; } }
body.nav-open { overflow: hidden; }

/* ---------- Portada con carrusel (sin cambios de comportamiento) ---------- */
.hero {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 900px); color: #fff; overflow: hidden; background: var(--bg);
}
.hero__carousel { position: absolute; inset: 0; z-index: -1; }
.hero__track { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; transform: translate3d(-100%, 0, 0); visibility: hidden;
  will-change: transform; backface-visibility: hidden;
}
.hero__slide.is-active { transform: translate3d(0, 0, 0); visibility: visible; }
.hero__slide.is-entering, .hero__slide.is-leaving { visibility: visible; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 27, 43, .86) 0%, rgba(9, 27, 43, .74) 38%, rgba(9, 27, 43, .36) 66%, rgba(9, 27, 43, .14) 100%),
    linear-gradient(0deg, rgba(13, 36, 56, .6) 0%, rgba(13, 36, 56, 0) 35%);
}
.hero__content { position: relative; padding-block: 5rem 8rem; }
.hero .kicker { color: var(--gold-hover); }
.hero__title, .hero__lead, .hero .kicker { text-shadow: 0 1px 18px rgba(9, 27, 43, .55); }
.hero__title { color: var(--heading); max-width: 15ch; font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); font-weight: 500; line-height: 1.04; text-wrap: balance; }
.hero__lead { max-width: 36rem; margin: 1.5rem 0 2.25rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: #E6ECF1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__controls {
  position: absolute; right: var(--gutter); bottom: 2rem; z-index: 2; display: flex; align-items: center; gap: 1.5rem;
}
@media (min-width: 1280px) { .hero__controls { right: calc((100vw - var(--container)) / 2); } }
.hero__dots { display: flex; gap: .25rem; }
.hero__dot { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero__dot span { display: block; width: 100%; height: 2px; max-width: 2.25rem; background: rgba(247, 243, 235, .45); transition: background-color .3s, height .3s; }
.hero__dot:hover span { background: rgba(247, 243, 235, .8); }
.hero__dot[aria-current="true"] span { background: var(--gold); height: 3px; }
.hero__buttons { display: flex; gap: .5rem; }
.hero__btn {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border-radius: 50%;
  border: 1px solid rgba(247, 243, 235, .6); background: rgba(13, 36, 56, .45); color: var(--heading); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s;
}
.hero__btn:hover { background: var(--heading); color: var(--bg); border-color: var(--heading); }
.hero__btn .icon { width: 1.15rem; height: 1.15rem; }
.hero__btn-play { display: none; }
.hero.is-paused .hero__btn-pause { display: none; }
.hero.is-paused .hero__btn-play { display: inline-flex; }
html:not(.js) .hero__controls { display: none; }

.photo-note {
  position: absolute; left: var(--gutter); bottom: 1.25rem; z-index: 2; margin: 0;
  font-size: .72rem; letter-spacing: .06em; color: rgba(247, 243, 235, .82);
}
@media (min-width: 1280px) { .photo-note { left: calc((100vw - var(--container)) / 2); } }
.photo-note--inline { position: static; margin-top: .6rem; color: var(--text-soft); }

@media (max-width: 700px) {
  .hero { justify-content: flex-end; min-height: max(620px, calc(100svh - var(--header-h))); }
  .hero__overlay { background: linear-gradient(0deg, rgba(9, 27, 43, .93) 0%, rgba(9, 27, 43, .86) 50%, rgba(9, 27, 43, .84) 68%, rgba(9, 27, 43, .5) 100%); }
  .hero__content { padding-block: 3rem 8.5rem; }
  .hero .kicker { background: rgba(9, 27, 43, .72); padding: .3rem .6rem; margin-left: -.6rem; border-radius: var(--radius); }
  .hero__controls { left: var(--gutter); right: var(--gutter); bottom: 2.75rem; justify-content: space-between; gap: .5rem; }
  .hero__dot { width: 2.25rem; }
  .photo-note--hero { bottom: 1rem; }
}

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--bg-alt); overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after {
  content: ""; position: absolute; right: -6rem; top: -6rem; width: 26rem; height: 26rem; z-index: -1;
  border: 1px solid rgba(201, 164, 92, .28); border-radius: 50%;
}
.page-hero__inner { padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.5rem); }
.page-hero__title { color: var(--heading); font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); font-weight: 500; max-width: 26ch; text-wrap: balance; }
.page-hero__lead { max-width: 40rem; margin: 1rem 0 0; color: var(--text); font-size: 1.15rem; }
.page-hero--image .page-hero__inner { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 36, 56, .9) 0%, rgba(13, 36, 56, .68) 55%, rgba(13, 36, 56, .42) 100%); }
.page-hero--image::after { display: none; }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.intro__body { font-size: 1.125rem; color: var(--text); max-width: 40rem; }
.intro__body .link-arrow { margin-top: .75rem; }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; } }

/* ---------- Tarjetas (valores, servicios, enfoque, créditos) ---------- */
.values { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem 2.2rem;
  transition: border-color .3s, transform .3s var(--ease);
}
.value:hover { border-color: rgba(201, 164, 92, .55); transform: translateY(-3px); }
.value__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.4rem; color: var(--gold); border: 1px solid rgba(201, 164, 92, .7); border-radius: 50%; }
.value__icon .icon { width: 1.35rem; height: 1.35rem; }
.value__title { font-size: 1.55rem; margin-bottom: .6rem; }
.value__text { margin: 0; color: var(--text); font-size: .98rem; }

.services { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.service {
  position: relative; padding: 2.25rem 1.75rem 2rem; background: var(--surface);
  border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s;
}
.service:hover { transform: translateY(-4px); border-color: rgba(201, 164, 92, .55); background: #1F4059; }
.service__num { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--font-serif); font-size: 1.35rem; color: var(--gold); }
.service__icon { display: inline-flex; color: var(--gold); margin-bottom: 1.5rem; }
.service__icon .icon { width: 2rem; height: 2rem; }
.service__title { font-size: 1.6rem; margin-bottom: .7rem; }
.service__text { margin: 0; color: var(--text); font-size: .98rem; }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.step { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line-strong); }
.step__num { display: block; font-family: var(--font-serif); font-size: 2.75rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.step__title { font-size: 1.5rem; margin-bottom: .5rem; }
.step__text { margin: 0; font-size: .98rem; color: var(--text); }
.steps--vertical { grid-template-columns: 1fr; gap: 0; }
.steps--vertical .step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--line-strong); }
.steps--vertical .step:last-child { border-bottom: 1px solid var(--line-strong); }
.steps--vertical .step__num { font-size: 2.5rem; margin: 0; }
.steps--vertical .step__title { font-size: 1.75rem; }
.steps--vertical .step__text { font-size: 1.02rem; }

/* ---------- Bloques imagen + texto ---------- */
.media-split--home .media-split__media img { aspect-ratio: 5 / 6; }
.media-split--home .section-title { margin-bottom: .5rem; }
.media-split__text .kicker { color: var(--gold); font-size: .78rem; max-width: none; margin-bottom: 1rem; }
.steps--compact { grid-template-columns: 1fr; gap: 0; margin: 1.5rem 0 2rem; }
.steps--compact .step { display: grid; grid-template-columns: 3.5rem 1fr; gap: .75rem; padding: 1.25rem 0; border-top: 1px solid var(--line-strong); }
.steps--compact .step:last-child { border-bottom: 1px solid var(--line-strong); }
.steps--compact .step__num { font-size: 2rem; margin: 0; }
.steps--compact .step__title { font-size: 1.45rem; margin-bottom: .25rem; }
@media (max-width: 899px) { .media-split--home .media-split__media img { aspect-ratio: 4 / 3; } }
.media-split { display: grid; gap: 2.5rem; align-items: center; }
.media-split__text p { color: var(--text); font-size: 1.1rem; max-width: 40rem; }
.media-split__text .section-title { margin-bottom: 1.5rem; }
.media-split__media { margin: 0; }
.media-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--line); }
@media (min-width: 900px) {
  .media-split { grid-template-columns: 6fr 5fr; gap: 5rem; }
  .media-split--top { align-items: start; }
  .media-split__media--sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 899px) { .media-split__media img { aspect-ratio: 4 / 3; } }

.approach { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.approach__item { padding: 1.75rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--gold); border-radius: var(--radius); }
.approach__item h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.approach__item p { margin: 0; color: var(--text); }

.statements { display: grid; gap: 3rem; }
@media (min-width: 900px) { .statements { grid-template-columns: 1fr 1fr; gap: 0; } .statement + .statement { border-left: 1px solid var(--line-strong); padding-left: 4rem; } .statement:first-child { padding-right: 4rem; } }
.statement__label { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.statement__text { margin: 0; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1.3; color: var(--heading); }

/* ---------- Bloque crema de llamada a la acción ---------- */
.cta-band { background: var(--cream); color: var(--muted-on-cream); padding-block: clamp(3.5rem, 7vw, 5rem); position: relative; }
.cta-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band__title { color: var(--navy-logo); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); font-weight: 500; }
.cta-band__text { margin: .5rem 0 0; color: var(--muted-on-cream); }

/* ---------- Preguntas frecuentes ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s; }
.faq__item[open] { border-color: rgba(201, 164, 92, .5); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-serif); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); font-weight: 600; color: var(--heading);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold-hover); }
.faq__q:focus-visible { outline-offset: -2px; }
.faq__icon { color: var(--gold); transition: transform .3s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 3.5rem 1.5rem 1.5rem; color: var(--text); }
.faq__a p { margin: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 4fr 6fr; gap: 5rem; align-items: start; } }
.channels { margin: 0; display: grid; gap: 1.25rem; }
.channel dt { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.channel dt .icon { width: 1.15rem; height: 1.15rem; }
.channel dd { margin: .25rem 0 0 1.75rem; font-size: 1.1rem; color: var(--heading); overflow-wrap: anywhere; }
.channels-empty { padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--gold); color: var(--text); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.contact-form__title { font-size: 2rem; margin-bottom: 1.25rem; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-notice { display: flex; gap: .75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-left: 2px solid var(--gold); font-size: .95rem; color: var(--heading); }
.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .88rem; font-weight: 600; color: var(--heading); }
.field__req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--bg); border: 1px solid var(--field-border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
  color-scheme: dark;
}
.field select option { background: var(--bg); color: var(--heading); }
.field textarea { resize: vertical; min-height: 8rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-hover); box-shadow: 0 0 0 3px rgba(226, 189, 116, .35); }
.field [aria-invalid="true"] { border-color: #FF9C8A; }
.field__error { margin: 0; color: #FF9C8A; font-size: .88rem; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; }
.field--check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: .25rem; accent-color: var(--gold); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--text); }
.field--check .field__error { grid-column: 2; }
/* Formulario desactivado: legible, sin texto oscuro, claramente inactivo */
fieldset:disabled .field input, fieldset:disabled .field select, fieldset:disabled .field textarea {
  background: var(--bg-alt); border-style: dashed; border-color: var(--field-border); color: var(--text-soft); cursor: not-allowed;
}
fieldset:disabled .field label, fieldset:disabled .field--check label { color: var(--text-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { margin: 0; font-size: .95rem; color: var(--text); }
.form-status.is-success { color: #9FD8B0; }
.form-status.is-error { color: #FF9C8A; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); }
.contact-card .channels-empty { margin: 0; }
.channel__primary { font-family: var(--font-sans); font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: .01em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.contact-soon { display: flex; align-items: center; gap: .6rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--text); font-size: .98rem; }
.contact-soon .icon { color: var(--gold); }

/* ---------- Créditos ---------- */
.credits { list-style: none; display: grid; gap: .75rem; }
.credit { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; align-items: center; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.credit img { width: 120px; height: 80px; object-fit: cover; }
.credit__title { margin: 0 0 .25rem; font-weight: 500; color: var(--heading); }
.credit__meta { margin: 0; font-size: .9rem; color: var(--text-soft); }
@media (max-width: 480px) { .credit { grid-template-columns: 84px 1fr; } .credit img { width: 84px; height: 64px; } }

/* ---------- 404 ---------- */
.notfound { position: relative; isolation: isolate; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; background: var(--bg); }
.notfound__media { position: absolute; inset: 0; z-index: -1; }
.notfound__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.notfound__inner { display: grid; gap: 3rem; padding-block: 5rem; align-items: start; }
@media (min-width: 900px) { .notfound__inner { grid-template-columns: 1fr 1fr; gap: 5rem; } .notfound__col + .notfound__col { border-left: 1px solid var(--line-strong); padding-left: 5rem; } }
.notfound__title { font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 500; margin-bottom: 1rem; }
.notfound p { color: var(--text); }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Pie de página (más oscuro) ---------- */
.site-footer { background: var(--bg-deep); color: var(--text); border-top: 1px solid rgba(201, 164, 92, .3); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 2fr 1.3fr 1fr; } }
/* El logo original se coloca sobre una superficie crema para conservar sus colores */
.site-footer__brand > a { display: inline-flex; padding: .9rem 1.2rem; background: var(--cream); border-radius: var(--radius); text-decoration: none; }
.site-footer__brand > a:focus-visible { outline-color: var(--gold-hover); }
.site-footer__logo { height: 56px; width: auto; }
.site-footer__tagline { margin: 1.25rem 0 0; color: var(--text); max-width: 22rem; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; line-height: 1.35; }
.site-footer__heading { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer__nav ul { list-style: none; display: grid; gap: .35rem; }
.site-footer__nav a { color: var(--heading); text-decoration: none; display: inline-block; padding: .2rem 0; border-bottom: 1px solid transparent; }
.site-footer__nav a:hover { color: var(--gold-hover); border-bottom-color: var(--gold-hover); }
.site-footer .lang__item { color: var(--text-soft); }
.site-footer .lang__item.is-active { color: var(--heading); box-shadow: inset 0 -2px 0 var(--gold); }
.site-footer a.lang__item:hover { color: var(--heading); background: var(--surface); }
.site-footer .lang__sep { color: var(--text-soft); }
.lang--footer { margin-left: -.35rem; }
.site-footer__legal { padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-soft); display: grid; gap: .35rem; }
.site-footer__legal p { margin: 0; max-width: 70rem; }

/* ---------- Ajustes móviles ---------- */
@media (max-width: 599px) {
  .value { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 1rem; padding: 1.5rem 1.25rem; }
  .value__icon { width: 2.75rem; height: 2.75rem; margin: 0; grid-row: span 2; }
  .value__title { font-size: 1.4rem; margin-bottom: .25rem; align-self: center; }
  .faq__q { padding: 1.15rem 1.15rem; }
  .faq__a { padding: 0 1.15rem 1.25rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
