/* =============================================================
   TU ALIADO ESTRATÉGICO — styles.css
   Paleta y tipografía según Guía de Marca oficial.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  /* Marca */
  --navy:        #16294C;
  --navy-mid:    #1D3563;
  --gold:        #B8913F;
  --gold-light:  #D4AF5E;
  --gold-grad-a: #E2C07A;
  --gold-grad-b: #A8822F;
  --cream:       #F6EFE4;
  --ivory:       #FBF8F1;
  --slate:       #40507A;

  /* Semánticos */
  --bg:          var(--ivory);
  --bg-alt:      var(--cream);
  --ink:         var(--navy);
  --body:        var(--slate);
  --line:        rgba(22, 41, 76, 0.12);
  --line-gold:   linear-gradient(90deg, var(--gold-grad-a), var(--gold-grad-b));

  /* Tipografía */
  --sans:   "Poppins", "Segoe UI", -apple-system, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;

  /* Ritmo */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 12px;

  /* Easings */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; line-height: 1.12; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--navy); color: var(--cream); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--navy); color: var(--cream);
  z-index: 9999; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { padding-block: var(--section-pad); }
.section-cream { background: var(--bg-alt); }

.script-gold {
  font-family: var(--script);
  font-weight: 400;
  color: var(--gold);
  font-size: 1.28em;
  line-height: 1;
}
.script-gold-light {
  font-family: var(--script);
  font-weight: 400;
  color: var(--gold-light);
  font-size: 1.28em;
}

