/* ==========================================================================
   NawRath Auditores Certificadores — V1 «Confianza Corporativa»
   Design tokens + layout. Sin frameworks, sin CDNs.
   ========================================================================== */

/* ---------- Fuentes auto-hospedadas (subset latin, swap) ---------- */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/playfair-display-600italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/barlow-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/barlow-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/barlow-600-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --navy-800: #093B97;
  --navy-950: #071B3F;
  --gold-300: #CFAF6E;   /* solo sobre fondos navy (texto) */
  --gold-700: #7E6327;   /* dorado de texto sobre fondos claros */

  /* Neutros */
  --ink:      #1F2937;
  --slate:    #4A5568;
  --paper:    #F7F8FA;
  --white:    #FFFFFF;
  --line:     #E3E7EF;
  --line-input: #757D8C; /* bordes de campos de formulario — WCAG 1.4.11: 4.1:1 sobre blanco, 3.9:1 sobre paper */
  --line-dark: rgb(255 255 255 / 0.12);

  /* Estado */
  --error:    #B3261E;

  /* Tipografía */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-hero:  clamp(2.25rem, 1.4rem + 3.8vw, 3.75rem);
  --fs-h2:    clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --fs-h3:    clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-quote: clamp(1.375rem, 1.1rem + 1.4vw, 2rem);
  --fs-body:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.8125rem;

  /* Espaciado y layout */
  --space-2xs: .25rem; --space-xs: .5rem; --space-sm: .75rem; --space-md: 1rem;
  --space-lg: 1.5rem;  --space-xl: 2rem;  --space-2xl: 3rem;  --space-3xl: 4rem;
  --section-pad: clamp(4rem, 2.5rem + 6vw, 7rem);
  --container: 72rem;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(7 27 63 / .06);
  --shadow-md: 0 8px 24px rgb(7 27 63 / .10);

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

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

a { color: var(--navy-800); }
a:hover { color: var(--navy-950); }

[id] { scroll-margin-top: 88px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* Foco visible en ambos fondos */
:focus-visible {
  outline: 3px solid var(--navy-800);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-header :focus-visible,
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-300);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100px;
  z-index: 100;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gold-300);
  color: var(--navy-950);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 0; color: var(--navy-950); }

/* ---------- Tipos compartidos ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-700);
  margin-bottom: var(--space-sm);
}
.eyebrow-center { text-align: center; }

.section-head { margin-bottom: var(--space-2xl); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.18;
  max-width: 24em;
  color: var(--ink);
}
.section-head h2::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin-top: var(--space-lg);
  background: var(--gold-300);
}
.section-sub { margin-top: var(--space-md); color: var(--slate); max-width: 65ch; }

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--ink);
}

p { max-width: 65ch; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: .8em 1.6em;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--navy-800);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-950); color: var(--white); }

.btn-light {
  background: var(--white);
  color: var(--navy-950);
}
.btn-light:hover { background: var(--paper); color: var(--navy-950); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgb(255 255 255 / .55);
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgb(255 255 255 / .08); }

.btn-light-on-800 {
  background: var(--white);
  color: var(--navy-800);
}
.btn-light-on-800:hover { background: var(--paper); color: var(--navy-950); }

.btn-nav {
  background: transparent;
  color: var(--white);
  border-color: var(--gold-300);
  padding: .55em 1.2em;
  font-size: .9375rem;
}
.btn-nav:hover { background: var(--gold-300); color: var(--navy-950); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: 150px; height: auto; }

.site-nav { display: flex; align-items: center; gap: var(--space-xl); }
.site-nav ul {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  margin: 0; padding: 0;
}
.site-nav ul a {
  color: var(--white);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .35em .1em;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease;
}
.site-nav ul a:hover { color: var(--white); border-bottom-color: var(--gold-300); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  background: transparent;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: .5em .7em;
  font: inherit;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle-label {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

@media (max-width: 859.98px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
    background: var(--navy-950);
    border-bottom: 1px solid var(--line-dark);
    padding: var(--space-lg) var(--container-pad) var(--space-xl);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  @media (prefers-reduced-motion: no-preference) {
    .site-nav.is-open { animation: navIn .22s ease both; }
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    display: block;
    padding: var(--space-sm) 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--line-dark);
  }
  .btn-nav { text-align: center; margin-top: var(--space-sm); }
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgb(207 175 110 / .08), transparent 60%),
    linear-gradient(160deg, #071B3F 0%, #093B97 90%);
  color: var(--white);
  padding-block: calc(var(--section-pad) * 1.15) calc(var(--section-pad) * 1.2);
}
.hero-inner { max-width: 54rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  padding: .45em 1.1em .45em .8em;
  margin-bottom: var(--space-xl);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--white);
  background: rgb(255 255 255 / .04);
}
.hero-badge img { width: auto; height: 22px; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 15em;
}
.hero-sub {
  margin-top: var(--space-lg);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: rgb(255 255 255 / .88);
  max-width: 44em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

/* ==========================================================================
   Strip de clientes
   ========================================================================== */
