/* ═══════════════════════════════════════════════════════════════
 * Compartiriados — landing de proyectos + flujo de donación
 * Paleta: teal compartiriado #026876 (color oficial de la familia),
 * barra de objetivo ámbar #DB9546 → verde #44A457 al 100% (paridad
 * con el compartiriados antiguo).
 * ═══════════════════════════════════════════════════════════════ */

body.hk-comp-landing-page,
body.hk-comp-donation-page {
  --hkc-teal: #026876;
  --hkc-teal-dark: #014852;
  --hkc-teal-deep: #013840;
  --hkc-teal-soft: #cce1e4;
  --hkc-teal-mist: #eef6f7;
  --hkc-cyan: #00ccd9;
  --hkc-amber: #db9546;
  --hkc-green: #44a457;
  --hkc-green-soft: #e2f3e6;
  --hkc-ink: #0a0a0a;
  --hkc-ink-muted: #4b5563;
  --hkc-ink-subtle: #9ca3af;
  --hkc-bg: #f5f9f9;
  --hkc-surface: #ffffff;
  --hkc-border: #dde8ea;
  --hkc-shadow: 0 4px 16px rgba(1, 72, 82, 0.08);
  --hkc-shadow-lg: 0 18px 44px rgba(1, 72, 82, 0.16);
  margin: 0;
  background: var(--hkc-bg);
  color: var(--hkc-ink);
  font-family: "Montserrat", -apple-system, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "tnum";
}

.hkc-landing-main,
.hk-comp-donation-page-main {
  min-height: 100vh;
}

.hkc-landing-main *,
.hkc-landing-main *::before,
.hkc-landing-main *::after {
  box-sizing: border-box;
}

/* ═══ LANDING · HERO ═══════════════════════════════════════════ */

.hkc-hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(0, 204, 217, 0.28), transparent 60%),
    radial-gradient(800px 420px at 8% 110%, rgba(219, 149, 70, 0.18), transparent 55%),
    linear-gradient(150deg, var(--hkc-teal-deep) 0%, var(--hkc-teal) 62%, #058294 100%);
  color: #ffffff;
  padding: 84px 24px 110px;
  text-align: center;
  overflow: hidden;
}

.hkc-hero__inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.hkc-hero__eyebrow {
  display: inline-flex;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.10);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hkc-hero__title {
  margin: 22px 0 0;
  font-size: clamp(38px, 6.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

.hkc-hero__title em {
  font-style: normal;
  color: var(--hkc-cyan);
}

.hkc-hero__intro {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.hkc-hero__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hkc-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  color: var(--hkc-bg);
  line-height: 0;
}

.hkc-hero__wave svg {
  width: 100%;
  height: 64px;
  display: block;
}

/* ═══ BOTONES ══════════════════════════════════════════════════ */

.hkc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--hkc-teal);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.hkc-btn:hover,
.hkc-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(1, 72, 82, 0.28);
}

.hkc-btn:focus-visible {
  outline: 3px solid rgba(0, 204, 217, 0.55);
  outline-offset: 2px;
}

.hkc-btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.hkc-btn--hero {
  background: var(--hkc-cyan);
  color: var(--hkc-teal-deep);
}

.hkc-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.hkc-btn--donar {
  width: 100%;
  background: var(--hkc-teal);
}

/* ═══ ETIMOLOGÍA ═══════════════════════════════════════════════ */

.hkc-etim {
  max-width: 860px;
  margin: 8px auto 0;
  padding: 44px 24px 10px;
  text-align: center;
}

.hkc-etim__formula {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.hkc-etim__word {
  font-size: clamp(19px, 3.4vw, 28px);
  font-weight: 600;
  color: var(--hkc-ink-muted);
  letter-spacing: 0.01em;
}

.hkc-etim__plus,
.hkc-etim__equals {
  font-size: clamp(20px, 3.4vw, 30px);
  font-weight: 800;
  color: var(--hkc-amber);
}

.hkc-etim__result {
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 900;
  color: var(--hkc-teal);
  letter-spacing: -0.01em;
  border-bottom: 4px solid var(--hkc-cyan);
  padding-bottom: 2px;
}

.hkc-etim__copy {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--hkc-ink-muted);
}

.hkc-etim__quote {
  position: relative;
  max-width: 620px;
  margin: 28px auto 0;
  padding: 22px 26px 18px;
  border-radius: 18px;
  background: var(--hkc-teal-mist);
  border-left: 4px solid var(--hkc-cyan);
  text-align: left;
}

.hkc-etim__quote p {
  margin: 0;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
  color: var(--hkc-teal-deep);
}

