/* Dame Veneno Eventos · web pública */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
  --negro: #151718; --superficie: #1E2124; --borde: #2E3236; --albariza: #F4F1EA;
  --suave: #A9ADB1; --verde: #3FD15A; --error: #FF9B8F;
  --titular: "Bricolage Grotesque", system-ui, sans-serif;
  --texto: "Manrope", system-ui, sans-serif;
  --radio-s: 6px; --radio-m: 12px; --radio-l: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--negro); color: var(--albariza); font-family: var(--texto); font-weight: 500; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--verde); }
a:hover { color: #6be27f; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titular); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
.suave { color: var(--suave); }

.saltar { position: absolute; left: -9999px; top: 8px; background: var(--verde); color: var(--negro); padding: 10px 16px; border-radius: var(--radio-m); font-weight: 800; z-index: 100; }
.saltar:focus { left: 16px; }
.contenedor { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.estrecho { max-width: 860px; }

/* Cabecera */
.cabecera { border-bottom: 1px solid var(--borde); position: sticky; top: 0; z-index: 50; background: rgba(21, 23, 24, 0.96); backdrop-filter: blur(6px); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 52px; width: auto; }
.logo { display: block; flex: none; }
.menu { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 15px; }
.menu a:not(.boton) { color: var(--albariza); text-decoration: none; padding: 8px 0; }
.menu a:not(.boton):hover, .menu a[aria-current="page"] { color: var(--verde); }
.menu-boton { display: none; background: transparent; border: 0; color: var(--albariza); width: 48px; height: 48px; border-radius: var(--radio-m); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .menu-boton { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--negro); border-bottom: 1px solid var(--borde); padding: 8px 24px 20px; }
  .menu.abierto { display: flex; }
  .menu a:not(.boton) { padding: 14px 0; border-bottom: 1px solid var(--borde); font-size: 17px; }
  .menu .boton { margin-top: 16px; justify-content: center; }
}

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radio-m); background: var(--verde); color: var(--negro); font-family: var(--texto); font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; }
.boton:hover { background: #5fe07a; color: var(--negro); }
.boton-borde { background: transparent; color: var(--albariza); box-shadow: inset 0 0 0 2px var(--suave); }
.boton-borde:hover { background: var(--superficie); color: var(--albariza); }
.boton-oscuro { background: var(--negro); color: var(--albariza); }
.boton-oscuro:hover { background: #2b2f33; color: var(--albariza); }
.botones { display: flex; flex-wrap: wrap; gap: 16px; }

/* Portada */
.portada { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.portada-texto { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.antetitulo { font-size: 13px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--verde); margin-bottom: 4px; }
.entradilla { color: var(--suave); font-size: 19px; max-width: 640px; }
.portada-imagen { flex: 1 1 300px; display: flex; justify-content: center; }
.bloque-verde { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; border-radius: var(--radio-l); background: var(--verde); display: flex; align-items: center; justify-content: center; }
.bloque-verde img { width: 78%; }
@media (max-width: 600px) { .bloque-verde { aspect-ratio: 1; max-width: 300px; } .portada { padding-top: 40px; gap: 32px; } }

/* Secciones */
.seccion { padding: 72px 0; }
.seccion > .contenedor, .seccion.contenedor { display: flex; flex-direction: column; gap: 32px; }
.borde-arriba { border-top: 1px solid var(--borde); }
.fondo-superficie { background: var(--superficie); }
.rejilla { display: grid; gap: 20px; }
.servicios { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tarjeta-servicio { background: var(--superficie); border-radius: var(--radio-m); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tarjeta-servicio p { color: var(--suave); font-size: 16px; }
.icono-verde { color: var(--verde); }
.pasos { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.pasos li { display: flex; flex-direction: column; gap: 10px; }
.pasos p { color: var(--suave); font-size: 16px; }
.numero { font-family: var(--titular); font-weight: 800; font-size: 48px; line-height: 1; color: var(--verde); }
.titulo-con-enlace { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.enlace-verde { color: var(--verde); font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.vacio { color: var(--suave); background: var(--superficie); border-radius: var(--radio-m); padding: 28px; }

/* Eventos */
.eventos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.evento { display: flex; flex-direction: column; gap: 12px; }
.evento-foto { display: block; aspect-ratio: 4 / 3; border-radius: var(--radio-m); overflow: hidden; background: var(--superficie); }
.evento-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.evento-foto:hover img { transform: scale(1.03); }
.sin-foto { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--suave); }
.evento h3 a { color: var(--albariza); text-decoration: none; }
.evento h3 a:hover { color: var(--verde); }
.evento-meta { color: var(--suave); font-size: 15px; }
.evento-meta.grande { font-size: 18px; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; }
.etiqueta { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radio-s); background: var(--borde); color: var(--albariza); }
.paginas { display: flex; flex-wrap: wrap; gap: 8px; }
.paginas a { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radio-m); background: var(--superficie); color: var(--albariza); text-decoration: none; font-weight: 800; }
.paginas a[aria-current="page"] { background: var(--verde); color: var(--negro); }
.migas a { color: var(--suave); font-weight: 700; text-decoration: none; }
.migas a::before { content: "← "; }
.texto-evento { max-width: 760px; color: var(--albariza); font-size: 18px; }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.galeria-foto { display: block; border-radius: var(--radio-m); overflow: hidden; background: var(--superficie); aspect-ratio: 4 / 3; }
.galeria-foto img { width: 100%; height: 100%; object-fit: cover; }
.galeria-foto.destacada { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.cta-final { margin-top: 8px; }

/* Visor de fotos */
.visor { position: fixed; inset: 0; z-index: 200; background: rgba(10, 11, 12, 0.94); display: flex; align-items: center; justify-content: center; padding: 56px 16px; }
.visor img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radio-s); }
.visor button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--superficie); color: var(--albariza); font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.visor .cerrar { top: 12px; right: 12px; }
.visor .anterior { left: 12px; top: 50%; transform: translateY(-50%); }
.visor .siguiente { right: 12px; top: 50%; transform: translateY(-50%); }

/* Banda clara */
.banda-clara { background: var(--albariza); color: var(--negro); }
.banda-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 64px; padding-bottom: 64px; }
.banda-fila > div { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.banda-fila p { color: #55585B; }

/* Formularios */
.dos-columnas { flex-direction: row !important; flex-wrap: wrap; gap: 48px !important; }
.columna-texto { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.columna-formulario { flex: 999 1 560px; min-width: 0; }
.contacto-email { display: flex; gap: 10px; align-items: center; font-weight: 700; color: var(--verde); overflow-wrap: anywhere; }
.contacto-email a { color: var(--albariza); }
.formulario { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.formulario label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.formulario input[type="text"], .formulario input[type="email"], .formulario input[type="tel"], .formulario input[type="date"], .formulario input[type="number"], .formulario input[type="password"], .formulario input[type="url"], .formulario select, .formulario textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radio-s); border: 1.5px solid var(--suave); background: var(--negro); color: var(--albariza); font: inherit; font-size: 16px; font-weight: 500;
}
.formulario textarea { min-height: 120px; resize: vertical; }
.formulario input[type="file"] { font: inherit; font-size: 15px; color: var(--suave); }
.formulario [aria-invalid="true"] { border-color: var(--error); }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { border-color: var(--verde); outline: none; box-shadow: 0 0 0 3px rgba(63, 209, 90, 0.35); }
.formulario fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.formulario legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.ancho-completo { grid-column: 1 / -1; }
.casillas { display: flex; flex-wrap: wrap; gap: 10px; }
.formulario .casilla { flex-direction: row; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--radio-s); box-shadow: inset 0 0 0 1.5px var(--suave); font-weight: 600; font-size: 15px; cursor: pointer; }
.casilla input, .consentimiento input { width: 20px; height: 20px; accent-color: var(--verde); flex: none; margin: 0; }
.consentimientos { display: flex; flex-direction: column; gap: 12px; }
.formulario .consentimiento { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 15px; }
.consentimiento input { margin-top: 2px; }
.campo-error { color: var(--error); font-size: 14px; font-weight: 700; }
.info-datos { padding: 16px 18px; border-radius: var(--radio-m); background: var(--superficie); font-size: 13px; line-height: 1.6; color: var(--suave); }
.info-datos strong { color: var(--albariza); }
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mensaje-ok, .mensaje-error { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radio-m); margin-bottom: 20px; }
.mensaje-ok { background: var(--superficie); box-shadow: inset 0 0 0 2px var(--verde); color: var(--albariza); }
.mensaje-ok svg { color: var(--verde); flex: none; }
.mensaje-error { background: var(--superficie); box-shadow: inset 0 0 0 2px var(--error); color: var(--albariza); }
.caja-formulario { background: transparent; }

/* Páginas legales */
.legal { gap: 18px !important; }
.legal h2 { font-size: 28px; margin-top: 16px; }
.legal h3 { font-size: 20px; margin-top: 4px; }
.legal p, .legal li { color: #D9D6CF; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.tabla-scroll { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px; border-bottom: 1px solid var(--borde); vertical-align: top; }
.legal th { color: var(--suave); font-weight: 700; }

/* Pie */
.pie { border-top: 1px solid var(--borde); margin-top: 24px; }
.pie-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.pie-datos { display: flex; flex-direction: column; gap: 14px; flex: 1 1 320px; }
.pie-datos img { height: 48px; width: auto; align-self: flex-start; }
.pie-datos p { color: var(--suave); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.pie-datos a { color: var(--suave); }
.pie-enlaces { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 700; flex: 0 1 220px; }
.pie-enlaces a { color: var(--albariza); text-decoration: none; }
.pie-enlaces a:hover { color: var(--verde); }
.pie-redes { display: flex; gap: 12px; align-items: flex-start; }
.pie-redes a { width: 44px; height: 44px; border-radius: var(--radio-m); background: var(--superficie); color: var(--albariza); display: flex; align-items: center; justify-content: center; }
.pie-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--suave); padding-bottom: 32px; }
.pie-legal a { color: var(--suave); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .evento-foto img { transition: none; } }
