/*
Theme Name: Experiencia Gospel
Theme URI: https://experienciagospel.com.ar
Author: Rconcept
Author URI: https://rconcept.com.ar
Description: Theme custom para Experiencia Gospel 2026 — landing brutalista con paleta oficial del PDF de marca. Pensado para single-page con CF7 para convocatorias.
Version: 1.0.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: experiencia-gospel
Tags: one-column, custom-colors, custom-menu, full-width-template, theme-options
*/

/* ── PALETA OFICIAL (PDF) ─── */
:root {
  --azul:   #0B132B;
  --purple: #3B1080;
  --coral:  #FF6B4A;
  --luz:    #F5E9D6;
  --negro:  #0A0A0A;
  --lima:   #C8FF4D;
  --blanco: #FFFFFF;
  --muted:  #9aaab8;
  --max:    1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, sans-serif;
  background: var(--azul);
  color: var(--blanco);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: auto; }
.display {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .88;
  margin: 0;
}

/* Accesibilidad: focus visible y skip link */
:focus-visible {
  outline: 2px solid var(--lima);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--lima); color: var(--negro);
  padding: 10px 18px; font-family: Anton, Impact, sans-serif;
  text-transform: uppercase; letter-spacing: .1em;
  z-index: 200;
}
.skip-link:focus { left: 8px; }

::selection { background: var(--lima); color: var(--negro); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 30px;
  font-family: Anton, Impact, sans-serif;
  font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap; transition: .15s;
}
.btn:hover { transform: translate(-2px, -2px); }

