/* =========================================================
   Campus del club: cabecera, ficha de inscripción y confirmación
   (usa los colores y tipografías de site.css)
   ========================================================= */

/* ---------- Cabecera ---------- */
.camp-hero { background: var(--granate); color: var(--blanco); position: relative; overflow: hidden; }
.camp-hero::after { content: ''; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(242,179,61,.08); pointer-events: none; }
.camp-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 64px; position: relative; z-index: 1; }
.camp-hero--nophoto .camp-hero__inner { grid-template-columns: minmax(0, 1fr); }
.camp-hero__text { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.camp-hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--oro); color: var(--azul); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.camp-hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--granate); animation: promo-pulse 1.6s ease-in-out infinite; }
.camp-hero h1 { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7.4vw, 112px); line-height: .86; }
.camp-hero__intro { font-size: 20px; color: var(--rosa); max-width: 560px; }
.camp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.camp-facts li { padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); font-size: 16px; }
.camp-facts li:first-child { background: rgba(255,255,255,.12); border-color: transparent; }
.camp-facts strong { font-weight: 700; }
.camp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.camp-hero__media { position: relative; }
.camp-hero__media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.camp-hero__badge { position: absolute; left: -26px; bottom: -26px; width: 150px; height: 150px; border-radius: 50%; background: var(--oro); color: var(--azul); display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 16px 36px rgba(19,33,63,.35); transform: rotate(-8deg); }
.camp-hero__days { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: .9; }
.camp-hero__month { font-weight: 700; font-size: 15px; letter-spacing: .08em; }
@media (max-width: 900px) {
  .camp-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 56px; }
  .camp-hero__media { order: -1; margin: 0 6px 0 22px; }
  .camp-hero__badge { width: 112px; height: 112px; left: -18px; bottom: -18px; }
  .camp-hero__days { font-size: 34px; }
  .camp-hero__month { font-size: 12px; }
}

.pill--line { border: 2px solid var(--granate); color: var(--granate); }
.pill--line:hover { background: var(--granate); color: var(--blanco); }

