/* =============================================
   ENCUENTRO FOLCLÓRICO Y CULTURAL 2026 · SES
   Estilos principales — mobile-first
   ============================================= */

/* ── Variables ── */
:root {
  --ses-green-dark: #006027;
  --ses-green-main: #009241;
  --ses-green-secondary: #00af47;
  --ses-green-bright: #00e73c;
  --ses-teal: #00c692;
  --ses-green-accent: #00c425;

  --cultural-red: #c0392b;
  --cultural-yellow: #f4b400;
  --cultural-orange: #e67e22;
  --cultural-blue: #0b4f71;

  --paper: #fff7e6;
  --paper-soft: #fdf2d0;
  --ink: #1f2933;
  --muted: #667085;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 36px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Sección header compartida ── */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ses-green-dark);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  height: 4px;
  width: 60%;
  background: linear-gradient(90deg, var(--cultural-yellow), var(--cultural-orange));
  border-radius: 2px;
  margin: 0.4rem auto 0;
}
.section-sub { color: var(--muted); font-size: 1rem; font-style: italic; }

/* ======================================
   HEADER
   ====================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ses-green-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cultural-yellow);
}
.header-title {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.nav { display: none; }
.nav.open { display: block; }

.nav-list {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  font-family: 'Arial', sans-serif;
}
.nav-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--cultural-yellow);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav { display: block !important; }
  .nav-list { flex-wrap: nowrap; }
}

/* Menú móvil desplegado */
@media (max-width: 767px) {
  .nav.open {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--ses-green-dark);
    padding: 1rem 1.25rem;
    border-top: 2px solid var(--ses-green-main);
  }
  .nav.open .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav.open .nav-link {
    display: block;
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}

/* ======================================
   HERO
   ====================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg,
      var(--ses-green-dark) 0%,
      var(--ses-green-main) 45%,
      #005a20 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
}

/* Imagen de fondo con overlay */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/danza-hero.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Overlay multicapa: oscurece la foto y aplica tinte verde SES */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(0, 60, 27, 0.82) 0%,
      rgba(0, 100, 40, 0.70) 40%,
      rgba(0, 40, 15, 0.85) 100%
    );
}

/* Decoraciones tipo brochazo */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  pointer-events: none;
}
.hero-deco-1 {
  width: 500px; height: 500px;
  background: var(--cultural-yellow);
  top: -200px; right: -150px;
}
.hero-deco-2 {
  width: 350px; height: 350px;
  background: var(--cultural-orange);
  bottom: -150px; left: -100px;
}

/* Patrón sutil de fondo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.hero-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--cultural-yellow);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-eyebrow {
  color: var(--cultural-yellow);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-family: 'Arial', sans-serif;
}
.hero-title {
  font-size: clamp(1.7rem, 5vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--cultural-yellow); }
.hero-subtitle {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1.75rem;
  font-style: italic;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.03em;
}
.badge-dance   { background: rgba(192,57,43,0.85);   color: #fff; }
.badge-music   { background: rgba(244,180,0,0.90);    color: #1f2933; }
.badge-oral    { background: rgba(11,79,113,0.85);    color: #fff; }
.badge-theater { background: rgba(102,48,0,0.85);     color: #fff; }
.badge-paint   { background: rgba(0,166,71,0.90);     color: #fff; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Botones ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: bold;
  font-size: 0.92rem;
  font-family: 'Arial', sans-serif;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary {
  background: var(--cultural-yellow);
  color: var(--ses-green-dark);
}
.btn-primary:hover { background: #e6a800; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark {
  background: transparent;
  color: var(--ses-green-dark);
  border-color: var(--ses-green-dark);
  font-family: 'Arial', sans-serif;
}
.btn-outline-dark:hover { background: var(--ses-green-dark); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}

/* ======================================
   INTRO
   ====================================== */
.intro {
  background: var(--paper-soft);
  border-top: 4px solid var(--cultural-yellow);
  border-bottom: 4px solid var(--ses-green-main);
  padding: 2.5rem 1.25rem;
}
.intro-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}
.intro-deco {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.intro-text {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--ink);
  font-style: italic;
  text-align: center;
  line-height: 1.8;
}
.intro-text strong { color: var(--ses-green-dark); font-style: normal; }

