/* ════════════════════════════════════════
   TAPP LANDING — Mobile-first CSS
   Fuente: Roboto | Colores: #BE161C / #FFF
   ════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --red:      #BE161C;
  --red-dk:   #981217;
  --white:    #FFFFFF;
  --off:      #F6F5F3;
  --gray:     #6B6866;
  --gray-lt:  #D4D1CC;
  --dark:     #111110;

  --f: 'Roboto', sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;

  --nav-h: 60px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-s: cubic-bezier(0.34, 1.56, 0.64, 1);

  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 8px 28px rgba(0,0,0,.11);
  --sh-lg: 0 20px 56px rgba(0,0,0,.16);
  --sh-red: 0 12px 40px rgba(190,22,28,.30);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--f);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: normal; color: var(--red); }
.em--light { color: rgba(255,255,255,.45); }
.em--dim   { color: rgba(255,255,255,.45); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── LABEL ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.label::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}
.label--light { color: rgba(255,255,255,.7); }
.label--light::before { background: rgba(255,255,255,.7); }

/* ── BUTTON ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: transform .2s var(--ease-s), box-shadow .2s, background .15s;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--sh-red);
}
.btn--red:hover  { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 18px 48px rgba(190,22,28,.38); }
.btn--red:active { transform: scale(.97); }
.btn--white {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--sh-md);
}
.btn--white:hover  { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--white:active { transform: scale(.97); }

/* Google Play icon */
.gplay-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--white);
}
.gplay-icon--red { fill: var(--red); }
.nav__mobile-cta .gplay-icon { fill: var(--white); }

/* ════════════════════
   NAV
   ════════════════════ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: var(--sh-sm); }

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__logo img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(190,22,28,.30);
  transition: transform .22s var(--ease-s), box-shadow .22s;
}
.nav__logo:hover img {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(190,22,28,.42);
}
.nav__logo span {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -.01em;
  transition: opacity .2s;
}
.nav__logo:hover span { opacity: .8; }

.nav__download { font-size: .88rem; padding: 9px 18px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .28s var(--ease), opacity .2s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-lt);
  box-shadow: var(--sh-md);
  animation: slideDown .25s var(--ease);
}
.nav__mobile.is-open { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
.nav__mobile a {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  border-bottom: 1px solid var(--off);
  transition: background .15s;
}
.nav__mobile a:hover { background: var(--off); }
.nav__mobile-cta {
  display: block;
  margin: 16px 24px 20px;
  padding: 14px 20px !important;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--r-md) !important;
  font-weight: 700 !important;
  font-size: .95rem !important;
  text-align: center;
  border-bottom: none !important;
}

/* ════════════════════
   HERO
   ════════════════════ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px;
  position: relative;
  overflow: visible;
}
.hero__orb {
  position: absolute;
  top: -100px; right: -100px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(190,22,28,.10), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 7s ease-in-out infinite;
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-20px); }
}

.hero__content { position: relative; z-index: 1; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(190,22,28,.07);
  border: 1px solid rgba(190,22,28,.16);
  color: var(--red);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 6px 14px 6px 9px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}

.hero__h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero__p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero__actions { margin-bottom: 40px; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__stat { display: flex; flex-direction: column; }
.hero__stat strong {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.hero__stat span {
  font-size: .74rem;
  color: var(--gray);
  margin-top: 2px;
}
.hero__sep {
  width: 1px; height: 32px;
  background: var(--gray-lt);
  flex-shrink: 0;
}

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

/* Floating badges */
.hero__float {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,.07);
  white-space: nowrap;
  z-index: 10;
  animation: floatBounce 4s ease-in-out infinite;
}
.hero__float span { font-size: 1.1rem; }
.hero__float--1 { top: 48px;   left: -28px;  animation-delay: 0s; }
.hero__float--2 { bottom: 72px; right: -24px; animation-delay: 2s; }
.hero__float--3 { top: 55%; left: -35px; animation-delay: 1s; }
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.phone {
  width: 240px;
  aspect-ratio: 9/19;
  background: var(--dark);
  border-radius: 34px;
  padding: 10px;
  box-shadow: 0 32px 72px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.07);
  position: relative;
  animation: phoneFloat 5.5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}
.phone::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 9.2px; height: 9.2px;
  background: #080808;
  border-radius: 50%;
  box-shadow: inset -1px -1px 2px rgba(255,255,255,.15), inset 1px 1px 2px rgba(0,0,0,1);
  z-index: 10;
}
.phone__screen {
  background: var(--white);
  height: 100%;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 6px 16px;
  overflow: hidden;
}