.hkc-etim__quote cite {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hkc-ink-subtle);
}

/* ═══ SECCIONES ════════════════════════════════════════════════ */

.hkc-sections {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 8px;
  display: grid;
  gap: 64px;
}

.hkc-section__head {
  max-width: 640px;
  margin: 0 auto 28px;
  text-align: center;
}

.hkc-section__kicker {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--hkc-teal-soft);
  color: var(--hkc-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hkc-section__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--hkc-teal-deep);
}

.hkc-section__sub {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hkc-ink-muted);
}

.hkc-empty {
  text-align: center;
  color: var(--hkc-ink-subtle);
  font-size: 15px;
}

/* ═══ TABS DE PROYECTOS ════════════════════════════════════════ */

.hkc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 6px;
  background: var(--hkc-surface);
  border: 1px solid var(--hkc-border);
  border-radius: 999px;
  box-shadow: var(--hkc-shadow);
}

.hkc-tab {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px 24px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--hkc-teal-dark);
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.hkc-tab:hover {
  background: var(--hkc-teal-mist);
}

.hkc-tab.is-active {
  background: linear-gradient(150deg, var(--hkc-teal) 0%, var(--hkc-teal-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(1, 72, 82, 0.22);
}

.hkc-tab:focus-visible {
  outline: 2px solid var(--hkc-cyan);
  outline-offset: 2px;
}

.hkc-tabpanel[hidden],
[data-tab-linked][hidden] {
  display: none;
}

/* ═══ GRID Y CARDS ═════════════════════════════════════════════ */

.hkc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.hkc-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: var(--hkc-surface);
  box-shadow: var(--hkc-shadow);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hkc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hkc-shadow-lg);
}

/* La card activa entera funciona como enlace al flujo (lo añade el JS). */
.hkc-card--clickable {
  cursor: pointer;
}

.hkc-card__media {
  position: relative;
  height: 190px;
  background: linear-gradient(140deg, var(--hkc-teal-soft), var(--hkc-teal-mist));
}

.hkc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hkc-card__media-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hkc-teal);
  opacity: 0.45;
}

.hkc-card__media-placeholder svg {
  width: 52px;
  height: 52px;
}

.hkc-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hkc-card__badge--pasado {
  background: rgba(10, 10, 10, 0.68);
  color: #ffffff;
}

.hkc-card__badge--conseguido {
  background: var(--hkc-green);
  color: #ffffff;
}

/* Histórico: overlay gris sobre la imagen, sin botones */
.hkc-card--pasado .hkc-card__media img,
.hkc-card--pasado .hkc-card__media-placeholder {
  filter: grayscale(1);
  opacity: 0.55;
}

.hkc-card--pasado .hkc-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(90, 100, 104, 0.35);
}

.hkc-card--pasado .hkc-card__badge {
  z-index: 1;
}

.hkc-card--pasado .hkc-card__name,
.hkc-card--pasado .hkc-card__desc,
.hkc-card--pasado .hkc-card__lugar {
  color: var(--hkc-ink-subtle);
}

.hkc-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  flex: 1;
}

.hkc-card__name {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--hkc-teal-deep);
  line-height: 1.2;
}

.hkc-card__lugar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--hkc-ink-muted);
}

.hkc-card__lugar svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: var(--hkc-amber);
}

.hkc-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hkc-ink-muted);
}

.hkc-card__more {
  font-size: 13px;
}

.hkc-card__more summary {
  cursor: pointer;
  color: var(--hkc-teal);
  font-weight: 700;
  list-style: none;
}

.hkc-card__more summary::-webkit-details-marker {
  display: none;
}

.hkc-card__more summary::after {
  content: " +";
  font-weight: 800;
}

.hkc-card__more[open] summary::after {
  content: " −";
}

.hkc-card__more-body {
  margin-top: 8px;
  color: var(--hkc-ink-muted);
  line-height: 1.55;
}

/* ═══ BARRA DE OBJETIVO ════════════════════════════════════════ */

.hkc-goal {
  margin-top: auto;
  display: grid;
  gap: 7px;
}

.hkc-goal__numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hkc-goal__numbers strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--hkc-teal-deep);
  font-variant-numeric: tabular-nums;
}

.hkc-goal__numbers span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hkc-ink-subtle);
  font-variant-numeric: tabular-nums;
}

.hk-comp-goal-bar {
  width: 100%;
  height: 9px;
  border-radius: 999px;
  background: #e6eef0;
  overflow: hidden;
}

.hk-comp-goal-bar--onhero {
  background: rgba(255, 255, 255, 0.28);
}

