/* ═══════════════════════════════════════════════════════════
   MeAvisas Landing Page — Design System + Styles
   Colores de marca: #5C9EAD (teal) + #E09038 (orange)
   ═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─── */
:root,
[data-theme='light'] {
  /* Surfaces */
  --color-bg: #f5f7f8;
  --color-surface: #ffffff;
  --color-surface-2: #f9fafb;
  --color-surface-offset: #eef1f3;
  --color-surface-offset-2: #e6eaec;
  --color-divider: #dce1e5;
  --color-border: #cdd4d8;

  /* Text */
  --color-text: #1a2730;
  --color-text-muted: #5a6b74;
  --color-text-faint: #a8b5bb;
  --color-text-inverse: #f5f7f8;

  /* Primary — MeAvisas Teal #5C9EAD */
  --color-primary: #4a8fa0;
  --color-primary-hover: #3a7a8b;
  --color-primary-active: #2c6070;
  --color-primary-highlight: #d4e8ed;
  --color-primary-soft: #e8f3f6;

  /* Orange accent — #E09038 */
  --color-orange: #d4882a;
  --color-orange-hover: #bb7020;
  --color-orange-active: #9a5a15;
  --color-orange-highlight: #f5e2c8;
  --color-orange-soft: #fdf3e5;

  /* Success */
  --color-success: #3d8a4e;
  --color-success-soft: #e3f2e8;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.65vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-2xl: clamp(2rem, 1.3rem + 2.2vw, 3.25rem);
  --text-hero: clamp(2.75rem, 1.2rem + 5vw, 5.5rem);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 39, 48, 0.07);
  --shadow-md: 0 4px 16px rgba(26, 39, 48, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 39, 48, 0.14);
  --shadow-xl: 0 24px 64px rgba(26, 39, 48, 0.18);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 680px;
  --content-default: 980px;
  --content-wide: 1200px;
}

[data-theme='dark'] {
  --color-bg: #0f1a1f;
  --color-surface: #162028;
  --color-surface-2: #1c2830;
  --color-surface-offset: #1a2530;
  --color-surface-offset-2: #202e38;
  --color-divider: #243040;
  --color-border: #2e3e4c;
  --color-text: #d4dde2;
  --color-text-muted: #7a9098;
  --color-text-faint: #4a6070;
  --color-text-inverse: #0f1a1f;
  --color-primary: #6db8cb;
  --color-primary-hover: #88c8d8;
  --color-primary-active: #a4d5e0;
  --color-primary-highlight: #1a3540;
  --color-primary-soft: #162835;
  --color-orange: #f0a050;
  --color-orange-hover: #f5b870;
  --color-orange-active: #f8cc90;
  --color-orange-highlight: #3a2a15;
  --color-orange-soft: #2a2010;
  --color-success: #5aaa6a;
  --color-success-soft: #152a1a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0f1a1f;
    --color-surface: #162028;
    --color-surface-2: #1c2830;
    --color-surface-offset: #1a2530;
    --color-surface-offset-2: #202e38;
    --color-divider: #243040;
    --color-border: #2e3e4c;
    --color-text: #d4dde2;
    --color-text-muted: #7a9098;
    --color-text-faint: #4a6070;
    --color-text-inverse: #0f1a1f;
    --color-primary: #6db8cb;
    --color-primary-hover: #88c8d8;
    --color-primary-active: #a4d5e0;
    --color-primary-highlight: #1a3540;
    --color-primary-soft: #162835;
    --color-orange: #f0a050;
    --color-orange-soft: #2a2010;
    --color-success: #5aaa6a;
    --color-success-soft: #152a1a;
  }
}