.kicker {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.8rem;
}
.section-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.section-sub {
  max-width: 56ch;
  margin-top: 1rem;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Reveal on scroll (defensivo: si JS falla, el timeout CSS no aplica,
   pero el observer usa threshold bajo + red de seguridad en main.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   4. Botones
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 6px 18px rgba(184, 145, 63, 0.28);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(184, 145, 63, 0.38);
}
.btn-ghost {
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.3rem; font-size: 1.02rem; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), padding 0.4s var(--ease-soft);
  background: transparent;
}
.nav.is-solid {
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(22, 41, 76, 0.06);
}
.nav-inner {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo { width: 44px; height: 44px; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-text strong {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.nav-brand-text em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
}
.nav-links a:not(.nav-cta) {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: 0.3rem;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--line-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-cta {
  background: var(--navy);
  color: var(--gold-light);
  padding: 0.55rem 1.3rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.nav-cta:hover { background: var(--navy-mid); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem var(--gutter) 1.4rem;
  background: rgba(251, 248, 241, 0.98);
  box-shadow: 0 12px 30px rgba(22, 41, 76, 0.08);
}
.nav-mobile a {
  padding: 0.6rem 0.2rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.nav-cta {
  margin-top: 0.6rem;
  border: 0;
  text-align: center;
}
.nav.is-open .nav-mobile { display: flex; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  overflow: clip;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% -10% -10%;
  pointer-events: none;
  background:
    radial-gradient(42% 45% at 82% 30%, rgba(212, 175, 94, 0.16), transparent 70%),
    radial-gradient(50% 55% at 8% 85%, rgba(22, 41, 76, 0.07), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1160px, 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: 3rem;
  max-width: 720px;
  margin-left: max(var(--gutter), calc((100% - 1160px) / 2));
}
.hero-title { margin-top: 1.2rem; }
.hero-script {
  display: block;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  color: var(--gold);
  line-height: 0.9;
  padding-left: 0.15em;
}
.hero-caps {
  display: block;
  font-weight: 700;
  font-size: clamp(2.6rem, 6.8vw, 4.8rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
}
.hero-tail {
  display: block;
  margin-top: 0.5rem;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--slate);
}
.hero-tail em {
  font-family: var(--script);
  font-style: normal;
  color: var(--gold);
  font-size: 1.45em;
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 54ch;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--slate);
}
.hero-meta strong { color: var(--navy); font-weight: 600; }
.hero-meta-sep {
  width: 26px; height: 1.5px;
  background: var(--line-gold);
}
.hero-seal {
  position: absolute;
  z-index: 1;
  right: clamp(-6rem, -2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.hero-seal img {
  width: clamp(260px, 32vw, 420px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(22, 41, 76, 0.25));
}

/* =============================================================
   7. Marquee
   ============================================================= */
.marquee {
  background: var(--navy);
  overflow: clip;
  padding-block: 0.95rem;
  border-top: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marqueeMove 36s linear infinite;
}
.marquee-track span {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.6rem;
}
@keyframes marqueeMove {
  to { transform: translateX(-50%); }
}

/* =============================================================
   8. Nosotros
   ============================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.about-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.about-col-body p { max-width: 62ch; margin-bottom: 1.1rem; }
.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 18px 40px rgba(22, 41, 76, 0.09);
}
.pillar-num {
  color: var(--gold);
  font-size: 0.7rem;
}
.pillar h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0.5rem 0 0.5rem;
  letter-spacing: 0.02em;
}
.pillar p { font-size: 0.92rem; margin: 0; }

/* =============================================================
   9. Servicios
   ============================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem;
  cursor: pointer;
  overflow: clip;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--line-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 94, 0.55);
  box-shadow: 0 24px 50px rgba(22, 41, 76, 0.11);
}
.service-card:hover::before,
.service-card:focus-visible::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 1.5px var(--gold-light), 0 0 0 5px rgba(212, 175, 94, 0.12);
  transition: transform 0.5s var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.07); }
.service-icon svg { width: 27px; height: 27px; }
.service-num {
  position: absolute;
  top: 1.4rem; right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 1.2rem 0 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  min-height: 2.4em;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-more i {
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}
.service-card:hover .service-more i { transform: translateX(5px); }

/* =============================================================
   10. Proceso
   ============================================================= */
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
.process-step {
  position: relative;
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.45s var(--ease-out);
}
.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--gold-light);
  box-shadow: 0 18px 40px rgba(22, 41, 76, 0.09);
}
.process-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-light);
  color: var(--gold);
  font-weight: 600;
  font-size: 1rem;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
  letter-spacing: 0.02em;
}
.process-step p { font-size: 0.92rem; margin: 0; }

/* =============================================================
   11. CTA
   ============================================================= */
.cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: var(--section-pad);
  position: relative;
  overflow: clip;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(38% 40% at 78% 20%, rgba(212, 175, 94, 0.14), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-script {
  font-family: var(--script);
  font-size: clamp(2.6rem, 5.5vw, 3.8rem);
  color: var(--gold-light);
  line-height: 1;
}
.cta-title {
  color: var(--cream);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 600;
  margin-top: 1rem;
}
.cta-sub {
  color: rgba(246, 239, 228, 0.82);
  max-width: 46ch;
  margin-top: 1.1rem;
  font-weight: 300;
}
.cta-actions { margin-top: 2.2rem; }
.cta-mail {
  margin-top: 1.6rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(212, 175, 94, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.cta-mail:hover { color: var(--gold-grad-a); border-color: var(--gold-grad-a); }

/* =============================================================
   12. Footer
   ============================================================= */
.footer {
  background: var(--navy);
  color: var(--cream);
  padding-top: 3.5rem;
  border-top: 2px solid var(--gold-light);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}
.footer-brand img { width: 64px; height: 64px; }
.footer-tagline {
  margin-top: 0.9rem;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--cream);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-nav a {
  font-size: 0.92rem;
  color: rgba(246, 239, 228, 0.85);
  width: fit-content;
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(246, 239, 228, 0.85);
}
.footer-contact a { color: var(--gold-light); width: fit-content; }
.footer-contact a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(246, 239, 228, 0.14);
  padding-block: 1.3rem;
  font-size: 0.8rem;
  color: rgba(246, 239, 228, 0.6);
}

/* =============================================================
   13. Dialogs de servicio
   ============================================================= */
/* Bloquea el scroll del fondo mientras un detalle está abierto */
body:has(dialog[open]) { overflow: hidden; }

.svc-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(640px, calc(100% - 2rem));
  max-height: min(86vh, 86svh);
  background: var(--ivory);
  color: var(--body);
  box-shadow: 0 40px 120px rgba(10, 20, 45, 0.4);
}
.svc-dialog::backdrop {
  background: rgba(12, 22, 44, 0.55);
  backdrop-filter: blur(4px);
}
.svc-dialog[open] { animation: dialogIn 0.45s var(--ease-out); }
@keyframes dialogIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.svc-dialog-inner {
  padding: clamp(1.8rem, 4vw, 2.8rem);
  overflow-y: auto;
  max-height: inherit;
}
.svc-close {
  position: absolute;
  top: 0.9rem; right: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate);
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
}
.svc-close:hover { background: var(--cream); color: var(--navy); }
.svc-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-title {
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 600;
  margin-top: 0.5rem;
  line-height: 1.2;
}
.svc-title .script-gold { font-size: 1.15em; font-weight: 400; }
.svc-intro {
  margin-top: 0.9rem;
  font-weight: 300;
}
.svc-includes {
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.svc-includes em { font-style: normal; color: var(--gold); }
.svc-list {
  display: grid;
  gap: 0.7rem;
}
.svc-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem 0.9rem 2.5rem;
  position: relative;
}
.svc-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem; top: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
}
.svc-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
}
.svc-list span {
  font-size: 0.86rem;
  line-height: 1.55;
  display: block;
  margin-top: 0.15rem;
}
.svc-marco {
  margin-top: 1.6rem;
  background: var(--navy);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
}
.svc-marco h5 {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.svc-marco p {
  color: rgba(246, 239, 228, 0.9);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}
.svc-cta { margin-top: 1.6rem; width: 100%; }

/* =============================================================
   14. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .about-pillars { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 240px 1fr; gap: 3rem; }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
}

@media (max-width: 959px) {
  .hero-seal {
    right: -18%;
    opacity: 0.16;
  }
  .hero-inner { max-width: 100%; }
}

@media (max-width: 719px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-solid .nav-mobile,
  .nav.is-open { background: rgba(251, 248, 241, 0.98); }
  .hero-seal { display: none; }
  .hero { min-height: auto; padding-top: 6.5rem; padding-bottom: 2rem; }
}

/* =============================================================
   15. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
}