.btn-lime {
  background: var(--lima); color: var(--negro);
  border-color: var(--lima);
  box-shadow: 4px 4px 0 #7aaa00;
}
.btn-lime:hover { box-shadow: 6px 6px 0 #7aaa00; }

.btn-coral-outline {
  border-color: var(--coral); color: var(--coral);
  background: rgba(255,107,74,.06);
}
.btn-coral-outline:hover { background: rgba(255,107,74,.16); }

.btn-dark {
  background: rgba(0,0,0,.5); color: var(--blanco);
  border-color: rgba(255,255,255,.3);
}
.btn-dark:hover { border-color: var(--lima); color: var(--lima); }

/* ══════════════════════════════════
   TOPBAR
══════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .3s, padding .3s;
}
.topbar.scrolled {
  background: rgba(11,19,43,.96);
  padding: 14px 0;
  border-bottom: 2px solid rgba(200,255,77,.15);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 28px;
}
.logo {
  font-family: Anton, Impact, sans-serif;
  font-size: 26px; line-height: .88;
  text-transform: uppercase; letter-spacing: -.02em;
  color: var(--luz);
  border-left: 4px solid var(--coral);
  padding-left: 10px;
}
.menu {
  display: flex; align-items: center; gap: 22px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--luz);
  list-style: none;
}
.menu li { display: inline-flex; align-items: center; gap: 22px; }
.menu li::after { content: "·"; color: var(--lima); opacity: .4; }
.menu li:last-child::after { display: none; }
.menu a { opacity: .75; transition: .15s; }
.menu a:hover { opacity: 1; color: var(--lima); }
.nav .btn { clip-path: polygon(10% 0,100% 0,90% 100%,0 100%); padding-inline: 28px; }

/* ── BURGER (mobile) ── */
.burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 2px solid var(--lima);
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
  transition: background .2s ease;
}
.burger span {
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2px;
  background: var(--lima);
  transform: translate(-50%, -50%);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger span:nth-child(1) { transform: translate(-50%, -8px); }
.burger span:nth-child(3) { transform: translate(-50%, 8px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translate(-50%, 0) rotate(-45deg); }
.burger:hover { background: rgba(200,255,77,.08); }

/* ── MOBILE NAV (overlay full-screen) ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--azul);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 40px 32px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .35s cubic-bezier(.7,0,.3,1), visibility 0s linear .35s;
}
.mobile-nav[aria-hidden="false"] {
  transform: translateY(0);
  visibility: visible;
  transition: transform .35s cubic-bezier(.7,0,.3,1), visibility 0s linear 0s;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0; padding: 0;
  width: 100%;
}
.mobile-nav a {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(34px, 9vw, 56px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--luz);
  display: inline-block;
  padding: 4px 0;
  position: relative;
  transition: color .15s ease, transform .25s ease;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible { color: var(--lima); transform: translateX(8px); }
.mobile-nav a::after {
  content: "→";
  margin-left: 14px;
  color: var(--coral);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s ease, transform .25s ease;
  display: inline-block;
}
.mobile-nav a:hover::after,
.mobile-nav a:focus-visible::after { opacity: 1; transform: translateX(0); }
.mobile-nav .btn { align-self: stretch; margin-top: 12px; }
body.nav-open { overflow: hidden; }

/* ══════════════════════════════════
   HERO — foto full-bleed como el PDF
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.02);
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,19,43,.15)  0%,
    rgba(11,19,43,.08) 35%,
    rgba(11,19,43,.5)  65%,
    rgba(11,19,43,.92) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 0 56px;
  overflow: hidden;
}

.hero-title {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.04em;
  font-size: clamp(72px, 14vw, 180px);
}
.hero-title .top { display: block; color: var(--coral); }
.hero-title .bottom { display: block; color: var(--luz); }

.hero-divider {
  width: 120px; height: 3px;
  background: var(--lima);
  margin: 18px 0 24px;
}

.hero-date-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
}
.date {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  line-height: .9; letter-spacing: -.03em;
  color: var(--blanco);
  text-transform: uppercase;
}
.place {
  font-family: Inter, sans-serif;
  font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--luz); line-height: 1.5;
  padding-bottom: 8px;
}

.tagline {
  margin-top: 20px;
  font-family: Inter, sans-serif;
  font-size: 13px; font-weight: 800;
  letter-spacing: .35em; text-transform: uppercase;
  color: var(--luz); opacity: .8;
}
.tagline span { color: var(--lima); margin: 0 8px; opacity: .6; }

.hero-cta { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ══════════════════════════════════
   INTRO
══════════════════════════════════ */
.intro { position: relative; overflow: hidden; }
.intro-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(.7) contrast(1.1) brightness(.55);
}
.intro-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(11,19,43,.85) 0%,
    rgba(11,19,43,.6) 50%,
    rgba(11,19,43,.8) 100%
  );
}
.intro-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 280px 1fr 360px;
  gap: 40px; align-items: center;
  padding: 80px 0;
}

.manifesto {
  font-family: Anton, Impact, sans-serif;
  font-size: 38px; line-height: 1.08;
  text-transform: uppercase; letter-spacing: -.01em;
}
.manifesto .line {
  display: table;
  padding: 3px 14px 3px 0;
  margin-bottom: 4px;
}
.manifesto .l-azul   { background: var(--azul);   color: var(--blanco); }
.manifesto .l-purple { background: var(--purple); color: var(--blanco); }
.manifesto .l-coral  { background: var(--coral);  color: var(--blanco); }
.manifesto .l-dark   { background: var(--negro);  color: var(--blanco); }
.manifesto .l-lima   { background: var(--lima);   color: var(--negro);  }

.eg-block {
  position: relative; min-height: 240px;
  display: flex; align-items: center; justify-content: center;
}
.eg-block img {
  max-width: 100%;
  height: auto;
  display: block;
}

.intro-copy p {
  max-width: 300px; color: var(--luz);
  font-size: 17px; line-height: 1.65;
}
.intro-copy strong {
  display: block; margin-top: 24px;
  color: var(--lima);
  font-family: Anton, Impact, sans-serif;
  font-size: 22px; text-transform: uppercase; letter-spacing: .03em;
}
.small-line { width: 40px; height: 4px; background: var(--lima); margin-top: 10px; }