/* ── Hero Slider (Auto-carrusel del celular) ── */
.hero-slider {
  display: flex;
  width: 100%;
  height: 100%;
  align-self: flex-start;
  animation: slideHero 40s cubic-bezier(0.8, 0, 0.2, 1) infinite;
}
.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slideHero {
  0%, 10.5%  { transform: translateX(0); }       /* Inicio/Home */
  12.5%, 23% { transform: translateX(-100%); }   /* Slide 1 */
  25%, 35.5% { transform: translateX(-200%); }   /* Slide 2 */
  37.5%, 48% { transform: translateX(-300%); }   /* Slide 3 */
  50%, 60.5% { transform: translateX(-400%); }   /* Slide 4 */
  62.5%, 73% { transform: translateX(-500%); }   /* Slide 5 */
  75%, 85.5% { transform: translateX(-600%); }   /* Slide 6 */
  87.5%, 98% { transform: translateX(-700%); }   /* Slide 7 */
  100%       { transform: translateX(-800%); }   /* Clon Home (Loop infinito) */
}
.phone__logo {
  width: 52px; height: 52px;
  border-radius: 12px;
  margin-bottom: 6px;
}
.phone__sub {
  font-size: .72rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 18px;
}
.phone__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.phone__item {
  background: var(--off);
  border-radius: 8px;
  padding: 8px 10px 22px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: .76rem;
  font-weight: 500;
  position: relative;
  animation: slideIn .7s var(--ease) both;
}
.phone__item:nth-child(1) { animation-delay: .7s; }
.phone__item:nth-child(2) { animation-delay: 1s; }
.phone__item:nth-child(3) { animation-delay: 1.3s; }
.phone__item:nth-child(4) { animation-delay: 1.6s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.phone__emoji { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.phone__name  { flex: 1; min-width: 0; line-height: 1.3; }
.phone__pill {
  font-size: .60rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(190,22,28,.1);
  color: var(--red);
  flex-shrink: 0;
  position: absolute;
  bottom: 6px;
  right: 8px;
  white-space: nowrap;
}
.phone__pill--promo {
  background: rgba(234,170,0,.12);
  color: #B07D00;
}

/* Scroll indicator */
.hero__scroll {
  --tx: -50%;
  position: fixed; /* Anclado a la pantalla de cristal para que JAMÁS quede fuera de vista */
  bottom: 30px;
  left: 50%;
  transform: translateX(var(--tx));
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(190, 22, 28, 0.4);
  animation: bounceDown 2s infinite var(--ease-s);
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: opacity 0.3s ease, background 0.2s, box-shadow 0.2s;
}
.hero__scroll svg {
  width: 26px;
  height: 26px;
  margin-top: 2px;
}
.hero__scroll:hover {
  background: var(--red-dk);
  box-shadow: 0 16px 40px rgba(190, 22, 28, 0.5);
}
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translate(var(--tx), 0); }
  40% { transform: translate(var(--tx), -12px); }
  60% { transform: translate(var(--tx), -6px); }
}

/* ════════════════════
   FEATURES
   ════════════════════ */
.features {
  padding: 80px 0;
  background: var(--off);
}
.features .container { text-align: center; }
.features h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin-bottom: 48px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.feat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s var(--ease-s), box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.feat-card:hover::after { transform: scaleX(1); }

.feat-card--red {
  background: var(--red);
  border-color: var(--red);
}
.feat-card--red h3 { color: var(--white); }
.feat-card--red p  { color: rgba(255,255,255,.75); }
.feat-card--red::after { background: rgba(255,255,255,.35); }

.feat-card__icon {
  width: 44px; height: 44px;
  background: rgba(190,22,28,.09);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 16px;
  transition: background .2s;
}
.feat-card:hover .feat-card__icon { background: rgba(190,22,28,.15); }
.feat-card__icon--light { background: rgba(255,255,255,.2); color: var(--white); }
.feat-card--red:hover .feat-card__icon { background: rgba(255,255,255,.28); }

.feat-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feat-card p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--gray);
}
.feat-card--red p { color: rgba(255,255,255,.78); }

/* ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
   BENEFITS — new card layout
   ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ */
.benefits {
  padding: 96px 0;
  background: #0d0d0d;
  position: relative;
  overflow: hidden;
}

/* Ambient glows */
.benefits__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.benefits__glow--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(190,22,28,.28), transparent 70%);
  top: -60px; right: -100px;
  animation: glowPulse1 8s ease-in-out infinite;
}
.benefits__glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(190,22,28,.15), transparent 70%);
  bottom: -80px; left: -60px;
  animation: glowPulse2 9s ease-in-out infinite;
}
@keyframes glowPulse1 {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: .75; }
}
@keyframes glowPulse2 {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.15); opacity: 1; }
}

