/* El Gólgota del Reencuentro — hoja de estilo única.
   Paleta: arena del desierto, arcilla y tinta cálida; la noche solo para la campaña de Navidad. */

@import url("tipografias/_fraunces.css");
@import url("tipografias/_manrope.css");

:root {
  --arena: #f8f2e7;
  --arena-hondo: #eee2cf;
  --arena-clara: #fdf9f2;
  --tinta: #241c16;
  --tinta-suave: #5c4f44;
  --tinta-tenue: #8a7a6b;
  --arcilla: #b0522f;
  --arcilla-hondo: #7f3a20;
  --oro: #c9973f;
  --olivo: #4f6144;
  --noche: #14172a;
  --noche-media: #1e2340;
  --noche-alta: #2c3360;
  --linea: rgba(36, 28, 22, 0.14);
  --linea-tenue: rgba(36, 28, 22, 0.08);
  --sombra: 0 18px 40px -22px rgba(36, 28, 22, 0.45);
  --sombra-suave: 0 10px 26px -18px rgba(36, 28, 22, 0.4);
  --radio: 14px;
  --ancho: 1160px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --texto: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--arena);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--arcilla-hondo); text-decoration: none; }
a:hover { color: var(--arcilla); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--tinta);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.1em; }

.envoltorio { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.envoltorio-angosto { width: min(100% - 40px, 760px); margin-inline: auto; }

.antetitulo {
  font-family: var(--texto);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--arcilla);
  margin: 0 0 1rem;
}
.antetitulo-claro { color: var(--oro); }

.entradilla { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--tinta-suave); }
.centrado { text-align: center; }
.centrado .entradilla { margin-inline: auto; max-width: 62ch; }

/* ------------------------------------------------------------------ botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--arcilla);
  color: #fff8ef;
  font-family: var(--texto);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  text-align: center;
}
.boton:hover { background: var(--arcilla-hondo); color: #fff8ef; transform: translateY(-1px); box-shadow: var(--sombra-suave); }
.boton:active { transform: translateY(0); }
.boton-fantasma { background: transparent; border-color: currentColor; color: var(--tinta); }
.boton-fantasma:hover { background: rgba(36, 28, 22, .06); color: var(--tinta); }
.boton-claro { background: var(--arena-clara); color: var(--tinta); }
.boton-claro:hover { background: #fff; color: var(--tinta); }
.boton-oro { background: var(--oro); color: #241a09; }
.boton-oro:hover { background: #e0ac55; color: #241a09; }
.boton-borde-claro { background: transparent; border-color: rgba(255, 248, 239, .45); color: #fff8ef; }
.boton-borde-claro:hover { background: rgba(255, 248, 239, .12); color: #fff; }
.boton-chico { padding: .62rem 1.15rem; font-size: .87rem; }
.boton-grande { padding: 1.1rem 2.1rem; font-size: 1.02rem; }
.boton-bloque { width: 100%; }
.boton[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.acciones { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* --------------------------------------------------------------------- barra */
.barra {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 242, 231, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linea-tenue);
}
.barra-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 0;
}
.marca { display: flex; align-items: center; gap: .7rem; color: var(--tinta); }
.marca:hover { color: var(--tinta); }
/* El emblema mide 240×190: se fija el ancho y el alto sale de la proporción, sin deformarlo. */
.marca-icono { width: 34px; height: auto; aspect-ratio: 240 / 190; object-fit: contain; flex: 0 0 auto; }
.marca-texto { font-family: var(--display); font-size: 1.02rem; line-height: 1.1; letter-spacing: .01em; }
.marca-texto b { display: block; font-weight: 500; }
.marca-texto small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-tenue); font-family: var(--texto); margin-top: .15rem; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--tinta-suave);
  padding: .3rem 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--tinta); border-bottom-color: var(--arcilla); }