/* ══════════════════════════════════
   PILLARS
══════════════════════════════════ */
.pillars { background: var(--negro); padding-bottom: 64px; }
.pillar-grid {
  display: grid; grid-template-columns: repeat(5,1fr);
  border-top: 3px solid var(--coral);
}
.pillar {
  min-height: 148px; padding: 22px 18px;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,.08);
  position: relative; transition: background .2s;
}
.pillar:first-child { border-left: 0; }
.pillar:hover { background: rgba(200,255,77,.04); }
.pillar::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--lima);
  transform: scaleX(0); transition: .25s; transform-origin: left;
}
.pillar:hover::after { transform: scaleX(1); }
.icon { height: 42px; margin-bottom: 14px; color: var(--lima); font-size: 34px; line-height: 1; }
.pillar h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 20px; font-weight: 400;
  color: var(--luz); text-transform: uppercase; letter-spacing: .04em;
}
.pillar p {
  margin: 8px auto 0; max-width: 125px;
  color: var(--muted); font-size: 12px; line-height: 1.5;
}

/* ══════════════════════════════════
   YOUTUBE
══════════════════════════════════ */
.youtube-section { padding: 0 0 60px; background: var(--azul); position: relative; }
.youtube-section::before, .youtube-section::after {
  content: ""; position: absolute; top: 50px;
  width: 140px; height: 200px; opacity: .45;
  background-image: radial-gradient(var(--coral) 1.5px, transparent 1.5px);
  background-size: 12px 12px; pointer-events: none;
}
.youtube-section::before { left: 0; }
.youtube-section::after  { right: 0; }

.video-card {
  position: relative; overflow: hidden;
  border: 2px solid var(--lima);
  min-height: 340px;
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  box-shadow: 5px 5px 0 #7aaa00;
  transition: .2s;
  display: block;
  /* Reset de <button> (ahora video-card es button para abrir modal) */
  width: 100%;
  text-align: inherit;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}
.video-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 #7aaa00; }
.video-card:focus-visible { outline: 3px solid var(--lima); outline-offset: 4px; }

/* ══════════════════════════════════
   YT MODAL LIGHTBOX
══════════════════════════════════ */
.yt-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.92);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.yt-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.yt-modal__player {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: var(--negro);
  border: 2px solid var(--lima);
  box-shadow: 8px 8px 0 #7aaa00;
}
.yt-modal__player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.yt-modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--lima);
  color: var(--negro);
  border: 2px solid var(--lima);
  font-family: Anton, Impact, sans-serif;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 4px 4px 0 #7aaa00;
  transition: transform .15s ease, box-shadow .15s ease;
  z-index: 1;
}
.yt-modal__close:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 #7aaa00;
}
.yt-modal__close:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
body.yt-modal-open { overflow: hidden; }

.video-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 170px 1fr;
  min-height: 340px; align-items: center; padding: 42px 36px;
}
.yt-brand {
  display: flex; align-items: center; gap: 8px; margin-bottom: 32px;
}
.yt-logo {
  height: 28px;
  width: auto;
  display: block;
  background: var(--luz);
  padding: 6px 10px;
  border-radius: 4px;
}
.video-label {
  color: var(--lima); font-family: Anton, Impact, sans-serif;
  font-size: 16px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px;
}
.video-title { font-size: 70px; max-width: 430px; color: var(--luz); }
.video-title span { display: block; color: var(--lima); }
.video-sub {
  margin-top: 12px; font-family: Anton, Impact, sans-serif;
  color: var(--luz); font-size: 26px; text-transform: uppercase;
}
.video-sub span { color: var(--coral); }

.play {
  width: 108px; height: 108px;
  background: var(--coral); display: grid; place-items: center;
  box-shadow: 5px 5px 0 #b84030; justify-self: center;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: .15s;
}
.play::before {
  content: ""; width: 0; height: 0;
  border-top: 22px solid transparent; border-bottom: 22px solid transparent;
  border-left: 32px solid white; transform: translateX(5px);
}

.corner-mark {
  position: absolute; right: -2px; top: -2px;
  width: 88px; height: 88px;
  background: linear-gradient(135deg, transparent 0 44%, var(--lima) 44% 56%, transparent 56% 100%);
}