.benefits .container {
  position: relative;
  z-index: 1;
}

/* Header */
.benefits__header {
  text-align: center;
  margin-bottom: 56px;
}
.benefits__header .h2--light {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 14px;
}
.em--red { color: var(--red); }
.h2--light { color: var(--white); }

.benefits__subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,.45);
  font-weight: 400;
}

/* 2×2 card grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Individual card — row layout */
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform .28s var(--ease-s), box-shadow .28s, border-color .28s;
  cursor: default;
  backdrop-filter: blur(6px);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,.55);
  border-color: rgba(190,22,28,.45);
}

/* Accent card — red */
.why-card--accent {
  background: linear-gradient(145deg, var(--red-dk), var(--red));
  border-color: rgba(255,255,255,.15);
}
.why-card--accent::before {
  background: linear-gradient(135deg, rgba(255,255,255,.10) 0%, transparent 60%);
}
.why-card--accent:hover {
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 28px 60px rgba(190,22,28,.5);
}

/* Left side: text content */
.why-card__body {
  flex: 1;
  min-width: 0;
}

/* Right side: phone mockup container */
.why-card__visual {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease-s);
}
.why-card:hover .why-card__visual {
  transform: translateY(-5px) rotate(1deg);
}

/* ── Phone mockup ── */
.why-phone {
  width: 110px;
  background: #111114;
  border-radius: 26px;
  padding: 12px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.10),
    0 0 0 3px rgba(0,0,0,0.9),
    0 30px 70px rgba(0,0,0,0.75),
    0 10px 30px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
}
/* Side buttons */
.why-phone::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 55px;
  width: 3px;
  height: 24px;
  background: #1a1a1e;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 32px 0 #1a1a1e;
}
.why-phone::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 70px;
  width: 3px;
  height: 36px;
  background: #1a1a1e;
  border-radius: 0 2px 2px 0;
}

/* Punch-hole camera */
.why-phone__cam {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #080808;
  box-shadow:
    inset 0 0 3px rgba(255,255,255,0.08),
    0 0 0 1px rgba(255,255,255,0.06);
  flex-shrink: 0;
}

/* Screen — proporciones reales de smartphone ~9:16 */
.why-phone__screen {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.why-card__svg {
  width: 100%;
  height: auto;
}

/* Home bar */
.why-phone__home {
  width: 42px;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Light variant (for accent red card) */
.why-phone--light {
  background: rgba(0,0,0,0.3);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,0.2),
    0 0 0 3px rgba(0,0,0,0.4),
    0 30px 70px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.why-phone--light::before,
.why-phone--light::after { background: rgba(0,0,0,0.3); }
.why-phone--light .why-phone__screen { background: rgba(255,255,255,0.06); }
.why-phone--light .why-phone__home { background: rgba(255,255,255,0.3); }


/* Top row: icon + number */
.why-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Icon circle */
.why-card__icon-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(190,22,28,.18);
  border: 1px solid rgba(190,22,28,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .25s var(--ease-s);
}
.why-card:hover .why-card__icon-wrap {
  background: rgba(190,22,28,.3);
  border-color: rgba(190,22,28,.55);
  transform: scale(1.08);
}
.why-card__icon-wrap--light {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.why-card--accent:hover .why-card__icon-wrap--light {
  background: rgba(255,255,255,.3);
  border-color: rgba(255,255,255,.55);
}

/* Number badge */
.why-card__num {
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(255,255,255,.10);
  letter-spacing: -.03em;
  line-height: 1;
  transition: color .25s;
}
.why-card:hover .why-card__num { color: rgba(190,22,28,.45); }
.why-card__num--light { color: rgba(255,255,255,.18); }
.why-card--accent:hover .why-card__num--light { color: rgba(255,255,255,.42); }

/* Text */
.why-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.why-card__desc {
  font-size: .875rem;
  line-height: 1.72;
  color: rgba(255,255,255,.52);
}
.why-card--accent .why-card__desc { color: rgba(255,255,255,.78); }



/* ════════════════════
   CTA
   ════════════════════ */
.cta {
  background: var(--dark);
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(190,22,28,.18), transparent);
  pointer-events: none;
}
.cta__icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  box-shadow: var(--sh-red);
  position: relative;
  animation: iconPop 3s ease-in-out infinite;
}
@keyframes iconPop {
  0%,100% { box-shadow: 0 12px 40px rgba(190,22,28,.30); }
  50%      { box-shadow: 0 20px 56px rgba(190,22,28,.50); }
}
.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  position: relative;
}
.cta p {
  font-size: .98rem;
  color: rgba(255,255,255,.55);
  max-width: 420px;
  line-height: 1.7;
  position: relative;
}