/* ─── BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
button { cursor: pointer; background: none; border: none; }

::selection { background: color-mix(in oklab, var(--color-primary), transparent 75%); color: var(--color-text); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: var(--radius-sm); }

a { color: inherit; text-decoration: none; transition: color var(--transition-interactive), text-decoration-color var(--transition-interactive); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── LAYOUT ─── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-16));
}
.container--narrow { max-width: var(--content-narrow); }

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--offset { background: var(--color-surface); }
.section--dark {
  background: linear-gradient(135deg, #1a2e38 0%, #0f1c25 60%, #1a2a35 100%);
  position: relative;
}
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(74, 143, 160, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 136, 42, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.section--teal {
  background: linear-gradient(135deg, var(--color-primary) 0%, #3a7a8b 100%);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section__tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.section__tag--light { color: var(--color-primary-highlight); background: rgba(255,255,255,0.15); }
.section__tag--white { color: white; background: rgba(255,255,255,0.2); }
.section__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

/* ─── HEADER ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg), transparent 10%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive), transform 0.3s var(--ease-out);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header--hidden { transform: translateY(-100%); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-4);
}
.header__actions { display: flex; align-items: center; gap: var(--space-2); }

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.logo__mark { flex-shrink: 0; }
.logo__text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.nav__link:hover { color: var(--color-text); background: var(--color-surface-offset); }
.nav__link--cta {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}
.nav__link--cta:hover { background: var(--color-primary-hover); color: white; }

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.icon-btn:hover { color: var(--color-text); background: var(--color-surface-offset); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-divider);
  gap: var(--space-1);
}
.mobile-nav.open { display: flex; }
.mobile-nav__link {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.mobile-nav__link:hover { color: var(--color-text); background: var(--color-surface-offset); }
.mobile-nav__link--cta {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  text-align: center;
  margin-top: var(--space-2);
}
.mobile-nav__link--cta:hover { background: var(--color-primary-hover); color: white; }

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn--primary { background: var(--color-primary); color: white; }
.btn--primary:hover { background: var(--color-primary-hover); color: white; }

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: var(--color-surface-offset); color: var(--color-text); border-color: var(--color-border); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary-soft); color: var(--color-primary-hover); }

.btn--white { background: white; color: var(--color-primary); }
.btn--white:hover { background: var(--color-primary-soft); color: var(--color-primary-hover); }

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}
.btn--full { width: 100%; }

/* ─── HERO ─── */
.hero {
  min-height: 90svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, color-mix(in oklab, var(--color-primary), transparent 85%) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 70%, color-mix(in oklab, var(--color-orange), transparent 90%) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-highlight);
  padding: var(--space-1) var(--space-3) var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.badge__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  line-height: 1.05;
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-orange));
  border-radius: 2px;
  transform-origin: left;
  animation: underline-grow 1s var(--ease-out) 0.5s both;
}
@keyframes underline-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero__stats {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.stat { text-align: center; }
.stat__number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.stat__suffix {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  display: block;
}
.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--color-divider);
  flex-shrink: 0;
}

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }

.phone-mockup {
  position: relative;
  width: min(320px, 85vw);
  animation: float-phone 6s ease-in-out infinite;
}
@keyframes float-phone {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.phone-mockup__frame {
  background: var(--color-surface);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 0 0 2px var(--color-border),
    0 0 0 4px var(--color-surface-offset-2),
    var(--shadow-xl);
  position: relative;
  z-index: 2;
}
.phone-mockup__notch {
  width: 100px;
  height: 28px;
  background: var(--color-text);
  border-radius: 100px;
  margin: 0 auto var(--space-3);
}
.phone-mockup__screen {
  background: var(--color-bg);
  border-radius: 34px;
  overflow: hidden;
  min-height: 440px;
}
.phone-mockup__glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60px;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--color-primary), transparent 50%) 0%, transparent 70%);
  filter: blur(16px);
}

.app-ui {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.app-ui__header {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-3);
}
.app-ui__greeting {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-display);
}
.app-ui__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.app-alert {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  border-left: 3px solid transparent;
}
.app-alert__icon { font-size: 1.25rem; flex-shrink: 0; }
.app-alert__content { flex: 1; min-width: 0; }
.app-alert__title { font-weight: 600; color: var(--color-text); font-size: var(--text-sm); }
.app-alert__time { font-size: var(--text-xs); color: var(--color-text-muted); }
.app-alert__badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--color-orange);
  color: white;
  flex-shrink: 0;
}
.app-alert--critical {
  background: var(--color-orange-soft);
  border-left-color: var(--color-orange);
}
.app-alert--today {
  background: var(--color-primary-soft);
  border-left-color: var(--color-primary);
}
.app-alert--upcoming {
  background: var(--color-surface-offset);
  border-left-color: var(--color-border);
}

.alert-pulse {
  animation: alert-pulse-anim 2.5s ease-in-out infinite;
}
@keyframes alert-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--color-orange), transparent 70%); }
  50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--color-orange), transparent 90%); }
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
  font-size: var(--text-sm);
  z-index: 3;
}
.floating-card__icon { font-size: 1.25rem; }
.floating-card__text { display: flex; flex-direction: column; }
.floating-card__text strong { font-weight: 600; color: var(--color-text); }
.floating-card__text span { color: var(--color-text-muted); font-size: var(--text-xs); }
.floating-card--1 { top: 5%; right: -8%; }
.floating-card--2 { bottom: 10%; left: -12%; }