.hk-comp-goal-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hkc-amber), #e8ab60);
  transition: width 500ms ease;
}

/* Objetivo conseguido → verde (paridad con el plugin antiguo) */
.hk-comp-goal-bar__fill.is-done {
  background: linear-gradient(90deg, var(--hkc-green), #5cb96f);
}

/* ═══ WIDGET DE DONACIÓN EN CARD ═══════════════════════════════ */

.hkc-card__donate {
  display: grid;
  gap: 10px;
}

.hkc-card__amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hkc-amount {
  flex: 1 1 0;
  min-width: 58px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1.5px solid var(--hkc-teal-soft);
  border-radius: 14px;
  background: var(--hkc-surface);
  color: var(--hkc-teal-dark);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease;
}

.hkc-amount:hover {
  border-color: var(--hkc-teal);
}

.hkc-amount:focus-visible {
  outline: 3px solid rgba(2, 104, 118, 0.35);
  outline-offset: 1px;
}

.hkc-amount.is-selected {
  background: var(--hkc-teal);
  border-color: var(--hkc-teal);
  color: #ffffff;
}

.hkc-amount--other {
  font-size: 14px;
}

.hkc-card__other input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid var(--hkc-teal-soft);
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--hkc-ink);
  box-sizing: border-box;
}

.hkc-card__other input:focus {
  border-color: var(--hkc-teal);
  outline: 3px solid rgba(2, 104, 118, 0.2);
  outline-offset: 0;
}

.hkc-card__cerrado {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--hkc-green-soft);
  color: #256a35;
  font-size: 13.5px;
  font-weight: 700;
}

.hkc-card__cerrado svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* ═══ ACTIVIDADES (qué es un compartiriado) ════════════════════ */

.hkc-activities {
  max-width: 1160px;
  margin: 26px auto 0;
  padding: 46px 24px 10px;
}

.hkc-activities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.hkc-activity {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--hkc-surface);
  box-shadow: var(--hkc-shadow);
  border-top: 4px solid var(--hkc-teal-soft);
  transition: border-color 160ms ease, transform 160ms ease;
}

.hkc-activity:hover {
  border-top-color: var(--hkc-cyan);
  transform: translateY(-2px);
}

.hkc-activity__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--hkc-teal-mist);
  color: var(--hkc-teal);
}

.hkc-activity__icon svg {
  width: 27px;
  height: 27px;
}

.hkc-activity__name {
  margin: 14px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--hkc-teal-deep);
}

.hkc-activity__text {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--hkc-ink-muted);
}

/* ═══ EN QUÉ AYUDA ═════════════════════════════════════════════ */

.hkc-help {
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 0 24px;
}

.hkc-help__inner {
  border-radius: 26px;
  padding: 44px 32px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(0, 204, 217, 0.25), transparent 60%),
    linear-gradient(140deg, var(--hkc-teal-dark), var(--hkc-teal));
}

/* El "Ver mapa" va justo encima de la banda DESTINOS. Padding en vez de
   margin: los márgenes colapsaban con la sección anterior y no se veía aire. */
.hkc-globe-trigger-wrap--sobre-banda {
  margin: 0;
  padding: 56px 0 48px;
}