/* ════════════════════
   FOOTER
   ════════════════════ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer__brand span { font-size: 1.1rem; font-weight: 700; color: var(--red); }
.footer__tag { font-size: .82rem; color: rgba(255,255,255,.38); }
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer__links a:hover { color: var(--red); }
.footer__copy { font-size: .72rem; color: rgba(255,255,255,.2); }

/* ════════════════════
   AOS (scroll anim)
   ════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-aos].in { opacity: 1; transform: none; }

/* ════════════════════
   RESPONSIVE — TABLET
   ════════════════════ */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 52px;
    gap: 40px;
  }
  .hero__content { order: 1; text-align: center; }
  .hero__p { max-width: 100%; }
  .hero__stats { justify-content: center; }
  .hero__visual { order: 2; }

  .phone { width: 200px; }
  .hero__float--1 { left: -10px; top: 32px; }
  .hero__float--2 { right: -10px; bottom: 52px; }
  .hero__float--3 { left: -10px; top: 55%; }
  
  .hero__scroll {
    --tx: 0;
    left: 20px;
    bottom: 60px; /* Subido más para sortear la barra del navegador en móvil */
  }

  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

  /* Benefits */
  .benefits { padding: 72px 0; }
  .benefits__header { margin-bottom: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-card__visual { width: 110px; }
  .why-phone { width: 100px; border-radius: 22px; padding: 10px 7px 9px; }
  .why-phone__home { width: 32px; }
}

/* ════════════════════
   RESPONSIVE — MOBILE
   ════════════════════ */
@media (max-width: 560px) {
  :root { --nav-h: 56px; }

  /* Nav */
  .nav__download { display: none; }
  .nav__burger   { display: flex; }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 44px;
    gap: 32px;
  }
  .hero__h1 { font-size: 2rem; }
  .hero__p  { font-size: .95rem; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 16px; }
  .hero__stat strong { font-size: 1.2rem; }

  /* Phone */
  .phone { width: 180px; }
  .hero__float { font-size: .74rem; padding: 8px 12px; }
  .hero__float--1 { left: -8px; top: 24px; }
  .hero__float--2 { right: -8px; bottom: 40px; }

  /* Features */
  .features { padding: 56px 0; }
  .features h2 { font-size: 1.55rem; margin-bottom: 32px; }
  .features__grid { grid-template-columns: 1fr; gap: 12px; }
  .feat-card { padding: 22px 18px; }

  /* Benefits */  
  .benefits { padding: 60px 0; }
  .benefits__header { margin-bottom: 28px; }
  .benefits__header .h2--light { font-size: 1.7rem; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card {
    flex-direction: row;
    align-items: center;
    padding: 16px 14px;
    gap: 12px;
  }
  .why-card__visual { width: 88px; }
  .why-phone { width: 80px; border-radius: 18px; padding: 8px 6px 7px; gap: 5px; }
  .why-phone__cam { width: 6px; height: 6px; }
  .why-phone__home { width: 24px; height: 3px; }
  .why-phone__screen { border-radius: 7px; }
  .why-card__top { margin-bottom: 8px; }
  .why-card__icon-wrap { width: 38px; height: 38px; }
  .why-card__title { font-size: .9rem; margin-bottom: 5px; }
  .why-card__desc { font-size: .78rem; line-height: 1.55; }

  /* CTA */
  .cta { padding: 60px 20px; }
  .cta h2 { font-size: 1.8rem; }
  .cta__icon { width: 60px; height: 60px; border-radius: 14px; }
  .cta .btn { width: 100%; max-width: 320px; }

  /* Footer */
  .footer__links { gap: 14px; flex-direction: column; }

  /* Sections headings */
  .features h2,
  .benefits__text h2 { letter-spacing: 0; }
}

/* Touch friendly tap targets */
@media (hover: none) {
  .btn { -webkit-tap-highlight-color: transparent; }
  .feat-card { -webkit-tap-highlight-color: transparent; }
}

/* ════════════════════
   MODAL Y SUGERENCIAS
   ════════════════════ */
