/* ==========================================================================
   American Group Lopsan: estilos del sitio (mobile first)
   Puntos de quiebre: base móvil, min-width 600px y min-width 900px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fuente
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  src: url("assets/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --navy: #071629;
  --navy-2: #102b49;
  --blue: #173e63;
  --navy-deep: #04101f;
  --gold: #c6a04a;
  --gold-light: #e5c779;
  --gold-text: #856418;
  --ink: #152235;
  --muted: #5a6778;
  --paper: #f5f7fa;
  --line: #e4e9ef;
  --white: #ffffff;
  --on-dark: #c6d1df;
  --error: #a82219;
  --success: #17603a;

  /* Tipografía */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: 0.75rem;   /* 12px: mínimo permitido */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.0625rem; /* 17px */
  --h1: clamp(2.5rem, 5.5vw, 4.25rem);     /* 40px a 68px */
  --h2: clamp(1.875rem, 4vw, 2.6875rem);   /* 30px a 43px */
  --h3: 1.0625rem;

  /* Espacio y forma */
  --container: 1160px;
  --gutter: 16px;
  --section-space: 3.875rem;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 55px rgb(7 22 41 / 9%);
  --header-height: 72px;

  /* Foco: se invierte dentro de las superficies oscuras */
  --focus: var(--navy);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
}

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

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.13;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--h1);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

h2 {
  font-size: var(--h2);
  letter-spacing: -0.035em;
}

h3 {
  font-size: var(--h3);
  line-height: 1.3;
}

p {
  margin: 0;
}

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

/* --------------------------------------------------------------------------
   4. Utilidades
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-space);
}

/* Superficies oscuras: ajustan el foco y los colores heredados */
.surface-dark {
  --focus: var(--gold-light);
  color: var(--white);
  background: var(--navy);
}

.surface-paper {
  background: var(--paper);
}

/* Oculto a la vista, disponible para lectores de pantalla */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* --------------------------------------------------------------------------
   5. Títulos de sección
   -------------------------------------------------------------------------- */
.kicker {
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.surface-dark .kicker {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   6. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s ease, background-color 0.2s ease, filter 0.2s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.btn-gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-gold:hover:not(:disabled) {
  filter: brightness(1.04);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--gold-light);
  background: transparent;
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgb(198 160 74 / 12%);
}

/* --------------------------------------------------------------------------
   7. Iconos
   -------------------------------------------------------------------------- */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 16px;
  height: 16px;
  stroke-width: 2.25;
}

/* --------------------------------------------------------------------------
   8. Franja superior y encabezado
   -------------------------------------------------------------------------- */
.topbar {
  --focus: var(--gold-light);
  padding-block: 8px;
  font-size: var(--text-xs);
  background: var(--navy-deep);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
}

.topbar a {
  color: var(--gold-light);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.site-header {
  --focus: var(--gold-light);
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: var(--navy);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
}

.header-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.07em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
}

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

.brand small {
  display: block;
  margin-top: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: none;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: var(--radius-sm);
}

.js .nav-toggle {
  display: inline-flex;
}

/* Sin JavaScript, el menú se muestra completo debajo de la marca */
.site-nav {
  flex-basis: 100%;
  padding-bottom: 8px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-sm);
  color: var(--white);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold-light);
}

/* Con JavaScript, en móvil se despliega con el botón */
.js .site-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  padding: 8px var(--gutter) 16px;
  background: var(--navy);
  border-top: 1px solid rgb(255 255 255 / 12%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.js .site-nav.is-open {
  display: block;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.js .site-nav ul {
  flex-direction: column;
}

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-inner {
    flex-wrap: nowrap;
  }

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

  .js .nav-toggle {
    display: none;
  }

  .site-nav,
  .js .site-nav {
    position: static;
    display: block;
    flex-basis: auto;
    padding: 0;
    background: none;
    border: 0;
  }

  .site-nav ul,
  .js .site-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 18px;
  }

  .site-nav a {
    white-space: nowrap;
  }
}