/* ── Banda DESTINOS (ancla #proyectos, tabs integrados) ── */
.hkc-destinos-band {
  width: 100vw;
  margin: 0 0 54px calc(50% - 50vw);
  padding: clamp(24px, 4.5vw, 42px) 16px clamp(28px, 3.4vw, 38px);
  background:
    radial-gradient(600px 220px at 82% 0%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(140deg, #00b0c4 0%, #00ccd9 62%, #2adfe9 100%);
  text-align: center;
  scroll-margin-top: 84px;
  box-sizing: border-box;
}

/* El pill de tabs vive dentro de la banda, con aire por debajo */
.hkc-destinos-band .hkc-tabs {
  position: relative;
  z-index: 2;
  margin: clamp(18px, 2.6vw, 28px) auto 0;
}

.hkc-destinos-band__title {
  margin: 0;
  font-family: var(--hk-heading-font, "Montserrat", sans-serif);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(1, 46, 52, 0.25);
}

/* ── "Ver mapa": trigger + modal con globo terráqueo ── */
.hkc-globe-trigger-wrap {
  text-align: center;
  margin: 0 0 12px;
}

.hkc-globe-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid rgba(0, 169, 189, 0.5);
  background: #ffffff;
  color: #007d8d;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  box-shadow: 0 6px 16px rgba(1, 40, 46, 0.08);
}

.hkc-globe-trigger:hover,
.hkc-globe-trigger:focus-visible {
  color: #015964;
  border-color: rgba(0, 169, 189, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(1, 40, 46, 0.14);
}

.hkc-globe-trigger svg {
  width: 21px;
  height: 21px;
}

body.hkc-globe-modal-open {
  overflow: hidden;
}

.hkc-globe-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(1, 27, 32, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hkc-globe-modal[hidden] {
  display: none;
}

.hkc-globe-modal__panel {
  width: min(100%, 760px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(0, 204, 217, 0.25);
  background:
    radial-gradient(700px 320px at 85% -5%, rgba(0, 204, 217, 0.18), transparent 60%),
    linear-gradient(160deg, #013840 0%, #024a55 100%);
  box-shadow: 0 30px 80px rgba(0, 10, 14, 0.5);
  padding: 18px 20px 20px;
  box-sizing: border-box;
}

.hkc-globe-modal__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
  min-height: 42px;
  padding: 0 48px;
}

.hkc-globe-modal__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  text-align: center;
}

.hkc-globe-modal__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hkc-globe-modal__close:hover,
.hkc-globe-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.hkc-globe-modal__close svg {
  width: 16px;
  height: 16px;
}

.hkc-globe__controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hkc-globe__filter {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.hkc-globe__filter.is-active {
  background: #00ccd9;
  color: #04262c;
}

.hkc-globe__stage {
  position: relative;
}

.hkc-globe__stage canvas {
  display: block;
  width: 100%;
  touch-action: none;
  cursor: grab;
}

/* El display:flex pisaría el atributo hidden sin esto (pastilla vacía). */
.hkc-globe__tooltip[hidden] {
  display: none;
}

.hkc-globe__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 4;
}

.hkc-globe__zoom button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.16s ease;
}

.hkc-globe__zoom button:hover,
.hkc-globe__zoom button:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.hkc-globe__tooltip {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(2, 20, 24, 0.92);
  border: 1px solid rgba(0, 204, 217, 0.35);
  color: #ffffff;
  font-size: 12.5px;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  z-index: 3;
}

.hkc-globe__tooltip-tipo {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hkc-globe__tooltip-tipo--escapadas { background: rgba(0, 204, 217, 0.2); color: #7fe9f2; }
.hkc-globe__tooltip-tipo--curso { background: rgba(219, 149, 70, 0.22); color: #f0bd8a; }
.hkc-globe__tooltip-tipo--emergencias { background: rgba(226, 96, 82, 0.24); color: #f3a89f; }
.hkc-globe__tooltip-tipo--otro { background: rgba(255, 255, 255, 0.16); color: #dbe7ea; }

.hkc-globe__tooltip-state {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
}

.hkc-globe__tooltip-state.is-activo {
  color: #00ccd9;
}

.hkc-globe__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.hkc-globe__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.hkc-globe__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.hkc-globe__dot--activo {
  background: #00ccd9;
  box-shadow: 0 0 8px rgba(0, 204, 217, 0.8);
}

.hkc-globe__dot--pasado {
  background: #a9bcc2;
}

.hkc-globe__legend-hint {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

/* ── Histórico plegable (tab Escapadas) ── */
.hkc-historico {
  text-align: center;
  margin: 26px 0 0;
}

.hkc-historico__toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #00a9bd;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.16s ease;
}

.hkc-historico__toggle:hover,
.hkc-historico__toggle:focus-visible {
  color: #007a8a;
}

.hkc-historico__toggle svg {
  width: 14px;
  height: 9px;
  transition: transform 0.2s ease;
}

.hkc-historico__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.hkc-grid--historico {
  margin-top: 20px;
}

/* El display:grid de .hkc-grid pisaría el atributo hidden sin esto. */
.hkc-grid--historico[hidden] {
  display: none;
}

/* Variante con la foto rescatada de la web antigua: foto a la izquierda,
   texto a la derecha; en móvil se apila con la foto arriba. */
.hkc-help__inner--with-media {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  text-align: left;
}

.hkc-help__media {
  margin: 0;
  align-self: stretch;
}

.hkc-help__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(1, 30, 36, 0.35);
}

.hkc-help__inner--with-media .hkc-help__chips {
  justify-content: flex-start;
}

@media (max-width: 760px) {
  .hkc-help__inner--with-media {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .hkc-help__media img {
    min-height: 0;
    max-height: 230px;
  }

  .hkc-help__inner--with-media .hkc-help__chips {
    justify-content: center;
  }
}

.hkc-help__title {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hkc-help__text {
  max-width: 700px;
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hkc-help__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hkc-help__chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  font-weight: 700;
}

/* ═══ INFO FISCAL · desplegable ════════════════════════════════ */

.hkc-fiscal {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.hkc-fiscal__panel {
  border-radius: 20px;
  background: var(--hkc-surface);
  box-shadow: var(--hkc-shadow);
  overflow: hidden;
}

.hkc-fiscal__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background-color 140ms ease;
}

.hkc-fiscal__summary::-webkit-details-marker {
  display: none;
}

.hkc-fiscal__summary:hover {
  background: var(--hkc-teal-mist);
}

.hkc-fiscal__summary:focus-visible {
  outline: 3px solid rgba(2, 104, 118, 0.35);
  outline-offset: -3px;
}

.hkc-fiscal__summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--hkc-teal-mist);
  color: var(--hkc-teal);
}

.hkc-fiscal__summary-icon svg {
  width: 24px;
  height: 24px;
}

.hkc-fiscal__summary-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.hkc-fiscal__summary-copy strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--hkc-teal-deep);
}

.hkc-fiscal__summary-copy span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--hkc-ink-muted);
}

.hkc-fiscal__summary-chevron {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--hkc-ink-subtle);
  transition: transform 180ms ease;
}

.hkc-fiscal__panel[open] .hkc-fiscal__summary-chevron {
  transform: rotate(180deg);
}

.hkc-fiscal__body {
  padding: 4px 22px 26px;
  border-top: 1px solid var(--hkc-border);
}

.hkc-fiscal__intro {
  max-width: 680px;
  margin: 18px auto 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hkc-ink-muted);
}