.sug-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(190, 22, 28, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sug-fab:hover {
  transform: scale(1.08);
  background-color: var(--red-dk);
  box-shadow: 0 14px 28px rgba(190, 22, 28, 0.5);
}
.sug-fab:active {
  transform: scale(0.95);
}

.sug-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sug-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.sug-modal {
  background: var(--white);
  width: 90%;
  max-width: 440px;
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}
.sug-overlay.is-active .sug-modal {
  transform: translateY(0) scale(1);
}

.sug-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 4px 12px;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.sug-close:hover {
  color: var(--dark);
}

.sug-header {
  text-align: center;
  margin-bottom: 24px;
}
.sug-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.sug-subtitle {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.4;
}

.sug-hp {
  display: none !important;
  position: absolute;
  left: -9999px;
}

.sug-field {
  margin-bottom: 18px;
}
.sug-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.sug-req { color: var(--red); font-weight: bold; margin-left: 2px; }
.sug-optional { font-weight: 400; color: #a1a1aa; text-transform: none; font-size: 0.7rem; margin-left: 4px; }

.sug-input, .sug-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid #e4e4e7;
  background-color: #fafafa;
  outline: none;
  color: var(--dark);
  text-align: center;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.sug-textarea {
  min-height: 100px;
  resize: vertical;
}
.sug-input:focus, .sug-textarea:focus {
  border-color: var(--red);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(190, 22, 28, 0.1);
}

.sug-btn {
  width: 100%;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  background-color: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(190, 22, 28, 0.3);
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
  min-height: 50px;
}
.sug-btn:hover {
  background-color: var(--red-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(190, 22, 28, 0.4);
}
.sug-btn:active {
  transform: scale(0.96);
}
.sug-btn:disabled {
  background-color: #d4d4d8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.sug-btn--outline {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid #e4e4e7;
  box-shadow: none;
}
.sug-btn--outline:hover {
  background-color: #f4f4f5;
  border-color: #d4d4d8;
  box-shadow: none;
}

.sug-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spinnerAnim 1s ease-in-out infinite;
}
@keyframes spinnerAnim {
  to { transform: rotate(360deg); }
}

.sug-error-box {
  background-color: #fef2f2;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  margin-bottom: 20px;
  font-size: 0.85rem;
  text-align: center;
}
.sug-success-box {
  text-align: center;
  margin-bottom: 24px;
}
.sug-success-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 12px;
}
.sug-success-box strong {
  font-size: 1.25rem;
  color: var(--dark);
  display: block;
  margin-bottom: 10px;
}
.sug-success-box p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.5;
}

@media (max-width: 560px) {
  .sug-modal { padding: 28px 20px; width: 95%; max-height: 95vh; }
  .sug-fab { bottom: 16px; right: 16px; width: 56px; height: 56px; }
}

/* ══════════════════════════════════════
   FCARD — App Store Cards (Qué Hacemos)
   ══════════════════════════════════════ */

/* Header de la sección */
.features__header {
  text-align: center;
  margin-bottom: 44px;
}
.features__header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.features__subtitle {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* Grid de tarjetas */
.fcard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
}

/* Tarjeta base */
.fcard {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease-s), box-shadow .28s;
  position: relative;
  cursor: default;
}
.fcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}
.fcard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.fcard:hover::after { transform: scaleX(1); }

/* Imagen superior */
.fcard__img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.fcard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s var(--ease);
}
.fcard:hover .fcard__img { transform: scale(1.05); }

/* Overlay degradado sobre imagen */
.fcard__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,.20) 100%);
}
.fcard__img-overlay--red {
  background: linear-gradient(to bottom, transparent 30%, rgba(190,22,28,.40) 100%);
}

/* Cuerpo de la tarjeta */
.fcard__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

/* Ícono redondo */
.fcard__icon {
  width: 34px; height: 34px;
  background: rgba(190,22,28,.09);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
  transition: background .2s;
}
.fcard:hover .fcard__icon { background: rgba(190,22,28,.16); }
.fcard__icon--light {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}

/* Textos */
.fcard__title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin: 0;
}
.fcard__desc {
  font-size: .83rem;
  line-height: 1.65;
  color: var(--gray);
  margin: 0;
}

/* Variante oscura — Emergencias */
.fcard--accent {
  background: #170305;
  border-color: rgba(190,22,28,.25);
}
.fcard--accent::after { background: var(--red); }
.fcard--accent .fcard__body { background: transparent; }
.fcard--accent .fcard__title { color: #fff; }
.fcard--accent .fcard__desc  { color: rgba(255,255,255,.58); }
.fcard--accent:hover .fcard__icon--light { background: rgba(255,255,255,.22); }

/* ─── Responsive Tablet ─── */
@media (max-width: 860px) {
  .fcard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .fcard__img-wrap { height: 180px; }
}

/* ─── Responsive Mobile ─── */
@media (max-width: 560px) {
  .fcard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .fcard__img-wrap { height: 200px; }
  .fcard__body { padding: 16px 16px 18px; }
  .fcard__title { font-size: .95rem; }
}