/* ══════════════════════════════════
   SECTION HEADING
══════════════════════════════════ */
.section-heading {
  display: flex; align-items: center; gap: 28px; justify-content: center;
  margin: 0 0 36px;
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase; letter-spacing: .32em;
  color: var(--luz); font-size: 26px; font-weight: 400;
}
.section-heading::before, .section-heading::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,255,77,.5), transparent);
}
.section-heading span { color: var(--lima); }

/* ══════════════════════════════════
   CONVOCATORIAS
══════════════════════════════════ */
.calls { padding: 0 0 56px; background: var(--azul); }
.call-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

.call-card {
  position: relative; overflow: hidden;
  min-height: 260px; background: var(--negro);
  border-top: 4px solid transparent; transition: transform .2s;
}
.call-card:nth-child(1) { border-top-color: var(--coral); }
.call-card:nth-child(2) { border-top-color: var(--lima);  }
.call-card:nth-child(3) { border-top-color: var(--purple); }
.call-card:hover { transform: translateY(-5px); }

.call-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1) brightness(.5) contrast(1.2);
}

.call-icon {
  position: absolute; left: 50%; top: 80px; transform: translateX(-50%);
  width: 54px; height: 54px; display: grid; place-items: center;
  font-size: 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.call-card:nth-child(1) .call-icon { background: var(--coral);  color: #fff;        box-shadow: 3px 3px 0 #b84030; }
.call-card:nth-child(2) .call-icon { background: var(--lima);   color: var(--negro); box-shadow: 3px 3px 0 #7aaa00; }
.call-card:nth-child(3) .call-icon { background: var(--purple); color: #fff;        box-shadow: 3px 3px 0 #1a004a; }

.call-body { text-align: center; padding: 40px 24px 24px; }
.call-body h3 {
  font-family: Anton, Impact, sans-serif;
  font-size: 28px; font-weight: 400;
  text-transform: uppercase; letter-spacing: .04em;
}
.call-card:nth-child(1) .call-body h3 { color: var(--coral); }
.call-card:nth-child(2) .call-body h3 { color: var(--lima);  }
.call-card:nth-child(3) .call-body h3 { color: var(--blanco); }
.call-body p {
  margin: 8px auto 20px; max-width: 240px;
  color: var(--muted); font-size: 13px; line-height: 1.55;
}
.all-btn { display: flex; justify-content: center; margin-top: 24px; }

/* ══════════════════════════════════
   FERIA — grid 2 cols: coral (copy) + foto
══════════════════════════════════ */
.fair {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background-color: var(--coral);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* Overlay: coral sólido a la izquierda, fade hacia la derecha */
.fair::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    var(--coral) 0%,
    var(--coral) 42%,
    rgba(255,107,74,.85) 50%,
    rgba(11,19,43,.55) 75%,
    rgba(11,19,43,.85) 100%
  );
  pointer-events: none;
}
.fair-inner {
  position: relative;
  z-index: 2;
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  align-items: center;
  gap: 40px;
}
.fair-copy {
  width: 100%;
  max-width: 420px;
  padding-right: 16px;
}
.fair-copy h2 { font-size: 60px; color: var(--luz); }
.fair-copy h3 {
  font-family: Anton, Impact, sans-serif;
  margin: 8px 0 10px; font-size: 22px; text-transform: uppercase;
  color: var(--negro); font-weight: 400; letter-spacing: .04em;
}
.fair-copy p {
  margin: 0 0 20px; font-weight: 700; line-height: 1.5;
  color: var(--negro); font-size: 14px;
}

/* ══════════════════════════════════
   FINAL CTA — newsletter (CF7)
══════════════════════════════════ */
.final-cta {
  padding: 68px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 4px solid var(--lima);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11,19,43,.97), rgba(11,19,43,.88));
  pointer-events: none;
}
.final-cta { position: relative; }
.cta-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.cta-title {
  font-family: Anton, Impact, sans-serif;
  text-transform: uppercase; color: var(--luz);
  font-size: 44px; line-height: .96;
}
.cta-title span { display: block; color: var(--lima); font-size: 56px; }
.subscribe p { margin: 0 0 16px; color: var(--muted); font-size: 17px; line-height: 1.5; }

/* CF7 styling — sobrescribe defaults para que combine con la paleta */
.subscribe .wpcf7-form,
.subscribe form.form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}
/* CF7 envuelve campos en <p>; lo aplastamos para que el flex funcione */
.subscribe .wpcf7-form > p,
.subscribe .wpcf7-form > label {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex: 1 1 250px;
  min-width: 0;
}
/* El <p> que contiene el submit no se expande */
.subscribe .wpcf7-form > p:has(.wpcf7-submit) {
  flex: 0 0 auto;
}
.subscribe .wpcf7-form .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}
.subscribe .wpcf7-form-control-wrap { flex: 1; display: block; min-width: 0; }
/* Submit con altura fija — no se estira por flex-stretch del padre */
.subscribe .wpcf7-submit,
.subscribe button[type="submit"] {
  height: 46px;
  align-self: flex-start;
}
.subscribe input[type="email"],
.subscribe input[type="text"] {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: white; padding: 0 16px; outline: none;
  font-family: Inter, sans-serif; font-size: 14px;
}
.subscribe input:focus { border-color: var(--lima); }
.subscribe input::placeholder { color: #5a6a7a; }
.subscribe .wpcf7-submit,
.subscribe button[type="submit"] {
  background: var(--lima); color: var(--negro);
  border: 2px solid var(--lima);
  font-family: Anton, Impact, sans-serif;
  font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; padding: 12px 30px;
  min-height: 44px; cursor: pointer;
  box-shadow: 4px 4px 0 #7aaa00;
  transition: .15s;
}
.subscribe .wpcf7-submit:hover,
.subscribe button[type="submit"]:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 #7aaa00;
}

