@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --red:       #C8111A;
  --red-dark:  #9a0d13;
  --red-light: #f03340;
  --navy:      #1B2F6E;
  --navy-dark: #0f1d45;
  --sky:       #4A9FD4;
  --white:     #ffffff;
  --green:     #00a63e;
  --green2:    #00c94a;
  --text:      #0d1b3e;
  --muted:     #7a8aaa;
  --border:    rgba(27,47,110,0.12);
  --card:      rgba(255,255,255,0.88);
  --r-sm:      10px;
  --r-md:      16px;
  --r-lg:      22px;
  --r-xl:      28px;
  --sh-md:     0 6px 24px rgba(27,47,110,0.12);
  --sh-lg:     0 14px 48px rgba(27,47,110,0.16);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}

html {
  overflow-x: clip;
  width: 100%;
}
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: linear-gradient(180deg, #c8e8f8 0%, #ddf0fb 40%, #eef7fd 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;
  width: 100%;
  position: relative;
}

#bgCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

.wrapper {
  position: relative; z-index: 1;
  max-width: 560px; margin: 0 auto;
  padding-top: 0;
  padding-bottom: 60px;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: visible;
  padding-top: 46px; /* altura del banner fijo */
  background: transparent;
  display: flex;
  justify-content: center;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}
.hero-logo {
  width: 72%; max-width: 320px;
  height: auto; display: block;
  margin: 0 auto;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  animation: heroLogoIn 0.8s cubic-bezier(0.34,1.56,0.64,1) both;
}
.hero-title { display: none; }
.hero-subtitle { display: none; }
.hero-pills { display: none; }
.hero-bottom-bar { display: none; }
.hero-bottom-dot { display: none; }

/* ── NAVBAR PESTAÑAS ────────────────────────────────────────── */
.navbar {
  position: sticky; top: 62px; z-index: 200;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(27,47,110,0.12);
  box-shadow: 0 4px 16px rgba(27,47,110,0.1);
}
.navbar-inner {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: stretch;
  padding: 0; gap: 0;
  overflow-x: hidden;
}
.navbar-inner::-webkit-scrollbar{display:none}

.navbar-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  padding: 4px 8px 4px 2px;
  border-right: 1.5px solid rgba(27,47,110,0.1);
  margin-right: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
  align-self: center;
}
.navbar-logo:hover { opacity: 0.75; }
.navbar-logo img {
  height: 34px; width: 34px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(27,47,110,0.15);
}

.tab {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding: 10px 2px 8px;
  border: none; border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--muted);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tab-icon {
  font-size: 1.25rem;
  line-height: 1;
}
.tab-label {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}
.tab::after {
  content: '';
  position: absolute; bottom: 0; left: 8px; right: 8px;
  height: 2px; border-radius: 2px 2px 0 0;
  background: transparent;
  transition: background 0.2s;
}
.tab:hover { color: var(--navy); background: rgba(27,47,110,0.05); }
.tab.active {
  color: var(--red);
  background: rgba(200,17,26,0.06);
  border: 1.5px solid rgba(200,17,26,0.15);
  border-bottom: none;
}
.tab.active::after { background: var(--red); }

/* ── CONTENIDO ───────────────────────────────────────────────── */
.main-content {
  padding: 0 16px 20px;
  display: flex; flex-direction: column; gap: 0;
}

/* ── SECCIÓN BASE ────────────────────────────────────────────── */
.page-section {
  padding: 28px 0 12px;
  scroll-margin-top: 110px;
}
.page-section + .page-section {
  border-top: 1.5px dashed rgba(27,47,110,0.15);
  padding-top: 32px;
}

.section-header { margin-bottom: 16px; }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--navy);
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.8);
}
.section-sub {
  font-size: 0.72rem; color: var(--muted); font-weight: 600;
  margin-top: 2px; letter-spacing: 0.03em;
}

/* ── CARD GLASS ──────────────────────────────────────────────── */
.section-card {
  background: #ffffff;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  border: 1.5px solid rgba(255,255,255,0.85);
  overflow: visible;
  margin-bottom: 12px;
  padding: 20px;
}