.float-anim { animation: float-1 5s ease-in-out infinite; }
.float-anim-delay { animation: float-2 5s ease-in-out 1s infinite; }
@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--color-text-faint);
  border-radius: 50%;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ─── TRUST BAR ─── */
.trust-bar {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface);
  padding-block: var(--space-6);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.trust-bar__logos {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  align-items: center;
}
.trust-logo {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ─── STEPS ─── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  justify-content: center;
}
.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.step:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.step__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary-highlight);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.step__icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.step__desc { font-size: var(--text-sm); color: var(--color-text-muted); }
.step__arrow {
  flex-shrink: 0;
  margin-top: calc(var(--space-8) + 2.5rem + var(--space-3));
  color: var(--color-text-faint);
}

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-block: var(--space-6);
}
.feature-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.feature-check {
  width: 20px;
  height: 20px;
  background: var(--color-success-soft);
  color: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
}
.showcase-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.showcase-card--active { border-color: var(--color-orange); }
.showcase-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.showcase-icon { font-size: 1.25rem; }
.showcase-title { font-weight: 700; color: var(--color-text); font-family: var(--font-display); flex: 1; }
.showcase-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--color-orange);
  color: white;
  animation: blink-badge 2s ease-in-out infinite;
}
@keyframes blink-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.showcase-alarm-name { font-size: var(--text-base); font-weight: 600; color: var(--color-text); }
.showcase-alarm-time { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.showcase-alarm-notify {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.notify-icon { font-size: 0.875rem; }

.showcase-notification {
  background: #1c1c1e;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  color: white;
}
.notif-bar {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-2);
}
.notif-time { font-size: 0.65rem; }
.notif-title { font-weight: 700; font-size: var(--text-sm); margin-bottom: var(--space-1); }
.notif-body { font-size: var(--text-xs); color: rgba(255,255,255,0.7); }

.showcase-email {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-orange);
}
.email-from { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-1); }
.email-subject { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-2); }
.email-body { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.testimonial:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testimonial--featured {
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-surface));
  border-color: var(--color-primary-highlight);
  box-shadow: var(--shadow-md);
}
.testimonial__stars {
  font-size: var(--text-base);
  color: var(--color-orange);
  letter-spacing: 0.1em;
}
.testimonial__quote {
  font-size: var(--text-base);
  color: var(--color-text);
  font-style: italic;
  line-height: 1.65;
  flex: 1;
  quotes: "\201C" "\201D";
}
.testimonial__quote::before { content: open-quote; color: var(--color-primary); font-size: 2em; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong { display: block; font-weight: 700; color: var(--color-text); }
.testimonial__author span { font-size: var(--text-xs); color: var(--color-text-muted); }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}
.pricing-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(0,0,0,0.4); }
.pricing-card--featured {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 2px var(--color-orange);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-orange);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-card__name {
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
}
.price__currency { font-size: var(--text-lg); font-weight: 600; color: rgba(255,255,255,0.7); }
.price__amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  line-height: 1;
}
.price__period { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }
.pricing-card__desc { font-size: var(--text-sm); color: rgba(255,255,255,0.6); margin-bottom: var(--space-6); }
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
}
.feat-check { color: var(--color-primary); font-weight: 700; flex-shrink: 0; }
.feat-disabled { opacity: 0.35; }
.feat-disabled span { color: rgba(255,255,255,0.4); }