.hkc-fiscal__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.hkc-fiscal__step {
  position: relative;
  padding: 22px 18px 18px;
  border-radius: 16px;
  background: var(--hkc-bg);
  border-top: 4px solid var(--hkc-teal-soft);
}

.hkc-fiscal__step-num {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--hkc-teal);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hkc-fiscal__foot {
  margin-top: 18px;
  text-align: center;
}

.hkc-fiscal__foot p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hkc-ink-muted);
}

.hkc-fiscal__foot strong {
  color: var(--hkc-teal-deep);
}

.hkc-fiscal__intro strong {
  color: var(--hkc-teal-deep);
}

/* Contacto diferenciado del texto legal: chip centrada con icono */
.hkc-fiscal__foot p.hkc-fiscal__contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 18px auto 0;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--hkc-teal-mist);
  border: 1px solid var(--hkc-teal-soft);
  color: var(--hkc-teal-dark);
  font-size: 13.5px;
  font-weight: 600;
}

.hkc-fiscal__contact svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--hkc-teal);
}

/* Con el toggle de totales apagado: solo porcentaje, alineado a la derecha */
.hkc-goal__numbers--solo-pct {
  justify-content: flex-end;
}

.hkc-goal__numbers--solo-pct span {
  font-weight: 800;
  color: var(--hkc-teal-deep);
}

.hkc-fiscal a {
  color: var(--hkc-teal);
  font-weight: 700;
  text-decoration: none;
}

.hkc-fiscal a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
 * FLUJO DE DONACIÓN (estructura Ágora, branding Compartiriados)
 * ═══════════════════════════════════════════════════════════════ */

body.hk-comp-donation-page {
  background:
    radial-gradient(900px 420px at 88% -6%, rgba(0, 204, 217, 0.22), transparent 60%),
    linear-gradient(165deg, var(--hkc-teal-deep) 0%, var(--hkc-teal) 70%, #058294 100%);
  color: var(--hkc-ink);
}

.hk-comp-donation {
  /* border-box: sin él, width 100% + padding desborda por la derecha en móvil */
  box-sizing: border-box;
  width: min(100%, 720px);
  margin: 0 auto;
  /* Padding inferior generoso: el widget flotante de feedback y la barra del
     navegador móvil no deben tapar el enlace "Volver a los proyectos". */
  padding: 30px 20px 130px;
}

.hk-comp-donation *,
.hk-comp-donation *::before,
.hk-comp-donation *::after {
  box-sizing: border-box;
}

.hk-comp-donation__hero {
  margin: 0 auto 22px;
  text-align: center;
  color: #ffffff;
}

.hk-comp-donation__eyebrow {
  display: inline-flex;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hk-comp-donation__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 6.4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.hk-comp-donation__lugar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.hk-comp-donation__lugar svg {
  width: 16px;
  height: 16px;
}

.hk-comp-donation__hero-goal {
  max-width: 380px;
  margin: 16px auto 0;
  display: grid;
  gap: 7px;
}

.hk-comp-donation__hero-goal-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}

.hk-comp-donation__hero-goal-label strong {
  font-weight: 900;
  color: #ffffff;
}

.hk-comp-donation__project-photo {
  width: min(100%, 460px);
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(1, 40, 46, 0.35);
}

.hk-comp-donation__project-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
}