.client-strip {
  background: var(--white);
  padding-block: var(--space-3xl);
  border-bottom: 1px solid var(--line);
}
.strip-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg) var(--space-2xl);
  list-style: none;
  margin: var(--space-xl) 0 0;
  padding: 0;
}
.strip-logos img {
  width: auto;
  height: 64px;
  filter: grayscale(1) opacity(.72);
  transition: filter .25s ease, opacity .25s ease;
}
.strip-logos img:hover { filter: grayscale(0) opacity(1); }
.strip-more {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: var(--fs-small);
}
.strip-more a { color: var(--navy-800); font-weight: 500; }

/* ==========================================================================
   Nosotros
   ========================================================================== */
.about { background: var(--white); padding-block: var(--section-pad); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-3xl);
  align-items: start;
}
.about-copy p + p { margin-top: var(--space-lg); }
.about-lede {
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.45;
  color: var(--navy-800);
  max-width: 30em;
}

.about-aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.about-aside h3 { margin-bottom: var(--space-lg); }

.gold-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: var(--space-md);
}
.gold-list li {
  position: relative;
  padding-left: 1.4em;
  color: var(--ink);
}
.gold-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: .55em; height: .55em;
  border-radius: 50%;
  background: var(--gold-300);
}

@media (max-width: 859.98px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

/* ==========================================================================
   Cita del socio
   ========================================================================== */
.partner-quote { background: var(--paper); padding-block: var(--section-pad); }

.partner-quote figure {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  padding-top: var(--space-2xl);
}
.partner-quote figure::before {
  content: "\201C";
  position: absolute;
  top: -.18em;
  left: -.06em;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold-300);
  pointer-events: none;
}
.partner-quote blockquote p { color: var(--slate); }
.partner-quote blockquote p + p { margin-top: var(--space-lg); }
.partner-quote .pull {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-quote);
  line-height: 1.35;
  color: var(--ink);
  max-width: 26em;
}

.partner-quote figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line);
}
.partner-quote figcaption img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--white);
  border: 1px solid var(--line);
}
.partner-quote .attribution { display: grid; }
.partner-quote .attribution strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}
.partner-quote .attribution span { color: var(--gold-700); font-weight: 600; font-size: var(--fs-small); letter-spacing: .04em; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.services { background: var(--white); padding-block: var(--section-pad); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(var(--space-xl), 4vw, var(--space-3xl));
  align-items: center;
  padding-block: var(--space-2xl);
}
.service + .service { border-top: 1px solid var(--line); }

.service-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.service:nth-of-type(even) .service-media { order: 2; }

.service-media-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 980 / 655;
  border-radius: var(--radius-md);
  background:
    radial-gradient(700px 380px at 80% -20%, rgb(207 175 110 / .12), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, #0A2C67 100%);
}
.panel-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(6rem, 4rem + 9vw, 11rem);
  line-height: 1;
  color: var(--gold-300);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-700);
  margin-bottom: var(--space-xs);
}
.service-body h3 { max-width: 22em; }
.service-body > p:not(.service-num) { margin-top: var(--space-md); color: var(--slate); }
.service-note { font-size: var(--fs-small); color: var(--slate); }

.service-link {
  display: inline-block;
  margin-top: var(--space-lg);
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-300);
  padding-bottom: .15em;
  transition: color .15s ease, border-color .15s ease;
}
.service-link:hover { color: var(--navy-950); border-bottom-color: var(--gold-700); }