/* El botón solo cabe junto al menú completo desde este ancho */
@media (min-width: 1100px) {
  .header-cta {
    display: inline-flex;
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   9. Encabezados de sección
   -------------------------------------------------------------------------- */
.kicker-line {
  display: flex;
  gap: 10px;
  align-items: center;
}

.kicker-line::before {
  flex: none;
  width: 34px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-block: 12px;
  color: var(--navy);
}

.section-head > p:last-child:not(.kicker) {
  color: var(--muted);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. Inicio
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 40px 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 30%, #1c4770 0, transparent 36%),
    linear-gradient(115deg, #061426 0%, #0b2038 58%, #102f4f 100%);
}

.hero::before {
  position: absolute;
  top: -170px;
  right: -240px;
  width: 580px;
  height: 580px;
  content: "";
  border: 1px solid rgb(198 160 74 / 21%);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgb(198 160 74 / 4%), 0 0 0 110px rgb(198 160 74 / 3%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  margin-block: 16px;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-copy {
  max-width: 620px;
  color: var(--on-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px;
}

.hero-note {
  font-size: var(--text-xs);
  color: var(--on-dark);
}

.hero-art {
  display: grid;
  place-items: center;
}

.orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 82vw);
  aspect-ratio: 1;
  border: 1px solid rgb(213 177 92 / 40%);
  border-radius: 50%;
  box-shadow: 0 0 90px rgb(198 160 74 / 8%);
}

.orbit img {
  width: 66%;
  border-radius: 50%;
  box-shadow: 0 20px 55px rgb(0 0 0 / 50%);
}

.orbit-tag {
  position: absolute;
  padding: 8px 12px;
  font-size: var(--text-xs);
  color: var(--gold-light);
  white-space: nowrap;
  background: var(--navy-2);
  border: 1px solid rgb(198 160 74 / 47%);
  border-radius: 12px;
}

.orbit-tag-a {
  top: 6%;
  right: 0;
}

.orbit-tag-b {
  bottom: 6%;
  left: 0;
}

@media (min-width: 900px) {
  .hero {
    padding-block: 94px 88px;
  }

  .hero::before {
    right: -100px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }

  .hero-copy {
    font-size: var(--text-lg);
  }

  .orbit {
    width: 340px;
  }
}

/* --------------------------------------------------------------------------
   11. Datos destacados
   -------------------------------------------------------------------------- */
.stats {
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  padding-block: 24px;
  list-style: none;
}

.stats-grid strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--navy);
}

.stats-grid span {
  display: block;
  font-size: var(--text-xs);
  color: var(--muted);
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stats-grid li {
    padding-inline: 24px;
    border-right: 1px solid var(--line);
  }

  .stats-grid li:first-child {
    padding-left: 0;
  }

  .stats-grid li:last-child {
    border-right: 0;
  }
}

/* --------------------------------------------------------------------------
   12. Nosotros
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

/* En móvil se omite: el mismo logo ya aparece en la portada, justo antes */
.about-visual {
  position: relative;
  display: none;
  place-items: center;
  min-height: 300px;
  padding-block: 32px 56px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy), #17436b);
  border-radius: var(--radius-lg);
}

.about-visual::before {
  position: absolute;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgb(198 160 74 / 47%);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgb(198 160 74 / 7%), 0 0 0 75px rgb(198 160 74 / 4%);
}

.about-visual img {
  position: relative;
  width: 170px;
}

.about-visual p {
  position: absolute;
  right: 12px;
  bottom: 24px;
  left: 12px;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-align: center;
  text-transform: uppercase;
}

.mission {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.mission article {
  padding: 20px;
  background: var(--paper);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius-md);
}

.mission h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.mission p {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (min-width: 600px) {
  .mission {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }

  .about-visual {
    display: grid;
    min-height: 420px;
  }
}

/* --------------------------------------------------------------------------
   13. Servicios
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: #d7bd7d;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.iconbox {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--gold-text);
  background: #f7f0df;
  border-radius: 13px;
}

.service-card h3 {
  margin-block: 16px 8px;
  color: var(--navy);
}

.service-card p {
  margin-bottom: 16px;
  font-size: var(--text-sm);
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--gold-text);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

@media (min-width: 600px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   14. Capital e inversión
   -------------------------------------------------------------------------- */
.capital {
  background: linear-gradient(120deg, #061426, #102e4e);
}

.capital-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.capital h2 {
  margin-block: 12px;
}

.capital-copy {
  margin-bottom: 24px;
  color: var(--on-dark);
}

.capital-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capital-list li {
  padding: 16px;
  font-size: var(--text-sm);
  color: var(--on-dark);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 12px;
}

.capital-note {
  margin-top: 16px;
  font-size: var(--text-xs);
  color: var(--on-dark);
}

@media (min-width: 600px) {
  .capital-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .capital-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
  }
}

/* --------------------------------------------------------------------------
   15. Cómo empezar
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}

.steps li {
  padding: 24px;
  background: var(--paper);
  border-radius: var(--radius-md);
  counter-increment: paso;
}

.steps li::before {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  font-weight: 800;
  color: var(--gold-light);
  content: counter(paso);
  background: var(--navy);
  border-radius: 50%;
}

.steps h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.steps p {
  font-size: var(--text-sm);
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   16. Cobertura
   -------------------------------------------------------------------------- */
.cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cities li {
  padding: 8px 16px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   17. Contacto
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 40px;
}

#contacto h2 {
  margin-block: 12px;
}

.contact-copy {
  color: var(--on-dark);
}

.contact-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.contact-list .icon {
  color: var(--gold-light);
}

.contact-list a {
  font-size: var(--text-sm);
  color: var(--white);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 55px;
  }
}

