/* --- 14.1 Voluntariado --- */
/* ============================================================
   0. ACTIVIDADES DE VOLUNTARIADO
   ============================================================ */
.volunteer-activities {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 1.25rem;
  overflow: hidden;
  color: #e7f2f0;
  background: #0b121b;
}

.volunteer-activities::before {
  display: none;
}

.volunteer-activities__container { position: relative; z-index: 1; max-width: 1180px; }

.volunteer-activities__intro {
  display: grid;
  max-width: 810px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  gap: .75rem;
  text-align: center;
}

.volunteer-activities__intro .eyebrow,
.volunteer-activities__heading .eyebrow { margin: 0; color: var(--orange-light, #ff7a24); }

.volunteer-activities__intro h2 {
  margin: 0;
  color: #f4fbfa;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.95rem, 4.2vw, 3.3rem);
  font-weight: 500;
  line-height: 1.08;
}

.volunteer-activities__intro > p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: #bcd0ce;
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.7;
}

.volunteer-activities__heading {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.volunteer-activities__heading h3 {
  max-width: 620px;
  margin: 0;
  color: #f4fbfa;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: right;
}

.volunteer-activities__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.activity-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 198, 197, .26);
  border-radius: 1.6rem;
  background: rgba(20, 38, 47, .58);
  box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}

.activity-card:hover {
  border-color: rgba(255, 122, 36, .58);
  background: rgba(24, 48, 54, .72);
  transform: translateY(-5px);
}

.activity-card__media {
  position: relative;
  display: grid;
  min-height: 150px;
  place-content: center;
  gap: .35rem;
  overflow: hidden;
  color: rgba(220, 242, 239, .62);
  background: radial-gradient(circle at 50% 45%, rgba(121, 198, 197, .16), transparent 48%), rgba(121, 198, 197, .055);
  text-align: center;
}

.activity-card__media::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 0;
  left: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 36, .58), transparent);
}

.activity-card__icon {
  width: min(78%, 168px);
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #79c6c5;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .16));
  transition: transform .3s ease, stroke .3s ease;
}

.activity-card__icon-soft { stroke: rgba(121, 198, 197, .52); }
.activity-card__icon-accent { stroke: var(--orange-light, #ff7a24); }
.activity-card__icon-fill { fill: rgba(121, 198, 197, .075); }
.activity-card__icon-flame { fill: rgba(255, 122, 36, .11); }
.activity-card:hover .activity-card__icon { stroke: #9ce1dc; transform: translateY(-3px) scale(1.035); }

.activity-motion-bob {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: activityGardenBob 4.2s ease-in-out infinite;
}

.activity-motion-sway {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: activitySproutSway 3.4s ease-in-out infinite;
}

.activity-motion-sway--late { animation-delay: -1.45s; }
.activity-person { transform-box: fill-box; transform-origin: center bottom; animation: activityListening 4.8s ease-in-out infinite; }
.activity-person--elder { animation-delay: -2.4s; }
.activity-motion-flame { transform-box: fill-box; transform-origin: center bottom; animation: activityFlame 1.55s ease-in-out infinite; }
.activity-motion-sparks { animation: activitySparks 2.2s ease-out infinite; }
.activity-motion-person { transform-box: fill-box; transform-origin: center bottom; animation: activityPersonWork 4.6s ease-in-out infinite; }
.activity-motion-screen { animation: activityScreenGlow 3.2s ease-in-out infinite; }
.activity-motion-draw { stroke-dasharray: 44; stroke-dashoffset: 44; animation: activityDraw 4s ease-in-out infinite; }
.activity-motion-camera { transform-box: fill-box; transform-origin: center bottom; animation: activityCamera 5s ease-in-out infinite; }
.activity-motion-flash { fill: rgba(255, 122, 36, .16); animation: activityFlash 5s ease-out infinite; }

@keyframes activityGardenBob {
  0%, 100% { transform: translateX(-2px) rotate(-.5deg); }
  50% { transform: translateX(3px) rotate(.8deg); }
}

@keyframes activitySproutSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(3deg); }
}

@keyframes activityListening {
  0%, 100% { transform: rotate(-.7deg); }
  50% { transform: rotate(1.1deg); }
}

@keyframes activityFlame {
  0%, 100% { transform: scale(.96, 1); }
  50% { transform: scale(1.06, .92) translateY(1px); }
}

@keyframes activitySparks {
  0% { opacity: 0; transform: translateY(5px); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-9px); }
}

@keyframes activityPersonWork {
  0%, 100% { transform: rotate(-.6deg); }
  50% { transform: rotate(1deg) translateY(1px); }
}

@keyframes activityScreenGlow {
  0%, 100% { opacity: .82; }
  50% { opacity: 1; }
}

@keyframes activityDraw {
  0%, 18% { stroke-dashoffset: 44; opacity: .35; }
  55%, 82% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -44; opacity: .35; }
}

@keyframes activityCamera {
  0%, 72%, 100% { transform: translateY(0); }
  78% { transform: translateY(-2px) rotate(-1deg); }
}

@keyframes activityFlash {
  0%, 74%, 80%, 100% { opacity: 0; transform: scale(.35); }
  76% { opacity: 1; transform: scale(1.7); }
}

.activity-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card__copy { position: relative; padding: 1.5rem; }