.nav a.activo { color: var(--tinta); border-bottom-color: var(--arcilla); }
.nav .boton { color: #fff8ef; }

.menu-boton {
  display: none;
  background: none;
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: .45rem .6rem;
  font-size: 1.1rem;
  color: var(--tinta);
  cursor: pointer;
}

/* --------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff8ef;
  overflow: hidden;
  background: #2a2320;
}
.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 42%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(175deg, rgba(16, 12, 9, .42) 0%, rgba(16, 12, 9, .2) 30%, rgba(16, 12, 9, .86) 100%),
    linear-gradient(270deg, rgba(16, 12, 9, .82) 0%, rgba(16, 12, 9, .45) 38%, transparent 72%);
}
.hero-int {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.4rem;
  width: min(100% - 40px, var(--ancho));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.hero-int > * { max-width: 52ch; }
.hero .acciones { justify-content: flex-end; }
.hero-nota {
  margin: 1.2rem 0 0;
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(255, 248, 239, .82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.hero-bajar {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 239, .5);
  color: #fff8ef;
  font-size: 1.1rem;
  opacity: .85;
}
.hero-bajar:hover { background: rgba(255, 248, 239, .16); color: #fff; }
.hero h1 { color: #fff8ef; max-width: 20ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero .antetitulo { color: #f0c477; text-shadow: 0 1px 14px rgba(0, 0, 0, .75); }
.hero .entradilla { color: rgba(255, 248, 239, .93); max-width: 56ch; text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.hero .acciones { margin-top: 1.8rem; }
.hero-pie {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  align-items: center;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 248, 239, .22);
  font-size: .84rem;
  color: rgba(255, 248, 239, .78);
}
.hero-pie b { display: block; color: #fff8ef; font-family: var(--display); font-size: 1.35rem; font-weight: 500; }

/* ----------------------------------------------------------------- franjas */
.franja-datos {
  background: var(--tinta);
  color: var(--arena);
}
.franja-datos-int {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(248, 242, 231, .16);
}
.franja-datos article { background: var(--tinta); padding: 1.7rem 1.4rem; }
.franja-datos b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 500; color: var(--oro); line-height: 1; margin-bottom: .5rem; }
.franja-datos span { font-size: .92rem; line-height: 1.4; color: rgba(248, 242, 231, .86); }

/* ---------------------------------------------------------------- secciones */
.seccion { padding: clamp(3.6rem, 7vw, 6rem) 0; }
.seccion-arena { background: var(--arena-clara); }
.seccion-hondo { background: var(--arena-hondo); }
.seccion-noche { background: var(--noche); color: rgba(255, 248, 239, .86); }
.seccion-noche h2, .seccion-noche h3 { color: #fff8ef; }
.seccion-noche .entradilla { color: rgba(255, 248, 239, .72); }

.cabecera-seccion { max-width: 70ch; margin-bottom: 2.8rem; }
.cabecera-seccion.centrado { margin-inline: auto; }

/* --------------------------------------------------------------- dos columnas */
.doble { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.doble-invertido { grid-template-columns: .95fr 1.05fr; }
.doble-invertido > .doble-foto { order: 2; }

.doble-foto { position: relative; border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); }
.doble-foto img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.doble-foto figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.3rem .95rem;
  font-size: .86rem;
  color: rgba(255, 248, 239, .95);
  background: linear-gradient(180deg, transparent, rgba(16, 12, 9, .88));
}

.cita {
  margin: 2rem 0;
  padding: 1.4rem 0 1.4rem 1.6rem;
  border-left: 3px solid var(--oro);
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--tinta-suave);
}
.cita cite { display: block; margin-top: .7rem; font-family: var(--texto); font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-tenue); }

/* ------------------------------------------------------------------- hitos */
.linea-tiempo { display: grid; gap: 0; border-left: 1px solid var(--linea); margin: 2rem 0 0; }
.hito { position: relative; padding: 0 0 2rem 1.8rem; }
.hito::before {
  content: "";
  position: absolute;
  left: -6px;
  top: .45rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--arcilla);
  box-shadow: 0 0 0 4px var(--arena);
}
.hito b { font-family: var(--display); font-size: 1.05rem; color: var(--arcilla); display: block; }
.hito h3 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.hito p { margin: 0; color: var(--tinta-suave); font-size: 1rem; line-height: 1.6; }

/* ------------------------------------------------------------------ valores */
.rejilla-valores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.valor { background: var(--arena-clara); border: 1px solid var(--linea-tenue); border-radius: var(--radio); padding: 1.5rem 1.4rem; }
.valor h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.valor p { margin: 0; font-size: .98rem; line-height: 1.6; color: var(--tinta-suave); }

/* --------------------------------------------------------------- estaciones */
.rejilla-estaciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.estacion { background: var(--arena-clara); padding: 1.8rem 1.6rem; }
.estacion-num { font-family: var(--display); font-size: 2.1rem; color: var(--arcilla); line-height: 1; display: block; margin-bottom: .7rem; }
.estacion h3 { margin-bottom: .2rem; font-size: 1.2rem; }
.estacion small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-tenue); margin-bottom: .7rem; }
.estacion p { margin: 0; font-size: .98rem; line-height: 1.62; color: var(--tinta-suave); }

