/* ===== Variables (paleta corporativa: grafito + marino) ===== */
:root {
  --navy: #0b2250;
  --navy-mid: #163a78;
  --navy-dark: #071636;
  --graphite: #1f2530;
  --graphite-dark: #161b24;
  --silver: #c5ccd8;
  --silver-light: #e6eaf1;
  --accent: #3b6bb5;          /* acento sobre fondos claros */
  --accent-light: #9fbbe6;    /* acento sobre fondos oscuros */
  --text: #3b4350;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f2f4f7;
  --line: #dde2ea;
  --danger: #c0392b;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 25, 45, .10);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(800px, 100% - 2.5rem); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ===== Botones ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 1.7rem; background: var(--navy); color: #fff;
  border: 2px solid var(--navy); border-radius: 8px;
  font: 700 .95rem var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--navy); }
.btn-outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-small { padding: .6rem 1.2rem; font-size: .86rem; }

/* Sobre fondos oscuros */
.btn-light { background: #fff; border-color: #fff; color: var(--navy); }
.btn-light:hover { background: var(--silver-light); border-color: var(--silver-light); color: var(--navy-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: #fff; }

/* ===== Encabezado ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15,25,45,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--graphite); font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.brand-text small { color: var(--navy); font-size: .75rem; font-weight: 500; letter-spacing: .04em; }

.nav ul { list-style: none; display: flex; align-items: center; gap: 1.7rem; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .92rem; color: var(--text); position: relative; padding: .3rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--navy); }
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero (marino con cuadrícula contable) ===== */
.hero {
  position: relative; overflow: hidden; color: #d3dbea;
  padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(760px 420px at 90% 8%, rgba(59,107,181,.38), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 36px),
    linear-gradient(135deg, var(--graphite-dark), var(--navy-dark) 45%, var(--navy));
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; position: relative; }
.eyebrow { display: inline-block; margin-bottom: 1rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow { color: var(--accent-light); padding: .35rem .8rem; border: 1px solid rgba(159,187,230,.45); border-radius: 6px; background: rgba(159,187,230,.08); }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(159,187,230,.45); text-decoration-thickness: 3px; text-underline-offset: 9px; }
.lead { font-size: 1.1rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.9rem 0 1.6rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; font-size: .84rem; font-weight: 500; color: #fff; }
.hero-points li { display: inline-flex; align-items: center; padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.06); }
.hero-points li::before { content: "✓"; color: var(--accent-light); font-weight: 800; margin-right: .55rem; }

/* Collage del hero: foto en arco + marco desfasado + tarjeta + sello del logo */
.hero-visual { position: relative; min-height: 510px; }
.hero-visual::before {
  content: ""; position: absolute; top: 24px; right: -16px; width: 80%; height: 460px;
  border: 2px solid rgba(159,187,230,.45); border-radius: 170px 16px 16px 16px;
}
.photo-main {
  position: absolute; z-index: 1; top: 0; right: 0; width: 80%; height: 460px; margin: 0;
  border-radius: 170px 16px 16px 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.photo-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,22,54,0) 45%, rgba(7,22,54,.55)); }
.photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.logo-badge {
  position: absolute; z-index: 3; top: -14px; right: -14px; width: 86px; height: 86px; border-radius: 50%;
  background: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.35); border: 3px solid var(--accent-light);
}
.logo-badge img { width: 52px; height: auto; }
.status-card {
  position: absolute; z-index: 2; left: 0; bottom: 0; width: 52%; min-width: 232px;
  background: #fff; border-radius: 14px; padding: 1.2rem 1.3rem 1rem;
  box-shadow: 0 24px 50px rgba(0,0,0,.4); border-top: 5px solid var(--accent);
}
.status-head { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.status-head strong { display: block; color: var(--navy); font-size: 1rem; }
.status-head small { color: var(--muted); font-size: .76rem; }
.status-list { list-style: none; padding: .85rem 0 .3rem; display: grid; gap: .6rem; font-size: .84rem; font-weight: 500; color: var(--text); }
.status-list li { display: flex; align-items: center; gap: .75rem; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 800; }
.status-foot { margin-top: .6rem; font-size: .7rem; color: var(--muted); text-align: right; letter-spacing: .04em; }

/* ===== Franja ===== */
.strip { background: var(--graphite); border-top: 1px solid rgba(255,255,255,.08); }
.strip-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding: 1rem 0; color: #fff; font-size: .85rem; font-weight: 600; }
.strip-list li::before { content: "◆"; color: var(--accent-light); margin-right: .55rem; font-size: .7rem; }

/* ===== Secciones ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.card.featured { background: linear-gradient(135deg, var(--graphite), var(--navy)); border-color: var(--navy); }
.card.featured h3 { color: #fff; }
.card.featured p, .card.featured li { color: #cdd6ea; }
.card.featured ul { border-color: rgba(255,255,255,.18); }
.card.featured .icon { background: #fff; }
.card.featured .icon svg { stroke: var(--navy); }
.card.featured li::before { background: var(--accent-light); }
.tag { position: absolute; top: 1.2rem; right: 1.2rem; background: var(--accent-light); color: var(--navy-dark); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 6px; }
.icon { width: 54px; height: 54px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 1.2rem; }
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card > p { font-size: .94rem; }
.card ul { list-style: none; border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1rem; font-size: .88rem; }
.card li { padding: .15rem 0 .15rem 1.3rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* Sobre nosotros */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border-bottom: 6px solid var(--navy); }
.about-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% center; }
.about-badge {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .8rem;
  background: rgba(255,255,255,.96); border-radius: 10px; padding: .8rem 1rem; box-shadow: var(--shadow);
}
.about-badge img { width: 48px; height: auto; flex: none; }
.about-badge strong { display: block; color: var(--navy); font-size: .95rem; line-height: 1.2; }
.about-badge small { color: var(--muted); font-size: .75rem; }

