:root {
  --bg: #0e0f16;
  --bg-alt: #151724;
  --card: #1c1f2e;
  --text: #f3f2ee;
  --text-secondary: rgba(243, 242, 238, 0.8);
  --gold: #f1cf84;
  --gold-text: #1d1503;
  --whatsapp: #25d366;
  --whatsapp-text: #06301a;
  --radius: 18px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-size: clamp(26px, 5vw, 38px);
  margin-bottom: 28px;
  text-align: center;
}

p {
  margin: 0;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: var(--gold);
  color: var(--gold-text);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--whatsapp-text);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(243, 242, 238, 0.3);
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-large {
  padding: 14px 28px;
  font-size: 17px;
}

/* Topbar */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 15, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(243, 242, 238, 0.08);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Secciones genericas */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 16px;
}

.section-alt {
  background: var(--bg-alt);
  max-width: none;
  padding: 56px 16px;
}

.section-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-alt > * + * {
  margin-top: 0;
}

/* Hero */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 8vw, 52px);
}

.hero-subtitle {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 480px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-footnote {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(280px, 80vw);
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  border: 6px solid #272b3d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: var(--gold);
  color: var(--gold-text);
  font-size: 20px;
  cursor: pointer;
}

.phone-play[hidden] {
  display: none;
}

@media (min-width: 760px) {
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-text {
    flex: 1;
  }
}

/* Rubros */

.rubros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .rubros-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rubro-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.rubro-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.rubro-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rubro-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: auto;
  border-radius: 999px;
  background: rgba(14, 15, 22, 0.65);
  color: var(--text);
}

.rubro-info {
  padding: 12px 14px 16px;
}

.rubro-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.rubro-link {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.rubros-footnote {
  margin-top: 28px;
  text-align: center;
  color: var(--text-secondary);
}

.rubros-footnote a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

/* Como funciona */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-text);
  font-weight: 900;
}

.steps p {
  font-size: 15px;
}

/* Clientes */

.clientes-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 8px 0;
}

.clientes-logos img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(0.15);
}

.clientes-count {
  text-align: center;
  margin-top: 20px;
  color: var(--gold);
  font-weight: 700;
}

/* Precios */

.precios-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-top: -8px;
  margin-bottom: 20px;
}

.precios-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .precios-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.precio-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  display: grid;
  gap: 10px;
  align-items: center;
}

.precio-card h3 {
  font-size: 15px;
}

.precio-valor {
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
}

.precio-card-featured {
  border: 1px solid var(--gold);
  background: rgba(241, 207, 132, 0.08);
}

.precio-card-custom {
  background: transparent;
  border: 1px dashed rgba(243, 242, 238, 0.3);
}

.precio-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.precios-footnote {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

.precios-footnote-strong {
  color: var(--gold);
  font-weight: 700;
  margin-top: 8px;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.faq details {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 900;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* Cierre */

.closing {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 16px;
  text-align: center;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.closing-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 8px;
}

.closing h2 {
  font-size: clamp(28px, 6vw, 40px);
}

.closing p {
  color: var(--text-secondary);
  font-size: 16px;
}

.closing-instagram {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}

/* Footer */

.footer {
  text-align: center;
  padding: 24px 16px 100px;
  color: var(--text-secondary);
  font-size: 13px;
}

/* Boton flotante */

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--whatsapp-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  z-index: 30;
  text-decoration: none;
}

/* Modal de video */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  position: relative;
  width: min(360px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 12px;
}

.video-modal-player {
  width: 100%;
  border-radius: 12px;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--card);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.video-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.video-modal-cta {
  width: 100%;
}

.video-modal-question {
  margin: 12px 0 0;
  text-align: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}

/* Cotizador */

.quote-panel {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.quote-tag {
  display: inline-flex;
  align-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(241, 207, 132, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-launch-banner {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.quote-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
  justify-self: start;
  font-family: inherit;
}

.quote-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0;
}

.quote-choice-grid {
  display: grid;
  gap: 10px;
}

.quote-choice-btn {
  min-height: 56px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(243, 242, 238, 0.18);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.quote-plans-grid {
  display: grid;
  gap: 10px;
}

.quote-plan-card {
  display: block;
  width: 100%;
  text-align: left;
  border-radius: var(--radius);
  border: 1px solid rgba(243, 242, 238, 0.18);
  background: var(--card);
  color: var(--text);
  padding: 14px 16px;
  cursor: pointer;
  font-family: inherit;
}

.quote-plan-card-featured {
  border-color: var(--gold);
  background: rgba(241, 207, 132, 0.08);
}

.quote-plan-card-custom {
  text-decoration: none;
  border-style: dashed;
}

.quote-plan-card-badge {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.quote-plan-card-name {
  font-weight: 900;
  font-size: 15px;
}

.quote-plan-card-price {
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.quote-price-strike {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: line-through;
}

.quote-price-launch {
  color: var(--gold);
  font-weight: 900;
  font-size: 16px;
}

.quote-plan-card-savings {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
}

.quote-plan-card-items {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 13px;
}

.quote-base-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card);
  font-size: 14px;
  font-weight: 700;
}

.quote-base-price {
  color: var(--gold);
}

.quote-extras {
  display: grid;
  gap: 8px;
}

.quote-extra-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
}

.quote-extra-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.quote-extra-label {
  flex: 1;
  font-size: 14px;
}

.quote-extra-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.quote-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(241, 207, 132, 0.12);
  border: 1px solid rgba(241, 207, 132, 0.3);
}

.quote-total-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.quote-total-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--gold);
}

.quote-send-btn {
  width: 100%;
}

.quote-footnote {
  text-align: center;
  color: var(--text-secondary);
  font-size: 12px;
  margin-top: -4px;
}

.video-modal-cta-pulse {
  animation: video-cta-pulse 1.1s ease-in-out infinite;
}

@keyframes video-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal-cta-pulse {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

/* Black Friday (27 al 30/11/2026) */

.bf-banner {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--gold-text);
  text-align: center;
  text-decoration: none;
  font-size: 14px;
}

.bf-banner[hidden],
.bf-terms[hidden] {
  display: none;
}

.bf-banner strong {
  font-size: 17px;
  font-weight: 900;
}

.precio-valor .quote-price-strike {
  margin-right: 8px;
}

.bf-terms {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 13px;
}