/* ------------------------------------------------------------------ campañas */
.tarjeta-campana {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--tinta);
  color: #fff8ef;
  box-shadow: var(--sombra);
}
.tarjeta-campana-texto { padding: clamp(1.8rem, 4vw, 3.2rem); }
.tarjeta-campana-texto h2 { color: #fff8ef; }
.tarjeta-campana-texto .entradilla { color: rgba(255, 248, 239, .78); }
.tarjeta-campana-foto { position: relative; min-height: 280px; }
.tarjeta-campana-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tarjeta-campana-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tinta) 0%, rgba(36, 28, 22, .35) 45%, transparent 100%); }
.etiqueta-campana {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(201, 151, 63, .18);
  border: 1px solid rgba(201, 151, 63, .45);
  color: var(--oro);
  padding: .35rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* ------------------------------------------------------------------- navidad */
.banda-navidad {
  background: linear-gradient(135deg, var(--noche) 0%, var(--noche-media) 55%, var(--noche-alta) 100%);
  color: rgba(255, 248, 239, .88);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}
.banda-navidad h2 { color: #fff8ef; }
.banda-navidad .entradilla { color: rgba(255, 248, 239, .75); }
.banda-noche-foto { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.banda-noche-foto img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
.banda-noche-foto span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1rem .9rem;
  font-size: .84rem;
  color: rgba(255, 248, 239, .95);
  background: linear-gradient(transparent, rgba(8, 10, 20, .92));
}

/* ------------------------------------------------------------------ empresas */
.banda-empresas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  background: var(--arena-clara);
  border: 1px solid var(--linea);
  border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.lista-requisitos { display: grid; gap: .7rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.lista-requisitos li { position: relative; padding-left: 1.6rem; font-size: 1rem; line-height: 1.6; color: var(--tinta-suave); }
.lista-requisitos li::before { content: "✓"; position: absolute; left: 0; color: var(--olivo); font-weight: 700; }

/* ---------------------------------------------------------------- libro */
.rejilla-deseos { columns: 3; column-gap: 1.1rem; }
.deseo {
  break-inside: avoid;
  background: var(--arena-clara);
  border: 1px solid var(--linea-tenue);
  border-radius: 12px;
  padding: 1.3rem 1.3rem 1.1rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--sombra-suave);
}
.deseo p { font-family: var(--display); font-size: 1.06rem; line-height: 1.45; color: var(--tinta); }
.deseo footer { display: flex; justify-content: space-between; gap: .8rem; font-size: .78rem; color: var(--tinta-tenue); }
.deseo footer b { color: var(--tinta-suave); font-weight: 700; }

.formulario-deseo { background: var(--arena-clara); border: 1px solid var(--linea); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem); }

/* -------------------------------------------------------------------- forms */
.campo { margin-bottom: 1.1rem; }
.campo label { display: block; font-size: .84rem; font-weight: 700; letter-spacing: .02em; margin-bottom: .35rem; color: var(--tinta); }
.campo small { display: block; font-size: .78rem; color: var(--tinta-tenue); margin-top: .3rem; }
.campo input, .campo textarea, .campo select {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid rgba(36, 28, 22, .22);
  border-radius: 10px;
  background: #fffdf9;
  font-family: var(--texto);
  font-size: .96rem;
  color: var(--tinta);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo input:focus, .campo textarea:focus, .campo select:focus {
  outline: none;
  border-color: var(--arcilla);
  box-shadow: 0 0 0 3px rgba(176, 82, 47, .14);
}
.campo textarea { min-height: 130px; resize: vertical; }
.campo-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.campo-error input, .campo-error textarea, .campo-error select { border-color: #b3261e; background: #fff6f5; }
.campo-error .mensaje-error { color: #b3261e; font-size: .8rem; margin-top: .3rem; }

.opciones-monto { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.opcion-monto { position: relative; }
.opcion-monto input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion-monto span {
  display: block;
  text-align: center;
  padding: .85rem .4rem;
  border: 1px solid rgba(36, 28, 22, .2);
  border-radius: 10px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  background: #fffdf9;
  transition: all .15s ease;
}
.opcion-monto input:checked + span { background: var(--arcilla); border-color: var(--arcilla); color: #fff8ef; }
.opcion-monto input:focus-visible + span { box-shadow: 0 0 0 3px rgba(176, 82, 47, .2); }

.opciones-tipo { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.2rem; }
.opcion-tipo { position: relative; }
.opcion-tipo input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion-tipo span {
  display: block;
  padding: .95rem 1rem;
  border: 1px solid rgba(36, 28, 22, .2);
  border-radius: 12px;
  background: #fffdf9;
  cursor: pointer;
  transition: all .15s ease;
}
.opcion-tipo b { display: block; font-size: .98rem; }
.opcion-tipo small { color: var(--tinta-tenue); font-size: .8rem; }
.opcion-tipo input:checked + span { border-color: var(--arcilla); background: rgba(176, 82, 47, .07); box-shadow: inset 0 0 0 1px var(--arcilla); }

.aviso {
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: .92rem;
  margin-bottom: 1.3rem;
  background: rgba(79, 97, 68, .1);
  border: 1px solid rgba(79, 97, 68, .28);
  color: #33422c;
}
.aviso-error { background: rgba(179, 38, 30, .07); border-color: rgba(179, 38, 30, .3); color: #8d1f18; }
.aviso-neutro { background: var(--arena-hondo); border-color: var(--linea); color: var(--tinta-suave); }

/* ---------------------------------------------------------------- tarjetas */
.rejilla-tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rejilla-dos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.tarjeta { background: var(--arena-clara); border: 1px solid var(--linea-tenue); border-radius: var(--radio); padding: 1.6rem 1.5rem; }
.tarjeta h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.tarjeta p { margin: 0; font-size: 1rem; line-height: 1.62; color: var(--tinta-suave); }

/* --------------------------------------------------------------- galería */
.rejilla-galeria { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: .9rem; }
.galeria-item { position: relative; overflow: hidden; border-radius: 12px; background: var(--arena-hondo); cursor: zoom-in; margin: 0; height: 100%; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galeria-item:hover img { transform: scale(1.03); }
.galeria-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem;
  font-size: .76rem; color: rgba(255, 248, 239, .9);
  background: linear-gradient(transparent, rgba(20, 16, 12, .7));
  opacity: 0; transition: opacity .25s ease;
}
.galeria-item:hover figcaption { opacity: 1; }
.g-4 { grid-column: span 1; }
.g-6 { grid-column: span 2; }
.g-8 { grid-column: span 2; }
.g-12 { grid-column: span 3; }

.visor { position: fixed; inset: 0; z-index: 200; background: rgba(14, 11, 9, .94); display: none; padding: 3vh 3vw; }
.visor.abierto { display: grid; place-items: center; }
.visor img { max-width: 100%; max-height: 94vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.visor-cerrar { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; color: #fff8ef; font-size: 2rem; cursor: pointer; line-height: 1; }

/* ------------------------------------------------------- mapa y visitas */
.marco-mapa { border-radius: var(--radio); overflow: hidden; border: 1px solid var(--linea); box-shadow: var(--sombra-suave); }
.marco-mapa iframe { width: 100%; height: 380px; border: 0; display: block; }

.preguntas { border-top: 1px solid var(--linea); }
.pregunta { border-bottom: 1px solid var(--linea); padding: 1.1rem 0; }
.pregunta summary { cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: "+"; color: var(--arcilla); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.pregunta[open] summary::after { content: "–"; }
.pregunta p { margin: .7rem 0 0; color: var(--tinta-suave); font-size: .95rem; }

/* ------------------------------------------------------------ colaboradores */
.tira-colaboradores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 5vw, 4rem);
}
.colaborador { text-align: center; color: var(--tinta-suave); }
.colaborador img { margin: 0 auto .6rem; width: auto; filter: grayscale(1); opacity: .72; transition: all .3s ease; }
.colaborador:hover img { filter: none; opacity: 1; }
.colaborador b { display: block; font-size: .9rem; color: var(--tinta); }
.colaborador span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-tenue); }
.colaborador-claro { color: rgba(255, 248, 239, .7); }
.colaborador-claro b { color: #fff8ef; }
.colaborador-claro img { filter: grayscale(1) brightness(3); opacity: .8; }
.colaborador-claro:hover img { filter: brightness(3); opacity: 1; }

/* ------------------------------------------------------------------ pie */
.pie { background: var(--tinta); color: rgba(248, 242, 231, .74); padding: 3.4rem 0 2rem; font-size: .9rem; }
.pie h4 { color: #fff8ef; font-family: var(--display); font-weight: 500; font-size: 1.05rem; margin-bottom: .8rem; }
.pie a { color: rgba(248, 242, 231, .82); }
.pie a:hover { color: var(--oro); }
.pie-rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.pie-marca { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.pie-marca .marca-icono { filter: invert(1) brightness(1.6); }
.pie-marca b { color: #fff8ef; font-family: var(--display); font-weight: 500; }
.pie-legal { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(248, 242, 231, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; color: rgba(248, 242, 231, .55); }

/* ---------------------------------------------------------------- Navidad */
.navidad-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: var(--noche);
  color: #fff8ef;
  overflow: hidden;
  padding: 4rem 0;
}
.navidad-hero-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.85); }
.navidad-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 214, 140, .12), transparent 55%), linear-gradient(180deg, rgba(10, 12, 24, .7), rgba(10, 12, 24, .92));
}
.navidad-hero-int { position: relative; z-index: 2; }
.navidad-hero h1 { color: #fff8ef; font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 18ch; }
.navidad-hero .entradilla { color: rgba(255, 248, 239, .8); max-width: 54ch; }
.navidad-hero .antetitulo { color: var(--oro); }

.precio-sello {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  background: rgba(255, 248, 239, .08);
  border: 1px solid rgba(255, 248, 239, .22);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .92rem;
  color: rgba(255, 248, 239, .85);
}
.precio-sello b { font-family: var(--display); font-size: 1.25rem; color: var(--oro); font-weight: 500; }

.pasos-navidad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: paso; }
.paso-navidad { background: rgba(255, 248, 239, .05); border: 1px solid rgba(255, 248, 239, .16); border-radius: 14px; padding: 1.6rem 1.4rem; }
.paso-navidad b { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--oro); line-height: 1; margin-bottom: .7rem; font-weight: 500; }
.paso-navidad h3 { color: #fff8ef; font-size: 1.1rem; }
.paso-navidad p { margin: 0; font-size: .97rem; line-height: 1.6; color: rgba(255, 248, 239, .8); }

.promesa-vela {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
  background: rgba(255, 214, 140, .08);
  border: 1px solid rgba(201, 151, 63, .4);
  border-radius: 16px;
  padding: 1.4rem 1.6rem;
}
.promesa-vela .llama { font-size: 2.4rem; line-height: 1; }
.promesa-vela p { margin: 0; font-size: .98rem; color: rgba(255, 248, 239, .84); }
.promesa-vela b { color: var(--oro); }

.form-noche {
  background: rgba(255, 248, 239, .06);
  border: 1px solid rgba(255, 248, 239, .18);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.form-noche .campo label { color: rgba(255, 248, 239, .9); }
.form-noche .campo small { color: rgba(255, 248, 239, .55); }
.form-noche .campo input, .form-noche .campo textarea {
  background: rgba(255, 248, 239, .07);
  border-color: rgba(255, 248, 239, .22);
  color: #fff8ef;
}
.form-noche .campo input::placeholder, .form-noche .campo textarea::placeholder { color: rgba(255, 248, 239, .38); }
.form-noche .campo input:focus, .form-noche .campo textarea:focus { border-color: var(--oro); box-shadow: 0 0 0 3px rgba(201, 151, 63, .2); }
.form-noche .campo-error input, .form-noche .campo-error textarea { border-color: #ff8a7a; background: rgba(255, 138, 122, .08); }
.form-noche .campo-error .mensaje-error { color: #ffb4a8; }

/* ------------------------------------------------- el regalo que se enciende */
.luz-pantalla {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: #08090f;
  color: #fff8ef;
  overflow: hidden;
  padding: 3rem 0;
  cursor: pointer;
}
/* Dos versiones de la misma toma (a oscuras y encendida) que se cruzan al tocar la pantalla.
   La imagen se elige por orientación: vertical en el teléfono, ancha en el escritorio. */
.luz-capa {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 2.9s ease;
}
.luz-capa-noche { background-image: url("img/luz-noche-ancha.jpg"); opacity: 1; }
.luz-capa-dia { background-image: url("img/luz-dia-ancha.jpg"); opacity: 0; }
.luz-pantalla.iluminada .luz-capa-noche { opacity: 0; }
.luz-pantalla.iluminada .luz-capa-dia { opacity: 1; }

@media (max-width: 760px) {
  .luz-capa-noche { background-image: url("img/luz-noche-vertical.jpg"); }
  .luz-capa-dia { background-image: url("img/luz-dia-vertical.jpg"); }
}
.luz-velo {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 62%, rgba(255, 196, 110, .10), rgba(4, 5, 10, .82) 60%);
  transition: opacity 2.4s ease;
}
.luz-pantalla.iluminada .luz-velo {
  opacity: .34;
  background: linear-gradient(180deg, rgba(8, 6, 4, .62) 0%, rgba(8, 6, 4, .18) 40%, rgba(8, 6, 4, .72) 100%);
}
.luz-int { position: relative; z-index: 2; text-align: center; }
.luz-instruccion { font-size: .84rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 248, 239, .85); margin-bottom: 1.2rem; }
.luz-mensaje {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto 1.4rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.8s ease .9s, transform 1.8s ease .9s;
}
.luz-pantalla.iluminada .luz-mensaje { opacity: 1; transform: none; }
.luz-de { font-size: .95rem; color: rgba(255, 248, 239, .7); opacity: 0; transition: opacity 1.6s ease 1.6s; }
.luz-pantalla.iluminada .luz-de { opacity: 1; }
.luz-de b { color: var(--oro); }
.luz-firma { margin-top: 2.4rem; font-size: .84rem; line-height: 1.75; color: rgba(255, 248, 239, .88); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.luz-toque {
  display: inline-grid;
  place-items: center;
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 1px solid rgba(255, 248, 239, .4);
  margin: 0 auto 1.6rem;
  font-size: 1.9rem;
  animation: pulso 2.6s ease-in-out infinite;
  transition: opacity .6s ease;
}
.luz-pantalla.iluminada .luz-toque { opacity: 0; }
@keyframes pulso {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 140, .35); }
  50% { box-shadow: 0 0 0 18px rgba(255, 214, 140, 0); }
}
.luz-cuenta { margin-top: 2rem; font-size: .8rem; color: rgba(255, 248, 239, .5); }
.luz-cuenta b { color: var(--oro); }

.luz-boton {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 2.2rem auto 0;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 239, .55);
  background: rgba(255, 248, 239, .1);
  color: #fff8ef;
  font-family: var(--texto);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  animation: latido 3s ease-in-out infinite;
  transition: opacity .8s ease, background .2s ease;
}
.luz-boton:hover { background: rgba(255, 248, 239, .2); }
.luz-boton-icono { color: var(--oro); font-size: 1.1rem; }
.luz-pantalla.iluminada .luz-boton { opacity: 0; pointer-events: none; }

@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 140, .28); }
  50% { box-shadow: 0 0 0 16px rgba(255, 214, 140, 0); }
}

.luz-enlaces {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: center;
  align-items: center;
  font-size: .84rem;
  opacity: 0;
  transition: opacity 1.4s ease 2s;
}
.luz-pantalla.iluminada .luz-enlaces { opacity: 1; }
.luz-enlaces a { color: #fff8ef; border-bottom: 1px solid rgba(255, 248, 239, .55); }
.luz-enlaces a:hover { color: var(--oro); border-color: var(--oro); }
.luz-enlaces span { color: rgba(255, 248, 239, .3); }

body.pagina-luz { background: #08090f; }

.tarjeta-luz-lista { background: var(--arena-clara); border: 1px solid var(--linea); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.4rem); }
.campo-enlace { display: flex; gap: .6rem; margin: 1rem 0; }
.campo-enlace input { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .84rem; padding: .8rem; border-radius: 10px; border: 1px solid var(--linea); background: #fffdf9; color: var(--tinta); }

/* ------------------------------------------------------------------ panel */
.panel-barra { background: var(--tinta); color: var(--arena); padding: .9rem 0; }
.panel-barra .envoltorio { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-barra a { color: rgba(248, 242, 231, .8); font-size: .88rem; }
.panel-barra a:hover { color: var(--oro); }
/* "Salir" es un formulario POST: el botón se ve como los enlaces de la barra. */
.panel-barra .panel-salir { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: rgba(248, 242, 231, .8); cursor: pointer; }
.panel-barra .panel-salir:hover { color: var(--oro); }
.panel-barra b { font-family: var(--display); font-weight: 500; color: #fff8ef; }
.tablero { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.cifra { background: var(--arena-clara); border: 1px solid var(--linea-tenue); border-radius: 12px; padding: 1.2rem 1.3rem; }
.cifra b { display: block; font-family: var(--display); font-size: 2rem; font-weight: 500; color: var(--arcilla); line-height: 1; }
.cifra span { font-size: .8rem; color: var(--tinta-tenue); }
.tabla-envoltorio { overflow-x: auto; border: 1px solid var(--linea); border-radius: 12px; background: var(--arena-clara); }
table.tabla { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.tabla th { text-align: left; padding: .8rem .9rem; background: var(--arena-hondo); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tinta-suave); white-space: nowrap; }
table.tabla td { padding: .75rem .9rem; border-top: 1px solid var(--linea-tenue); vertical-align: top; }
table.tabla tr:hover td { background: rgba(176, 82, 47, .04); }
.pastilla { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: var(--arena-hondo); color: var(--tinta-suave); }
.pastilla-ok { background: rgba(79, 97, 68, .16); color: #33422c; }
.pastilla-pendiente { background: rgba(201, 151, 63, .2); color: #7a5518; }
.pastilla-error { background: rgba(179, 38, 30, .12); color: #8d1f18; }

.caja-entrar { max-width: 400px; margin: 12vh auto; background: var(--arena-clara); border: 1px solid var(--linea); border-radius: 16px; padding: 2rem; box-shadow: var(--sombra); }

/* ------------------------------------------------------------ utilidades */
.solo-lectores {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.salto-contenido { position: absolute; left: -999px; top: 0; background: var(--arcilla); color: #fff; padding: .7rem 1rem; z-index: 999; }
.salto-contenido:focus { left: 1rem; top: 1rem; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------- captación de recursos */
.seccion-donar {
  background:
    radial-gradient(120% 120% at 85% 0%, rgba(201, 151, 63, .18) 0%, transparent 55%),
    var(--tinta);
  color: #fff8ef;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.seccion-donar h2 { color: #fff8ef; }
.seccion-donar .entradilla { color: rgba(255, 248, 239, .82); }
.donar-rejilla {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.donar-panel {
  background: rgba(255, 248, 239, .07);
  border: 1px solid rgba(255, 248, 239, .2);
  border-radius: 18px;
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  backdrop-filter: blur(4px);
}
.donar-panel-titulo {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oro);
  margin: 0 0 .9rem;
  font-weight: 700;
}
.chips-monto { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.chip-monto {
  display: block;
  text-align: center;
  padding: .85rem .4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 239, .28);
  color: #fff8ef;
  transition: all .18s ease;
}
.chip-monto:hover { background: rgba(255, 248, 239, .14); color: #fff; border-color: var(--oro); }
.chip-monto b { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 500; color: var(--oro); line-height: 1.1; }
.chip-monto span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 248, 239, .7); }
.chip-monto em {
  display: block;
  margin-top: .5rem;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--oro);
}
.chip-monto:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8); }
.donar-impacto {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 1.2rem 0 0;
  border-top: 1px solid rgba(255, 248, 239, .16);
  display: grid;
  gap: .55rem;
  font-size: .92rem;
  color: rgba(255, 248, 239, .82);
}
.donar-impacto li { position: relative; padding-left: 1.4rem; line-height: 1.5; }
.donar-impacto li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--oro);
  font-weight: 700;
}
.nota-transparencia { font-size: .82rem; color: rgba(255, 248, 239, .6); margin: 1rem 0 0; }

.cierre-donar {
  background: linear-gradient(150deg, var(--arcilla-hondo) 0%, var(--arcilla) 70%, #c1633c 100%);
  color: #fff8ef;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0;
}
.cierre-donar h2 { color: #fff8ef; }
.cierre-donar .entradilla { color: rgba(255, 248, 239, .92); }

/* barra fija de aporte: aparece al bajar y se puede cerrar */
.barra-donar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(18, 14, 11, .97);
  border-top: 1px solid rgba(255, 248, 239, .18);
  color: #fff8ef;
  transform: translateY(115%);
  transition: transform .32s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .25);
}
.barra-donar.visible { transform: none; }
body.con-barra { padding-bottom: var(--alto-barra, 72px); }
.barra-donar-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
}
.barra-donar p { margin: 0; font-size: .9rem; line-height: 1.3; }
.barra-donar p b { display: block; }
.barra-donar p span { color: rgba(255, 248, 239, .7); font-size: .84rem; }
.barra-donar .acciones { gap: .5rem; flex-wrap: nowrap; }
.barra-donar-cerrar {
  background: none; border: 0; padding: 0 .3rem;
  color: rgba(255, 248, 239, .65); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.barra-donar-cerrar:hover { color: #fff; }

/* --------------------------------------------------------------- móvil */
@media (min-width: 761px) {
  .hero-foto { object-position: var(--pos-escritorio, 50% 45%); }
}

@media (max-width: 1000px) {
  .donar-rejilla { grid-template-columns: 1fr; }
  .rejilla-valores { grid-template-columns: repeat(2, 1fr); }
  .rejilla-estaciones { grid-template-columns: repeat(2, 1fr); }
  .rejilla-deseos { columns: 2; }
  .pie-rejilla { grid-template-columns: 1fr 1fr; }
  .tablero { grid-template-columns: repeat(2, 1fr); }
  .tarjeta-campana { grid-template-columns: 1fr; }
  .tarjeta-campana-foto { min-height: 220px; order: -1; }
  .tarjeta-campana-foto::after { background: linear-gradient(180deg, transparent 30%, var(--tinta) 100%); }
  .banda-navidad, .banda-empresas { grid-template-columns: 1fr; }
  .navidad-hero .doble, .doble { grid-template-columns: 1fr; }
  .doble-invertido > .doble-foto { order: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .franja-datos-int { grid-template-columns: 1fr 1fr; }
  .menu-boton { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--arena-clara);
    border-bottom: 1px solid var(--linea);
    padding: .6rem 1.2rem 1.2rem;
    box-shadow: var(--sombra-suave);
  }
  .nav.abierta { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--linea-tenue); }
  .nav .boton { margin-top: .8rem; }
  .barra { position: relative; }
  .rejilla-tres, .rejilla-dos, .pasos-navidad { grid-template-columns: 1fr; }
  .rejilla-estaciones { grid-template-columns: 1fr; }
  .rejilla-deseos { columns: 1; }
  .rejilla-galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g-4, .g-6, .g-8, .g-12 { grid-column: span 1; }
  .g-12 { grid-column: span 2; }
  .opciones-monto { grid-template-columns: 1fr 1fr; }
  .opciones-tipo { grid-template-columns: 1fr; }
  .campo-fila { grid-template-columns: 1fr; }
  .hero { min-height: 82vh; }
  .hero-int { align-items: flex-start; text-align: left; padding: 4rem 0 3.6rem; }
  .hero-int > * { max-width: none; }
  .hero .acciones { justify-content: flex-start; }
  .hero-bajar { display: none; }
  .hero-nota { font-size: .76rem; }
  .chips-monto { grid-template-columns: 1fr; }
  /* En el teléfono la barra lleva solo los dos botones: ocupa menos y no tapa el formulario. */
  .barra-donar p { display: none; }
  .barra-donar-int { padding: .5rem 0; }
  .barra-donar .acciones { width: 100%; justify-content: space-between; gap: .5rem; }
  .barra-donar .boton { flex: 1; }
  body.con-barra { padding-bottom: var(--alto-barra, 64px); }
  .hero-pie { gap: 1rem 1.6rem; }
  .pie-rejilla { grid-template-columns: 1fr; }
  .promesa-vela { grid-template-columns: 1fr; text-align: center; }
  .promesa-vela .llama { font-size: 2rem; }
  .luz-pantalla { cursor: pointer; }
  .marco-mapa iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .barra, .pie, .acciones, .menu-boton { display: none !important; }
  body { background: #fff; }
}

/* ====================================================== landing independiente */
/* El menú de esta página son dos cosas —el sitio oficial y Donar—: se ven siempre, también en
   el teléfono, así que no hay botón de hamburguesa ni panel desplegable. */
.barra-navidad .nav { gap: 1rem; }
.barra-navidad .nav .boton {
  padding: .55rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* El enlace al sitio oficial, como botón con borde: el mismo gesto que en el pie. */
.barra-navidad .nav a.boton-enlace {
  padding: .55rem 1.2rem;
  border: 1px solid rgba(36, 28, 22, .22);
  border-radius: 999px;
  background: transparent;
  color: var(--tinta-suave);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.barra-navidad .nav a.boton-enlace:hover {
  color: var(--tinta);
  border-color: var(--arcilla);
  background: rgba(176, 82, 47, .06);
}

/* Pie: una sola fila con el enlace al sitio y el botón Donar. */
.pie-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
  justify-content: space-between;
}
.pie-simple .pie-marca { margin-bottom: 0; }
.pie-bajada { margin: .1rem 0 0; font-size: .84rem; line-height: 1.5; color: rgba(248, 242, 231, .62); }

@media (max-width: 760px) {
  .barra-navidad .menu-boton { display: none; }
  .barra-navidad .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .55rem;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .barra-navidad .nav a { padding: 0; border-bottom: 1.5px solid transparent; font-size: .82rem; }
  .barra-navidad .nav a.boton-enlace {
    padding: .4rem .8rem;
    border: 1px solid rgba(36, 28, 22, .22);
    font-size: .78rem;
  }
  .barra-navidad .nav .boton { padding: .42rem .95rem; font-size: .8rem; }
  .barra-navidad .barra-int { gap: .6rem; }
  .barra-navidad .marca-icono { width: 28px; height: auto; }
  .barra-navidad .marca-texto { font-size: .9rem; }
  .barra-navidad .marca-texto small { font-size: .58rem; letter-spacing: .1em; }
  .pie-simple { flex-direction: column; align-items: flex-start; }
  .pie-simple .acciones { width: 100%; }
  .pie-simple .acciones .boton { flex: 1; text-align: center; }
}

/* ------------------------------------------- enviar el regalo (página del regalo) */
/* El enlace, "Copiar" y "Ver cómo se ve" en la misma fila; en el teléfono bajan debajo. */
.campo-enlace { flex-wrap: wrap; align-items: center; }
.campo-enlace input { flex: 1 1 260px; min-width: 0; }

.nota-envio { font-size: .9rem; color: var(--tinta-suave); margin: 0 0 1rem; max-width: 52ch; }

.acciones-dos { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start; }
.acciones-dos > .boton,
.acciones-dos > .programar > summary { min-height: 48px; }

.boton-whatsapp { background: var(--olivo); color: #fff8ef; }
.boton-whatsapp:hover { background: #3f5037; color: #fff; }
.icono { width: 18px; height: 18px; flex: 0 0 auto; }

/* "Programar mensaje (SMS)" se despliega en el lugar, sin salir de la página. */
.programar { display: inline-block; }
.programar summary { list-style: none; }
.programar summary::-webkit-details-marker { display: none; }
.programar summary::marker { content: ""; }
.programar summary::after { content: "▾"; font-size: .78rem; opacity: .65; }
.programar[open] { flex: 1 1 100%; }
.programar[open] summary::after { content: "▴"; }

.programar-panel {
  margin-top: .8rem;
  padding: 1.2rem 1.2rem 1rem;
  background: var(--arena);
  border: 1px solid var(--linea);
  border-radius: 14px;
  max-width: 560px;
}
.programar-panel .campo { margin-bottom: .8rem; }
.nota-programar { font-size: .78rem; color: var(--tinta-tenue); margin: .7rem 0 0; }

.programado-caja { margin-top: 1.4rem; }
.burbuja {
  background: #fffdf9;
  border: 1px solid var(--linea);
  border-left: 3px solid var(--olivo);
  border-radius: 4px 14px 14px 4px;
  padding: 1rem 1.1rem .8rem;
  margin: 0 0 .5rem;
}
.burbuja p { margin: 0 0 .5rem; font-size: .95rem; color: var(--tinta); }
.burbuja-firma { font-size: .75rem; color: var(--tinta-tenue); }

.texto-mensaje { font-size: .86rem; color: var(--tinta-suave); max-width: 38ch; margin: .4rem 0; }
details.mini summary { cursor: pointer; font-size: .82rem; color: var(--arcilla-hondo); }

.contador-panel {
  background: var(--arena-clara);
  border: 1px solid var(--linea);
  border-left: 3px solid var(--oro);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.6rem;
}

@media (max-width: 760px) {
  .acciones-dos { flex-direction: column; align-items: stretch; }
  .acciones-dos > .boton,
  .acciones-dos > .programar,
  .acciones-dos summary { width: 100%; }
  .programar-panel { padding: 1rem; }
}
