/* ============================================================
   CAMPAMENTO 9 · CANADÁ — Toronto 2026
   Página de CONVERSIÓN (bespoke). Reutiliza el chasis de
   campamentos.css (tokens, nav, hero, footer, botones, lightbox)
   y añade solo los componentes propios de esta edición.
   v1.0 · 2026-07-13
   ============================================================ */

/* ── HERO: sello propio (izquierda, sobre el botón) + countdown + CTA ── */
.cn-hero { min-height: 86vh; }
.cn-hero__sello {
  width: 122px; height: 122px; border-radius: 50%; object-fit: cover; display: block;
  margin: 0 0 24px; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 14px 38px rgba(0,0,0,.34);
  animation: bc-sello-in .8s var(--bc-ease) both;
}
.cn-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cn-hero__count {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--bc-display); font-weight: 700; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(8px); padding: 9px 18px; border-radius: 999px;
}
.cn-hero__count b { color: #7fdcff; font-size: 16px; }
.cn-hero__count:empty { display: none; }

/* ── RESPALDO INSTITUCIONAL: las 3 cartas ── */
.cn-avales__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }
.cn-carta {
  margin: 0; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--bc-border); border-radius: var(--bc-radius);
  overflow: hidden; box-shadow: var(--bc-sh-sm); transition: all .3s var(--bc-ease);
}
.cn-carta:hover { transform: translateY(-6px); box-shadow: var(--bc-sh-lg); border-color: transparent; }
.cn-carta__doc {
  position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: zoom-in;
  background: #EEF2F6; aspect-ratio: 1 / 1.24; overflow: hidden; font: inherit;
}
.cn-carta__doc img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--bc-ease); }
.cn-carta:hover .cn-carta__doc img { transform: scale(1.04); }
.cn-carta__zoom {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(12,26,60,.62); color: #fff; opacity: 0; transition: opacity .25s;
}
.cn-carta__doc:hover .cn-carta__zoom, .cn-carta__doc:focus-visible .cn-carta__zoom { opacity: 1; }
.cn-carta__zoom svg { width: 18px; height: 18px; }
.cn-carta__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 3px; border-top: 3px solid var(--acento); }
.cn-carta__flag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bc-mute-soft); }
.cn-carta__name { font-family: var(--bc-display); font-weight: 800; font-size: 20px; color: var(--bc-navy); line-height: 1.15; }
.cn-carta__role { font-size: 14px; color: var(--bc-muted); font-weight: 600; }

/* ── POR QUÉ ESTA EDICIÓN: value cards ── */
.cn-valor__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cn-vcard {
  background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius);
  padding: 30px 26px; transition: all .3s var(--bc-ease);
}
.cn-vcard:hover { transform: translateY(-5px); box-shadow: var(--bc-sh-lg); border-color: transparent; }
.cn-vcard__ic {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: var(--acento-soft); color: var(--acento); margin-bottom: 18px;
}
.cn-vcard__ic svg { width: 25px; height: 25px; }
.cn-vcard__t { font-family: var(--bc-display); font-weight: 700; font-size: 18px; color: var(--bc-navy); margin: 0 0 9px; }
.cn-vcard__d { font-size: 14.5px; color: var(--bc-muted); margin: 0; line-height: 1.55; }

/* ── DOBLE CERTIFICACIÓN: logos sin caja (ya tienen fondo blanco) y más grandes ── */
.cn-cert .bc-cert__logos { margin-top: 8px; gap: 56px; align-items: center; }
.cn-cert .bc-cert__logo { background: transparent; border: 0; box-shadow: none; padding: 8px 16px; min-width: 0; gap: 18px; }
.cn-cert .bc-cert__logo img { height: 122px; max-width: 280px; }
.cn-cert .bc-cert__logo span { font-size: 14.5px; }
@media (max-width: 560px) {
  .cn-cert .bc-cert__logos { gap: 34px; }
  .cn-cert .bc-cert__logo img { height: 96px; }
}

/* ── LA EXPERIENCIA: fondo-mapa con velo beige para dar textura sin saturar ── */
.cn-exp { position: relative; overflow: hidden; background: var(--bc-cream); }
.cn-exp__bg { position: absolute; inset: 0; z-index: 0; }
.cn-exp__bg svg { width: 100%; height: 100%; display: block; }
.cn-exp__veil { position: absolute; inset: 0; z-index: 1; background: rgba(247,242,233,.82); }
.cn-exp > .bc-container { position: relative; z-index: 2; }
.cn-exp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cn-ecard {
  background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius);
  padding: 32px 28px; transition: all .3s var(--bc-ease); position: relative; overflow: hidden;
}
.cn-ecard::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--acento); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--bc-ease); }
.cn-ecard:hover { transform: translateY(-6px); box-shadow: var(--bc-sh-lg); border-color: transparent; }
.cn-ecard:hover::before { transform: scaleX(1); }
.cn-ecard__k { display: inline-block; font-family: var(--bc-display); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: 14px; }
.cn-ecard__t { font-family: var(--bc-display); font-weight: 700; font-size: 20px; color: var(--bc-navy); margin: 0 0 11px; }
.cn-ecard__d { font-size: 15px; color: var(--bc-muted); margin: 0; line-height: 1.6; }

/* ── LA RED ORGANIZADORA: sección menta + tarjetas blancas con logo ── */
.cn-red { background: #E4F5EF; }
.cn-red__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cn-red__item {
  background: #fff; border: 1px solid var(--bc-border); border-radius: var(--bc-radius); box-shadow: var(--bc-sh-sm);
  padding: 26px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  transition: all .3s var(--bc-ease);
}
.cn-red__item:hover { transform: translateY(-5px); box-shadow: var(--bc-sh-lg); border-color: transparent; }
.cn-red__logo { display: flex; align-items: center; height: 52px; margin-bottom: 8px; }
.cn-red__logo img { max-height: 52px; max-width: 150px; width: auto; object-fit: contain; }
.cn-red__name { font-family: var(--bc-display); font-weight: 700; font-size: 16px; color: var(--bc-navy); line-height: 1.25; }
.cn-red__sub { font-family: var(--bc-body); font-weight: 500; font-size: 13px; color: var(--bc-muted); }

/* ── CTA FINAL: fondo diferenciado del footer (glow celeste sobre navy) ── */
.cn-final {
  background:
    radial-gradient(1000px 460px at 50% -12%, rgba(14,165,233,.40), transparent 62%),
    linear-gradient(180deg, #0C1A3C 0%, #0A1730 100%);
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .cn-avales__grid { grid-template-columns: repeat(2, 1fr); }
  .cn-valor__grid { grid-template-columns: repeat(2, 1fr); }
  .cn-exp__grid { grid-template-columns: 1fr; }
  .cn-red__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .cn-hero__sello { width: 92px; height: 92px; border-width: 2px; margin-bottom: 18px; }
  .cn-avales__grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .cn-valor__grid { grid-template-columns: 1fr; }
  .cn-red__grid { grid-template-columns: 1fr; }
}
