:root {
  --bg: #0c0e13;
  --bg-alt: #12151d;
  --card: #1a1e29;
  --card-border: #262b3a;
  --text: #f4f5f9;
  --text-muted: #9aa0b4;
  --red: #e2323f;
  --red-dark: #b91c28;
  --lime: #d7ff3d;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: 'Poppins', 'Inter', sans-serif;
  margin: 0;
  line-height: 1.15;
}

p { margin: 0 0 1em; color: var(--text-muted); }

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

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(226,50,63,0.6);
}
.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(226,50,63,0.75); }
.btn-ghost {
  background: transparent;
  border-color: var(--card-border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--red); }
.btn-small { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }
.btn-large { padding: 16px 26px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: progress; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,14,19,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.logo {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  margin-right: auto;
}
.logo span { color: var(--red); }
.main-nav {
  display: none;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a { color: var(--text-muted); transition: color 0.15s; }
.main-nav a:hover { color: var(--text); }
.nav-cta { display: none; }
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  height: 2px;
  background: var(--text);
  margin: 0 8px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.mobile-open {
  display: flex;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--bg-alt);
  padding: 20px;
  border-bottom: 1px solid var(--card-border);
  gap: 16px;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-cta { display: inline-flex; }
  .burger { display: none; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background: radial-gradient(circle at 30% 30%, rgba(226,50,63,0.35), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(215,255,61,0.12), transparent 55%);
  filter: blur(30px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-story {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 18px;
  max-width: 52ch;
}

.eyebrow {
  color: var(--lime);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-sub { font-size: 1.05rem; max-width: 46ch; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.hero-media {
  position: relative;
  justify-self: center;
  width: min(360px, 80%);
}
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-media { justify-self: end; width: 100%; }
}

/* Section titles */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.section-sub {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 36px;
}

/* Steps */
.steps { padding: 56px 0; background: var(--bg-alt); }
.steps-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.step-card p { margin: 0; font-size: 0.92rem; }

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

/* Descripcion del producto */
.descripcion { padding: 56px 0; background: var(--bg-alt); }
.descripcion-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .descripcion-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}
.descripcion-main {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.descripcion-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.descripcion-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
}
.descripcion-copy h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  margin-bottom: 16px;
}
.descripcion-callout {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--text);
  margin-top: 8px;
}
.descripcion-callout strong { color: var(--lime); }

/* Configurador */
.configurador { padding: 64px 0; }
.config-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .config-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 3;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  background: rgba(12,14,19,0.85);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--card-border);
  background: var(--card);
  cursor: pointer;
  aspect-ratio: 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--red); }

.field-group { margin-bottom: 26px; }
.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.size-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.size-card input { position: absolute; opacity: 0; }
.size-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--card-border);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.size-card input:checked + .size-card-body {
  border-color: var(--red);
  background: linear-gradient(135deg, rgba(226,50,63,0.15), rgba(226,50,63,0.03));
}
.size-name { font-weight: 600; }
.size-price { color: var(--lime); font-weight: 700; font-size: 1.1rem; }

.options-list { display: flex; flex-direction: column; gap: 12px; }
.option-card input { position: absolute; opacity: 0; }
.option-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--card-border);
  background: var(--card);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.option-card input:checked + .option-card-body {
  border-color: var(--red);
  background: linear-gradient(135deg, rgba(226,50,63,0.15), rgba(226,50,63,0.03));
}
.option-name { display: block; font-weight: 600; }
.option-desc { display: block; font-size: 0.82rem; color: var(--text-muted); }
.option-price { color: var(--lime); font-weight: 700; white-space: nowrap; }

.price-summary {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky;
  bottom: 12px;
}
.price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-weight: 600;
}
.price-total { font-size: 1.8rem; color: var(--lime); font-weight: 800; }

/* Soon section */
.soon {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(226,50,63,0.12), rgba(215,255,61,0.05));
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.soon-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.soon h2 { font-size: 1.5rem; margin-bottom: 8px; }
@media (min-width: 760px) {
  .soon-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Pedido */
.pedido { padding: 64px 0; background: var(--bg-alt); }
.pedido-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .pedido-grid { grid-template-columns: 0.8fr 1.2fr; }
}

.pedido-resumen, .pedido-success {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px;
  height: fit-content;
}
.pedido-resumen h3 { margin-bottom: 14px; }
.pedido-resumen dl { margin: 0; }
.pedido-resumen dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.92rem;
}
.pedido-resumen dt { color: var(--text-muted); }
.pedido-resumen dd { margin: 0; text-align: right; font-weight: 500; }
.pedido-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  font-weight: 700;
  font-size: 1.1rem;
}
.pedido-total span:last-child { color: var(--lime); font-size: 1.5rem; }

.pedido-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.form-row { margin-bottom: 20px; }
.form-row-2 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}
.pedido-form label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.pedido-form input[type="text"],
.pedido-form input[type="tel"],
.pedido-form input[type="email"],
.pedido-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.pedido-form input:focus, .pedido-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.pago-options {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}
@media (min-width: 560px) {
  .pago-options { grid-template-columns: repeat(3, 1fr); }
}
.pago-card input { position: absolute; opacity: 0; }
.pago-card span {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--card-border);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pago-card input:checked + span {
  border-color: var(--red);
  background: rgba(226,50,63,0.12);
}
.pago-card em {
  display: block;
  font-style: normal;
  color: var(--lime);
  font-size: 0.8rem;
  margin-top: 2px;
}
.pago-info {
  font-size: 0.88rem;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-muted);
}
.pago-info strong { color: var(--text); }

.form-error {
  color: var(--red);
  font-size: 0.88rem;
  margin: 12px 0 0;
}

.pedido-success { text-align: center; }
.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: var(--lime);
  color: #14170f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
}
.pedido-success h3 { margin-bottom: 10px; }

/* Footer */
.site-footer {
  background: #090b0f;
  border-top: 1px solid var(--card-border);
  padding: 48px 0 0;
}
.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 32px;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-logo { font-size: 1.2rem; margin-bottom: 8px; }
.footer-tagline { font-size: 0.9rem; }
.footer-col h4 { color: var(--text); margin-bottom: 12px; font-size: 0.95rem; }
.footer-col p { font-size: 0.9rem; margin: 0 0 8px; }
.footer-col a:hover { color: var(--red); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badge {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding: 18px 0;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; text-align: center; }