/* ── COTIZADOR ───────────────────────────────────────────────── */
.quoter-card { background: rgba(255,255,255,0.55); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-radius: var(--r-xl); overflow: visible; box-shadow: var(--sh-lg); border: 1.5px solid rgba(255,255,255,0.7); }
.quoter-header { background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 60%, var(--red-light) 100%); padding: 20px; position: relative; overflow: visible; }
.quoter-header::before { content:''; position:absolute; inset:0; background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,0.04) 0,rgba(255,255,255,0.04) 1px,transparent 1px,transparent 14px); }
.quoter-header-title { font-family:'Bebas Neue',sans-serif; font-size:1.4rem; color:#fff; letter-spacing:0.06em; position:relative; }
.quoter-header-sub { font-size:0.7rem; color:rgba(255,255,255,0.75); font-weight:500; margin-top:3px; line-height:1.4; position:relative; }
.quoter-body { padding: 20px; }

.btn-gps { width:100%; padding:15px; background:linear-gradient(135deg,var(--navy) 0%,var(--sky) 100%); color:#fff; border:none; border-radius:var(--r-lg); font-family:'Bebas Neue',sans-serif; font-size:1.05rem; letter-spacing:0.08em; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; box-shadow:0 4px 18px rgba(27,47,110,0.3); transition:transform 0.15s,box-shadow 0.15s; margin-bottom:16px; }
.btn-gps:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(27,47,110,0.4); }
.btn-gps:disabled { opacity:0.55; cursor:not-allowed; transform:none; }

.divider { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.divider-line { flex:1; height:1px; background:rgba(74,159,212,0.2); }
.divider-text { font-size:0.6rem; color:var(--muted); font-weight:700; letter-spacing:0.09em; text-transform:uppercase; }

.input-row { display:flex; gap:8px; }
.addr-input { flex:1; background:rgba(242,245,251,0.9); border:2px solid rgba(74,159,212,0.25); border-radius:var(--r-md); padding:13px 15px; color:var(--text); font-family:'Plus Jakarta Sans',sans-serif; font-size:0.88rem; font-weight:500; outline:none; transition:border-color 0.2s,box-shadow 0.2s; }
.addr-input:focus { border-color:var(--sky); background:#fff; box-shadow:0 0 0 3px rgba(74,159,212,0.15); }
.addr-input::placeholder { color:var(--muted); }

.btn-ver { flex-shrink:0; height:50px; padding:0 20px; background:linear-gradient(135deg,var(--red) 0%,var(--red-light) 100%); color:#fff; border:none; border-radius:var(--r-md); font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:0.06em; cursor:pointer; box-shadow:0 4px 14px rgba(200,17,26,0.35); transition:transform 0.15s,box-shadow 0.15s; }
.btn-ver:hover { transform:translateY(-2px); box-shadow:0 6px 18px rgba(200,17,26,0.45); }
.btn-ver:disabled { opacity:0.5; cursor:not-allowed; transform:none; }

.gps-chip { display:flex; align-items:center; gap:8px; background:rgba(0,166,62,0.08); border:1.5px solid rgba(0,166,62,0.3); border-radius:10px; padding:10px 12px; font-size:0.75rem; color:#005a20; font-weight:700; margin-bottom:12px; }

.status-box { margin-top:16px; border-radius:var(--r-lg); padding:14px 16px; font-size:0.82rem; font-weight:600; animation:popIn 0.3s ease both; }
.status-loading { background:rgba(74,159,212,0.08); border:1.5px solid rgba(74,159,212,0.2); color:var(--navy); text-align:center; padding:24px; }
.status-error   { background:rgba(200,17,26,0.06); border:1.5px solid rgba(200,17,26,0.22); color:var(--red-dark); }

.result-box { margin-top:16px; animation:popIn 0.4s ease both; }
.result-map {
  border-radius: var(--r-md); overflow: visible;
  margin-bottom: 12px;
  box-shadow: var(--sh-md);
  border: 1.5px solid rgba(255,255,255,0.7);
  height: 220px;
  position: relative;
}
.map-iframe {
  width: 100%; height: 100%; border: none; display: block;
}
.result-main { background:linear-gradient(135deg,var(--red-dark) 0%,var(--red) 55%,var(--red-light) 100%); border-radius:var(--r-lg); padding:20px 22px; display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; box-shadow:0 8px 24px rgba(200,17,26,0.3); position:relative; overflow:hidden; }
.result-main::before { content:''; position:absolute; inset:0; background-image:repeating-linear-gradient(-45deg,rgba(255,255,255,0.03) 0,rgba(255,255,255,0.03) 1px,transparent 1px,transparent 14px); }
.result-label { color:rgba(255,255,255,0.85); font-size:0.72rem; font-weight:700; margin-bottom:4px; position:relative; }
.result-km    { color:rgba(255,255,255,0.7); font-size:0.7rem; font-weight:500; position:relative; }
.result-price { font-family:'Bebas Neue',sans-serif; font-size:3.2rem; color:#fff; line-height:1; letter-spacing:0.03em; text-shadow:0 3px 10px rgba(0,0,0,0.2); position:relative; min-width:90px; text-align:right; }
.result-detail { background:rgba(242,245,251,0.9); border-radius:var(--r-md); padding:12px 16px; font-size:0.72rem; color:var(--muted); line-height:1.75; margin-bottom:12px; border:1.5px solid var(--border); }
.result-detail strong { color:var(--text); font-weight:700; }
.btn-maps { display:flex; align-items:center; justify-content:center; gap:8px; background:rgba(255,255,255,0.9); border:2px solid var(--border); border-radius:var(--r-md); padding:12px; text-decoration:none; font-family:'Plus Jakarta Sans',sans-serif; font-size:0.82rem; font-weight:700; color:var(--navy); transition:all 0.2s; width:100%; margin-bottom:12px; }
.btn-maps:hover { background:#fff; border-color:var(--sky); }
.disclaimer { font-size:0.6rem; color:var(--muted); text-align:center; margin-top:8px; line-height:1.5; }

.wa-colab-label { font-size:0.65rem; font-weight:800; color:var(--muted); text-transform:uppercase; letter-spacing:0.1em; margin:6px 0 10px; text-align:center; }
.wa-colab-btns { display:flex; flex-direction:column; gap:9px; margin-bottom:12px; }
.btn-wa-colab { display:flex; align-items:center; gap:14px; background:linear-gradient(135deg,var(--green) 0%,var(--green2) 100%); color:#fff; border-radius:var(--r-lg); padding:13px 16px; text-decoration:none; box-shadow:0 4px 16px rgba(0,166,62,0.3); transition:transform 0.15s,box-shadow 0.15s; }
.btn-wa-colab:hover { transform:translateY(-2px); box-shadow:0 7px 20px rgba(0,166,62,0.42); }
.wa-colab-avatar { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Bebas Neue',sans-serif; font-size:1.1rem; color:#fff; flex-shrink:0; border:2.5px solid rgba(255,255,255,0.5); }
.avatar-hellen { background:linear-gradient(135deg,var(--red) 0%,#ff6b6b 100%); box-shadow:0 3px 10px rgba(200,17,26,0.4); }
.avatar-abram  { background:linear-gradient(135deg,var(--navy) 0%,var(--sky) 100%); box-shadow:0 3px 10px rgba(27,47,110,0.4); }
.wa-colab-info { flex:1; display:flex; flex-direction:column; gap:1px; }
.wa-colab-name   { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:0.04em; line-height:1; }
.wa-colab-action { font-size:0.67rem; font-weight:500; opacity:0.82; }

/* ── TABLA TICKET ────────────────────────────────────────────── */
.ticket-body { padding: 4px 0; }
.ticket-row { display:flex; justify-content:space-between; align-items:center; padding:12px 20px; position:relative; transition:background 0.2s; }
.ticket-row+.ticket-row::before { content:''; position:absolute; top:0; left:16px; right:16px; height:1px; background-image:repeating-linear-gradient(to right,rgba(74,159,212,0.3) 0,rgba(74,159,212,0.3) 5px,transparent 5px,transparent 10px); }
.ticket-row.active { background:linear-gradient(90deg,rgba(200,17,26,0.06) 0%,rgba(200,17,26,0.02) 100%); }
.ticket-row.active::after { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--red); border-radius:0 4px 4px 0; }
.ticket-dist { display:flex; align-items:center; gap:10px; font-size:0.88rem; font-weight:700; color:var(--text); }
.ticket-dot { width:8px; height:8px; border-radius:50%; background:var(--sky); flex-shrink:0; }
.ticket-row.active .ticket-dot { background:var(--red); }
.ticket-price { font-family:'Bebas Neue',sans-serif; font-size:1.5rem; color:var(--navy); letter-spacing:0.03em; }
.ticket-row.active .ticket-price { color:var(--red); }
.ticket-tag { font-size:0.52rem; background:var(--red); color:#fff; border-radius:100px; padding:2px 7px; font-weight:800; letter-spacing:0.07em; margin-left:6px; text-transform:uppercase; }

/* ── NOTA TRANSFERENCIA ──────────────────────────────────────── */
.transfer-note { background:rgba(255,193,7,0.12); border:1.5px solid rgba(255,193,7,0.4); border-radius:var(--r-lg); padding:12px 16px; font-size:0.75rem; color:#7a5500; font-weight:600; line-height:1.6; display:flex; gap:10px; align-items:flex-start; }

/* ── STEPS IMAGEN ────────────────────────────────────────────── */
.steps-img-list {
  display: flex; flex-direction: column; gap: 12px;
}
.step-img-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
  box-shadow: var(--sh-md);
  border: 2px solid rgba(255,255,255,0.8);
  animation: fadeUp 0.4s ease both;
}
.step-img-card:nth-child(1){animation-delay:0.05s}
.step-img-card:nth-child(2){animation-delay:0.10s}
.step-img-card:nth-child(3){animation-delay:0.15s}
.step-img-card:nth-child(4){animation-delay:0.20s}
.step-img-card:nth-child(5){animation-delay:0.25s}
.step-img-card:nth-child(6){animation-delay:0.30s}

.step-img {
  width: 100%; height: auto;
  display: block;
}
.step-img-num {
  position: absolute; top: 10px; left: 10px;
  width: 32px; height: 32px;
  background: var(--red);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(200,17,26,0.5);
  z-index: 1;
  border: 2px solid rgba(255,255,255,0.7);
}
.step-img-text {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  text-align: center;
  border-top: 1.5px solid rgba(27,47,110,0.08);
}

/* ── STEPS LISTA (fallback) ──────────────────────────────────── */
.steps-list { display:flex; flex-direction:column; gap:0; }
.step-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 20px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(22px);
  border: 1.5px solid rgba(255,255,255,0.7);
  margin-bottom: 8px; border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  animation: fadeUp 0.4s ease both;
}
.step-item:nth-child(1){animation-delay:0.05s}
.step-item:nth-child(2){animation-delay:0.10s}
.step-item:nth-child(3){animation-delay:0.15s}
.step-item:nth-child(4){animation-delay:0.20s}
.step-item:nth-child(5){animation-delay:0.25s}
.step-item:nth-child(6){animation-delay:0.30s}

.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(200,17,26,0.35);
}
.step-content { flex: 1; }
.step-title { font-family:'Bebas Neue',sans-serif; font-size:1rem; color:var(--navy); letter-spacing:0.04em; margin-bottom:4px; }
.step-desc  { font-size:0.78rem; color:var(--muted); line-height:1.55; font-weight:500; }

/* ── CTA FORMULARIO ──────────────────────────────────────────── */
.form-cta-section {
  margin: 0 16px 0;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e3d8f 100%);
  border-radius: var(--r-xl);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: var(--sh-lg);
  border: 1.5px solid rgba(74,159,212,0.25);
}
.form-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(74,159,212,0.1) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}
.form-cta-section::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(200,17,26,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.form-cta-pulse {
  font-size: 2.6rem;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
  position: relative; z-index: 1;
  margin-bottom: 10px;
}
.form-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 0.06em;
  color: #fff; line-height: 1;
  position: relative; z-index: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.form-cta-sub {
  font-size: 0.8rem; color: rgba(255,255,255,0.72);
  font-weight: 600; line-height: 1.5;
  position: relative; z-index: 1;
  margin-bottom: 20px;
}
.btn-form-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: #fff; border-radius: var(--r-lg);
  padding: 18px 24px;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.08em;
  box-shadow: 0 6px 22px rgba(200,17,26,0.5);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative; z-index: 1;
}
.btn-form-cta::before {
  content: '📋';
  font-size: 1.1rem;
}
.btn-form-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(200,17,26,0.6); }
.btn-form-cta:active { transform: translateY(0); }

.form-cta-note {
  font-size: 0.62rem; color: rgba(255,255,255,0.4);
  margin-top: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; position: relative; z-index: 1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.12); }
}

/* ── FAQ TARJETAS ABIERTAS ───────────────────────────────────── */
.faq-cards {
  display: flex; flex-direction: column; gap: 10px;
}
.faq-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  box-shadow: var(--sh-md);
  display: flex; flex-direction: column; gap: 6px;
  border-left: 4px solid var(--sky);
  animation: fadeUp 0.4s ease both;
}
.faq-card:nth-child(even) { border-left-color: var(--navy); }

.faq-card-icon { font-size: 1.4rem; line-height: 1; }
.faq-card-q {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.04em;
  color: var(--navy); line-height: 1.2;
}
.faq-card-a {
  font-size: 0.82rem; color: var(--muted);
  line-height: 1.65; font-weight: 500;
}
.faq-card-a strong { color: var(--text); }

/* ── CONTACTO ────────────────────────────────────────────────── */
.contact-block { margin-bottom:20px; }
.contact-label { font-family:'Bebas Neue',sans-serif; font-size:1.1rem; color:var(--navy); letter-spacing:0.05em; margin-bottom:10px; }
.contact-text  { font-size:0.82rem; color:var(--muted); line-height:1.6; margin-bottom:10px; font-weight:500; }

.whatsapp-btns, .community-btns { display:flex; flex-direction:column; gap:8px; }
.btn-wa { display:flex; align-items:center; justify-content:center; gap:10px; background:linear-gradient(135deg,var(--green) 0%,var(--green2) 100%); color:#fff; border-radius:var(--r-lg); padding:13px 20px; text-decoration:none; font-family:'Bebas Neue',sans-serif; font-size:1rem; letter-spacing:0.05em; box-shadow:0 4px 14px rgba(0,166,62,0.3); transition:transform 0.15s,box-shadow 0.15s; }
.btn-wa:hover { transform:translateY(-2px); box-shadow:0 7px 18px rgba(0,166,62,0.42); }
.btn-community {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-lg); padding: 14px 16px;
  text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
  margin-bottom: 10px;
}
.btn-community:hover { transform: translateY(-2px); }
.community-inner { display: flex; align-items: center; gap: 12px; }
.community-icon  { font-size: 1.6rem; flex-shrink: 0; }
.community-name  { font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem; letter-spacing: 0.04em; color: #fff; line-height: 1.2; }
.community-benefit { font-size: 0.62rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 2px; }
.community-arrow { font-size: 1.2rem; color: rgba(255,255,255,0.6); font-weight: 700; }
.btn-wa-group { background: linear-gradient(135deg, #075e54, #25d366); color: #fff; box-shadow: 0 4px 16px rgba(7,94,84,0.35); }
.btn-wa-group:hover { box-shadow: 0 7px 20px rgba(7,94,84,0.45); }
.btn-fb-group { background: linear-gradient(135deg, #1877f2, #42a5f5); color: #fff; box-shadow: 0 4px 16px rgba(24,119,242,0.35); }
.btn-fb-group:hover { box-shadow: 0 7px 20px rgba(24,119,242,0.45); }

.community-tag {
  text-align: center; font-size: 0.75rem; font-weight: 700;
  color: var(--green); background: rgba(0,166,62,0.08);
  border: 1.5px solid rgba(0,166,62,0.2);
  border-radius: var(--r-md); padding: 8px 12px; margin-top: 4px;
}

/* ── BANNER DE ESTADO (fijo arriba) ─────────────────────────── */
.status-banner {
  position: fixed; top: 8px; left: 10px; right: 10px;
  z-index: 300;
  margin: 0; border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.status-banner-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  font-size: 0.76rem; font-weight: 600; line-height: 1.45;
  max-width: 560px; margin: 0 auto;
  color: #ffffff !important;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex-shrink: 0;
}

/* Variantes — semitransparentes claras con blur */
.status-banner .status-msg { font-weight: 600; color: #ffffff !important; }
.status-banner.s-green  { background: rgba(212,245,226,0.95); }
.status-banner.s-yellow { background: rgba(255,243,204,0.95); }
.status-banner.s-orange { background: rgba(255,232,204,0.95); }
.status-banner.s-red    { background: rgba(255,214,216,0.95); }
.status-banner.s-night  { background: rgba(220,228,255,0.95); }
.status-banner.s-sleep  { background: #4A5568; }

.status-banner.s-green  .status-dot { background: #00a63e; box-shadow: 0 0 0 3px rgba(0,166,62,0.25); }
.status-banner.s-yellow .status-dot { background: #e6a800; box-shadow: 0 0 0 3px rgba(230,168,0,0.25); animation: dotPulse 1.5s ease-in-out infinite; }
.status-banner.s-orange .status-dot { background: #ff7800; box-shadow: 0 0 0 3px rgba(255,120,0,0.25); }
.status-banner.s-red    .status-dot { background: var(--red); box-shadow: 0 0 0 3px rgba(200,17,26,0.25); animation: dotPulse 1s ease-in-out infinite; }
.status-banner.s-night  .status-dot { background: var(--navy); box-shadow: 0 0 0 3px rgba(27,47,110,0.25); }
.status-banner.s-sleep  .status-dot { background: #8888aa; }

.status-banner.s-green  .status-msg { color: #004d1a !important; }
.status-banner.s-yellow .status-msg { color: #6b4400 !important; }
.status-banner.s-orange .status-msg { color: #6b3000 !important; }
.status-banner.s-red    .status-msg { color: #ffffff; }
.status-banner.s-night  .status-msg { color: #1B2F6E !important; }
.status-banner.s-sleep  .status-msg { color: #3a3a5a !important; }

.status-msg strong { font-weight: 800; color: #ffffff !important; }
.status-msg .ruta-tag {
  display: inline-block;
  background: currentColor; color: #fff;
  border-radius: 4px; padding: 1px 6px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em;
  margin: 0 2px; vertical-align: middle;
  opacity: 1;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.6; }
}

/* ── SCHEDULE CARD (horarios) ────────────────────────────────── */
.schedule-card {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  border: 1.5px solid rgba(255,255,255,0.25);
  position: relative; overflow: visible;
}
.schedule-sky {
  position: absolute; inset: 0; z-index: 0;
}
.sky-canvas {
  width: 100%; height: 100%;
  display: block;
}
.schedule-content {
  position: relative; z-index: 1;
  padding: 20px;
  background: rgba(0,0,0,0.18); /* velo suave para legibilidad */
  border-radius: var(--r-lg);
}
.schedule-days {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.5);
  text-transform: uppercase; margin-bottom: 16px;
}
.schedule-routes { display: flex; align-items: flex-start; gap: 10px; }
.schedule-route {
  flex: 1; background: rgba(255,255,255,0.07);
  border-radius: var(--r-md); padding: 14px 12px; text-align: center;
  border: 1.5px solid rgba(255,255,255,0.1); position: relative; z-index: 1;
}
.route-badge {
  font-family: 'Bebas Neue', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.12em; padding: 2px 10px; border-radius: 20px;
  display: inline-block; margin-bottom: 8px;
}
.route-1 .route-badge { background: var(--red); color: #fff; }
.route-2 .route-badge { background: var(--sky); color: #fff; }
.route-time {
  font-family: 'Bebas Neue', sans-serif; font-size: 2rem;
  color: #fff; line-height: 1; letter-spacing: 0.04em; margin-bottom: 6px;
}
.route-desc { font-size: 0.62rem; color: rgba(255,255,255,0.55); font-weight: 600; line-height: 1.4; }
.schedule-divider { color: rgba(255,255,255,0.2); font-size: 1.5rem; align-self: center; flex-shrink: 0; }
.schedule-note {
  margin-top: 14px; font-size: 0.7rem; color: rgba(255,255,255,0.45);
  font-weight: 600; line-height: 1.5; text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 12px;
  position: relative; z-index: 1;
}

/* ── FAQ ACORDEÓN ────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--card); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: var(--r-lg); overflow: visible;
  box-shadow: var(--sh-md); transition: box-shadow 0.2s;
}
.faq-item.open { box-shadow: var(--sh-lg); border-color: rgba(74,159,212,0.35); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--navy);
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(74,159,212,0.05); }
.faq-item.open .faq-q { color: var(--red); border-bottom: 1px solid rgba(74,159,212,0.12); }
.faq-arrow { font-size: 0.65rem; color: var(--muted); flex-shrink: 0; transition: transform 0.3s; display: inline-block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--red); }
.faq-a {
  font-size: 0.83rem; color: var(--muted); line-height: 1.7; font-weight: 500;
  padding: 0 18px; max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-item.open .faq-a { max-height: 300px; padding: 14px 18px; }
.faq-a strong { color: var(--text); }

.fab-stack {
  position: fixed; bottom: 24px; right: 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; z-index: 150;
}
.fab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s; justify-content: center;
}
.fab:hover  { transform: translateY(-3px) scale(1.07); box-shadow: 0 10px 26px rgba(0,0,0,0.3); }
.fab:active { transform: scale(0.95); }
.fab-icon  { font-size: 1.4rem; line-height: 1; }
.fab-label { font-size: 0.42rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; color: #fff; }
.fab-cotizar { background: linear-gradient(135deg, var(--navy), var(--sky)); color: #fff; }
.fab-wa   { background: linear-gradient(135deg, #075e54, #25d366); color: #fff; animation: fabBounce 3s 2s ease-in-out infinite; }
.fab-form { background: linear-gradient(135deg, var(--red-dark), var(--red-light)); color: #fff; }
@keyframes fabBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* WhatsApp popup */
.wa-popup {
  position: fixed; bottom: 210px; right: 16px;
  background: #fff; border-radius: var(--r-xl);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  padding: 16px; width: 240px; z-index: 160;
  border: 1.5px solid var(--border);
  transform: translateY(20px) scale(0.92);
  opacity: 0; pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34,1.3,0.64,1);
}
.wa-popup.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }
.wa-popup-title { font-family:'Bebas Neue',sans-serif; font-size:0.85rem; color:var(--muted); letter-spacing:0.06em; margin-bottom:10px; }
.wa-popup-btn { display:flex; align-items:center; gap:10px; padding:10px; border-radius:var(--r-md); text-decoration:none; transition:background 0.2s; color:var(--text); }
.wa-popup-btn:hover { background: var(--bg); }
.wa-popup-btn + .wa-popup-btn { border-top: 1px solid var(--border); }
.wa-popup-avatar { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Bebas Neue',sans-serif; font-size:1rem; color:#fff; flex-shrink:0; }
.wa-popup-name { font-weight:700; color:var(--navy); font-size:0.85rem; }
.wa-popup-num  { font-size:0.68rem; color:var(--muted); }
.wa-popup-overlay { display:none; position:fixed; inset:0; z-index:155; }
.wa-popup-overlay.open { display:block; }
.btn-form { display:inline-flex; align-items:center; justify-content:center; gap:10px; background:linear-gradient(135deg,var(--red) 0%,var(--red-light) 100%); color:#fff; border-radius:var(--r-lg); padding:15px 28px; text-decoration:none; font-family:'Bebas Neue',sans-serif; font-size:1.1rem; letter-spacing:0.07em; box-shadow:0 5px 18px rgba(200,17,26,0.45); transition:transform 0.15s,box-shadow 0.15s; width:100%; }
.btn-form:hover { transform:translateY(-2px); box-shadow:0 8px 22px rgba(200,17,26,0.55); }

.footer-note { font-size:0.62rem; color:var(--muted); text-align:center; line-height:1.7; margin-top:28px; padding-top:20px; border-top:1px dashed rgba(27,47,110,0.12); }

/* ── SPINNER ─────────────────────────────────────────────────── */
.spinner { display:inline-block; width:20px; height:20px; border:3px solid rgba(27,47,110,0.15); border-top-color:var(--sky); border-radius:50%; animation:spin 0.8s linear infinite; vertical-align:middle; margin-right:8px; }

/* ── ANIMACIONES ─────────────────────────────────────────────── */
@keyframes heroLogoIn { from{opacity:0;transform:scale(0.8) translateY(-20px)} to{opacity:1;transform:none} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }
@keyframes popIn    { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:none} }
@keyframes spin     { to{transform:rotate(360deg)} }

/* ── RESPONSIVE PC ───────────────────────────────────────────── */
@media(min-width:600px){
  .wrapper{max-width:580px}
  .hero{padding:44px 36px 64px}
  .hero-logo{width:230px}
  .hero-title{font-size:3.6rem}
  .main-content{padding:0 24px 20px}
  .result-price{font-size:3.8rem}
}

/* ── SECCIÓN NUESTRA APP ─────────────────────────────────────── */
.app-intro { font-size:0.9rem; color:var(--muted); line-height:1.6; margin-bottom:24px; word-break:break-word; overflow-wrap:break-word; }
.app-device-title { font-size:1.05rem; font-weight:700; color:var(--navy); margin-bottom:12px; }
.app-steps { padding-left:20px; margin:0 0 16px; }
.app-steps li { font-size:0.9rem; color:var(--text); line-height:1.7; margin-bottom:4px; }
.btn-install { width:100%; padding:14px; background:var(--red); color:#fff; border:none; border-radius:12px; font-size:1rem; font-weight:700; cursor:pointer; margin-top:8px; letter-spacing:0.03em; }
.btn-install:active { opacity:0.85; }
