/* Página completa de donaciones – shortcode [roka_pagina_donaciones]
   Todo está bajo .roka-page para que el tema no lo altere. */
html, body { overflow-x: clip; }

.roka-page {
  --red: #b91f24; --dark: #111; --gray: #8a8a8a; --soft: #f4f4f4;
  width: 100vw; position: relative; left: 50%; margin-left: -50vw; /* rompe el contenedor del tema: ancho completo */
  font-family: Montserrat, system-ui, sans-serif; color: var(--dark); background: #fff;
  line-height: 1.5; text-align: left;
}
.roka-page *, .roka-page *::before, .roka-page *::after { box-sizing: border-box; }
.roka-page img { max-width: 100%; display: block; }
.roka-page section { padding: 96px 20px; margin: 0; }
.roka-page .wrap { max-width: 1140px; margin: 0 auto; }
.roka-page .eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--red) !important; margin-bottom: 14px; }
.roka-page h1, .roka-page h2, .roka-page h3 { font-family: inherit; text-transform: none; }
.roka-page h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; margin: 0 0 16px; line-height: 1.1; color: var(--dark) !important; letter-spacing: 0; }
.roka-page h2 em { font-style: normal; color: var(--red); }
.roka-page p { margin: 0 0 16px; }
.roka-page .lead { font-size: 18px; line-height: 1.65; color: #555 !important; max-width: 700px; margin: 0 auto; }
.roka-page .center { text-align: center; }

/* Plantilla página completa */
body.roka-blank { margin: 0 !important; padding: 0 !important; background: #fff; }
html { scroll-behavior: smooth; }
.roka-page section[id] { scroll-margin-top: 70px; }

/* ENCABEZADO (logo + Donar) */
.roka-page .roka-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #eee; }
body.admin-bar .roka-page .roka-header { top: 32px; }
.roka-page .roka-header .nav { max-width: 1140px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.roka-page .roka-header .logo { width: 170px; height: auto; aspect-ratio: 2000 / 520; object-fit: cover; }
.roka-page .roka-header .donar { background: var(--red); color: #fff !important; padding: 11px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none !important; box-shadow: 0 8px 20px var(--bd-shadow, rgba(185, 31, 36, .35)); }

/* PIE */
.roka-page .roka-footer { background: #0d0d0d; color: #888; text-align: center; padding: 44px 20px; font-size: 14px; }
.roka-page .roka-footer .logo { width: 200px; height: auto; aspect-ratio: 2000 / 520; object-fit: cover; margin: 0 auto 14px; filter: invert(1) hue-rotate(180deg); }

.roka-page .btn { display: inline-block; padding: 19px 48px; background: var(--red); color: #fff !important; border-radius: 999px; font-weight: 800; font-size: 18px; text-decoration: none !important; box-shadow: 0 14px 34px var(--bd-shadow, rgba(185, 31, 36, .35)); transition: transform .15s; border: 2px solid var(--red); }
.roka-page .btn:hover { transform: translateY(-3px); }
.roka-page .btn-ghost { background: transparent; border-color: #fff; box-shadow: none; margin-left: 10px; }

/* PORTADA */
.roka-page .hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; text-align: center; background-size: cover; background-position: center; }
.roka-page .hero .wrap { width: 100%; }
.roka-page .hero .eyebrow { color: #fff !important; opacity: .85; }
.roka-page .hero h1 { font-size: clamp(42px, 8vw, 96px); font-weight: 900; line-height: 1; margin: 0 0 22px; letter-spacing: 1px; color: #fff !important; }
.roka-page .hero h1 span { color: var(--red); text-shadow: 0 0 40px var(--bd-shadow, rgba(185, 31, 36, .35)); }
.roka-page .hero p { font-size: clamp(17px, 2.2vw, 22px); font-weight: 300; max-width: 660px; margin: 0 auto 36px; line-height: 1.55; color: #fff !important; }
.roka-page .verse { margin-top: 44px; font-size: 15px; font-style: italic; opacity: .8; }
.roka-page .verse b { font-style: normal; }

/* POR QUÉ DONAR */
.roka-page .mision { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.roka-page .mision .photo { position: relative; }
.roka-page .mision .photo img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.roka-page .mision .badge { position: absolute; right: -18px; bottom: 32px; background: var(--red); color: #fff; padding: 20px 26px; border-radius: 18px; font-weight: 800; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.roka-page .mision .badge b { display: block; font-size: 34px; font-weight: 900; line-height: 1.1; }
.roka-page .mision p { font-size: 17px; line-height: 1.75; color: #444 !important; }

/* IMPACTO */
.roka-page .impacto { background: var(--soft); }
.roka-page .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.roka-page .stat { background: #fff; border-radius: 20px; padding: 36px 18px; text-align: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .05); border-bottom: 4px solid var(--red); }
.roka-page .stat b { display: block; font-size: 46px; font-weight: 900; color: var(--red); line-height: 1.1; }
.roka-page .stat span { font-size: 14px; color: #555; font-weight: 600; }
.roka-page .gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; margin-top: 48px; }
.roka-page .gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; }
.roka-page .gallery figure:first-child { grid-row: span 2; }
.roka-page .gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.roka-page .gallery figure:hover img { transform: scale(1.06); }
.roka-page .gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px; color: #fff; font-weight: 700; font-size: 15px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }

/* FORMULARIO */
.roka-page .donate { position: relative; color: #fff; background-size: cover; background-position: center; }
.roka-page .donate::before { content: ""; position: absolute; inset: 0; background: rgba(10, 10, 10, .88); }
.roka-page .donate .wrap { position: relative; }
.roka-page .donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.roka-page .donate h2 { color: #fff !important; }
.roka-page .donate p { color: #bbb !important; font-size: 17px; line-height: 1.65; }
.roka-page .steps { display: flex; gap: 14px; margin: 26px 0 30px; }
.roka-page .steps div { flex: 1; background: #1b1b1b; border: 1px solid #2a2a2a; border-radius: 16px; padding: 18px 14px; font-size: 14px; font-weight: 600; color: #ddd; }
.roka-page .steps b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 10px; font-size: 16px; }
.roka-page .uses { list-style: none; padding: 0; margin: 0; }
.roka-page .uses li { padding: 12px 0 12px 38px; position: relative; border-bottom: 1px solid #262626; font-weight: 600; color: #fff; margin: 0; list-style: none; }
.roka-page .uses li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 13px; color: #fff; }
.roka-page .donate .bolddon .bolddon__sub { color: #555 !important; font-size: 16px; }
.roka-page .donate .bolddon .bolddon__hint { color: #555 !important; font-size: 14px; }
.roka-page .donate .bolddon .bolddon__msg { color: #c0392b !important; font-size: 14px; margin: 10px 0 0; }

/* TESTIMONIO */
.roka-page .quote { max-width: 820px; margin: 0 auto; text-align: center; }
.roka-page .quote blockquote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.5; font-weight: 300; margin: 0 0 26px; padding: 0; border: 0; background: none; color: var(--dark); font-style: normal; }
.roka-page .quote blockquote::before { content: "“"; display: block; font-size: 90px; line-height: .6; color: var(--red); font-weight: 900; margin-top: 30px; }
.roka-page .quote cite { font-style: normal; font-weight: 800; }
.roka-page .quote cite span { display: block; font-weight: 400; color: var(--gray); font-size: 14px; margin-top: 4px; }

/* OTRAS FORMAS */
.roka-page .otros { background: var(--soft); }
.roka-page .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.roka-page .card { background: #fff; border-radius: 20px; padding: 32px; text-align: left; box-shadow: 0 8px 30px rgba(0, 0, 0, .05); }
.roka-page .card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bd-shadow, rgba(185, 31, 36, .35)); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.roka-page .card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; color: var(--dark) !important; }
.roka-page .card p { margin: 0; color: #666 !important; line-height: 1.65; font-size: 15px; }
.roka-page .card .breb { display: inline-block; margin: 8px 0; padding: 6px 14px; border-radius: 10px; background: var(--bd-shadow, rgba(185, 31, 36, .35)); color: var(--red); font-size: 18px; font-weight: 800; }
.roka-page .card-link { display: block; text-decoration: none !important; color: inherit; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.roka-page .card-link:hover { transform: translateY(-4px); border-color: var(--red); }
.roka-page .card-link h3 { color: var(--dark) !important; }
.roka-page .card-cta { display: inline-block; margin-top: 16px; background: var(--red); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 800; font-size: 14px; }

/* PREGUNTAS */
.roka-page details { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 22px 26px; margin: 0 auto 12px; max-width: 780px; text-align: left; }
.roka-page details[open] { border-color: var(--red); }
.roka-page summary { font-weight: 800; cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.roka-page summary::-webkit-details-marker { display: none; }
.roka-page summary::after { content: "+"; color: var(--red); font-size: 24px; line-height: 1; }
.roka-page details[open] summary::after { content: "–"; }
.roka-page details p { color: #555 !important; line-height: 1.65; margin: 12px 0 0; }

/* CTA FINAL */
.roka-page .final { background: var(--red); color: #fff; text-align: center; padding: 72px 20px; }
.roka-page .final h2 { color: #fff !important; }
.roka-page .final p { font-size: 18px; opacity: .9; margin: 0 0 30px; color: #fff !important; }
.roka-page .final .btn { background: #fff; color: var(--red) !important; border-color: #fff; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }

@media (max-width: 900px) {
  .roka-page section { padding: 68px 16px; }
  .roka-page .mision, .roka-page .donate-grid { grid-template-columns: 1fr; gap: 40px; }
  .roka-page .mision .badge { right: 12px; }
  .roka-page .stats { grid-template-columns: repeat(2, 1fr); }
  .roka-page .cards { grid-template-columns: 1fr; }
  .roka-page .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; }
  .roka-page .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .roka-page .btn-ghost { margin: 12px 0 0; }
}
@media (max-width: 782px) { body.admin-bar .roka-page .roka-header { top: 46px; } }
@media (max-width: 520px) { .roka-page .roka-header .logo { width: 130px; } .roka-page .steps { flex-direction: column; } .roka-page .stat b { font-size: 36px; } }
