/* =========================================================
   FER PALACIO DJ — Landing
   Mobile-first. Real desktop layout at >=1024px.
   Icons: Phosphor (duotone / fill / bold weights).
   ========================================================= */

:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b7280;
  --line: #ececec;
  --line-soft: #f3f3f3;

  --red: #ef1f2a;
  --red-deep: #d31822;
  --red-shadow: rgba(239, 31, 42, 0.28);

  --wa-green: #25d366;

  --radius-card: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-cta: 0 14px 30px -10px var(--red-shadow), 0 4px 10px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.05);
  --shadow-card-desktop: 0 40px 100px -30px rgba(0, 0, 0, 0.30),
                         0 18px 40px -10px rgba(0, 0, 0, 0.10);

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-editorial: "DM Serif Display", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --max-mobile-card: 440px;
  --max-desktop-card: 520px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 80% -10%, #fde6e8 0%, transparent 55%),
    radial-gradient(900px 600px at -10% 110%, #e9eaed 0%, transparent 55%),
    #f1f1f3;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* Phosphor icon defaults */
[class^="ph-"], [class*=" ph-"] {
  display: inline-block;
  line-height: 1;
}

/* =========================================================
   SHELL + PAGE
   Mobile: full-bleed card.
   Tablet+: floating card with shadow.
   Desktop (>=1024): two-column split layout.
   ========================================================= */
.shell {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.page {
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  overflow-x: clip;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 640–1023px: full-bleed responsivo, hero ocupa viewport (sin aspect ratio) */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .shell { padding: 0; align-items: stretch; }
  .page {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .hero {
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
  }
  .hero__stage {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* Desktop — full-bleed liberado (sin card, sin gradiente de body) */
@media (min-width: 1024px) {
  body {
    background: #fff;
  }
  .shell { padding: 0; align-items: stretch; }
  .page {
    max-width: 100%;
    width: 100%;
    background: #fff;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
}

/* =========================================================
   HERO — Foto + overlays (poster editorial layout)
   Mobile-first. Desktop = imagen full viewport + overlays.
   ========================================================= */
.hero {
  position: relative;
  width: 100%;
  background: #f4f4f6;
  overflow: hidden;
}

/* Fade-to-white en el bottom de la imagen — solo cuando no hay marquee debajo */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11%;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgba(255, 255, 255, 1) 92%);
  pointer-events: none;
  z-index: 2;
}

.hero__stage {
  position: relative;
  width: 100%;
  /* Mobile: foto como bg, mantiene aspect ratio del original */
  aspect-ratio: 9 / 14;
  background-image: url("hero.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* ---- Logo top-left ---- */
.hero__logo {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  color: var(--ink);
}
.hero__logo-main {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.005em;
}
.hero__logo-sub {
  align-self: flex-end;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

/* ---- Tagline centrado (DJ SET + claim protagonista) ---- */
.hero__tag {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 12px;
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(239,31,42,0.35);
}
.hero__pill i { font-size: 13px; }

.hero__claim {
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(54px, 18vw, 120px);
  line-height: 0.84;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero__claim-line { display: block; }
.hero__claim-line:nth-child(2) { color: var(--red); }

.hero__hashtag {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 6vw, 34px);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
}
.hero__hashtag-hash {
  color: var(--red);
  margin-right: 1px;
}

.hero__underline {
  width: 36px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 6px;
}

.hero__clients {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero__clients i {
  color: var(--red);
  font-size: 16px;
  line-height: 1;
}
.hero__clients strong {
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
  margin-right: 2px;
}

/* ---- EN LOS MEDIOS — carrusel horizontal (en el content) ---- */
.press {
  width: 100%;
  margin: 0 0 28px;
  text-align: center;
}

.press__eyebrow {
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
}
.press__eyebrow i {
  color: var(--red);
  font-size: 14px;
  line-height: 1;
}

.press__viewport {
  position: relative;
  overflow: hidden;
}

.press__track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Cada slide se apila; el activo manda la altura, los demás flotan encima */
.press__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 480ms ease, transform 480ms ease;
  pointer-events: none;
}
.press__slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.press__link {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 540px;
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease;
}
.press__link:hover,
.press__link:focus-visible {
  opacity: 0.75;
  outline: none;
}

.press__logo {
  flex-shrink: 0;
  width: 86px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.press__logo img {
  max-height: 36px;
  max-width: 86px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Infobae: su PNG tiene padding interno, lo agrandamos */
.press__logo img[src*="infobae"] {
  transform: scale(1.45);
}

.press__quote {
  margin: 0;
  text-align: left;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: #4b5563;
  line-height: 1.35;
  font-weight: 500;
  border-left: 2px solid var(--red);
  padding-left: 14px;
}

.press__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.press__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d8d8db;
  cursor: pointer;
  transition: background 220ms ease, width 220ms ease;
}
.press__dot.is-active {
  background: var(--red);
  width: 20px;
}

@media (min-width: 480px) {
  .press__quote { font-size: 13px; }
  .press__logo { width: 96px; height: 44px; }
  .press__logo img { max-height: 40px; max-width: 96px; }
}

/* Marquee — hidden by default (mobile/tablet), visible on desktop */
.marquee {
  display: none;
}

/* =========================================================
   CONTENT BLOCK
   ========================================================= */
.content {
  padding: 30px 22px 22px;
  background: #fff;
}

@media (min-width: 640px) {
  .content { padding: 36px 32px 28px; }
}

@media (min-width: 1024px) {
  .content { padding: 44px 40px 32px; }
}

/* ---- Heading ---- */
.content__head {
  text-align: center;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.18em;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink);
  font-size: clamp(30px, 8.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.headline__accent { color: var(--red); }

.lead {
  margin: 18px auto 0;
  max-width: 36ch;
  color: #4b5563;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.55;
}

.lead strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 700;
}

/* ---- Features row ---- */
.features {
  list-style: none;
  margin: 26px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
}

.feature__icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature:hover .feature__icon {
  transform: translateY(-2px) scale(1.06);
}

.feature__title {
  margin: 0;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.2;
}

.feature__desc {
  margin: 0;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  color: #4b5563;
  line-height: 1.4;
}

@media (min-width: 480px) {
  .feature__title { font-size: 13px; }
  .feature__desc  { font-size: 13px; }
}

@media (min-width: 1024px) {
  .feature__icon { font-size: 34px; }
  .feature__title { font-size: 14px; }
  .feature__desc  { font-size: 14px; }
}

/* ---- Brands strip ---- */
.brands {
  margin: 6px 0 18px;
  padding: 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(110px, auto) 1fr;
  align-items: center;
  gap: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  min-height: 80px;
}

.brands__count {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brands__count-num {
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brands__count-sub {
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 4px;
}

/* Brands marquee — scroll infinito con logos */
.brands__marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.brands__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: brands-scroll 28s linear infinite;
}

.brand-logo {
  /* "slot" uniforme: cada logo ocupa la misma caja visual,
     dentro la imagen se ajusta con object-fit: contain */
  height: 40px;
  width: 92px;
  max-width: 92px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  transition: opacity 200ms ease, transform 200ms ease;
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.06);
}

@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .brands__track { animation: none; }
}

/* ---- Trust row ---- */
.trust {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.trust__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: center;
}

@media (min-width: 480px) {
  .trust__item { font-size: 12px; }
}

.trust__check {
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
  line-height: 1;
}

/* ---- CTA WhatsApp ---- */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta::before {
  /* energetic pulse halo */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(120% 60% at 50% 110%, rgba(255,255,255,0.35), transparent 60%);
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.cta::after {
  /* shine */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.cta:hover,
.cta:focus-visible {
  background: var(--red-deep);
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 22px 40px -12px var(--red-shadow), 0 6px 14px rgba(0,0,0,0.10);
}

.cta:hover::after,
.cta:focus-visible::after {
  transform: translateX(100%);
}

.cta:hover .cta__arrow {
  transform: translateX(4px);
}

.cta:active { transform: translateY(0); }

.cta__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
}

.cta__icon .wa-icon {
  width: 24px;
  height: 24px;
  fill: var(--wa-green);
}

.cta__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  text-align: center;
  flex: 0 1 auto;
}

.cta__title {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.03em;
}

.cta__sub {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  margin-top: 4px;
  opacity: 0.92;
}

.cta__arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -12px;
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

/* ---- Sticky CTA (mobile/tablet) ----
   Mismo botón, hace sticky en el bottom mientras hay scroll por delante
   y aterriza solo cuando se alcanza su posición natural.
   En desktop (>=1024) se desactiva — ahí el hover funciona. */
@media (max-width: 1023.98px) {
  .content > .cta {
    position: sticky;
    bottom: 16px;
    z-index: 50;

    /* Estado inicial: oculto debajo del viewport, override del rise */
    opacity: 0;
    transform: translateY(140%);
    pointer-events: none;
    animation: none !important;
    will-change: transform, opacity;

    transition:
      opacity 380ms ease,
      transform 560ms cubic-bezier(0.18, 0.9, 0.25, 1.1);
  }

  .content > .cta.is-mounted {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Animación "arrival" al posarse en el espacio natural */
.cta.cta--just-arrived {
  animation: ctaArrive 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cta.cta--just-arrived::after {
  animation: ctaShine 1000ms ease 80ms;
}
.cta.cta--just-arrived .cta__arrow {
  animation: ctaArrowPulse 800ms ease 120ms;
}

@keyframes ctaArrive {
  0%   { transform: scale(0.88) translateY(4px); box-shadow: var(--shadow-cta); }
  35%  { transform: scale(1.06) translateY(-4px); box-shadow: 0 26px 50px -10px var(--red-shadow), 0 8px 18px rgba(0,0,0,0.12); }
  70%  { transform: scale(0.98) translateY(0); }
  100% { transform: scale(1) translateY(0); box-shadow: var(--shadow-cta); }
}

@keyframes ctaShine {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

@keyframes ctaArrowPulse {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(8px); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .cta--floating,
  .cta--floating.is-visible,
  .cta--floating.is-traveling {
    transition: opacity 200ms ease;
    transform: translateX(-50%);
  }
  .cta.cta--just-arrived,
  .cta.cta--just-arrived::after,
  .cta.cta--just-arrived .cta__arrow {
    animation: none;
  }
}

/* ---- Secure footer ---- */
.secure {
  margin: 16px 0 4px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.secure i {
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
}

/* =========================================================
   DESKTOP — real web layout (>=1024px)
   Hero: full-bleed dark band, portrait image centered + halo.
   Marquee ticker below. Wider content sections.
   ========================================================= */
@media (min-width: 1024px) {
  /* Hero band: FULL viewport, foto como background-cover centrada */
  .hero {
    width: 100%;
    height: 100vh;
    min-height: 720px;
    padding: 0;
    background: #f4f4f6;
    display: block;
    overflow: hidden;
    position: relative;
  }
  /* Desktop tiene marquee debajo → no necesita el fade-to-white */
  .hero::after { display: none; }
  .hero__stage {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    position: relative;
    background-image: url("hero.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
  }

  /* Overlays escalados para desktop */
  .hero__logo { top: 36px; left: 48px; }
  .hero__logo-main { font-size: 44px; }
  .hero__logo-sub  { font-size: 20px; letter-spacing: 0.2em; }

  /* Desktop conserva el layout editorial alineado a la izquierda */
  .hero__tag {
    top: 52px;
    left: 48px;
    right: auto;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    max-width: 640px;
    padding: 0;
  }
  .hero__pill {
    align-self: flex-start;
    font-size: 14px;
    padding: 10px 18px;
  }
  .hero__pill i { font-size: 16px; }
  .hero__claim {
    font-size: clamp(96px, 8.5vw, 180px);
    line-height: 0.82;
    letter-spacing: -0.03em;
  }
  .hero__hashtag {
    font-size: clamp(20px, 1.8vw, 28px);
    margin-top: 14px;
  }
  .hero__underline { width: 72px; height: 5px; margin-top: 10px; }

  .hero__clients {
    margin-top: 18px;
    font-size: 15px;
    gap: 10px;
  }
  .hero__clients i { font-size: 24px; }
  .hero__clients strong { font-size: 18px; margin-right: 4px; }

  /* EN LOS MEDIOS — carrusel más grande en desktop */
  .press { margin-bottom: 44px; }
  .press__eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    padding: 7px 14px;
    margin-bottom: 20px;
  }
  .press__eyebrow i { font-size: 16px; }
  .press__link { gap: 22px; max-width: 720px; }
  .press__logo { width: 130px; height: 56px; }
  .press__logo img { max-height: 52px; max-width: 130px; }
  .press__quote { font-size: 18px; line-height: 1.4; padding-left: 20px; border-left-width: 3px; }
  .press__dot { width: 8px; height: 8px; }
  .press__dot.is-active { width: 24px; }

  /* Marquee ticker — red strip with scrolling keywords */
  .marquee {
    display: block;
    width: 100%;
    background: var(--red);
    color: #fff;
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .marquee__track {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 0;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    width: max-content;
  }
  .marquee__item {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .marquee__dot {
    display: inline-flex;
    font-size: 18px;
    opacity: 0.7;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
  }

  /* Content band: full-width, contenido aireado sin caja angosta */
  .content {
    background: #fff;
    padding: 80px 8vw 64px;
    display: grid;
    place-items: center;
  }

  .content__head,
  .features,
  .brands,
  .trust,
  .cta,
  .secure {
    width: 100%;
    max-width: 1280px;
  }

  /* Brands — strip libre, sin look de tarjeta */
  .brands {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    grid-template-columns: minmax(180px, auto) 1fr;
    gap: 32px;
  }

  /* Headline & lead */
  .content__head { margin-bottom: 48px; }
  .headline { font-size: 64px; letter-spacing: -0.01em; }
  .lead {
    margin-top: 24px;
    font-size: 19px;
    max-width: 52ch;
  }

  /* Features: roomier */
  .features {
    gap: 32px;
    margin: 12px 0 36px;
  }
  .feature { padding: 20px 16px; }
  .feature__icon { font-size: 44px; width: 56px; height: 56px; }
  .feature__title { font-size: 15px; }
  .feature__desc { font-size: 13px; }

  /* Brands strip wider */
  .brands {
    padding: 20px 28px;
    border-radius: 24px;
    gap: 28px;
    margin-bottom: 28px;
  }
  .brands__count-num { font-size: 17px; }
  .brands__count-sub { font-size: 13px; }
  .brand-logo {
    height: 56px;
    width: 128px;
    max-width: 128px;
  }
  .brands__track { gap: 56px; }

  /* Trust row bigger */
  .trust {
    gap: 20px;
    margin-bottom: 36px;
  }
  .trust__item { font-size: 14px; gap: 8px; }
  .trust__check { font-size: 20px; }

  /* CTA: prominent but contained */
  .cta {
    max-width: 620px;
    padding: 22px 28px;
    border-radius: 24px;
  }
  .cta__icon { width: 52px; height: 52px; font-size: 30px; }
  .cta__title { font-size: 20px; }
  .cta__sub { font-size: 12px; margin-top: 5px; }
  .cta__arrow { font-size: 26px; }

  .secure {
    max-width: 620px;
    font-size: 12px;
    margin-top: 20px;
  }
  .secure i { font-size: 18px; }
}

/* Extra wide: scale headline up a notch */
@media (min-width: 1440px) {
  .headline { font-size: 72px; }
  .hero__img { max-width: 780px; }
}

/* =========================================================
   Motion: subtle staggered reveal on load
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .press,
  .content__head,
  .features,
  .brands,
  .trust,
  .cta,
  .secure {
    opacity: 0;
    transform: translateY(10px);
    animation: rise 600ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .press         { animation-delay: 40ms; }
  .content__head { animation-delay: 80ms; }
  .features      { animation-delay: 180ms; }
  .brands        { animation-delay: 260ms; }
  .trust         { animation-delay: 340ms; }
  .cta           { animation-delay: 420ms; }
  .secure        { animation-delay: 500ms; }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   MODAL — Formulario de contacto → WhatsApp
   ========================================================= */

/* El CTA ahora es un <button>: reset para que herede la estética del .cta */
.cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: modalFade 200ms ease;
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: var(--max-mobile-card);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 28px 22px 24px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.45), 0 10px 24px rgba(0, 0, 0, 0.12);
  animation: modalPop 280ms cubic-bezier(0.2, 0.8, 0.25, 1.05);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--line-soft);
  color: var(--ink-soft);
  font-size: 18px;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.modal__close:hover {
  background: #e9e9ec;
  transform: rotate(90deg);
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 6vw, 26px);
  line-height: 1.05;
  color: var(--ink);
  margin: 4px 32px 8px 0;
}

.modal__subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.field__req {
  color: var(--red);
}

.field__input {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.field__input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-shadow);
}

.field__input::placeholder {
  color: #aab0bb;
}

/* Select: flecha custom (sin appearance nativo) */
select.field__input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%236b7280' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field--check {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  margin-top: -4px;
}

.field--check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}

.field--check span {
  font-size: 14px;
  color: var(--muted);
}

.lead-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 15px 20px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.lead-form__submit .wa-icon {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex-shrink: 0;
}

.lead-form__submit:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -12px var(--red-shadow), 0 6px 14px rgba(0, 0, 0, 0.1);
}

.lead-form__submit:active {
  transform: translateY(0);
}

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .modal__overlay,
  .modal__dialog {
    animation: none;
  }
  .modal__close:hover {
    transform: none;
  }
}
