/* ===========================================================
   Tracción — hoja principal
   Tokens unificados de DESIGN.md + correcciones de auditoría
   =========================================================== */

/* ── Fuente ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  /* Color */
  --c-bg:          #ffffff;
  --c-bg-soft:     #f8f8f6;
  --c-text:        #2a2438;
  --c-muted:       #6b6580;
  --c-primary:     #3c3489;   /* 10.27:1 on white */
  --c-primary-900: #2a2073;
  --c-accent:      #7f77dd;   /* 3.76:1 — large text only */
  --c-accent-soft: #e8e6f9;
  --c-card:        #f8f8f6;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(20, 14, 60, .04);
  --shadow-md: 0 8px 24px rgba(20, 14, 60, .08);

  /* Radios */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Layout */
  --container: 1180px;
  --gutter:    24px;

  /* Tipografía */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Espaciado */
  --space-xs:  0.5rem;   /* 8px  */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.5rem;   /* 24px */
  --space-lg:  2rem;     /* 32px */
  --space-xl:  3rem;     /* 48px */
  --space-2xl: 5rem;     /* 80px */

  /* z-index */
  --z-nav: 50; /* nav fijo al hacer scroll */
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  font-size: clamp(15px, 0.5rem + 1vw, 17px);
  color-scheme: light;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

/* Focus accesible — no se quita outline sin alternativa */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ NAV ============ */
.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-nav);
  padding: 22px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  color: #ffffff;
}

.site-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  display: block;
  width: auto;
  height: 40px;
}

.logo-img--light {
  filter: brightness(0) invert(1);
}

.site-nav__menu {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}

.site-nav__menu a {
  padding: 6px 2px;
  transition: opacity .2s;
}

.site-nav__menu a:hover {
  opacity: .75;
}

.site-nav__menu a:focus-visible {
  border-radius: 2px;
  outline-color: #ffffff;
}

.site-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.site-nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ BOTONES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.btn-white {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  color: var(--c-primary-900);
}

.btn-white:hover {
  background: #f3f2fa;
  transform: translateY(-1px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #ffffff;
}

.btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, .1);
}

.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, .55);
  padding: 10px 18px;
  font-size: 14px;
  color: #ffffff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-block {
  width: 100%;
  margin-top: var(--space-xs);
  padding: 14px 22px;
}

.btn:focus-visible {
  outline-color: #ffffff;
}

/* Pulse para CTA destacado — solo transform + opacity */
.btn-pulse {
  position: relative;
  z-index: 1;
}

.btn-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: btnPulseRing 2.2s ease-out infinite;
}

@keyframes btnPulseRing {
  0%   { opacity: .8; transform: scale(1); }
  80%  { opacity: 0;  transform: scale(1.22); }
  100% { opacity: 0;  transform: scale(1.22); }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 640px;
  padding: 180px var(--gutter) 110px;
  color: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1; /* detrás del contenido del hero */
}

.hero-bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 30% 40%, #2864c8 0%, #1d3f9e 35%, #16307e 70%, #0f2566 100%),
    linear-gradient(180deg, #1c3aa3 0%, #15296e 100%);
}

.hero-bg-silhouettes {
  position: absolute;
  inset: 0;
  mix-blend-mode: multiply;
  opacity: .9;
  background:
    radial-gradient(ellipse 220px 320px at 12% 95%, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(ellipse 280px 380px at 92% 100%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 55%),
    radial-gradient(ellipse 180px 240px at 78% 95%, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle 600px at 55% 25%, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-bg-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 50%, rgba(255,255,255,.06) 50.5%, rgba(255,255,255,.02) 64%, rgba(255,255,255,0) 64.5%),
    linear-gradient(75deg, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 70.5%, rgba(255,255,255,.01) 85%, rgba(255,255,255,0) 85.5%);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1; /* detrás del contenido hero */
  width: 38%;
  height: 70%;
  border-left: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .02) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  margin-bottom: var(--space-md);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, .92);
}