/* ======================================
   PROVINCIAS
   ====================================== */
.provincias {
  padding: 4rem 0;
  background: var(--paper);
}
.provincias-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .provincias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .provincias-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Provincia card */
.provincia-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 5px solid var(--ses-green-main);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.provincia-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.provincia-card-header {
  padding: 1.25rem 1.25rem 0.75rem;
  background: linear-gradient(135deg, var(--ses-green-dark), var(--ses-green-main));
  color: var(--white);
}
.provincia-card-header h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.provincia-municipio {
  font-size: 0.82rem;
  color: var(--cultural-yellow);
  font-family: 'Arial', sans-serif;
}
.provincia-card-body {
  padding: 1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.provincia-info {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--ink);
  font-family: 'Arial', sans-serif;
}
.provincia-info-icon { flex-shrink: 0; }
.provincia-modalidades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.25rem;
}
.badge-mini {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}
.provincia-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 0.25rem;
  line-height: 1.5;
}
.provincia-card-footer {
  padding: 0.75rem 1.25rem 1.25rem;
}
.provincia-card-footer .btn { width: 100%; text-align: center; }

/* ======================================
   AGENDA — TIMELINE
   ====================================== */
.agenda {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
}
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.75rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--ses-green-main), var(--cultural-yellow));
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-dot {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ses-green-main);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--ses-green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1;
}
.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  flex: 1;
  border-left: 4px solid var(--cultural-yellow);
}
.timeline-fecha {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.timeline-provincia {
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--ses-green-dark);
  margin-bottom: 0.2rem;
}
.timeline-detalle {
  font-size: 0.88rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
}
.timeline-detalle span { color: var(--ink); font-weight: 600; }

@media (min-width: 600px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 2rem; }
}

/* ======================================
   BUSCADOR
   ====================================== */
.buscador-section {
  padding: 4rem 0;
  background: var(--ses-green-dark);
  position: relative;
}
.buscador-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.buscador-section .section-title { color: var(--white); }
.buscador-section .section-sub { color: rgba(255,255,255,0.7); }

.search-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto 2rem;
}
.search-input-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: 'Arial', sans-serif;
  color: var(--ink);
  transition: border-color var(--transition);
  background: var(--paper-soft);
}
.search-input:focus {
  outline: none;
  border-color: var(--ses-green-main);
}
.filters-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 480px) { .filters-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .filters-row { grid-template-columns: repeat(4, 1fr); } }

.filter-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  font-family: 'Arial', sans-serif;
}
.filter-select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: 'Arial', sans-serif;
  color: var(--ink);
  background: var(--paper-soft);
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { outline: none; border-color: var(--ses-green-main); }
.search-actions { display: flex; justify-content: flex-end; }

/* Resultados */
.resultados { max-width: 900px; margin: 0 auto; }
.resultados-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .resultados-grid { grid-template-columns: repeat(2, 1fr); } }

.resultado-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--ses-green-main);
}
.resultado-provincia {
  font-size: 1rem;
  font-weight: bold;
  color: var(--ses-green-dark);
  margin-bottom: 0.5rem;
}
.resultado-info {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: 'Arial', sans-serif;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}
.resultado-info strong { color: var(--ink); }
.resultado-modalidades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.6rem 0;
}
.resultado-desc {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.5;
}

.no-results {
  text-align: center;
  padding: 2.5rem 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-size: 1rem;
}
.no-results strong { display: block; font-size: 1.2rem; color: var(--white); margin-bottom: 0.5rem; }

/* ======================================
   MODALIDADES
   ====================================== */
.modalidades-section {
  padding: 4rem 0;
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
}
.modalidades-section::before {
  content: '🌸';
  position: absolute;
  font-size: 10rem;
  opacity: 0.04;
  top: -2rem;
  right: -2rem;
  pointer-events: none;
}

.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .modalidades-grid { grid-template-columns: repeat(5, 1fr); } }

.modalidad-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}
.modalidad-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.modalidad-dance  { border-bottom-color: var(--cultural-red); }
.modalidad-music  { border-bottom-color: var(--cultural-yellow); }
.modalidad-oral   { border-bottom-color: var(--cultural-blue); }
.modalidad-theater { border-bottom-color: var(--cultural-orange); }
.modalidad-paint  { border-bottom-color: var(--ses-green-main); }

