/* Para comercios: usa las bases de portal.css (colores, letras, encabezado, botones, pie) y suma lo propio */

/* Portada de la página: la bahía de noche, el título en amarillo y el celular con el juego de la semana */
.c-hero { position: relative; background: var(--noche); color: #fff; overflow: hidden; }
.c-hero::before { content: ''; position: absolute; inset: 0; background: url(../juegos/img/arte/bahia.webp?v=1) 70% 60% / cover no-repeat; opacity: .32; }
.c-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noche) 0%, rgba(11, 53, 84, .86) 45%, rgba(11, 53, 84, .35) 100%); }
.c-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.c-kicker { margin: 0 0 10px; color: #9FE6DE; font-weight: 600; }
.c-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.4vw, 72px); line-height: .98; margin: 0; color: var(--sol); letter-spacing: .005em; max-width: 13ch; text-wrap: balance; }
.c-lead { font-size: 19px; line-height: 1.5; color: #E2F1F5; max-width: 54ch; margin: 18px 0 0; }
.c-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.c-hero .btn.secondary { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .3); }
.c-hero-phone { display: flex; justify-content: center; }

/* Celular: marco simple alrededor de las capturas */
.phone { width: 100%; max-width: 270px; aspect-ratio: 390 / 760; border-radius: 34px; padding: 9px; background: #12263A; box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), 0 18px 40px rgba(4, 22, 38, .35); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone.tilt { transform: rotate(3deg); max-width: 290px; }

/* Secciones */
.c-sec { padding-top: 56px; }
.c-sec h2 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0 0 14px; color: var(--noche); }
.c-sec h3 { margin: 0; font-size: 20px; line-height: 1.2; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { background: #fff; border-radius: 22px; padding: 20px 20px 22px; box-shadow: 0 3px 0 var(--borde); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--sol); font-family: var(--display); font-size: 22px; margin-bottom: 12px; color: var(--noche); }
.steps p { margin: 6px 0 0; color: var(--gris); }

.c-screens { margin-top: 56px; padding: 48px 0 52px; background: #E4F4F6; }
.c-screens .lead { margin-top: -6px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phones .phone { max-width: 250px; }
.phones figcaption { text-align: center; color: var(--tinta); font-weight: 500; max-width: 26ch; }

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.way { background: #fff; border-radius: 22px; padding: 20px; box-shadow: 0 3px 0 var(--borde); }
.way p { margin: 8px 0 0; color: var(--gris); }
.way.main { grid-column: 1 / -1; background: var(--papel); box-shadow: 0 3px 0 #F2DFAE; }
.way.main h3::before { content: '🏆'; margin-right: 8px; }
.packs-line { display: flex; gap: 8px; flex-wrap: wrap; }
.packs-line:empty { display: none; }
.packs-line span { background: #EAF4F6; border-radius: 999px; padding: 3px 11px; font-size: 14px; color: var(--tinta); }

.c-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.c-box { background: #fff; border-radius: 22px; padding: 20px 22px; box-shadow: 0 3px 0 var(--borde); }
.c-box h2 { font-size: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #DDF6EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E7A55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.c-small { font-size: 14px; color: var(--gris); margin: 12px 0 0; }
.c-links { display: flex; gap: 16px; flex-wrap: wrap; }
.c-links a { color: var(--golfo-dark); font-weight: 600; }

/* Formulario */
.c-form-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; background: #fff; border-radius: 26px; padding: 26px; box-shadow: 0 3px 0 var(--borde); }
.c-form-text h2 { margin-bottom: 8px; }
.c-form-text p { color: var(--gris); margin: 0 0 16px; max-width: 40ch; }
.btn.wa { background: #25D366; box-shadow: 0 4px 0 #1A9E4C; }
.want { border: 0; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.want legend { padding: 0; margin-bottom: 6px; }
.want label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 15px; }
.want input { width: 20px; height: 20px; accent-color: var(--krill); }
.c-done { grid-column: 2; align-self: center; background: #DDF6EA; border-radius: 18px; padding: 18px; }
.c-done h3 { font-family: var(--display); font-weight: 400; font-size: 26px; color: #0E7A55; }
.c-done p { margin: 6px 0 0; }

@media (max-width: 860px) {
  .c-hero-in { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 40px; gap: 26px; }
  .c-hero-phone { order: 2; }
  .phone.tilt { max-width: 210px; }
  .steps, .ways, .c-two { grid-template-columns: 1fr; }
  .phones { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: -16px; padding-right: 16px; }
  .phones figure { scroll-snap-align: center; }
  .c-form-card { grid-template-columns: 1fr; padding: 20px; }
  .c-done { grid-column: 1; }
  .c-sec h2 { font-size: 30px; }
}
@media (max-width: 420px) { .want { grid-template-columns: 1fr; } }