.hero-sub strong {
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

/* ============ SECCIONES ============ */
.section {
  position: relative;
  padding: 96px 0;
}

.section-light + .section-light {
  padding-top: 0;
}

.section-soft + .section-soft {
  padding-top: 0;
}

.section-light {
  background: #ffffff;
}

.section-soft {
  position: relative;
  overflow: hidden;
  background: var(--c-bg-soft);
}

.section-deep {
  background: linear-gradient(180deg, #4538a4 0%, #3d2e96 100%);
  color: #ffffff;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--light {
  color: #ffffff;
}

.section-head--light .section-sub {
  color: rgba(255, 255, 255, .85);
}

.section-title {
  margin-bottom: 14px;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--c-primary);
}

.section-head--light .section-title {
  color: #ffffff;
}

.section-sub {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--c-muted);
}

/* ============ PROBLEMA ============ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  min-height: 200px;
  padding: 28px 26px;
  background: var(--c-card);
  transition: background-color .25s ease, transform .25s ease, color .25s ease;
}

.problem-card:hover {
  background: var(--c-accent);
  box-shadow: var(--shadow-md); /* estático en hover, no animado */
  transform: translateY(-3px);
}

.problem-card h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--c-primary);
  transition: color .25s ease;
}

.problem-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--c-muted);
  transition: color .25s ease;
}

.problem-card:hover h3 {
  color: #ffffff;
}

.problem-card:hover p {
  color: rgba(255, 255, 255, .92);
}

/* ============ DIMENSIONES ============ */
.dim-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dim-card {
  border-radius: var(--radius-md);
  padding: 28px 18px 26px;
  background: var(--c-card);
  text-align: center;
  transition: transform .25s ease;
}

.dim-card:hover {
  box-shadow: var(--shadow-md); /* estático en hover, no animado */
  transform: translateY(-3px);
}

.dim-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c-accent);
}

.dim-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.dim-card h3 {
  margin-bottom: 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--c-primary);
}

.dim-card p {
  font-size: 14px;
  color: var(--c-muted);
}

/* ============ PIPELINE BANNER ============ */
.pipeline-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px var(--gutter);
  background: var(--c-accent);
  color: #ffffff;
}

.pipeline-banner-x {
  position: absolute;
  inset: 0;
  z-index: 0; /* fondo decorativo */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  pointer-events: none;
}

.pipeline-banner-x img {
  width: auto;
  height: 220%;
  max-width: none;
  opacity: 0.10;
  object-fit: cover;
  object-position: left center;
  filter: brightness(0) invert(1);
  clip-path: inset(0 84% 0 0);
  transform: translate(20%, 0);
}

.pipeline-banner-inner {
  position: relative;
  z-index: 1; /* por encima del fondo decorativo */
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.pipeline-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 6px 16px 6px 12px;
  background: rgba(255, 255, 255, .14);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Pipeline dot — ripple con transform + opacity */
.pipeline-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4afca0;
}

.pipeline-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(74, 252, 160, .4);
  animation: pipelinePulse 1.8s ease-in-out infinite;
}

@keyframes pipelinePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0; transform: scale(2); }
}

.pipeline-headline {
  max-width: 1000px;
  margin: 0 auto 18px;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pipeline-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, .92);
}

/* ============ FASES ============ */
.phase-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.phase-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  padding: 36px 36px 32px;
  text-align: center;
}

.phase-card--dark {
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
  color: #ffffff;
  opacity: .9;
  transform: scale(.92);
  transform-origin: center;
}

/* Phase highlight — float suave con transform en lugar de box-shadow */
.phase-card--accent {
  position: relative;
  padding: 52px 48px 48px;
  background: #8a7fef;
  box-shadow: 0 18px 50px rgba(20, 10, 80, .35);
  color: #ffffff;
  animation: phaseFloat 2.6s ease-in-out infinite;
}

.phase-card--accent::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: calc(var(--radius-xl) + 6px);
  opacity: 0;
  pointer-events: none;
  animation: phaseHalo 2.6s ease-in-out infinite;
}

@keyframes phaseFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes phaseHalo {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: .55; transform: scale(1.015); }
}