/* ══════════════════════════════════
   CF7 ALERTS — brutalist con onda
   Sale full-width abajo del form, con shadow offset
   y entrada animada. OK = lima, error = coral.
══════════════════════════════════ */
.wpcf7-response-output {
  /* Forzar full-width al final del flex/grid del form */
  flex: 1 1 100% !important;
  order: 99 !important;
  margin: 18px 0 0 !important;
  padding: 16px 20px 16px 56px !important;
  position: relative;
  border: 2px solid var(--lima) !important;
  background: rgba(200,255,77,.08) !important;
  color: var(--luz) !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
  box-shadow: 5px 5px 0 #7aaa00;
  animation: eg-alert-in .45s cubic-bezier(.16,1,.3,1) both;
}

/* Ocultar cuando está vacío (default antes de submit) */
.wpcf7-response-output:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Marca lateral coral (acento brutalist) */
.wpcf7-response-output::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--lima);
}

/* Ícono lima (check) hecho con CSS */
.wpcf7-response-output::after {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  background: var(--lima);
  clip-path: polygon(8% 50%, 0 60%, 36% 96%, 100% 22%, 88% 10%, 36% 70%);
}

/* Estados de error */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border-color: var(--coral) !important;
  background: rgba(255,107,74,.1) !important;
  box-shadow: 5px 5px 0 #b84030;
  color: #ffd6cc !important;
}
.wpcf7 form.invalid .wpcf7-response-output::before,
.wpcf7 form.unaccepted .wpcf7-response-output::before,
.wpcf7 form.failed .wpcf7-response-output::before,
.wpcf7 form.aborted .wpcf7-response-output::before,
.wpcf7 form.spam .wpcf7-response-output::before {
  background: var(--coral);
}
/* Ícono ! para error */
.wpcf7 form.invalid .wpcf7-response-output::after,
.wpcf7 form.unaccepted .wpcf7-response-output::after,
.wpcf7 form.failed .wpcf7-response-output::after,
.wpcf7 form.aborted .wpcf7-response-output::after,
.wpcf7 form.spam .wpcf7-response-output::after {
  background: var(--coral);
  clip-path: polygon(46% 0, 54% 0, 60% 60%, 40% 60%, 46% 0, 40% 70%, 60% 70%, 60% 100%, 40% 100%);
}