/* Carrusel de valores */
.carousel { --per-view: 4; position: relative; padding: 0 3.4rem 2.6rem; }
.car-viewport { overflow: hidden; touch-action: pan-y; }
.car-track { list-style: none; display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.value-item { flex: 0 0 calc(100% / var(--per-view)); padding: .4rem .8rem 1rem; text-align: center; }
.value-icon {
  width: 92px; height: 92px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--navy);
  box-shadow: var(--shadow); transition: background .3s, border-color .3s, transform .3s;
}
.value-icon svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.value-item:hover .value-icon { background: var(--navy); border-color: var(--accent); transform: translateY(-4px); }
.value-item:hover .value-icon svg { stroke: #fff; }
.value-item h3 { margin-bottom: .35rem; }
.value-item p { margin: 0; font-size: .9rem; color: var(--muted); }

.car-btn {
  position: absolute; top: calc(50% - 1.3rem); width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 700 1.6rem/1 var(--font);
  cursor: pointer; display: grid; place-items: center; padding: 0 0 .15rem; transition: background .2s, color .2s;
}
.car-btn:hover { background: var(--navy); color: #fff; }
.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; gap: .5rem; }
.car-dots button { width: 26px; height: 5px; border: 0; padding: 0; border-radius: 3px; background: var(--silver); cursor: pointer; transition: background .3s, width .3s; }
.car-dots button.active { background: var(--navy); width: 40px; }
.carousel.single .car-btn, .carousel.single .car-dots { display: none; }

/* Cinta de ciudades */
.coverage { overflow: hidden; }
.marquee {
  display: grid; gap: 1rem; padding: .5rem 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { list-style: none; display: flex; gap: 1rem; width: max-content; animation: scroll-left 55s linear infinite; }
.marquee-track[data-marquee="right"] { animation-name: scroll-right; animation-duration: 65s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.city {
  display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap;
  padding: .7rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy);
  box-shadow: 0 4px 12px rgba(15,25,45,.06);
}
.city::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@keyframes scroll-left { to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Proceso */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { position: relative; text-align: center; padding: 0 .5rem; }
.step-num {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 800; background: var(--navy); color: #fff; border: 3px solid var(--accent-light);
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 30px; height: 3px; background: repeating-linear-gradient(90deg, var(--silver) 0 8px, transparent 8px 14px); left: calc(50% + 40px); width: calc(100% - 80px + 1.5rem); }
.steps p { font-size: .92rem; }

/* Para quién */
.section-dark { background: linear-gradient(135deg, var(--graphite), var(--navy-dark) 60%, var(--navy)); color: #cdd6ea; }
.section-dark.has-photo {
  background:
    linear-gradient(135deg, rgba(31,37,48,.94), rgba(7,22,54,.92) 60%, rgba(11,34,80,.90)),
    url("../img/escritorio-reportes.jpg") center / cover no-repeat;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-light); }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.audience > div { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 1.6rem 1.4rem; background: rgba(255,255,255,.05); transition: background .25s, transform .25s, border-color .25s; }
.audience > div:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: var(--accent-light); }
.audience p { margin: 0; font-size: .92rem; }

/* Banda de urgencia */
.cta-band { background: var(--silver-light); border-top: 4px solid var(--accent); padding: 3rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-main { display: flex; align-items: center; gap: 1.4rem; flex: 1 1 520px; }
.sat-logo { flex: none; width: 88px; height: 88px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(15,25,45,.18); }
.cta-band .disclaimer { margin-top: .6rem; font-size: .72rem; font-weight: 400; color: var(--muted); }
.cta-band h2 { color: var(--navy-dark); font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: .4rem; }
.cta-band p { color: var(--graphite); margin: 0; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-navy:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .8rem; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.4rem; position: relative; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] { border-color: var(--accent); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.ci { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 1.2rem; }
.contact-list small { display: block; color: var(--muted); font-size: .78rem; }
.contact-list a, .contact-list span:not(.ci) { font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-photo { margin: 2rem 0 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.contact-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.contact-form { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 14px; padding: 2rem; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
input, select, textarea { width: 100%; padding: .8rem 1rem; font: 400 .95rem var(--font); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(59,107,181,.18); }
textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error { display: block; min-height: 1.1em; margin-top: .25rem; color: var(--danger); font-size: .78rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .4rem; }
.form-actions .btn { flex: 1 1 180px; }
.form-status { margin: 1rem 0 0; font-size: .88rem; font-weight: 500; min-height: 1.2em; }
.form-status.ok { color: var(--navy-mid); }

/* ===== Pie ===== */
.site-footer { background: var(--graphite-dark); color: #a9b2c3; padding-top: 3rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; padding-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
/* El ícono es azul sobre blanco: se invierte y se mezcla para que se vea claro sobre fondo oscuro */
.footer-brand img { width: 52px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.footer-brand strong { display: block; color: #fff; font-size: 1.05rem; }
.footer-brand span { font-size: .85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { color: #a9b2c3; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--accent-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp flotante */
.whatsapp-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s; animation: pulse 2.6s infinite; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 31px; height: 31px; fill: #fff; }
@keyframes pulse { 0% { box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,0); } }

/* ===== Animación de aparición ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
  .car-track { transition: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; padding: 0 1.25rem; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-track .city[aria-hidden="true"] { display: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .steps li::after { display: none !important; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 380px; margin-inline: auto; }
  .strip-list { justify-content: flex-start; }
  .carousel { --per-view: 3; }
  .hero-visual { min-height: 0; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-visual::before { display: none; }
  .photo-main { position: relative; width: 100%; height: 320px; border-radius: 120px 16px 16px 16px; }
  .status-card { position: relative; left: auto; bottom: auto; width: calc(100% - 2rem); margin: -70px auto 0; }
  .logo-badge { top: -14px; right: 6px; }
  .about-photo > img { aspect-ratio: 16 / 11; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(15,25,45,.1); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav.open { max-height: 440px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border: 0; padding-top: 1rem; }
  .nav a:not(.btn) { display: block; padding: .9rem 0; }
  .nav a::after { display: none; }
}

/* Celular: menos elementos por pantalla, más aire entre bloques */
@media (max-width: 600px) {
  .container { width: calc(100% - 2.25rem); }
  .section { padding: 2.9rem 0; }
  .section-head { margin-bottom: 1.9rem; }
  .section-head p { font-size: .95rem; }
  h2 { font-size: 1.55rem; }
  .brand-text strong { font-size: .95rem; }

  /* Hero más ligero: sin tarjeta flotante, foto más baja */
  .hero { padding: 2.2rem 0 2.8rem; }
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: 2rem; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .lead { font-size: 1rem; }
  .hero-actions { margin: 1.5rem 0 1.2rem; gap: .7rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-points { gap: .5rem; }
  .hero-points li { font-size: .8rem; padding: .4rem .7rem; }
  .photo-main { height: 230px; border-radius: 90px 14px 14px 14px; }
  .status-card { display: none; }
  .logo-badge { width: 68px; height: 68px; top: -12px; right: 8px; }
  .logo-badge img { width: 42px; }

  .strip-list { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; font-size: .75rem; }

  .cards, .audience, .field-row { grid-template-columns: 1fr; }
  .cards { gap: 1.1rem; }
  .card { padding: 1.5rem 1.3rem; }
  .icon { margin-bottom: .9rem; }
  .tag { top: 1rem; right: 1rem; }

  .about-grid { gap: 2rem; }
  .about-photo > img { aspect-ratio: 4 / 3; }
  .about-badge { left: .7rem; right: .7rem; bottom: .7rem; padding: .6rem .8rem; }

  .carousel { --per-view: 1; padding: 0 2.6rem 2.2rem; }
  .value-icon { width: 78px; height: 78px; margin-bottom: .9rem; }
  .value-icon svg { width: 34px; height: 34px; }
  .car-btn { width: 36px; height: 36px; font-size: 1.4rem; top: calc(50% - 1.1rem); }

  /* Pasos en fila: número a la izquierda, texto a la derecha */
  .steps { grid-template-columns: 1fr; row-gap: 1.4rem; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; align-items: start; text-align: left; padding: 0; }
  .step-num { grid-row: 1 / span 2; width: 52px; height: 52px; margin: 0; font-size: 1.2rem; }
  .steps li h3 { margin: .1rem 0 .25rem; }
  .steps li p { margin: 0; font-size: .9rem; }

  .audience { gap: .8rem; }
  .audience > div { padding: 1.1rem; }

  .cta-band { padding: 2.3rem 0; }
  .cta-main { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .sat-logo { width: 72px; height: 72px; }

  .faq summary { padding: 1rem 2.6rem 1rem 1.1rem; font-size: .93rem; }
  .faq details p { padding: 0 1.1rem 1rem; font-size: .93rem; }

  .contact-grid { gap: 2rem; }
  .contact-form { padding: 1.3rem 1.1rem; }
  .contact-photo { margin-top: 1.5rem; }
  .contact-photo img { aspect-ratio: 16 / 9; }

  .footer-inner { gap: 1.4rem; }
  .footer-bottom { padding-bottom: 4.6rem; }
  .whatsapp-float { width: 52px; height: 52px; right: .9rem; bottom: .9rem; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