/* ---------- Ficha ---------- */
.camp-form { background: var(--blanco); scroll-margin-top: var(--nav-h); }
.camp-form > .wrap { padding-top: 72px; padding-bottom: 96px; }
.camp-form__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 36px; }
.camp-form__kicker { color: var(--granate); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }
.camp-form__head p { font-size: 19px; color: var(--suave); }
.camp-closed, .camp-alert { padding: 18px 22px; border-radius: 14px; background: #FDECEA; color: #8A1C12; margin-bottom: 24px; font-size: 17px; }
.camp-alert--info { background: #FFF4DA; color: #6E4A00; }
.camp-closed { background: var(--fondo); color: var(--texto); }

.cf { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.cf-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-step { background: var(--fondo); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.cf-step__title { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; }
.cf-step__title span { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--granate); color: var(--oro); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.cf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cf-span2 { grid-column: 1 / -1; }
.cf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cf-field > span:first-child { font-weight: 600; font-size: 16px; }
.cf-field small, .cf-sub__title small { font-weight: 400; color: var(--suave); font-size: 14px; }
.cf-field input[type="text"], .cf-field input[type="email"], .cf-field input[type="tel"], .cf-field input[type="date"], .cf-field select, .cf-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 12px; background: var(--blanco); color: var(--texto); font: inherit; font-size: 17px;
}
.cf-field textarea { min-height: 76px; resize: vertical; line-height: 1.4; }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: none; border-color: var(--granate); box-shadow: 0 0 0 3px rgba(107,21,38,.15); }
.cf-field.is-bad input, .cf-field.is-bad select, .cf-field.is-bad textarea { border-color: #B42318; background: #FFF8F7; }
.cf-error { color: #B42318; font-size: 14px; font-weight: 600; display: block; }
.cf-hint { color: var(--suave); font-size: 14px; }
.cf-hint:empty { display: none; }
.cf-hint--ok { color: #146C3A; font-weight: 600; }
.cf-hint--bad { color: #B42318; font-weight: 600; }
.cf-hint--gold { background: #FFF4DA; color: #6E4A00; padding: 10px 14px; border-radius: 10px; font-weight: 600; align-self: flex-start; }

.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; cursor: pointer; }
.cf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--linea); background: var(--blanco); font-weight: 600; transition: background .15s, border-color .15s, color .15s; }
.cf-chip:hover span { border-color: var(--granate); }
.cf-chip input:checked + span { background: var(--granate); border-color: var(--granate); color: var(--blanco); }
.cf-chip input:focus-visible + span { outline: 3px solid var(--oro); outline-offset: 2px; }
.cf-field.is-bad .cf-chip span { border-color: #B42318; }

.cf-sub { border-top: 1.5px dashed var(--linea); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.cf-sub__title { font-weight: 700; font-size: 17px; }

/* Participantes */
.cf-kids { display: flex; flex-direction: column; gap: 18px; }
.cf-kid { position: relative; margin: 0; border: 0; border-radius: 16px; background: var(--blanco); padding: 22px; display: flex; flex-direction: column; gap: 18px; border-left: 6px solid var(--oro); min-width: 0; }
.cf-kid__head { display: flex; align-items: center; gap: 12px; padding: 0; float: left; width: 100%; padding-right: 90px; }
.cf-kid__head + * { clear: both; }
.cf-kid__num { width: 34px; height: 34px; border-radius: 50%; background: var(--oro); color: var(--azul); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.cf-kid__title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; overflow-wrap: anywhere; }
.cf-kid__remove { position: absolute; right: 18px; top: 20px; border: 0; background: none; color: var(--granate); font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: underline; padding: 6px; }
.cf-health { background: var(--fondo); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.cf-health__title { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cf-health__title::before { content: '+'; width: 22px; height: 22px; border-radius: 6px; background: var(--granate); color: var(--blanco); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.cf-add { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px; border: 2px dashed var(--granate); background: transparent; color: var(--granate); font-weight: 700; font-size: 17px; cursor: pointer; }
.cf-add span { font-size: 24px; line-height: 1; }
.cf-add:hover { background: var(--granate); color: var(--blanco); border-style: solid; }

/* Autorizaciones */
.cf-checks { display: flex; flex-direction: column; gap: 14px; }
.cf-check { display: flex; gap: 14px; align-items: flex-start; background: var(--blanco); padding: 14px 16px; border-radius: 12px; cursor: pointer; border: 1.5px solid transparent; }
.cf-check input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--granate); }
.cf-check span { font-size: 16px; line-height: 1.45; }
.cf-check a { font-weight: 600; }
.cf-check.is-bad { border-color: #B42318; }

/* Resumen */
.cf-summary { position: sticky; top: calc(var(--nav-h) + 20px); }
.cf-summary__card { background: var(--granate); color: var(--blanco); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 44px rgba(75,14,26,.25); }
.cf-summary__kicker { color: var(--oro); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.cf-summary__name { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: .95; }
.cf-summary__meta { color: var(--rosa); font-size: 15px; }
.cf-summary__kids { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.cf-summary__kids:empty { display: none; }
.cf-summary__kids li { display: flex; justify-content: space-between; gap: 10px; }
.cf-summary__kids small { display: block; color: var(--rosa); font-size: 13px; }
.cf-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); }
.cf-summary__total strong { font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 1; color: var(--oro); }
.cf-summary__note { font-size: 14px; color: var(--rosa); line-height: 1.45; }
.cf-summary__places { text-align: center; font-weight: 700; color: var(--oro); font-size: 15px; }
.cf-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: var(--oro); color: var(--azul); font-weight: 800; font-size: 18px; cursor: pointer; transition: background .15s, transform .15s; }
.cf-submit:hover { background: #F6C35E; transform: translateY(-1px); }
.cf-submit:disabled { opacity: .7; cursor: progress; transform: none; }
.cf-submit svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1000px) {
  .cf { grid-template-columns: minmax(0, 1fr); }
  .cf-summary { position: static; }
}
@media (max-width: 640px) {
  .camp-form > .wrap { padding-top: 48px; padding-bottom: 64px; }
  .cf-step { padding: 18px; border-radius: 16px; margin: 0 -8px; }
  .cf-grid { grid-template-columns: minmax(0, 1fr); }
  .cf-kid { padding: 18px 16px; }
  .cf-step__title { font-size: 26px; }
}

/* ---------- Confirmación ---------- */
.camp-done { background: var(--fondo); scroll-margin-top: var(--nav-h); }
.camp-done > .wrap { padding-top: 64px; padding-bottom: 96px; display: flex; justify-content: center; }
.camp-done__card { width: 100%; max-width: 680px; background: var(--blanco); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; border-top: 8px solid var(--oro); font-size: 18px; }
.camp-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--granate); display: inline-flex; align-items: center; justify-content: center; }
.camp-done__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--oro); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.camp-done h2 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 5vw, 64px); line-height: .92; }
.camp-done__ref strong { font-family: ui-monospace, Menlo, Consolas, monospace; background: #FFF4DA; padding: 3px 10px; border-radius: 8px; }
.camp-done__kids { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.camp-done__kids li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.camp-done__kids small { display: block; color: var(--suave); font-size: 14px; }
.camp-done__total { font-weight: 700; }
.camp-done__total strong { color: var(--granate); font-size: 22px; }
.camp-done__small { font-size: 15px; color: var(--suave); }
.camp-done__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) { .camp-done__card { padding: 28px 22px; } }

/* ---------- Pago: pronto pago, reserva y transferencia ---------- */
.camp-facts li.camp-facts__gold { background: var(--oro); color: var(--azul); border-color: var(--oro); font-weight: 700; }
.cf-payinfo { margin: 0; font-size: 16px; }
.cf-summary__total span small { display: block; color: var(--oro); font-size: 13px; font-weight: 700; }
.cf-summary__line { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--rosa); margin: -6px 0 0; }
.cf-summary__line strong { color: var(--oro); font-size: 20px; }
.cf-summary__line [data-summary-normal] { text-decoration: line-through; }
.camp-done__total small { display: block; color: var(--suave); font-size: 14px; font-weight: 500; }
.camp-bank { background: #FFF8E8; border: 2px solid var(--oro); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.camp-bank h3 { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; margin: 0; }
.camp-bank dl { margin: 0; display: flex; flex-direction: column; }
.camp-bank dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 12px; padding: 10px 0; border-top: 1px solid #F1DFB4; align-items: center; }
.camp-bank dl > div:first-child { border-top: 0; }
.camp-bank dt { color: var(--suave); font-size: 15px; }
.camp-bank dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; overflow-wrap: anywhere; }
.camp-bank__mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 17px; letter-spacing: .02em; }
.camp-bank__copy { border: 1.5px solid var(--granate); background: var(--blanco); color: var(--granate); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; }
.camp-bank__copy:hover { background: var(--granate); color: var(--blanco); }
.camp-bank__copy.is-done { background: #146C3A; border-color: #146C3A; color: var(--blanco); }
.camp-bank__warn { margin: 0; font-weight: 700; color: var(--granate); font-size: 16px; }
.camp-bank__note { margin: 0; font-size: 15px; color: var(--suave); }
.camp-bank-alt summary { cursor: pointer; font-weight: 700; color: var(--granate); }
.camp-bank-alt[open] summary { margin-bottom: 12px; }
@media (max-width: 640px) {
  .camp-bank { padding: 18px 16px; }
  .camp-bank dl > div { grid-template-columns: minmax(0, 1fr); }
}
.cf-summary__line > :last-child { white-space: nowrap; }