/* Tarjeta del formulario: superficie clara dentro de la sección oscura */
.form-card {
  --focus: var(--navy);
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-lg);
}

.form-card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: var(--navy);
}

.form-card a {
  color: var(--navy);
  text-decoration: underline;
}

.form-noscript,
.form-hint,
.form-notice {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Sin JavaScript no se puede enviar: se muestran los otros canales */
.contact-form {
  display: none;
}

.js .contact-form {
  display: block;
}

.form-hint {
  margin-bottom: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  border: 1px solid #7b8796;
  border-radius: var(--radius-sm);
}

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

.field [aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.field-error {
  margin-top: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--error);
}

.field-error:empty {
  display: none;
}

.field-check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px 10px;
  align-items: start;
}

.field-check input {
  width: 24px;
  min-height: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  accent-color: var(--navy);
}

.field-check label {
  margin: 0;
  font-weight: 500;
}

.field-check .field-error {
  grid-column: 2;
  margin-top: 0;
}

/* Campo trampa: fuera de la vista, sin usar display none */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  margin-top: 16px;
}

.form-status {
  font-size: var(--text-sm);
}

.form-status:empty {
  display: none;
}

.form-status:not(:empty) {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.form-status.is-success {
  color: var(--success);
  background: #e9f5ee;
}

.form-status.is-error {
  color: var(--error);
  background: #fdecea;
}

.form-status a {
  color: inherit;
}

@media (min-width: 600px) {
  .form-card {
    padding: 28px;
  }
}

/* --------------------------------------------------------------------------
   18. Pie de página
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 32px;
  font-size: var(--text-sm);
  color: var(--on-dark);
  background: var(--navy-deep);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  color: var(--white);
}

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

.footer-brand small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.legal {
  max-width: 720px;
  margin-top: 20px;
  font-size: var(--text-xs);
  color: var(--on-dark);
}

/* --------------------------------------------------------------------------
   Páginas interiores: política de datos y 404
   -------------------------------------------------------------------------- */
.page-header {
  --focus: var(--gold-light);
  color: var(--white);
  background: var(--navy);
}

.page-header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-block: 8px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-sm);
  color: var(--gold-light);
}

.prose {
  max-width: 760px;
}

.prose h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
}

.prose h2 {
  margin-block: 32px 12px;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.prose p,
.prose ul,
.prose ol {
  margin-block: 0 12px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--navy);
}

.prose-meta {
  font-size: var(--text-sm);
  color: var(--muted);
}

.not-found {
  display: grid;
  gap: 16px;
  justify-items: start;
  min-height: 50vh;
  align-content: center;
}

.not-found h1 {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   19. Preferencias de movimiento
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   20. Puntos de quiebre globales
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  :root {
    --gutter: 20px;
  }
}

@media (min-width: 900px) {
  :root {
    --section-space: 5.375rem;
    --header-height: 82px;
  }
}
