/* Vull — landing page styles */
:root {
  --accent: #E8163E;
  --bg: #0D0D0F;
  --surface: #151517;
  --surface-2: #1B1B1E;
  --line: rgba(255, 255, 255, 0.08);
  --text: #F5F2F0;
  --muted: #A09B9E;
  --radius: 18px;
  --font-display: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Nav ─────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 30px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 99px;
  transition: filter 0.15s ease;
}

.nav-cta:hover { filter: brightness(1.12); }

/* ── Hero ────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 84px 28px 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  font-size: 19px;
  max-width: 44ch;
  margin: 0 0 36px;
  text-wrap: pretty;
}

.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 170px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.store-badge:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.store-badge small {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-badge strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}

.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse 50% 45% at 50% 50%, color-mix(in oklch, var(--accent) 22%, transparent), transparent 70%);
  pointer-events: none;
}

body[data-glow="off"] .hero-glow { display: none; }

/* ── Sections ────────────────────────── */
section { border-top: 1px solid var(--line); }

.section-pad { padding: 88px 0; }

.section-head {
  max-width: 560px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 14px;
  text-wrap: balance;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 18px;
  text-wrap: pretty;
}

/* ── Beneficios ──────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.benefit:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ── FAQ ─────────────────────────────── */
.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { color: var(--accent); }

.faq-plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--muted);
  position: relative;
  transition: transform 0.25s ease, border-color 0.2s ease;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--muted);
  transform: translate(-50%, -50%);
}

.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  border-color: var(--accent);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after { background: var(--accent); }

.faq-item p {
  margin: 0;
  padding: 0 44px 24px 4px;
  color: var(--muted);
  font-size: 16.5px;
  max-width: 62ch;
  text-wrap: pretty;
}

/* ── Soporte ─────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: stretch;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.support-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.support-card > p {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 16px;
}

.wa-button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1FAD55;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16.5px;
  padding: 15px 24px;
  border-radius: 14px;
  transition: filter 0.15s ease;
}

.wa-button:hover { filter: brightness(1.1); }

.wa-hours {
  margin: 14px 0 0 !important;
  font-size: 13.5px !important;
  text-align: center;
}

/* Formulario */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder { color: #5C585A; }

.form-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 30px;
  border-radius: 99px;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.form-submit:hover { filter: brightness(1.12); }

.form-success {
  display: none;
  margin: 4px 0 0;
  color: #5DC98A;
  font-size: 15px;
}

.form-grid[data-sent="true"] .form-success { display: block; }

/* ── Descarga ────────────────────────── */
.download-card {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 72px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.app-icon img {
  width: 62px;
  height: 62px;
  display: block;
}

.download-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.download-card > p {
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 46ch;
  text-wrap: pretty;
}

.download-card .store-badges { justify-content: center; }

.download-meta {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

/* ── Footer ──────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-inner img { height: 45px; display: block; opacity: 0.9; margin-top: -30px; margin-bottom: -30px; }

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  color: #6B6669;
  font-size: 13.5px;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 56px 0;
  }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