/* ─── DOWNLOAD ─── */
.download-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-md);
}
.download-btns {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: 0;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.store-btn:hover { background: color-mix(in oklab, var(--color-text), white 15%); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn__icon { flex-shrink: 0; opacity: 0.9; }
.store-btn__sub { display: block; font-size: var(--text-xs); opacity: 0.65; }
.store-btn__name { display: block; font-weight: 700; font-family: var(--font-display); }

.qr-placeholder {
  background: var(--color-surface-offset);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.qr-inner p { font-size: var(--text-xs); color: var(--color-text-muted); text-align: center; }

/* ─── SUBSCRIBE ─── */
.subscribe-block {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(var(--space-10), 6vw, var(--space-16));
  align-items: center;
}
.subscribe__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-4);
}
.subscribe__desc { font-size: var(--text-base); color: rgba(255,255,255,0.8); }

.subscribe-form {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-6);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); position: relative; }
.form-label { font-size: var(--text-sm); font-weight: 600; color: rgba(255,255,255,0.9); }
.form-input {
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive), background var(--transition-interactive), box-shadow var(--transition-interactive);
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus { outline: none; border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.15); box-shadow: 0 0 0 3px rgba(255,255,255,0.1); }
.form-input.error { border-color: #ff8080; }
.form-error {
  font-size: var(--text-xs);
  color: #ff9090;
  display: none;
}
.form-error.visible { display: block; }

.radio-group { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
}
.radio-label input { accent-color: var(--color-primary); }

.form-group--checkbox { }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-label input { accent-color: var(--color-primary); margin-top: 2px; flex-shrink: 0; }

.form-success {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  font-size: var(--text-base);
  color: white;
  font-weight: 600;
  text-align: center;
}

/* ─── FAQ ─── */
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--color-primary-highlight); box-shadow: var(--shadow-md); }
.faq-question {
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  user-select: none;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s var(--ease-out);
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { background: var(--color-surface-offset); }
.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
}
.faq-answer p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  margin-bottom: var(--space-12);
}
.footer__tagline { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-3); margin-bottom: var(--space-5); }
.footer__socials { display: flex; gap: var(--space-3); }
.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
  transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive);
}
.social-link:hover { color: var(--color-primary); background: var(--color-primary-soft); border-color: var(--color-primary-highlight); }
.footer__heading { font-size: var(--text-sm); font-weight: 700; color: var(--color-text); margin-bottom: var(--space-4); letter-spacing: 0.02em; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition-interactive); }
.footer__links a:hover { color: var(--color-primary); }
.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__bottom p { font-size: var(--text-xs); color: var(--color-text-muted); }
.footer__apps { display: flex; gap: var(--space-3); align-items: center; }
.footer__app-link { font-size: var(--text-xs); color: var(--color-text-muted); transition: color var(--transition-interactive); }
.footer__app-link:hover { color: var(--color-primary); }

/* ─── IMG TEXT OVERLAY ─── */
/* Cubre el texto "automáticam-mente" de la imagen hero-emotion.jpg
   y lo reemplaza con el texto correcto en el mismo estilo visual */
.img-text-overlay {
  position: absolute;
  /* Texto malo empieza ~36% y "mente" termina ~47% de la imagen */
  top: 35%;
  left: 1.5%;
  width: 57%;
  bottom: 53%; /* se extiende hasta el 47% desde arriba */
  background: #f0ebe2;
  color: #263d52;
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(0.58rem, 1.4vw, 0.8rem);
  font-weight: 500;
  line-height: 1.55;
  padding: 2% 3%;
  pointer-events: none;
  user-select: none;
  box-shadow: none;
  border-radius: 2px;
}

/* ─── HERO EMOTION IMAGE ─── */
.hero-emotion-wrap {
  position: relative;
  width: min(420px, 88vw);
  margin-inline: auto;
  animation: float-phone 7s ease-in-out infinite;
}

.hero-emotion-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 3px var(--color-border),
    var(--shadow-xl);
  object-fit: cover;
}

/* Reposition floating cards for emotion image */
.hero-emotion-wrap .floating-card--1 {
  top: 8%;
  right: -12%;
}
.hero-emotion-wrap .floating-card--2 {
  bottom: 12%;
  left: -10%;
}

@media (max-width: 768px) {
  .hero-emotion-wrap { width: min(320px, 88vw); }
  .hero-emotion-wrap .floating-card--1 { right: -4%; }
  .hero-emotion-wrap .floating-card--2 { left: -4%; }
}

/* ─── IMPACT SECTION ─── */
.impact-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
  background: var(--color-surface);
  overflow: hidden;
}

.impact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  align-items: center;
}

.impact-image-col {
  position: relative;
}

.impact-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.impact-img:hover {
  transform: scale(1.01);
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.impact-text-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.impact-title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.impact-title em {
  font-style: normal;
  color: var(--color-primary);
}

.impact-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 50ch;
}

.impact-stats {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
}

.impact-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.impact-stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.impact-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 18ch;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .impact-inner {
    grid-template-columns: 1fr;
  }
  .impact-stats {
    justify-content: space-around;
  }
}

/* ─── LOGO IMAGE ─── */
.logo__img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: white;
  padding: 2px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

/* ─── SCREENSHOTS CLUSTER (hero) ─── */
.screenshots-cluster {
  position: relative;
  width: min(420px, 90vw);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.screenshot-main {
  position: relative;
  z-index: 2;
  animation: float-phone 6s ease-in-out infinite;
}

.screenshot-secondary {
  position: absolute;
  right: -18%;
  top: 12%;
  z-index: 3;
  width: 48%;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.25));
}