@media (max-width: 859.98px) {
  .service { grid-template-columns: 1fr; gap: var(--space-lg); align-items: start; }
  .service:nth-of-type(even) .service-media { order: 0; }
}

/* ==========================================================================
   Banda CTA
   ========================================================================== */
.cta-band { background: var(--navy-800); padding-block: var(--space-3xl); }
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}
.cta-band-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.15rem + 1.2vw, 1.875rem);
  line-height: 1.3;
  color: var(--white);
  max-width: 24em;
}

/* ==========================================================================
   Ventajas
   ========================================================================== */
.advantages { background: var(--paper); padding-block: var(--section-pad); }

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xl);
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease;
}
.advantage-card:hover { box-shadow: var(--shadow-md); }
.advantage-card img { width: 56px; height: 56px; margin-bottom: var(--space-lg); }
.advantage-card p { margin-top: var(--space-sm); color: var(--slate); }

@media (max-width: 859.98px) {
  .advantage-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Equipo
   ========================================================================== */
.team { background: var(--white); padding-block: var(--section-pad); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2xl) var(--space-xl);
}
.team-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: end center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.team-photo picture { display: block; width: 100%; height: 100%; }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.team-role {
  color: var(--gold-700);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: .03em;
  margin-top: var(--space-2xs);
}
.team-bio { margin-top: var(--space-sm); color: var(--slate); font-size: .9375rem; line-height: 1.6; }

@media (max-width: 1099.98px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Clientes
   ========================================================================== */
.clients { background: var(--paper); padding-block: var(--section-pad); }

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-md);
  list-style: none;
  margin: 0; padding: 0;
}
.client-grid li {
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  min-height: 108px;
}
.client-grid img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  filter: grayscale(1) opacity(.72);
  transition: filter .25s ease, opacity .25s ease;
}
.client-grid img:hover { filter: grayscale(0) opacity(1); }

/* Logo blanco sobre transparente: necesita fondo navy para ser visible */
.client-grid .tile-dark { background: var(--navy-950); border-color: var(--navy-950); }

@media (max-width: 1099.98px) {
  .client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 859.98px) {
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 639.98px) {
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact { background: var(--white); padding-block: var(--section-pad); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--space-3xl);
  align-items: start;
}

.contact-data dl {
  display: grid;
  gap: var(--space-lg);
}
.contact-item dt {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-700);
  margin-bottom: var(--space-2xs);
}
.contact-item dd { color: var(--ink); }
.contact-item a { color: var(--navy-800); font-weight: 500; }
.contact-note {
  margin-top: var(--space-xl);
  font-size: var(--fs-small);
  color: var(--slate);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}
.field { margin-bottom: var(--space-lg); }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: var(--space-2xs);
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: .7em .9em;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-input);
  border-radius: var(--radius-sm);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--navy-800);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 8rem; }

.field.has-error input,
.field.has-error textarea { border-color: var(--error); }
.field .field-error {
  margin-top: var(--space-2xs);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--error);
}

.form-status { min-height: 1.4em; margin-bottom: var(--space-sm); font-weight: 500; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--navy-800); }

.form-fallback {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--slate);
}

@media (max-width: 859.98px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgb(255 255 255 / .88);
  padding-top: var(--space-3xl);
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold-300); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.footer-brand img { width: 170px; height: auto; margin-bottom: var(--space-lg); }
.footer-brand p { max-width: 30ch; color: rgb(255 255 255 / .78); }

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold-300);
  margin: 0 0 var(--space-lg);
}
.footer-nav ul, .footer-contact ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-contact li { color: rgb(255 255 255 / .78); }

.footer-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xl);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--line-dark);
}
.footer-seals-label {
  font-size: var(--fs-small);
  font-weight: 500;
  color: rgb(255 255 255 / .78);
}
.footer-seals img { width: auto; height: 40px; opacity: .92; }

.footer-bar {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--space-lg);
}
.footer-bar p {
  font-size: var(--fs-small);
  color: rgb(255 255 255 / .78);
}

@media (max-width: 859.98px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ==========================================================================
   Reveal on scroll (solo se activa vía JS + motion OK; sin JS todo visible)
   ========================================================================== */
html.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion: sitio 100% estático
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
