:root {
  --jungle: #0b6b3a;
  --jungle-deep: #064627;
  --leaf: #1f9d4e;
  --lime: #b6e04a;
  --gold: #f6c445;
  --sun: #ffb703;
  --wood: #8a5528;
  --wood-dark: #5c3718;
  --cream: #fffaf0;
  --ink: #1c2b22;
  --muted: #4d6156;
  --line: #e4efe6;
  --blue: #1f7ae0;
  --purple: #7a3ff0;
  --bingo: #e2b423;
  --peach: #f4a35a;
  --ruta: #14915f;
  --coral: #ef5b2a;
  --shadow: 0 16px 40px rgba(18, 70, 38, 0.12);
  --radius: 22px;
  --header: 78px;
  --font: "Nunito", "Trebuchet MS", sans-serif;
  --display: "Baloo 2", "Nunito", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 252, 246, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11, 107, 58, 0.08);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 190px;
}
.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(160deg, #7ed957, #0b6b3a);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(11, 107, 58, 0.25);
}
.logo strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(90deg, #f08a12, #1f9d4e 55%, #1f7ae0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo small { color: var(--muted); font-weight: 800; font-size: 0.72rem; }

.nav { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--jungle-deep);
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover, .nav a:focus-visible { background: #e8f7ec; }
.header-tools { display: flex; align-items: center; gap: 8px; }
.search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
}
.search input {
  border: 0;
  outline: 0;
  width: 140px;
  background: transparent;
  font-weight: 700;
}
.search button, .icon-btn {
  border: 0;
  background: var(--jungle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}
.cart-btn { position: relative; background: var(--coral); }
.cart-btn span {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.menu-btn { display: none; background: var(--jungle); }

.hero {
  position: relative;
  background: #e7f6ea;
  color: #fff;
  padding-bottom: 28px;
}
.hero-foto {
  width: 100%;
  height: auto;
  display: block;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 16px;
  align-items: end;
  margin-top: -72px;
}
.sign {
  background: linear-gradient(180deg, #c98545, #8a5528 40%, #6d411c);
  border: 6px solid #5c3718;
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: 0 18px 0 rgba(0,0,0,.08), var(--shadow);
  text-align: center;
  transform: rotate(-1deg);
}
.sign h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: .95;
  letter-spacing: 0.01em;
  text-shadow: 0 3px 0 rgba(0,0,0,.18);
}
.sign h1 span { display: block; }
.brand-line { color: #ffe56a; }
.brand-line em { font-style: normal; color: #b6f25a; }
.sign .steps {
  margin: 10px 0 0;
  font-weight: 800;
  color: #fff6df;
}
.plaque {
  margin: 14px auto 0;
  background: #f3d7a2;
  color: var(--wood-dark);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px rgba(92, 55, 24, .18);
}
.side-copy {
  text-align: left;
  align-self: end;
  background: rgba(255, 252, 246, .94);
  color: var(--jungle-deep);
  border-radius: 18px;
  padding: 14px 16px;
}
.script {
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--jungle-deep);
}
.bubble {
  display: inline-block;
  background: #fff8d8;
  color: var(--wood-dark);
  border-radius: 18px 18px 6px 18px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.kid {
  width: 210px;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,.18));
}
.bird { width: 150px; margin-left: auto; }

.choice { position: relative; z-index: 2; padding-top: 8px; }
.choice h2, .section h2, .panel h2 {
  font-family: var(--display);
  text-align: center;
  color: var(--jungle-deep);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 18px;
}
.choice-grid, .split, .games, .themes, .steps, .perks {
  display: grid;
  gap: 16px;
}
.choice-grid { grid-template-columns: 1fr; }
.juegos-individuales { margin-top: 48px; }
#personaliza, #juegos, #conocenos, #galeria, #club, #contacto, #kit {
  scroll-margin-top: 90px;
}
#personaliza.destacado {
  animation: pulso-seccion 1.6s ease;
}
@keyframes pulso-seccion {
  0%, 100% { box-shadow: none; }
  30% { box-shadow: 0 0 0 8px rgba(31, 157, 78, .18); }
}
.guia {
  max-width: 720px;
  margin: -8px auto 22px;
  text-align: center;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  border: 1px solid rgba(255,255,255,.8);
}
.kit-card { display: grid; grid-template-columns: minmax(240px, 460px) 1fr; gap: 18px; align-items: center; background: linear-gradient(180deg, #fff, #f3fbf4); }
.kit-foto { width: 100%; height: auto; border-radius: 16px; }
.solo-card { background: linear-gradient(180deg, #fffdf5, #fff4d6); }
.badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .8rem;
}
.price { font-family: var(--display); font-size: 2rem; margin: 8px 0; color: var(--coral); }
.price s { color: var(--muted); font-size: 1rem; margin-right: 8px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { font-weight: 700; padding: 3px 0 3px 26px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  background: var(--jungle);
  color: #fff;
}
.btn:hover { filter: brightness(1.05); }
.btn.blue { background: var(--blue); }
.btn.purple { background: var(--purple); }
.btn.gold { background: #e0a514; color: #3d2a04; }
.btn.peach { background: #ef8b34; }
.btn.ruta { background: var(--ruta); }
.btn.coral { background: var(--coral); }
.btn.ghost { background: #fff; color: var(--jungle-deep); box-shadow: inset 0 0 0 2px var(--line); }
.btn.block { width: 100%; }

.section { padding: 64px 0; }
.section.alt { background: #fff; }
.lead { max-width: 760px; margin: 0 auto 22px; text-align: center; color: var(--muted); font-size: 1.05rem; }
.method { grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.method article, .perk, .theme, .game, .step {
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.method strong, .step strong { display: block; color: var(--jungle); }
.num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--lime); font-weight: 900; margin-bottom: 8px;
}

.callout {
  margin-top: 18px;
  background: linear-gradient(90deg, #123d2a, #1f7a4a);
  color: #fff;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.callout b { font-family: var(--display); font-size: 1.3rem; display: block; }

.games { grid-template-columns: repeat(6, 1fr); }
.game { padding: 0 0 14px; overflow: hidden; display: flex; flex-direction: column; }
.game-art { height: 110px; display: grid; place-items: center; color: #fff; font-weight: 900; }
.game h3, .game p { margin: 10px 14px 0; }
.game p { color: var(--muted); font-size: .92rem; flex: 1; }
.game .price { margin: 8px 14px; font-size: 1.5rem; }
.game .btn { margin: 0 14px; }
.art-blue { background: linear-gradient(160deg, #57b0ff, #1f7ae0); }
.art-purple { background: linear-gradient(160deg, #c084fc, #7a3ff0); }
.art-gold { background: linear-gradient(160deg, #ffe082, #e2b423); color: #4a3704; }
.art-peach { background: linear-gradient(160deg, #ffd1a6, #ef8b34); }
.art-ruta { background: linear-gradient(160deg, #7dcea0, #14915f); }

.themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme, .pick {
  border: 2px solid transparent;
  text-align: center;
  cursor: pointer;
  background: #fff;
}
.theme.selected, .pick.selected, .game.selected { border-color: var(--jungle); outline: 3px solid rgba(31, 157, 78, .2); }
.theme-ico { font-size: 1.8rem; }
.theme-foto {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #e7f6ea, #d4edd8);
}
.theme-foto img, .chip-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.theme, .picks-temas .pick {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-weight: 800;
  padding: 10px;
  overflow: hidden;
}
.picks-temas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wizard { grid-template-columns: 1.1fr .9fr; align-items: start; }
.subtemas { margin: 16px 0; padding: 14px; border-radius: 16px; background: #f4fff6; border: 1px dashed #9dcfab; }
.subtemas h4 { margin: 0 0 4px; color: var(--jungle-deep); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.subtema-grupo { margin-top: 12px; }
.subtema-grupo strong { display: block; color: var(--jungle-deep); font-size: .92rem; }
.chip {
  border: 2px solid #cfe5d5;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
}
.chip:hover { border-color: var(--jungle); }
.chip.selected { background: var(--jungle); border-color: var(--jungle); color: #fff; }
.chip-img {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(160px, 100%);
  padding: 0 0 10px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
}
.chip-foto {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dceee0;
}
.chip-img span:last-child { padding: 8px 8px 0; line-height: 1.25; }
.chip-img.selected { color: #fff; }
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pick { border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.summary {
  background: #f4fff6;
  border-radius: 18px;
  padding: 16px;
  border: 1px dashed #9dcfab;
}
.summary p { margin: 6px 0; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-weight: 800; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
}
.note { background: #fff4d2; border-radius: 12px; padding: 10px 12px; font-weight: 700; }
.error { color: #a12616; font-weight: 800; min-height: 1.2em; }

.flow { grid-template-columns: repeat(5, 1fr); margin: 16px 0; }
.club {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 18px;
  background: linear-gradient(135deg, #e9fbe9, #fff);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.qr-box { background: #fff; border-radius: 18px; padding: 12px; text-align: center; }
.qr-box svg { width: 180px; height: 180px; }
.perks { grid-template-columns: repeat(5, 1fr); }
.perk { text-align: center; font-weight: 800; }

.site-footer { background: var(--jungle-deep); color: #e7ffe9; padding: 28px 0 18px; }
.footer-grid { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; }
.site-footer a { color: #fff; font-weight: 800; text-decoration: none; margin-right: 12px; }
.socials span {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: #128a45; margin-left: 6px; font-size: .8rem; font-weight: 900;
}
.legal { color: #b7d8c2; font-size: .85rem; }

.drawer-back {
  position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: .2s; z-index: 40;
}
.drawer-back.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(380px, 100%);
  background: #fff; z-index: 41; transform: translateX(100%); transition: .25s; padding: 20px;
  box-shadow: var(--shadow);
}
.drawer.open { transform: none; }

.form-page { padding: 28px 0 60px; }
.form-card { max-width: 720px; margin: 0 auto; }
.form-card h1 { font-family: var(--display); color: var(--jungle-deep); margin-top: 0; }
.ok {
  background: #e8f8ec; border-radius: 16px; padding: 14px; font-weight: 800; color: var(--jungle-deep);
}
.club-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tipo-usuario { border: 0; padding: 0; margin: 0 0 16px; }
.tipo-usuario legend { font-weight: 800; margin-bottom: 8px; }
.tipo-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tipo-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}
.tipo-card span { font-weight: 700; color: var(--muted); font-size: .92rem; }
.tipo-card:has(input:checked) {
  border-color: var(--jungle);
  background: #f4fff6;
  outline: 3px solid rgba(31, 157, 78, .18);
}
.field.check { font-weight: 700; }
@media (max-width: 640px) {
  .tipo-opciones { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .hero-copy, .choice-grid, .kit-card, .method, .games, .themes, .wizard, .flow, .club, .perks {
    grid-template-columns: 1fr;
  }
  .games { grid-template-columns: repeat(2, 1fr); }
  .themes, .picks, .picks-temas { grid-template-columns: repeat(2, 1fr); }
  .side-copy { text-align: left; }
  .search input { width: 90px; }
  .hero-copy { margin-top: 16px; }
  .hero-foto { max-height: none; }
}
@media (max-width: 640px) {
  .games, .flow { grid-template-columns: 1fr; }
  .header-inner { gap: 8px; }
  .logo small { display: none; }
}