.screenshot-frame {
  border-radius: 44px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px var(--color-border),
    0 0 0 5px var(--color-surface-offset-2),
    var(--shadow-xl);
  background: #000;
}

.screenshot-frame--sm {
  border-radius: 36px;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.15),
    var(--shadow-lg);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.screenshot-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(ellipse, color-mix(in oklab, var(--color-primary), transparent 45%) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

/* Responsive overrides for screenshots */
@media (max-width: 768px) {
  .screenshots-cluster { display: none; }
}

/* ─── REAL EMAIL SHOWCASE ─── */
.feature-showcase--real {
  background: transparent;
  border: none;
  padding: 0;
}

.real-email-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.real-email-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-primary-highlight);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.real-email-phone {
  width: min(300px, 85%);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px var(--color-border),
    0 0 0 5px var(--color-surface-offset),
    var(--shadow-xl);
  background: #fff;
  animation: float-phone 7s ease-in-out 0.5s infinite;
}

.real-email-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── SCROLL ANIMATIONS ─── */
.fade-in {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

.reveal-up {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .reveal-up {
    opacity: 0;
    clip-path: inset(20px 0 0 0);
    animation: reveal-up-anim linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 70%;
  }
}
@keyframes reveal-up-anim {
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

/* Fallback JS-based animations for unsupported browsers */
.js-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.js-fade.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .subscribe-block { grid-template-columns: 1fr; text-align: center; }
  .subscribe-block__text { display: flex; flex-direction: column; align-items: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { display: flex; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { display: none; }
  .download-block { grid-template-columns: 1fr; text-align: center; }
  .download-btns { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .trust-bar .container { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__stats { flex-direction: column; gap: var(--space-4); }
  .stat__divider { display: none; }
  .radio-group { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; }
  .download-btns { flex-direction: column; }
}

/* ── Email Fan Collage ── */
.email-fan {
  position: relative;
  width: 300px;
  height: 360px;
  margin: 0 auto;
}

.email-fan__card {
  position: absolute;
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  top: 0;
  left: 50%;
  transform-origin: bottom center;
  object-fit: cover;
  object-position: top;
}

.email-fan__card--back {
  transform: translateX(-50%) rotate(-22deg) translateY(14px);
  z-index: 3;
  filter: brightness(0.88);
}

.email-fan__card--mid {
  transform: translateX(-50%) rotate(0deg) translateY(7px);
  z-index: 2;
  filter: brightness(0.94);
}

.email-fan__card--front {
  transform: translateX(-50%) rotate(20deg);
  z-index: 1;
}

/* ── SOS Emergencias Section ── */
.sos-section {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
}

.sos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sos-desc {
  color: var(--color-text-muted, #555);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.sos-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sos-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid #f0dede;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.sos-method__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.sos-method__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sos-method__text strong {
  font-size: 0.95rem;
  color: #1a1a2e;
}

.sos-method__text span {
  font-size: 0.85rem;
  color: #666;
}

.sos-confirm {
  font-size: 0.9rem;
  color: #2d6a4f;
  background: #d8f3dc;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

/* Fan de correos SOS */
.sos-fan-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sos-fan {
  position: relative;
  width: 300px;
  height: 420px;
}

.sos-fan__card {
  position: absolute;
  width: 220px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(200,30,30,0.18);
  top: 0;
  left: 50%;
  transform-origin: bottom center;
  object-fit: cover;
  object-position: top;
}

.sos-fan__card--back {
  transform: translateX(-50%) rotate(-18deg) translateY(12px);
  z-index: 1;
  filter: brightness(0.82);
}

.sos-fan__card--mid {
  transform: translateX(-50%) rotate(0deg) translateY(6px);
  z-index: 2;
  filter: brightness(0.92);
}

.sos-fan__card--front {
  transform: translateX(-50%) rotate(18deg);
  z-index: 3;
}

@media (max-width: 768px) {
  .sos-inner {
    grid-template-columns: 1fr;
  }
  .sos-fan-wrap {
    order: -1;
  }
  .sos-fan {
    width: 260px;
    height: 340px;
  }
  .sos-fan__card {
    width: 180px;
  }
}

/* ── Pricing 2-col grid ── */
.pricing-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pricing-grid--two { grid-template-columns: 1fr; }
}

/* ── Coupon row ── */
.coupon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.coupon-icon { font-size: 1.3rem; }