@keyframes eg-alert-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tip de validación inline en cada campo */
.wpcf7-not-valid-tip {
  display: inline-block;
  margin-top: 6px !important;
  padding: 4px 10px;
  background: var(--coral) !important;
  color: var(--negro) !important;
  font-family: Anton, Impact, sans-serif !important;
  font-size: 11px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}

/* Spinner mientras envía — match con la paleta */
.wpcf7 .wpcf7-spinner {
  background-color: var(--lima);
}

/* CF7 forms en páginas de convocatoria (voluntariado/coros/artistas) */
.inscripcion-form .wpcf7-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin: 40px auto;
}
.inscripcion-form .wpcf7-form label {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--luz);
  margin-bottom: 6px;
}
.inscripcion-form input[type="text"],
.inscripcion-form input[type="email"],
.inscripcion-form input[type="tel"],
.inscripcion-form input[type="url"],
.inscripcion-form select,
.inscripcion-form textarea {
  width: 100%;
  min-height: 46px;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  color: white; padding: 10px 16px; outline: none;
  font-family: Inter, sans-serif; font-size: 14px;
}
.inscripcion-form textarea { min-height: 120px; resize: vertical; }
.inscripcion-form input:focus,
.inscripcion-form select:focus,
.inscripcion-form textarea:focus { border-color: var(--lima); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  padding: 22px 0;
  background: var(--negro);
  border-top: 2px solid rgba(200,255,77,.1);
}
.footer-grid {
  display: grid; grid-template-columns: 160px 1fr 180px;
  align-items: center; gap: 24px;
}
.foot-info {
  text-align: center; font-weight: 800;
  color: var(--luz); text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em;
}
.foot-info span { color: var(--lima); margin: 0 10px; opacity: .55; }
.social { display: flex; justify-content: flex-end; gap: 18px; list-style: none; }
.social a {
  font-weight: 900; font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--luz); opacity: .5; transition: .15s;
}
.social a:hover { opacity: 1; color: var(--lima); }

/* will-change para elementos animados (GSAP) */
.hero-title .top,
.hero-title .bottom,
.hero-divider,
.date,
.place,
.tagline,
.hero-cta,
.manifesto .line,
.pillar,
.call-card,
.video-card,
.fair-copy,
.cta-title,
.subscribe { will-change: transform, opacity; }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 980px) {
  .menu { display: none; }
  .nav-cta { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .hero-title { font-size: clamp(56px,12vw,120px); }
  .hero-date-wrap { grid-template-columns: 1fr; gap: 12px; }
  .intro-grid { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
  .eg-block { display: none; }
  .pillar-grid, .call-grid { grid-template-columns: 1fr 1fr; }
  .video-content { grid-template-columns: 1fr; gap: 24px; }
  .play { justify-self: start; }
  .fair { background-image: none !important; }
  .fair::before { display: none; }
  .fair-inner { grid-template-columns: 1fr; gap: 0; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .social { justify-content: center; }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .topbar { padding: 16px 0; }
  .logo { font-size: 22px; }
  .hero-title { font-size: 60px; }
  .date { font-size: 50px; }
  .place { font-size: 13px; }
  .tagline { font-size: 11px; letter-spacing: .22em; }
  .manifesto { font-size: 32px; }
  .pillar-grid, .call-grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .pillar:first-child { border-top: 0; }
  .video-title { font-size: 50px; }
  .fair-copy { width: auto; }
  .subscribe .wpcf7-form,
  .subscribe form.form { flex-direction: column; }
  .section-heading { font-size: 18px; letter-spacing: .18em; }
  .section-heading::before, .section-heading::after { width: 32px; }
}

/* Reduced motion: corta animaciones GSAP en JS, fallback CSS */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