/* ── Descripción de la iniciativa (cristal esmerilado sobre el teal) ── */
.hk-comp-donation__about {
  width: min(100%, 460px);
  margin: 0 auto 24px;
  padding: 20px 22px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px rgba(1, 40, 46, 0.28);
  box-sizing: border-box;
}

.hk-comp-donation__about-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hkc-cyan);
}

.hk-comp-donation__about-lead {
  margin: 0 0 10px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.hk-comp-donation__about-para {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.hk-comp-donation__about-para:last-child {
  margin-bottom: 0;
}

/* ── Notices (retorno de pago) ── */

.hk-comp-donation__notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 auto 20px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--hkc-shadow-lg);
}

.hk-comp-donation__notice--ok { color: var(--hkc-teal-dark); }
.hk-comp-donation__notice--error { color: #6c3d3d; }

.hk-comp-donation__notice-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

.hk-comp-donation__notice-icon svg,
.hk-comp-donation__inline-icon svg,
.hk-comp-donation-form__backlink svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hk-comp-donation__notice-copy { min-width: 0; }

.hk-comp-donation__notice-title {
  margin: 0 0 6px;
  color: var(--hkc-teal-deep);
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 900;
  line-height: 1.12;
}

.hk-comp-donation__notice-copy p {
  margin: 0;
  line-height: 1.55;
}

.hk-comp-donation__notice-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(2, 104, 118, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, #f6fbfb 0%, var(--hkc-teal-mist) 100%);
}

.hk-comp-donation__notice-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.hk-comp-donation__notice-summary-row span {
  color: var(--hkc-ink-muted);
  font-size: 14px;
}

.hk-comp-donation__notice-summary-row strong {
  color: var(--hkc-teal-deep);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}

.hk-comp-donation__notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* Botones del flujo */
.hk-comp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 56px;
  padding: 14px 26px;
  border: 1px solid var(--hkc-teal);
  border-radius: 16px;
  background: var(--hkc-teal);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.hk-comp-btn:hover,
.hk-comp-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(2, 104, 118, 0.24);
}

.hk-comp-btn--secondary {
  background: #ffffff;
  color: var(--hkc-teal);
}

/* ── Card del formulario ── */

.hk-comp-donation__shell { margin: 0 auto; }

.hk-comp-donation__card {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 26px;
  background: var(--hkc-surface);
  box-shadow: 0 24px 52px rgba(1, 40, 46, 0.28);
}

.hk-comp-donation-form__error-notice {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 18px 24px 0;
  padding: 12px 14px;
  border: 1px solid rgba(168, 66, 66, 0.18);
  border-radius: 10px;
  background: #fff6f6;
  color: #8b2f2f;
}

.hk-comp-donation-form__error-notice p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.hk-comp-donation-form__error-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hkc-teal);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  cursor: pointer;
}

.hk-comp-donation-form__panel { display: none; }
.hk-comp-donation-form__panel.is-active { display: block; }

.hk-comp-donation-form__topbar {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(2, 104, 118, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f6fafa 100%);
}

.hk-comp-donation-form__backlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #4b4b4b;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.hk-comp-donation-form__backlink:hover,
.hk-comp-donation-form__backlink:focus-visible {
  border-color: rgba(2, 104, 118, 0.24);
  background: rgba(2, 104, 118, 0.07);
  color: var(--hkc-teal);
}

.hk-comp-donation-form__backlink svg {
  width: 18px;
  height: 18px;
}

.hk-comp-donation-form__topbar-copy {
  min-width: 0;
  text-align: center;
}

.hk-comp-donation-form__step-title {
  margin: 0;
  text-align: center;
  color: var(--hkc-teal-deep);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

.hk-comp-donation-form__step-subtitle {
  margin: 6px auto 0;
  max-width: 44ch;
  color: var(--hkc-ink-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hk-comp-donation-form__topbar-spacer {
  display: block;
  width: 30px;
  height: 30px;
}

.hk-comp-donation-form__panel-content {
  padding: 28px 28px 18px;
}

.hk-comp-donation-form__question {
  margin: 0 0 22px;
  text-align: center;
  color: var(--hkc-ink-muted);
  font-size: 18px;
  line-height: 1.5;
}

.hk-comp-donation-form__amount-box {
  position: relative;
  width: min(100%, 262px);
  margin: 0 auto 24px;
}

/* El € va como sufijo (30 €), a la derecha del número. */
.hk-comp-donation-form__amount-currency {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hkc-ink-subtle);
  font-size: 36px;
  line-height: 1;
  pointer-events: none;
}

.hk-comp-donation-form__amount-input {
  margin-bottom: 0 !important;
  min-height: 112px;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 78px 0 18px !important;
  border: 1.5px solid var(--hkc-teal-soft) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(1, 60, 68, 0.08) !important;
  color: var(--hkc-teal-deep) !important;
  text-align: center;
  font-size: 64px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
}

.hk-comp-donation-form__amount-input:focus {
  border-color: var(--hkc-teal) !important;
  box-shadow: 0 0 0 4px rgba(2, 104, 118, 0.14), 0 16px 32px rgba(1, 60, 68, 0.08) !important;
}

.hk-comp-donation-form__amount-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 476px);
  margin: 0 auto;
}