.activity-card__number {
  position: absolute;
  top: 1.2rem;
  right: 1.3rem;
  margin: 0;
  color: rgba(121, 198, 197, .48);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.activity-card__copy h3 {
  max-width: calc(100% - 2.5rem);
  margin: 0 0 .7rem;
  color: #f4fbfa;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}

.activity-card__copy > p:last-child { margin: 0; color: #b9ccca; line-height: 1.65; }

.volunteer-activities__note {
  max-width: 920px;
  margin: 1.5rem auto 0;
  color: #9eb5b2;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

html[data-theme="day"] body.volunteer-page .volunteer-activities {
  color: #173b3a;
  background: rgba(255, 255, 255, .08);
}

html[data-theme="day"] body.volunteer-page .volunteer-activities__intro h2,
html[data-theme="day"] body.volunteer-page .volunteer-activities__heading h3,
html[data-theme="day"] body.volunteer-page .activity-card__copy h3 { color: #173b3a; }

html[data-theme="day"] body.volunteer-page .volunteer-activities__intro > p:not(.eyebrow),
html[data-theme="day"] body.volunteer-page .activity-card__copy > p:last-child,
html[data-theme="day"] body.volunteer-page .volunteer-activities__note { color: #365c59; }

html[data-theme="day"] body.volunteer-page .activity-card {
  border-color: rgba(22, 101, 52, .32);
  background: rgba(248, 253, 252, .54);
  box-shadow: 0 14px 34px rgba(29, 92, 88, .1);
}

html[data-theme="day"] body.volunteer-page .activity-card:hover {
  border-color: rgba(234, 88, 12, .58);
  background: rgba(248, 253, 252, .74);
}

html[data-theme="day"] body.volunteer-page .activity-card__media { color: rgba(23, 59, 58, .6); background: rgba(121, 198, 197, .12); }
html[data-theme="day"] body.volunteer-page .activity-card__icon { stroke: #176d69; filter: drop-shadow(0 8px 14px rgba(29, 92, 88, .12)); }
html[data-theme="day"] body.volunteer-page .activity-card__icon-soft { stroke: rgba(23, 109, 105, .5); }
html[data-theme="day"] body.volunteer-page .activity-card__icon-accent { stroke: #c94d12; }
html[data-theme="day"] body.volunteer-page .activity-card__icon-fill { fill: rgba(23, 109, 105, .065); }
html[data-theme="day"] body.volunteer-page .activity-card__icon-flame { fill: rgba(201, 77, 18, .1); }

@media (max-width: 820px) {
  .volunteer-activities__heading { display: grid; align-items: start; }
  .volunteer-activities__heading h3 { text-align: left; }
  .volunteer-activities__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .activity-card { grid-template-columns: minmax(140px, .55fr) minmax(0, 1fr); }
  .activity-card__media { min-height: 220px; }
}

@media (max-width: 520px) {
  .volunteer-activities { padding: 3.75rem 1rem; }
  .volunteer-activities__intro { text-align: left; }
  .volunteer-activities__intro > p:not(.eyebrow) { margin-inline: 0; }
  .activity-card { grid-template-columns: 1fr; border-radius: 1.3rem; }
  .activity-card__media { min-height: 132px; }
  .activity-card__icon { width: min(72%, 146px); }
  .activity-card__copy { padding: 1.25rem; }
  .activity-card__number { top: 1rem; right: 1.1rem; }
  .volunteer-activities__note { margin-top: 1.25rem; text-align: left; }
}

@media (hover: none) {
  .activity-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .activity-card,
  .activity-card__icon { transition: none; }
  .activity-card:hover { transform: none; }
  .activity-card [class*="activity-motion-"] { animation: none !important; }
}

/* ============================================================
   1. PRECIOS Y MEMBRESÍAS DE VOLUNTARIADO
   ============================================================ */
.participation {
  --membership-night: #0b121b;
  --membership-raised: #111d29;
  --membership-featured: #13251f;
  --membership-copy: #e2e8f0;
  --membership-copy-soft: #b8c4ce;
  --membership-green-bright: #78d99a;
  position: relative;
  padding: 4rem 1.25rem;
  overflow: hidden;
  color: var(--membership-copy);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 50% 42%, rgba(22, 101, 52, .18), transparent 34rem), var(--membership-night);
}

.participation > .particles-canvas,
.volunteer-experiences > .particles-canvas { z-index: 0; }
.participation__container,
.volunteer-experiences > .container { position: relative; z-index: 1; }
.participation__container { max-width: 1100px; margin-inline: auto; }
.participation__heading { max-width: 760px; margin: 0 auto; text-align: center; }
.participation__eyebrow { margin: 0 0 .75rem; color: var(--orange, #ea580c); font-weight: 700; letter-spacing: .14em; }
.participation__heading h1 { max-width: 760px; margin: 0 auto; color: var(--membership-copy); font-family: 'Fraunces', Georgia, serif; font-size: clamp(2rem, 4.4vw, 3.6rem); font-style: italic; font-weight: 500; line-height: 1.08; text-wrap: balance; }
.participation__heading > p:last-child { max-width: 68ch; margin: 1rem auto 0; color: var(--membership-copy-soft); font-size: clamp(.98rem, 1.35vw, 1.08rem); line-height: 1.65; }

/* Estilos de los controles deslizables de periodicidad y moneda */
.membership-controls { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0 2.5rem; }
.membership-switch { display: flex; min-width: 0; margin: 0; padding: .25rem; border: 1px solid rgba(255, 122, 36, .72); border-radius: 999px; background: rgba(17, 29, 41, .9); }
.membership-switch legend { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.membership-switch__option { position: relative; cursor: pointer; }
.membership-switch__option input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.membership-switch__option span { display: flex; min-height: 44px; padding: .65rem 1rem; align-items: center; justify-content: center; color: var(--membership-copy-soft); border: 1px solid transparent; border-radius: 999px; line-height: 1.15; white-space: nowrap; transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.membership-switch__option small { font: inherit; }
/* CAMBIO: el borde naranja identifica con claridad la opción de precio seleccionada. */
.membership-switch__option input:checked + span { color: #f6fff8; border-color: var(--orange-light, #ff7a24); background: var(--green, #166534); box-shadow: 0 0 22px rgba(255, 122, 36, .2); }
.membership-switch__option input:focus-visible + span { outline: 3px solid var(--orange-light, #ff7a24); outline-offset: 2px; }

/* 2. Estilos de las tarjetas de membresía */
.participation .membership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1.5vw, 1rem); align-items: stretch; max-width: none; margin-inline: 0; }
.membership-card { position: relative; display: flex; min-width: 0; min-height: 0; padding: 1.5rem; flex-direction: column; color: var(--membership-copy); border: 1px solid rgba(226, 232, 240, .13); border-radius: 1.3rem; background: rgba(17, 29, 41, .96); box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .25); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }

/* Reserva para el futuro icono de cada plan */
/* Contenedor del icono limpio para imágenes PNG transparentes */
.membership-card__icon-slot {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  place-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.membership-card__icon-slot svg,
.membership-card__icon-slot img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.membership-card__heading { min-height: 0; text-align: left; }
.membership-card__heading h2 { margin: 0; color: var(--membership-copy); font-family: 'Fraunces', Georgia, serif; font-size: 1.7rem; font-weight: 500; line-height: 1.25; }
.membership-card__heading p { min-height: 3.2rem; margin: .5rem 0 1rem; color: var(--membership-copy-soft); line-height: 1.45; }
.membership-card__price { display: block; min-height: 0; margin: 0 0 1.1rem; color: var(--membership-green-bright); text-align: left; }
.membership-card__price strong { font-family: 'DM Sans', Arial, sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.membership-card__price > span { display: none; }
.membership-card__price small { margin-left: .25rem; color: var(--membership-copy-soft); font-size: .88rem; font-weight: 400; }
.membership-card__includes { flex: 1; padding: 1.15rem 0 0; border-top: 1px solid rgba(226, 232, 240, .11); border-radius: .35rem; transform-origin: center; transition: transform .22s ease, background-color .22s ease; }
.membership-card__includes h3 { margin: 0 0 .7rem; color: var(--membership-copy); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.membership-card__includes ul { margin: 0 0 1.5rem; padding: 0; color: var(--membership-copy-soft); list-style: none; }
.membership-card__includes li { display: flex; gap: .6rem; margin: .75rem 0; line-height: 1.4; }
.membership-card__includes li::before { content: "✦"; color: var(--membership-green-bright); }
.membership-card__includes:hover,
.membership-card__includes:focus { background: rgba(120, 217, 154, .035); outline: none; transform: scale(1.025); }
.membership-card__includes:focus-visible { box-shadow: 0 0 0 2px rgba(255, 122, 36, .45); }
.membership-card__button { display: block; width: 100%; min-height: 46px; margin-top: auto; padding: .82rem 1rem; color: #fff; border: 1px solid var(--orange, #ea580c); border-radius: .8rem; background: var(--orange, #ea580c); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; }
.membership-card__button:hover { border-color: var(--orange-light, #ff7a24); background: var(--orange-light, #ff7a24); }
.membership-card__button:focus-visible { outline: 3px solid var(--orange-light, #ff7a24); outline-offset: 3px; }
.membership-card__button:hover,
.membership-card__button:focus-visible,
.membership-card__button:active { animation: membershipButtonBounce .45s ease; }
.membership-note { max-width: 820px; margin: 1.5rem auto 0; color: var(--membership-copy-soft); text-align: center; }

.membership-card:hover,
.membership-card:focus-within { z-index: 3; border-color: var(--orange, #ea580c); background: linear-gradient(180deg, var(--membership-featured), var(--membership-raised)); box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, .45), 0 0 42px rgba(120, 217, 154, .2); transform: translateY(-.8rem) scale(1.018); }

@keyframes membershipButtonBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(1px); } }

/* 4. Reglas responsive: tres columnas en tablet y una en celular */
@media (max-width: 900px) and (min-width: 621px) {
  .participation { padding-inline: .75rem; }
  .membership-card { padding: 1.1rem .9rem; }
  .membership-card__icon-slot { width: 68px; height: 68px; margin-bottom: .9rem; }
  .membership-card__icon-slot svg,
  .membership-card__icon-slot img { width: 32px; height: 32px; }
  .membership-card__heading h2 { font-size: 1.4rem; }
  .membership-card__heading p { min-height: 4.4rem; font-size: .88rem; }
  .membership-card__price strong { font-size: clamp(1.45rem, 3.2vw, 2rem); }
  .membership-card__includes li { gap: .4rem; font-size: .86rem; }
  .membership-card__button { padding-inline: .55rem; font-size: .9rem; }
}

@media (max-width: 620px) {
  .participation .membership-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 1.25rem; }
  .membership-card:hover,
  .membership-card:focus-within { transform: translateY(-.25rem); }
  .membership-card__heading p { min-height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .membership-card,
  .membership-card__includes { transition: none; }
  .membership-card__button { animation: none; }
}


/* ============================================================
   2. EXPERIENCIAS DE VOLUNTARIADO
   ============================================================ */
/* El fondo estrellado reutiliza el mismo canvas irregular de Inicio. */
.volunteer-experiences { position: relative; overflow: hidden; }

/* Encabezado editorial y textos introductorios */
.volunteer-experiences__heading { max-width: 780px; margin-bottom: clamp(2.4rem,6vw,4rem); }
.volunteer-experiences__eyebrow { color: #ff6816; }
.volunteer-experiences__heading h2 { max-width: 760px; margin: 0 0 1rem; font-family: 'Fraunces',serif; font-size: clamp(1.9rem,3.8vw,3.15rem); font-style: italic; line-height: 1.1; text-wrap: balance; }
.volunteer-experiences__heading > p:last-child { max-width: 620px; color: #c7d1d4; font-size: 1.05rem; line-height: 1.65; }

/* Distribución de selectores a la izquierda y bitácora a la derecha */
.volunteer-experiences__layout { display: grid; grid-template-areas: "choices diary"; grid-template-columns: minmax(260px,.8fr) minmax(0,1.35fr); gap: clamp(1.5rem,4vw,4rem); align-items: center; }
.volunteer-experiences__choices { grid-area: choices; display: grid; gap: 1rem; }

/* Selector accesible y escalable de cada persona */
.volunteer-person { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 1rem; align-items: center; width: 100%; padding: .7rem; color: #f7f0e4; text-align: left; border: 1px solid #43616a; border-radius: 1.2rem; background: rgba(16,27,38,.86); cursor: pointer; transition: transform .25s ease,border-color .25s ease,background-color .25s ease; }
.volunteer-person:hover, .volunteer-person:focus-visible, .volunteer-person.is-active { border-color: #ff6816; background: #172937; transform: translateX(.45rem); }
.volunteer-person:focus-visible { outline: 3px solid rgba(255,104,22,.35); outline-offset: 3px; }

/* Foto circular con zoom suave y borde naranja interactivo */
.volunteer-person__portrait { width: 86px; height: 86px; overflow: hidden; border: 2px solid #087a42; border-radius: 50%; transition: border-color .25s ease; }
.volunteer-person__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.volunteer-person:hover .volunteer-person__portrait, .volunteer-person:focus-visible .volunteer-person__portrait, .volunteer-person.is-active .volunteer-person__portrait { border-color: #ff6816; }
.volunteer-person:hover img, .volunteer-person:focus-visible img, .volunteer-person.is-active img { transform: scale(1.1); }

/* Nombre, territorio y período de cada selector */
.volunteer-person__copy strong, .volunteer-person__copy small { display: block; }
.volunteer-person__copy strong { margin-bottom: .25rem; font-size: 1.06rem; }
.volunteer-person__copy small { color: #b7c6c8; font-size: .82rem; line-height: 1.4; }

/* Papel cálido de la bitácora con borde interior */
.volunteer-diary { grid-area: diary; position: relative; min-width: 0; min-height: 520px; padding: clamp(1.5rem,4vw,3.25rem); overflow: hidden; color: #273126; border: 1px solid rgba(255,255,255,.55); border-radius: 1.6rem; background: #f7f0e4; box-shadow: 0 2rem 5rem rgba(0,0,0,.42); }
.volunteer-diary::before { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(200,168,97,.5); border-radius: 1.15rem; pointer-events: none; }

/* Detalle orgánico verde de la bitácora */
.volunteer-diary__leaf { position: absolute; right: -14px; bottom: -24px; width: 180px; height: 180px; border: 22px solid rgba(23,132,71,.2); border-bottom: 0; border-left: 0; border-radius: 0 100% 0 0; transform: rotate(25deg); }

/* Panel activo y transición suave entre experiencias */
.volunteer-entry { position: relative; z-index: 1; animation: volunteerEntryAppear .35s ease both; }
.volunteer-entry[hidden] { display: none; }
.volunteer-entry__image { width: 100%; height: clamp(220px,30vw,310px); margin-bottom: 1.5rem; object-fit: cover; border-radius: 1rem; filter: saturate(.9) contrast(1.05); }
.volunteer-entry__tag { margin: 0; color: #d94f08; font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.volunteer-entry h3 { margin: .35rem 0 .8rem; color: #273126; font-family: 'Fraunces',serif; font-size: clamp(1.8rem,4vw,2.4rem); font-style: italic; line-height: 1.08; }
.volunteer-entry blockquote { max-width: 590px; margin: 0; color: #273126; font-family: 'Fraunces',serif; font-size: clamp(1.05rem,2vw,1.2rem); line-height: 1.65; }
.volunteer-entry blockquote::before { content: "“"; color: #087a42; font-size: 3rem; line-height: 0; vertical-align: -.75rem; }
.volunteer-experiences__note { margin: 1rem 0 0; color: #9babb1; font-size: .84rem; }

/* Animación breve de aparición de la bitácora seleccionada */
@keyframes volunteerEntryAppear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Orden móvil: bitácora activa primero y selectores debajo */
@media (max-width: 760px) {
  .volunteer-experiences__layout { grid-template-areas: "diary" "choices"; grid-template-columns: minmax(0,1fr); }
  .volunteer-experiences__choices { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }
  .volunteer-person { display: flex; min-width: 0; padding: .55rem .35rem; flex-direction: column; gap: .55rem; text-align: center; }
  .volunteer-person:hover, .volunteer-person:focus-visible, .volunteer-person.is-active { transform: translateY(-.25rem); }
  .volunteer-person__portrait { width: 64px; height: 64px; }
  .volunteer-person__copy small { display: none; }
  .volunteer-diary { min-height: 0; }
}

/* Ajuste para teléfonos especialmente angostos */
/* Ajuste exclusivo para celulares: miniaturas arriba y bitácora más compacta. */
@media (max-width: 600px) {
  .volunteer-experiences__heading {
    margin-bottom: 1.6rem;
  }

  .volunteer-experiences__layout {
    grid-template-areas: "choices" "diary";
    gap: 1rem;
  }

  .volunteer-experiences__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: .5rem;
    width: 100%;
  }

  .volunteer-person {
    padding: .4rem .25rem;
    gap: .35rem;
    border-radius: .9rem;
  }

  .volunteer-person__portrait {
    width: 52px;
    height: 52px;
  }

  .volunteer-person__copy strong {
    margin-bottom: 0;
    font-size: .85rem;
    line-height: 1.2;
  }

  .volunteer-diary {
    padding: 1.2rem;
    border-radius: 1.3rem;
  }

  .volunteer-diary::before {
    inset: 9px;
    border-radius: .95rem;
  }

  .volunteer-diary__leaf {
    right: -10px;
    bottom: -18px;
    width: 140px;
    height: 140px;
    border-width: 17px;
  }

  .volunteer-entry__image {
    width: 100%;
    height: 176px;
    margin-bottom: .9rem;
    object-fit: cover;
    border-radius: .8rem;
  }

  .volunteer-entry__tag {
    font-size: .65rem;
    letter-spacing: .09em;
  }

  .volunteer-entry h3 {
    margin: .25rem 0 .5rem;
    font-size: 1.44rem;
  }

  .volunteer-entry blockquote {
    font-size: 1rem;
    line-height: 1.45;
  }

  .volunteer-entry blockquote::before {
    font-size: 2.4rem;
    vertical-align: -.6rem;
  }

  .volunteer-experiences__note {
    margin-top: .7rem;
  }
}

@media (max-width: 390px) { .volunteer-person__portrait { width: 50px; height: 50px; } .volunteer-person__copy strong { font-size: .85rem; } }

/* Respeto de la preferencia del sistema para reducir movimiento */
@media (prefers-reduced-motion: reduce) { .volunteer-person, .volunteer-person__portrait, .volunteer-person__portrait img, .volunteer-entry { animation: none; transition: none; } }

/* ============================================================
   3. SECCIÓN SORTEO MENSUAL (Planeta y joya artesanal)
   ============================================================ */
.sweepstakes-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.sweepstakes-content { grid-column: 1; grid-row: 1; }
.sweepstakes-visual { grid-column: 2; grid-row: 1 / span 2; }
.sweepstakes-highlight { grid-column: 1; grid-row: 2; }

@media (max-width: 768px) {
  .sweepstakes-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.highlight-text {
  font-size: 1.1rem;
  color: var(--text);
  border-left: 4px solid #ea580c;
  padding-left: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .highlight-text {
    border-left: none;
    border-bottom: 4px solid #ea580c;
    padding-left: 0;
    padding-bottom: 1rem;
  }
}

/* Planeta editorial: el beneficio se entiende antes de leer el detalle. */
.sweepstakes-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 390px;
}

.planet-wrapper {
  position: relative;
  width: 210px;
  height: 210px;
}

.planet {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 28%, rgba(89, 184, 118, .82) 0 12%, transparent 13%),
    radial-gradient(ellipse at 67% 61%, rgba(39, 122, 76, .88) 0 17%, transparent 18%),
    radial-gradient(circle at 32% 27%, #2b7da1, #123f67 58%, #071a31 100%);
  box-shadow:
    inset -24px -22px 42px rgba(0, 0, 0, .58),
    inset 12px 10px 24px rgba(163, 230, 203, .14),
    0 0 34px rgba(52, 211, 153, .36);
  animation: floatPlanet 11.2s ease-in-out infinite;
}

.sweepstakes-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #eef3f7 !important;
  background: linear-gradient(180deg, #ffffff 0%, #d7dde2 38%, #929da5 68%, #f3f6f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 2.7vw, 2rem);
  font-style: italic;
  font-weight: 700;
  line-height: .98;
  text-align: center;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, .9));
}

.sweepstakes-title span {
  display: block;
  margin-bottom: .12rem;
  color: #dce3e8;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28em;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: none;
  -webkit-text-fill-color: #edf2f5;
}

.orbit {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 310px;
  height: 310px;
  margin-top: -155px;
  margin-left: -155px;
  border-radius: 50%;
  border: 1px dashed rgba(242, 153, 74, .48);
  animation: spinOrbit 30.8s linear infinite;
}

.sweepstakes-prize {
  position: absolute;
  top: -62px;
  left: 50%;
  display: flex;
  width: 112px;
  margin-left: -56px;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  animation: counterSpin 30.8s linear infinite, floatPrize 5.04s ease-in-out infinite;
}

.sweepstakes-prize img {
  display: block;
  width: 76px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 7px 10px rgba(0, 0, 0, .62));
}

.sweepstakes-prize span {
  position: relative;
  padding: .46rem .64rem .44rem 1.05rem;
  color: #392315;
  background:
    repeating-linear-gradient(0deg, rgba(95, 55, 28, .05) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, #f0d6aa, #c99b62);
  border: 0;
  border-radius: 2px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
  white-space: nowrap;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5));
  transform: rotate(-4deg);
}

.sweepstakes-prize span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 4px;
  height: 4px;
  background: #694326;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Keyframes */
@keyframes spinOrbit {
  100% { transform: rotate(360deg); }
}
@keyframes counterSpin {
  100% { transform: rotate(-360deg); }
}
@keyframes floatPlanet {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatPrize {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}
/* ============================================================
   AJUSTES PARA EL FONDO DE ESTRELLAS EN EL SORTEO
   ============================================================ */
.sweepstakes-section {
  background:
    radial-gradient(circle at 76% 42%, rgba(31, 109, 76, .14), transparent 30%),
    linear-gradient(135deg, #171d24, #0b121b) !important;
  border-radius: 0;
  padding: 4rem 2rem;
  margin: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  overflow: hidden;
  position: relative; /* Crucial para posicionar el canvas de estrellas */
}

/* Une visualmente el hero, las actividades y las membresías. */
.sweepstakes-section + .volunteer-activities { border-radius: 0; }
.volunteer-activities + .participation {
  border-radius: 0 0 1.5rem 1.5rem;
}

/* Se despliega suavemente desde el header cada vez que carga la página. */
.sweepstakes-section--intro {
  transform-origin: top center;
  animation: sweepstakesSectionReveal 1.15s cubic-bezier(.22, .78, .25, 1) both;
}

@keyframes sweepstakesSectionReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }
}

/* El lienzo (canvas) donde se dibujan las estrellas */
.sweepstakes-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* Evita que el fondo interfiera si el usuario toca la pantalla */
}

/* El contenedor del texto y el planeta debe estar por encima de las estrellas */
.sweepstakes-container {
  position: relative;
  z-index: 1;
}

.sweepstakes-content { max-width: 570px; }
.sweepstakes-text { max-width: 520px; font-size: clamp(1.05rem, 1.8vw, 1.22rem); line-height: 1.55; }

/* Ajustes de color de texto para el fondo oscuro espacial */
.sweepstakes-eyebrow {
  color: #34d399 !important; /* Verde claro brillante */
}

.sweepstakes-text {
  color: #f8fafc !important; /* Texto blanco/gris muy claro */
}

.sweepstakes-highlight {
  color: #f8fafc !important;
  border-left: 4px solid #bfc8cf !important;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .sweepstakes-section { padding: 3rem 1rem; }
  .sweepstakes-container { gap: 2rem; }
  .sweepstakes-content { max-width: 620px; margin-inline: auto; }
  .sweepstakes-text { margin-inline: auto; }
  .sweepstakes-content { grid-column: 1; grid-row: 1; }
  .sweepstakes-visual { grid-column: 1; grid-row: 2; min-height: 330px; }
  .sweepstakes-highlight { grid-column: 1; grid-row: 3; margin: 0 auto; }
  .planet-wrapper { width: 180px; height: 180px; }
  .orbit { width: 270px; height: 270px; margin-top: -135px; margin-left: -135px; }
  .sweepstakes-prize { top: -52px; width: 100px; margin-left: -50px; }
  .sweepstakes-prize img { width: 64px; height: 80px; }
  .sweepstakes-highlight {
    border-left: none !important;
    border-bottom: 4px solid #bfc8cf !important;
  }
}

@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
  .sweepstakes-section { padding-block: 2rem; }
  .sweepstakes-container { grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; }
  .sweepstakes-content { grid-column: 1; grid-row: 1; }
  .sweepstakes-highlight { grid-column: 1; grid-row: 2; border-left: 4px solid #bfc8cf !important; border-bottom: 0 !important; }
  .sweepstakes-visual { grid-column: 2; grid-row: 1 / span 2; min-height: 275px; }
  .planet-wrapper { width: 150px; height: 150px; }
  .orbit { width: 224px; height: 224px; margin-top: -112px; margin-left: -112px; }
  .sweepstakes-prize { top: -46px; width: 88px; margin-left: -44px; }
  .sweepstakes-prize img { width: 54px; height: 67px; }
  .sweepstakes-prize span { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .planet,
  .orbit,
  .sweepstakes-prize,
  .sweepstakes-section--intro { animation: none; }

  .sweepstakes-section--intro {
    opacity: 1;
    clip-path: none;
    transform: none;
  }
}

/* ============================================================
   4. HERO DE VOLUNTARIADO CON VIDEO DE FUEGO
   CAMBIO: distribuye el contenido conservado en tres zonas equilibradas:
   texto a la izquierda, premio al centro y llamada a la acción a la derecha.
   ============================================================ */
.volunteer-fire-hero.sweepstakes-section {
  min-height: min(88vh, 780px);
  padding: 0;
  border: 0;
  background: #090d14 !important;
}

/* El hero inicial se muestra de inmediato; el movimiento del fuego y la joya aporta la entrada visual. */
.volunteer-fire-hero.sweepstakes-section--intro {
  opacity: 1;
  clip-path: none;
  transform: none;
  animation: none;
}

.volunteer-fire-hero .page-fire-hero__video-wrap video {
  transition: none;
}

/* Oscurece los extremos para que el texto y el botón mantengan contraste sobre el fuego. */
.volunteer-fire-hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 12, 18, .86), rgba(7, 12, 18, .34) 38%, rgba(7, 12, 18, .3) 62%, rgba(7, 12, 18, .82)),
    linear-gradient(180deg, rgba(7, 12, 18, .26), rgba(7, 12, 18, .62) 72%, rgba(7, 12, 18, .96));
}

.volunteer-fire-hero .sweepstakes-container {
  display: grid;
  width: min(1560px, calc(100% - 80px));
  max-width: none;
  padding-block: clamp(7.5rem, 12vh, 9rem) clamp(5.5rem, 9vh, 7rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  text-align: left;
}

.volunteer-fire-hero .sweepstakes-content {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: 1.35rem;
  /* CAMBIO: transparencia inspirada en los controles de moneda y periodicidad. */
  background: rgba(17, 29, 41, .56);
  box-shadow:
    0 1.5rem 3.5rem rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
}

/* CAMBIO: acento cálido que vincula la tarjeta con el video de fuego. */
.volunteer-fire-hero .sweepstakes-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--orange-light), transparent 88%);
}

/* Organiza la lectura de la tarjeta en etiqueta, explicación y cierre cultural. */
.volunteer-fire-hero .sweepstakes-eyebrow {
  margin: 0 0 .85rem;
  font-size: clamp(.72rem, 1vw, .82rem);
  line-height: 1.45;
}

.volunteer-fire-hero .sweepstakes-text {
  margin: 0;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.6;
}

.volunteer-fire-hero .sweepstakes-visual {
  grid-column: 2;
  grid-row: 1;
  min-height: 390px;
}

.sweepstakes-action {
  position: relative;
  z-index: 7;
  grid-column: 3;
  grid-row: 1;
  display: flex;
  min-width: 0;
  min-height: 180px;
  overflow: visible;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.volunteer-fire-hero .volunteer-opening-cta-wrap {
  margin: 0;
  justify-content: center;
  transform: none;
}

.volunteer-fire-hero .sweepstakes-highlight {
  margin: clamp(1.35rem, 3vh, 1.8rem) 0 0;
  padding: 1.2rem 0 0;
  color: rgba(248, 250, 252, .82) !important;
  border-top: 1px solid rgba(191, 200, 207, .25);
  border-right: 0;
  border-bottom: 0 !important;
  border-left: 0 !important;
  font-size: clamp(.94rem, 1.25vw, 1.04rem);
  line-height: 1.6;
}

.volunteer-fire-hero .sweepstakes-highlight strong {
  color: var(--green-light);
}

/* En tablet la acción acompaña al texto y el planeta conserva una columna propia. */
@media (max-width: 1100px) {
  .volunteer-fire-hero .sweepstakes-container {
    width: min(960px, calc(100% - 48px));
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    gap: 2rem 3rem;
  }

  .volunteer-fire-hero .sweepstakes-content {
    grid-column: 1;
    grid-row: 1;
  }

  .volunteer-fire-hero .sweepstakes-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .volunteer-fire-hero .sweepstakes-action {
    grid-column: 1;
    grid-row: 2;
    min-height: 160px;
    justify-content: flex-start;
  }
}

/* CAMBIO responsive: en móvil las tres zonas se apilan sin perder contenido ni animación. */
@media (max-width: 768px) {
  .volunteer-fire-hero.sweepstakes-section {
    min-height: auto;
    overflow: hidden;
  }

  .volunteer-fire-hero .sweepstakes-container {
    width: min(100% - 32px, 620px);
    padding-block: 6.5rem 5.5rem;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .volunteer-fire-hero .sweepstakes-content,
  .volunteer-fire-hero .sweepstakes-visual,
  .volunteer-fire-hero .sweepstakes-action {
    grid-column: 1;
  }

  .volunteer-fire-hero .sweepstakes-content { grid-row: 1; }
  .volunteer-fire-hero .sweepstakes-visual { grid-row: 2; min-height: 330px; }
  .volunteer-fire-hero .sweepstakes-action { grid-row: 3; min-height: 145px; justify-content: center; }

  .volunteer-fire-hero .sweepstakes-highlight {
    margin-top: 2rem;
  }
}

/* Conserva una composición compacta en teléfonos usados horizontalmente. */
@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
  .volunteer-fire-hero .sweepstakes-container {
    width: min(920px, calc(100% - 48px));
    padding-block: 5rem 3rem;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    text-align: left;
  }

  .volunteer-fire-hero .sweepstakes-content { grid-column: 1; grid-row: 1; }
  .volunteer-fire-hero .sweepstakes-visual { grid-column: 2; grid-row: 1 / span 2; min-height: 260px; }
  .volunteer-fire-hero .sweepstakes-action { grid-column: 1; grid-row: 2; min-height: 124px; justify-content: flex-start; }
  .volunteer-fire-hero .sweepstakes-highlight { margin-top: 1rem; }
}

/* ============================================================
   5. ACCESO ANIMADO "MI RUKA"
   Variante reversible: conserva en el HTML las hojas del botón anterior.
   ============================================================ */
.volunteer-fire-hero .ruka-access.plant-cta {
  position: relative;
  display: grid;
  width: clamp(160px, 14vw, 190px);
  min-height: 150px;
  padding: 0 0 9px;
  place-items: center;
  color: #f7fbfa;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: filter .3s ease, transform .3s ease;
}

.volunteer-fire-hero .ruka-access.plant-cta:is(:hover, :focus-visible, .is-blooming) {
  padding: 0 0 9px;
  color: #fff;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 17px 23px rgba(0, 0, 0, .32));
  transform: translateY(-4px) scale(1.025);
}

.ruka-access:focus-visible { outline: 3px solid var(--orange-light, #ff7a24); outline-offset: 8px; }
.ruka-access .plant-cta__leaf { display: none; }

.ruka-access__scene {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: #79c6c5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, .22));
}

.ruka-access__ground { fill: transparent; stroke: rgba(121, 198, 197, .24); }
.ruka-access__home { transform-box: fill-box; transform-origin: center bottom; animation: rukaBreathe 5s ease-in-out infinite; }
.ruka-access__wall { fill: transparent; stroke: #79c6c5; }
.ruka-access__roof { fill: transparent; stroke: #f0b27d; }
.ruka-access__roof-line,
.ruka-access__side-line,
.ruka-access__door-line { display: none; }
.ruka-access__door { fill: transparent; stroke: #ff7a24; transition: fill .3s ease, filter .3s ease; }
.ruka-access__fire { transform-box: fill-box; transform-origin: center bottom; animation: rukaFire 1.45s ease-in-out infinite; }
.ruka-access__fire > path:first-child { fill: rgba(255, 122, 36, .72); stroke: #ff9b50; }
.ruka-access__ember { stroke: #ffd1aa; }
.ruka-access__smoke { stroke: rgba(218, 238, 235, .62); stroke-dasharray: 9 7; animation: rukaSmoke 3.8s linear infinite; }
.ruka-access__plants { transform-box: fill-box; transform-origin: center bottom; stroke: #78d99a; animation: rukaPlants 3.6s ease-in-out infinite; }

.ruka-access .plant-cta__label {
  position: absolute;
  right: 50%;
  bottom: 3px;
  z-index: 3;
  display: inline-flex;
  min-height: 34px;
  min-width: 106px;
  padding: .46rem .72rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 122, 36, .78);
  border-radius: 6px;
  background: rgba(10, 21, 27, .88);
  box-shadow: 0 7px 16px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(121, 198, 197, .08);
  font-size: .82rem;
  letter-spacing: .025em;
  transform: translateX(50%);
  transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.ruka-access .plant-cta__label::after { content: "→"; margin-left: .55rem; color: #79c6c5; transition: transform .25s ease; }
.ruka-access:is(:hover, :focus-visible, .is-blooming) .plant-cta__label { border-color: #ff9b50; background: rgba(20, 49, 47, .94); }
.ruka-access:is(:hover, :focus-visible, .is-blooming) .plant-cta__label::after { transform: translateX(4px); }
.ruka-access:is(:hover, :focus-visible, .is-blooming) .ruka-access__door { fill: rgba(255, 122, 36, .15); filter: drop-shadow(0 0 8px rgba(255, 122, 36, .65)); }

@keyframes rukaBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes rukaFire {
  0%, 100% { transform: scale(.93, 1); }
  50% { transform: scale(1.08, .9) translateY(1px); }
}

@keyframes rukaSmoke {
  from { stroke-dashoffset: 0; opacity: .38; transform: translateY(2px); }
  50% { opacity: .72; }
  to { stroke-dashoffset: -32; opacity: .2; transform: translateY(-5px); }
}

@keyframes rukaPlants {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1.5deg); }
}

@media (max-width: 768px) {
  .volunteer-fire-hero .ruka-access.plant-cta { width: min(156px, 54vw); min-height: 132px; }
}

@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
  .volunteer-fire-hero .ruka-access.plant-cta { width: 138px; min-height: 116px; }
  .ruka-access .plant-cta__label { min-height: 32px; min-width: 96px; padding: .38rem .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .volunteer-fire-hero .ruka-access.plant-cta,
  .ruka-access__home,
  .ruka-access__fire,
  .ruka-access__smoke,
  .ruka-access__plants { animation: none; transition: none; }
}

/* ============================================================
   5. PREGUNTAS PRÁCTICAS · CONVERSACIÓN CON UNA ÑAÑA
   El lenguaje visual nace de corteza, tinta y mosaico; no de tarjetas espaciales.
   ============================================================ */
.volunteer-faq {
  --volunteer-faq-bg: #0b121b;
  --volunteer-faq-ink: #edf6f3;
  --volunteer-faq-muted: #b9cbc8;
  --volunteer-faq-line: rgba(121, 198, 197, .28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.75rem, 8vw, 7.5rem) 1.25rem;
  color: var(--volunteer-faq-ink);
  border-top: 1px solid rgba(121, 198, 197, .16);
  background: var(--volunteer-faq-bg);
}

/* Vetas discretas e irregulares: textura de fondo, nunca protagonista. */
.volunteer-faq::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(93deg, transparent 0 7%, rgba(121, 198, 197, .19) 7.15%, transparent 7.45% 26%, rgba(255, 122, 36, .12) 26.2%, transparent 26.55% 61%, rgba(121, 198, 197, .14) 61.2%, transparent 61.5%),
    linear-gradient(87deg, transparent 0 38%, rgba(237, 246, 243, .08) 38.15%, transparent 38.4% 79%, rgba(121, 198, 197, .12) 79.2%, transparent 79.45%);
  background-position: 17px 0, 91px 0;
  background-size: 283px 100%, 419px 100%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.4), #000 22%, #000 78%, rgba(0,0,0,.35));
  mask-image: linear-gradient(90deg, rgba(0,0,0,.4), #000 22%, #000 78%, rgba(0,0,0,.35));
  pointer-events: none;
}

/* Franja rota como pequeñas piezas de un mosaico hecho a mano. */
.volunteer-faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  background: linear-gradient(90deg, #176d69 0 17%, #79c6c5 17% 31%, #d65818 31% 42%, #176d69 42% 68%, #ea7b34 68% 75%, #79c6c5 75% 100%);
  clip-path: polygon(0 15%, 7% 45%, 14% 12%, 23% 60%, 34% 25%, 42% 72%, 54% 18%, 65% 55%, 75% 20%, 88% 63%, 100% 18%, 100% 100%, 0 100%);
}

.volunteer-faq__container {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.volunteer-faq__heading {
  display: grid;
  max-width: 850px;
  margin-bottom: clamp(3.25rem, 6vw, 5rem);
  gap: .8rem;
}

.volunteer-faq__heading::after {
  content: "";
  width: min(100%, 520px);
  height: 7px;
  margin-top: .9rem;
  background: linear-gradient(90deg, #ff7a24 0 9%, transparent 9% 11%, #176d69 11% 32%, transparent 32% 34%, rgba(121, 198, 197, .72) 34% 71%, transparent 71%);
  clip-path: polygon(0 35%, 18% 5%, 34% 52%, 53% 17%, 72% 66%, 100% 22%, 100% 58%, 73% 100%, 53% 48%, 34% 88%, 18% 42%, 0 75%);
}

.volunteer-faq__heading .eyebrow { margin: 0; color: #ff7a24; }

.volunteer-faq__heading h2 {
  max-width: 790px;
  margin: 0;
  color: var(--volunteer-faq-ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.9rem, 3.8vw, 3.15rem);
  font-weight: 500;
  line-height: 1.02;
  text-wrap: balance;
}

.volunteer-faq__heading > p:not(.eyebrow) {
  max-width: 690px;
  margin: 0;
  color: var(--volunteer-faq-muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.72;
}

.volunteer-faq__layout {
  display: grid;
  grid-template-columns: minmax(260px, .76fr) minmax(0, 1.48fr);
  gap: clamp(2.25rem, 6vw, 6rem);
  align-items: start;
}

.volunteer-faq__guide {
  position: sticky;
  top: 108px;
  align-self: start;
  min-width: 0;
}

.volunteer-faq__portrait {
  position: relative;
  isolation: isolate;
  width: min(100%, 355px);
  margin-inline: auto;
  transition: transform .42s cubic-bezier(.2, .75, .28, 1), filter .42s ease;
}

.volunteer-faq__portrait::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 13% -2% 3% 4%;
  background:
    radial-gradient(ellipse at 47% 52%, rgba(121, 198, 197, .17) 0 38%, transparent 39%),
    linear-gradient(142deg, rgba(23, 109, 105, .2), rgba(255, 122, 36, .07));
  clip-path: polygon(8% 3%, 89% 0, 100% 17%, 96% 84%, 82% 100%, 9% 96%, 0 72%, 3% 19%);
}

.volunteer-faq__portrait-trace {
  position: absolute;
  z-index: -1;
  inset: 17% 1% 7% 7%;
  border: 1px solid rgba(121, 198, 197, .34);
  clip-path: polygon(5% 12%, 92% 0, 100% 28%, 93% 91%, 67% 100%, 8% 94%, 0 62%);
  transform: rotate(-1.4deg);
}

.volunteer-faq__portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 25px rgba(0, 0, 0, .28));
}

.volunteer-faq.has-open-answer .volunteer-faq__portrait {
  filter: saturate(1.04);
  transform: translateY(-3px) rotate(.18deg);
}

.volunteer-faq__guide-copy {
  position: relative;
  max-width: 330px;
  margin: -1.35rem auto 0;
  padding: 1rem 1.15rem 1.05rem 1.35rem;
  border-left: 3px solid #ff7a24;
  background: linear-gradient(100deg, rgba(21, 54, 55, .92), rgba(15, 29, 37, .82));
  clip-path: polygon(0 4%, 97% 0, 100% 84%, 94% 100%, 2% 96%);
}

.volunteer-faq__guide-name {
  margin: 0 0 .3rem;
  color: #8bd8cf;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.volunteer-faq__guide-status {
  margin: 0;
  color: #edf6f3;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.45;
}

.volunteer-faq__list {
  min-width: 0;
  border-top: 1px solid var(--volunteer-faq-line);
}

.volunteer-faq__item {
  position: relative;
  border-bottom: 1px solid var(--volunteer-faq-line);
}

.volunteer-faq__item::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 23%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 36, .72));
  clip-path: polygon(0 50%, 33% 0, 67% 100%, 100% 32%, 100% 100%, 0 100%);
  opacity: 0;
  transition: opacity .25s ease;
}

.volunteer-faq__item[open]::after { opacity: 1; }

.volunteer-faq__item summary {
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr) 2rem;
  min-height: 76px;
  padding: 1.1rem 0;
  align-items: center;
  gap: 1rem;
  color: var(--volunteer-faq-ink);
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  font-weight: 500;
  line-height: 1.32;
  list-style: none;
  cursor: pointer;
  transition: color .25s ease, padding-left .25s ease;
}

.volunteer-faq__item summary::-webkit-details-marker { display: none; }
.volunteer-faq__item summary::marker { content: ""; }

.volunteer-faq__item summary:hover,
.volunteer-faq__item[open] summary { color: #9cddd6; }

.volunteer-faq__item summary:focus-visible {
  outline: 2px solid #ff7a24;
  outline-offset: 5px;
}

.volunteer-faq__number {
  color: #ff7a24;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
}

.volunteer-faq__mark {
  position: relative;
  justify-self: end;
  width: 25px;
  height: 25px;
  transform: rotate(0);
  transition: transform .3s ease;
}

.volunteer-faq__mark::before,
.volunteer-faq__mark::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 3px;
  width: 19px;
  height: 2px;
  background: #79c6c5;
  transform: rotate(-3deg);
}

.volunteer-faq__mark::after { transform: rotate(87deg); }
.volunteer-faq__item[open] .volunteer-faq__mark { transform: rotate(45deg); }
.volunteer-faq__item[open] .volunteer-faq__mark::before,
.volunteer-faq__item[open] .volunteer-faq__mark::after { background: #ff7a24; }

.volunteer-faq__answer {
  position: relative;
  margin: 0 0 1.25rem 3.8rem;
  padding: 1.15rem 1.25rem 1.2rem 2rem;
  color: #c9d8d5;
  background: linear-gradient(105deg, rgba(23, 109, 105, .17), rgba(17, 32, 41, .45));
  clip-path: polygon(18px 0, calc(100% - 12px) 0, 100% 13px, 100% calc(100% - 9px), calc(100% - 15px) 100%, 18px 100%, 18px 42px, 0 30px, 18px 18px);
  animation: volunteerFaqAnswer .34s ease both;
}

.volunteer-faq__answer::before {
  content: "";
  position: absolute;
  top: 17px;
  bottom: 14px;
  left: 18px;
  width: 2px;
  background: linear-gradient(#ff7a24, rgba(121, 198, 197, .35));
}

.volunteer-faq__answer > span {
  display: block;
  margin-bottom: .32rem;
  color: #ff8b3d;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.volunteer-faq__answer p {
  max-width: 720px;
  margin: 0;
  color: inherit;
  line-height: 1.72;
}

.volunteer-faq__note {
  max-width: 760px;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0 auto;
  padding-top: 1rem;
  color: #9fb4b0;
  border-top: 1px dashed rgba(255, 122, 36, .38);
  font-size: .86rem;
  font-style: italic;
  line-height: 1.6;
}

@keyframes volunteerFaqAnswer {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* La versión diurna conserva el turquesa suave y el contraste del sitio. */
html[data-theme="day"] body.volunteer-page .volunteer-faq {
  --volunteer-faq-bg: #a9dcd8;
  --volunteer-faq-ink: #173b3a;
  --volunteer-faq-muted: #315a57;
  --volunteer-faq-line: rgba(23, 109, 105, .28);
  border-top-color: rgba(255, 255, 255, .34);
}

html[data-theme="day"] body.volunteer-page .volunteer-faq::before { opacity: .2; }
html[data-theme="day"] body.volunteer-page .volunteer-faq__item summary:hover,
html[data-theme="day"] body.volunteer-page .volunteer-faq__item[open] summary { color: #9d3f13; }

html[data-theme="day"] body.volunteer-page .volunteer-faq__portrait::before {
  background:
    radial-gradient(ellipse at 47% 52%, rgba(255, 255, 255, .26) 0 38%, transparent 39%),
    linear-gradient(142deg, rgba(23, 109, 105, .16), rgba(255, 122, 36, .08));
}

html[data-theme="day"] body.volunteer-page .volunteer-faq__guide-copy {
  background: linear-gradient(100deg, rgba(242, 252, 250, .82), rgba(219, 243, 239, .68));
}

html[data-theme="day"] body.volunteer-page .volunteer-faq__guide-name { color: #176d69; }
html[data-theme="day"] body.volunteer-page .volunteer-faq__guide-status { color: #173b3a; }

html[data-theme="day"] body.volunteer-page .volunteer-faq__answer {
  color: #315a57;
  background: linear-gradient(105deg, rgba(248, 253, 252, .66), rgba(232, 247, 244, .38));
}

html[data-theme="day"] body.volunteer-page .volunteer-faq__answer > span { color: #b84410; }
html[data-theme="day"] body.volunteer-page .volunteer-faq__note { color: #315a57; }

/* Tablet: la guía deja de ser fija y acompaña el inicio de las preguntas. */
@media (max-width: 920px) {
  .volunteer-faq__layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .volunteer-faq__guide {
    position: static;
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    max-width: 720px;
    margin-inline: auto;
    align-items: end;
  }
  .volunteer-faq__portrait { width: 100%; }
  .volunteer-faq__guide-copy { width: calc(100% + 1rem); margin: 0 0 1.6rem -1rem; }
}

/* Celular: conserva blancos respirables y objetivos táctiles amplios. */
@media (max-width: 600px) {
  .volunteer-faq { padding: 4rem 1rem; }
  .volunteer-faq__heading { margin-bottom: 2.5rem; }
  .volunteer-faq__heading h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .volunteer-faq__layout { gap: 2.5rem; }
  .volunteer-faq__guide { display: block; max-width: 330px; }
  .volunteer-faq__portrait { width: min(78vw, 255px); }
  .volunteer-faq__guide-copy { width: auto; margin: -1rem auto 0; }
  .volunteer-faq__item summary {
    grid-template-columns: 2.15rem minmax(0, 1fr) 1.65rem;
    min-height: 72px;
    padding-block: 1rem;
    gap: .65rem;
    font-size: 1.04rem;
  }
  .volunteer-faq__mark { width: 23px; height: 23px; }
  .volunteer-faq__answer { margin-left: 0; padding: 1rem 1rem 1.05rem 1.65rem; }
  .volunteer-faq__answer::before { left: 14px; }
  .volunteer-faq__note { margin-top: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .volunteer-faq__portrait,
  .volunteer-faq__mark,
  .volunteer-faq__item::after { transition: none; }
  .volunteer-faq__answer { animation: none; }
  .volunteer-faq.has-open-answer .volunteer-faq__portrait { transform: none; }
}