.phase-title {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.phase-card--accent .phase-title {
  margin-bottom: 18px;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phase-price {
  margin-bottom: var(--space-xs);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.phase-card--accent .phase-price {
  font-size: 38px;
}

.phase-price--pill {
  display: inline-block;
  align-self: center;
  border-radius: 999px;
  padding: 10px 36px;
  background: rgba(255, 255, 255, .95);
  font-size: 32px;
  font-weight: 500;
  color: var(--c-primary-900);
}

.phase-meta {
  margin-bottom: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .78);
}

.phase-rule {
  width: 78%;
  height: 1px;
  margin: 0 auto 22px;
  border: 0;
  background: rgba(255, 255, 255, .25);
}

.phase-deliverables {
  max-width: 520px;
  margin: 0 auto;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}

.phase-deliverables strong {
  font-weight: 500;
}

/* ============ SOCIOS ============ */
.section-soft .container {
  position: relative;
  z-index: 1; /* por encima de posibles decoraciones */
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

.partner-card {
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  background: var(--c-accent-soft);
}

.partner-card--left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
}

.partner-card--right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: .15s;
}

.partner-card--left.is-visible,
.partner-card--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.partner-name {
  margin-bottom: var(--space-xs);
  font-size: 22px;
  font-weight: 500;
  color: var(--c-primary);
}

.partner-role {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-text);
}

.partner-role span {
  font-weight: 500;
}

.partner-rule {
  width: 60%;
  height: 1px;
  margin: 0 0 18px;
  border: 0;
  background: rgba(60, 52, 137, .2);
}

.partner-bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

/* ============ FOOTER / CONTACTO ============ */
.footer {
  padding: 80px var(--gutter) 56px;
  background:
    linear-gradient(180deg, rgba(46, 35, 130, .25) 0%, rgba(37, 26, 110, .35) 100%),
    url('/img/footer-bg.png') center / cover no-repeat,
    #251a6e;
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-left .footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.footer-logo .logo-img {
  height: 64px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, .88);
}

.footer-ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.footer-sub {
  max-width: 460px;
  margin-bottom: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}

.contact-form {
  max-width: 460px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
}

.field input {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  font-size: 15px;
  color: #ffffff;
  transition: border-color .2s;
}

.field input:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.field input::placeholder {
  color: rgba(255, 255, 255, .5);
}

.field.is-invalid input {
  border-color: #ff9b9b;
}

.field-error {
  display: block;
  min-height: 16px;
  margin-top: 4px;
  padding-left: 4px;
  font-size: 12.5px;
  color: #ffb3b3;
  visibility: hidden;
}

.field.is-invalid .field-error {
  visibility: visible;
}

.form-success {
  margin-top: var(--space-sm);
  font-size: 14px;
  color: #c4ffd9;
}

/* ============ FOOTER — copyright ============ */
.footer-copy {
  max-width: var(--container);
  margin: 36px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-copy__logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-copy .footer__copyright {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .45);
  text-align: center;
}

.footer-copy .footer__copyright a {
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
}

.footer-copy .footer__copyright a:hover {
  color: #ffffff;
}

/* ============ NAV sólido (páginas sin hero) ============ */
.site-header--solid {
  position: fixed;
  background: rgba(36, 26, 100, 1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
}

/* ============ NAV al hacer scroll ============ */
.site-header.is-scrolled {
  position: fixed;
  padding: 14px 0;
  background: rgba(36, 26, 100, .92);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: navDrop .25s ease;
}

@keyframes navDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ============ Reveal al hacer scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .site-nav__menu { display: none; }
  .site-nav__menu.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: rgba(36, 26, 100, .97); padding: 16px 0 24px; }
  .site-nav__menu.is-open li a { display: block; padding: 12px 24px; }
  .site-nav__toggle { display: flex; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .dim-grid { grid-template-columns: repeat(3, 1fr); }
  .phase-grid { grid-template-columns: 1fr; }
  .phase-card--dark { transform: none; opacity: 1; }
  .partner-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding-top: 140px; padding-bottom: 80px; }
  .section { padding: 72px 0; }
  .pipeline-banner { padding: 72px var(--gutter); }
}

@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
  .dim-grid { grid-template-columns: repeat(2, 1fr); }
  .site-nav { padding: 0 18px; gap: 12px; }
  .phase-card { padding: 32px 24px; }
  .footer { padding: 60px 20px 40px; }
}

/* ============ Motion reducido ============ */
@media (prefers-reduced-motion: reduce) {
  .btn-pulse::after,
  .pipeline-dot::after,
  .phase-card--accent,
  .phase-card--accent::before,
  .partner-card--left,
  .partner-card--right,
  .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