.hk-comp-donation-form__amount-preset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 12px 16px;
  border: 1px solid var(--hkc-teal);
  border-radius: 16px;
  background: var(--hkc-teal);
  color: #ffffff;
  font-family: inherit;
  font-size: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease;
}

.hk-comp-donation-form__amount-preset:hover,
.hk-comp-donation-form__amount-preset:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(2, 104, 118, 0.2);
}

.hk-comp-donation-form__amount-preset.is-active {
  background: #ffffff;
  color: var(--hkc-teal);
  box-shadow: 0 0 0 4px rgba(2, 104, 118, 0.1), 0 12px 24px rgba(2, 104, 118, 0.12);
}

.hk-comp-donation-form__amount-preset--ghost { font-size: 18px; }

.hk-comp-donation-form__amount-preset-currency {
  font-size: 17px;
  transform: translateY(-3px);
}

.hk-comp-donation-form__autofill-note {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid rgba(2, 104, 118, 0.14);
  border-radius: 14px;
  background: rgba(2, 104, 118, 0.06);
  color: var(--hkc-teal-dark);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.hk-comp-donation-form__checkout-peek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 15px 18px;
  border: 1px solid rgba(2, 104, 118, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdfd 0%, var(--hkc-teal-mist) 100%);
}

.hk-comp-donation-form__checkout-peek-copy { display: grid; gap: 4px; }