.modalidad-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modalidad-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--ses-green-dark);
  margin-bottom: 0.5rem;
}
.modalidad-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  font-family: 'Arial', sans-serif;
}

/* ======================================
   APOYO INSTITUCIONAL
   ====================================== */
.apoyo-section {
  padding: 3.5rem 0;
  background: var(--white);
  border-top: 3px solid var(--paper-soft);
}
.apoyo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.apoyo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: var(--paper-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  min-width: 120px;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--ses-green-dark);
  border: 1px solid #e8e0ce;
}
.apoyo-icon { font-size: 1.75rem; }
.apoyo-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ses-green-main);
}

/* ======================================
   CONTACTO / CIERRE
   ====================================== */
.contacto-section {
  padding: 5rem 1.25rem;
  background: linear-gradient(135deg, var(--ses-green-dark) 0%, #004d20 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contacto-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.contacto-inner { position: relative; z-index: 1; }
.contacto-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--cultural-yellow);
}
.contacto-title {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  color: var(--cultural-yellow);
  margin-bottom: 1rem;
}
.contacto-text {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.8;
}
.contacto-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
  background: #001a0a;
  padding: 2rem 0 1.25rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
@media (min-width: 600px) {
  .footer-inner { flex-direction: row; text-align: left; }
}
.footer-logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ses-green-main);
  flex-shrink: 0;
}
.footer-info p { margin-bottom: 0.2rem; line-height: 1.5; }
.footer-hashtag { color: var(--ses-green-secondary); font-weight: bold; }
.footer-contacto {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.83rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}
.footer-contacto-nombre strong { color: var(--white); font-size: 0.9rem; }
.footer-tel, .footer-wa {
  color: var(--ses-green-secondary);
  font-weight: bold;
  transition: color var(--transition);
}
.footer-tel:hover { color: var(--cultural-yellow); }
.footer-wa:hover  { color: #25d366; }

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  font-size: 0.78rem;
}

/* ======================================
   UTILIDADES DE BADGES POR MODALIDAD
   ====================================== */
.m-danza    { background: rgba(192,57,43,0.12);  color: #c0392b; }
.m-musica   { background: rgba(244,180,0,0.18);   color: #7a5f00; }
.m-oralidad { background: rgba(11,79,113,0.12);   color: #0b4f71; }
.m-teatro   { background: rgba(102,48,0,0.12);    color: #663000; }
.m-pintura  { background: rgba(0,146,65,0.12);    color: #006027; }
.m-default  { background: rgba(100,100,100,0.1);  color: #555; }

/* ======================================
   MINIATURA DE AFICHE EN CARD
   ====================================== */
.provincia-afiche-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 180px;
  background: #111;
}
.provincia-afiche-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}
.provincia-afiche-thumb:hover img {
  transform: scale(1.06);
}
.afiche-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 60, 27, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.provincia-afiche-thumb:hover .afiche-thumb-overlay {
  opacity: 1;
}
.afiche-thumb-overlay span {
  background: rgba(255,255,255,0.92);
  color: var(--ses-green-dark);
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.provincia-card-footer--two {
  display: flex;
  gap: 0.5rem;
}
.provincia-card-footer--two .btn {
  flex: 1;
  text-align: center;
}

/* ======================================
   MODAL LIGHTBOX AFICHE
   ====================================== */
.modal-afiche {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal-afiche.open {
  opacity: 1;
  pointer-events: all;
}
.modal-afiche-inner {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-afiche.open .modal-afiche-inner {
  transform: translateY(0) scale(1);
}
.modal-afiche-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  background: var(--ses-green-dark);
  flex-shrink: 0;
}
.modal-afiche-titulo {
  color: var(--cultural-yellow);
  font-size: 1rem;
  font-weight: bold;
}
.modal-afiche-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.25rem;
  transition: color var(--transition);
}
.modal-afiche-close:hover { color: var(--cultural-yellow); }
.modal-afiche-body {
  overflow-y: auto;
  flex: 1;
}
.modal-afiche-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ======================================
   ACCESIBILIDAD
   ====================================== */
:focus-visible {
  outline: 3px solid var(--cultural-yellow);
  outline-offset: 2px;
  border-radius: 3px;
}