.hk-comp-donation-form__checkout-peek-eyebrow {
  color: var(--hkc-teal-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hk-comp-donation-form__checkout-peek-copy strong {
  color: var(--hkc-teal-deep);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hk-comp-donation-form__checkout-peek-meta {
  color: var(--hkc-ink-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  line-height: 1.4;
}

.hk-comp-donation-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.hk-comp-donation-form__field--full { grid-column: 1 / -1; }

.hk-comp-donation-form__field label {
  display: block;
  margin-bottom: 8px;
  color: var(--hkc-teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.hk-comp-donation-form__field-disclaimer {
  margin: -2px 0 8px;
  color: var(--hkc-ink-subtle);
  font-size: 12px;
  font-style: italic;
  line-height: 1.45;
}

.hk-comp-donation-form__field input,
.hk-comp-donation-form__field select {
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 56px;
  margin-bottom: 0 !important;
  padding: 15px 16px !important;
  border: 1.5px solid var(--hkc-teal-soft) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(1, 60, 68, 0.04) !important;
  color: var(--hkc-ink) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.hk-comp-donation-form__field input:focus,
.hk-comp-donation-form__field select:focus {
  border-color: var(--hkc-teal) !important;
  box-shadow: 0 0 0 4px rgba(2, 104, 118, 0.12) !important;
}

.hk-comp-donation-form__field input[readonly] {
  background: var(--hkc-teal-mist) !important;
  color: var(--hkc-ink-muted) !important;
}

/* Recomendación de login como invitado (reutiliza clases de hk-subscriptions) */
.hk-comp-donation-form .hk-guest-checkout-recommendation {
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(2, 104, 118, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #f6fbfb 0%, var(--hkc-teal-mist) 100%);
  box-shadow: 0 10px 24px rgba(2, 104, 118, 0.08);
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
}

.hk-comp-donation-form .hk-guest-checkout-recommendation__badge {
  background: rgba(2, 104, 118, 0.1);
  border-color: rgba(2, 104, 118, 0.22);
  color: var(--hkc-teal);
}

.hk-comp-donation-form .hk-guest-checkout-recommendation__title {
  margin-top: 0;
  color: var(--hkc-teal-dark);
  font-size: 18px;
  font-weight: 800;
}

.hk-comp-donation-form .hk-guest-checkout-recommendation__cta--primary {
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--hkc-teal);
  border-color: var(--hkc-teal);
  box-shadow: 0 12px 24px rgba(2, 104, 118, 0.16);
  color: #ffffff !important;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.hk-comp-donation-form .hk-guest-checkout-recommendation__cta--primary::after {
  content: none;
}

.hk-comp-donation-form__trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 18px;
}

.hk-comp-donation-form__trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(2, 104, 118, 0.08);
  border: 1px solid rgba(2, 104, 118, 0.12);
  color: var(--hkc-teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.hk-comp-donation-form__summary-card {
  width: min(100%, 540px);
  margin: 0 auto;
}

.hk-comp-donation-form__summary {
  display: grid;
  gap: 12px;
}

.hk-comp-donation-form__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 18px;
  border: 1px solid #e8f0f1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(1, 60, 68, 0.04);
}

.hk-comp-donation-form__summary-row span {
  color: var(--hkc-ink-muted);
  font-size: 15px;
}

.hk-comp-donation-form__summary-row strong {
  color: var(--hkc-ink);
  font-size: 16px;
  font-weight: 700;
}

.hk-comp-donation-form__summary-row--total {
  padding: 18px 20px;
  border-color: rgba(2, 104, 118, 0.14);
  background: linear-gradient(180deg, #f6fbfb 0%, var(--hkc-teal-mist) 100%);
}

.hk-comp-donation-form__summary-row--total span {
  color: var(--hkc-teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hk-comp-donation-form__summary-row--total strong {
  color: var(--hkc-teal-deep);
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hk-comp-donation-form__secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  margin: 22px auto 0;
  color: var(--hkc-ink-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.hk-comp-donation-form__secure-note .hk-comp-donation__inline-icon {
  color: var(--hkc-teal);
}

.hk-comp-donation__inline-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--hkc-ink-subtle);
}

.hk-comp-donation-form__actions {
  display: flex;
  justify-content: center;
  padding: 20px 24px 28px;
}

.hk-comp-donation__card-footer {
  border-top: 1px solid #eef2f2;
  background: #fafcfc;
}

.hk-comp-donation__steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px 8px;
}

.hk-comp-donation__step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dbe6e8;
  transition: transform 160ms ease, background-color 160ms ease;
}

.hk-comp-donation__step-dot.is-active {
  background: var(--hkc-teal);
  transform: scale(1.1);
}

.hk-comp-donation__secure-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px 16px;
  color: var(--hkc-ink-subtle);
  font-size: 13.5px;
}

.hk-comp-donation__footer {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.hk-comp-donation__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hk-comp-donation__footer-link:hover,
.hk-comp-donation__footer-link:focus-visible {
  text-decoration: underline;
}

/* ═══ RESPONSIVE ═══════════════════════════════════════════════ */

@media (max-width: 781px) {
  .hkc-hero { padding: 60px 18px 92px; }
  .hkc-sections { padding: 24px 16px 8px; gap: 48px; }
  .hkc-grid { grid-template-columns: 1fr; }
  .hkc-activities { padding: 36px 16px 8px; }
  .hkc-help { padding: 0 16px; }
  .hkc-help__inner { padding: 34px 22px; }

  .hk-comp-donation { padding: 20px 12px 120px; }
  .hk-comp-donation-form__panel-content { padding: 22px 18px 16px; }
  .hk-comp-donation-form__topbar { padding: 18px 16px 16px; }
  .hk-comp-donation-form__grid { grid-template-columns: 1fr; }
  .hk-comp-donation-form__amount-input { min-height: 96px; font-size: 52px !important; padding-left: 18px !important; padding-right: 62px !important; }
  .hk-comp-donation-form__amount-grid { width: 100%; }
  .hk-comp-donation-form__amount-preset { min-height: 64px; font-size: 22px; }
  .hk-comp-donation-form__checkout-peek { flex-direction: column; align-items: flex-start; }
  .hk-comp-donation-form__checkout-peek-meta { text-align: left; }
  .hk-comp-btn { width: 100%; min-width: 0; }
  .hk-comp-donation-form__summary-row { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 520px) {
  .hkc-etim__formula { gap: 6px 10px; }
  .hkc-tabs {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    border-radius: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hkc-tabs::-webkit-scrollbar { display: none; }
  .hkc-tab { padding: 10px 18px; flex: 0 0 auto; }
  .hkc-amount { min-width: 52px; font-size: 15px; }
  .hk-comp-donation__title { font-size: 34px; }
  .hk-comp-donation-form__amount-grid { grid-template-columns: 1fr; }
  .hk-comp-donation-form__field select {
    padding-right: 40px !important;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
  }
}
