/*
Theme Name: Gloria Campobello
Theme URI: https://gloriacampobello.edu.mx
Author: Desarrollo web
Description: Tema personalizado para la Escuela de Danza Gloria Campobello
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: gloria-campobello
*/

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta B — Blanco + Negro + Dorado */
  --color-dark:    #111111;
  --color-dark2:   #1a1510;
  --color-dark3:   #2e2820;
  --color-cream:   #fdfcfa;
  --color-cream2:  #f5f0ea;
  --color-white:   #ffffff;
  --color-border:  #e8e0d8;
  --color-gold:    #d4a96a;
  --color-gold2:   #b07840;
  --color-gold3:   #f0d4a8;
  --color-accent:  #d4a96a;
  --color-accent2: #b07840;
  --color-text:    #111111;
  --color-muted:   #555555;
  --color-subtle:  #999999;
  --font-sans:     'Cormorant Garamond', Georgia, serif;
  --font-body:     'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── TIPOGRAFÍA ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.15;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-subtle);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

/* ─── CONTENEDOR ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── BOTONES ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 1px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn-dark    { background: var(--color-dark); color: #fff; }
.btn-white   { background: #fff; color: var(--color-dark); }
.btn-ghost   { background: transparent; border: 0.5px solid rgba(255,255,255,0.35); color: rgba(255,255,255,0.88); }
.btn-outline { background: transparent; border: 0.5px solid var(--color-gold); color: var(--color-gold2); }
.btn-cream   { background: var(--color-cream2); color: var(--color-dark); }
.btn-gold    { background: var(--color-gold); color: #fff; }

/* ─── NAVBAR ───────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}
#site-header.scrolled {
  background: rgba(17,17,17,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
#site-header.page-header {
  background: rgba(17,17,17,0.97);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, transparent 100%);
  gap: 24px;
}
#site-header.scrolled .nav-inner,
#site-header.page-header .nav-inner { background: none; }

.nav-logo {
  flex-shrink: 0;
}
.nav-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}
.nav-menu a {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.current-menu-item { color: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: rgba(255,255,255,0.8);
  transition: transform 0.3s;
}

/* ─── REGLA DORADA ──────────────────────────────────────────── */
.gold-rule {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin: 16px 0;
}

/* ─── INFO BAR ─────────────────────────────────────────────── */
.info-bar {
  background: var(--color-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.info-bar-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  border-right: 0.5px solid var(--color-dark3);
}
.info-bar-item:last-child { border-right: none; }
.info-bar-item svg { width: 16px; height: 16px; color: var(--color-gold); flex-shrink: 0; }
.info-bar-label {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.info-bar-value { font-size: 12px; color: rgba(255,255,255,0.72); font-family: var(--font-body); }

/* ─── PAGE HERO (interiores) ───────────────────────────────── */
.page-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: var(--color-dark2);
  display: flex;
  align-items: center;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.52;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,5,4,0.82) 0%,
    rgba(8,5,4,0.35) 50%,
    transparent 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 48px 60px;
  max-width: 680px;
}
.page-hero-eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.page-hero h1 {
  font-size: 56px;
  color: #fff;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero h1 span { color: var(--color-gold3); }
.page-hero-rule {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  margin-top: 4px;
}

/* ─── SECCIONES BASE ───────────────────────────────────────── */
.section         { padding: 72px 0; background: var(--color-white); }
.section.cream   { background: var(--color-cream); }
.section.dark    { background: var(--color-dark2); }
.section.mid     { background: var(--color-cream2); }
.section.border-top { border-top: 0.5px solid var(--color-border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 0.5px solid var(--color-border);
}
.section-head h2 { font-size: 32px; font-style: italic; color: var(--color-text); }

.section-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold2);
  border-bottom: 0.5px solid var(--color-gold);
  padding-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  transition: color 0.2s;
  white-space: nowrap;
}
.section-link:hover { color: var(--color-gold); }

.section-rule {
  width: 36px;
  height: 1px;
  background: var(--color-gold);
  margin: 16px 0 0;
}

/* ─── CARDS DE EVENTOS ─────────────────────────────────────── */
.posts-grid-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.posts-grid-sm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.post-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: 1px;
  overflow: hidden;
  transition: border-color 0.2s;
  display: block;
}
.post-card:hover { border-color: var(--color-gold); }

.post-card-img {
  position: relative;
  overflow: hidden;
}
.post-card-img.tall  { height: 240px; }
.post-card-img.short { height: 140px; }
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.04); }

.post-cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  background: rgba(15,10,8,0.58);
  padding: 3px 10px;
  border-radius: 1px;
  font-family: var(--font-body);
}

.post-card-body { padding: 20px 22px 24px; }
.post-card-date {
  font-size: 10px;
  color: var(--color-gold2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.post-card-title {
  font-size: 18px;
  font-family: var(--font-sans);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card-title.sm { font-size: 16px; }
.post-card-excerpt {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.75;
  font-family: var(--font-body);
}

/* ─── SPLIT SECTIONS ───────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px;
}
.split-text.dark  { background: var(--color-dark2); }
.split-text.light { background: var(--color-cream); }
.split-text.white { background: var(--color-white); }

.split-text h2 { font-size: 36px; font-style: italic; margin-bottom: 6px; line-height: 1.15; }
.split-text h2 em { color: var(--color-gold); font-style: italic; }
.split-text .split-rule {
  width: 38px; height: 1px;
  background: var(--color-gold);
  margin: 16px 0 20px;
}
.split-text p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-muted);
  margin-bottom: 32px;
  font-family: var(--font-body);
  max-width: 440px;
}
.split-text.dark h2   { color: #fff; }
.split-text.dark .eyebrow { color: rgba(255,255,255,0.32); }
.split-text.dark p    { color: rgba(255,255,255,0.55); }
.split-text.dark .split-rule { background: rgba(212,169,106,0.6); }

/* CTA elegante con stats/datos debajo del botón */
.split-cta-meta {
  display: flex;
  gap: 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 0.5px solid var(--color-border);
}
.split-cta-meta.dark-border { border-top-color: rgba(255,255,255,0.1); }
.split-cta-stat-num {
  font-family: var(--font-sans);
  font-size: 28px;
  font-style: italic;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 3px;
}
.split-cta-stat-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-subtle);
  font-family: var(--font-body);
}
.split-text.dark .split-cta-stat-label { color: rgba(255,255,255,0.35); }

/* ─── FRASE HIGHLIGHT ──────────────────────────────────────── */
.frase-section {
  background: var(--color-cream2);
  padding: 64px 48px;
  text-align: center;
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
}
.frase-section blockquote {
  font-family: var(--font-sans);
  font-size: 34px;
  font-style: italic;
  color: var(--color-dark);
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 14px;
  font-weight: 400;
}
.frase-section cite {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-subtle);
  font-style: normal;
  font-family: var(--font-body);
}

/* ─── ICON LINKS ───────────────────────────────────────────── */
.icon-links-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-white);
  border-top: 0.5px solid var(--color-border);
  border-bottom: 0.5px solid var(--color-border);
}
.icon-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 14px;
  border-right: 0.5px solid var(--color-border);
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.icon-link-item:last-child { border-right: none; }
.icon-link-item:hover { background: var(--color-cream); }
.icon-link-icon {
  width: 48px; height: 48px;
  background: var(--color-cream2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.icon-link-item:hover .icon-link-icon { background: var(--color-gold3); }
.icon-link-icon svg { width: 22px; height: 22px; color: var(--color-gold2); }
.icon-link-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #333;
  font-weight: 500;
  font-family: var(--font-body);
}

/* ─── GALERÍA ──────────────────────────────────────────────── */
.galeria-section { background: var(--color-dark2); padding: 64px 0 56px; }
.galeria-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 0 48px;
}
.galeria-head h2 { font-size: 32px; font-style: italic; color: #f0e8e0; }
.galeria-head .eyebrow { color: rgba(255,255,255,0.28); }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 190px 190px;
  gap: 5px;
  padding: 0 48px;
  margin-bottom: 5px;
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  padding: 0 48px;
}
.g-item { overflow: hidden; cursor: pointer; }
.g-item.tall { grid-row: span 2; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.78);
  transition: transform 0.55s ease, filter 0.3s;
}
.g-item:hover img { transform: scale(1.06); filter: brightness(1); }
.gallery-strip .g-item { height: 115px; }

.galeria-quote {
  text-align: center;
  padding: 26px 0 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-style: italic;
  color: rgba(255,255,255,0.32);
}

/* ─── BECA ─────────────────────────────────────────────────── */
.beca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}
.beca-reqs {
  background: var(--color-cream);
  border: 0.5px solid var(--color-border);
  border-radius: 1px;
  padding: 30px 32px;
}
.beca-reqs h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.beca-reqs li {
  font-size: 14px;
  color: var(--color-muted);
  padding: 10px 0 10px 20px;
  border-bottom: 0.5px solid var(--color-border);
  position: relative;
  font-family: var(--font-body);
  line-height: 1.65;
}
.beca-reqs li:last-child { border-bottom: none; }
.beca-reqs li::before { content: '—'; position: absolute; left: 0; color: var(--color-gold); }

/* ─── PLAN DE ESTUDIOS ─────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.plan-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.plan-item {
  font-size: 14px;
  color: var(--color-muted);
  padding: 11px 0 11px 18px;
  border-bottom: 0.5px solid var(--color-border);
  position: relative;
  font-family: var(--font-body);
  line-height: 1.5;
}
.plan-item::before { content: '·'; position: absolute; left: 5px; color: var(--color-gold); font-size: 18px; top: 8px; }

/* ─── ACORDEÓN DE CLASES ───────────────────────────────────── */
.accordion { border: 0.5px solid var(--color-border); border-radius: 1px; overflow: hidden; }
.accordion-item { border-bottom: 0.5px solid var(--color-border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--color-white);
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background 0.2s;
  gap: 12px;
}
.accordion-btn:hover { background: var(--color-cream); }
.accordion-btn.active { background: var(--color-cream2); }
.accordion-btn-title {
  font-size: 15px;
  color: #222;
  font-family: var(--font-body);
  font-weight: 400;
}
.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--color-gold2);
  transition: transform 0.3s;
}
.accordion-btn.active .accordion-icon { transform: rotate(45deg); }

.accordion-content {
  display: none;
  padding: 22px 26px 26px;
  background: var(--color-cream);
  border-top: 0.5px solid var(--color-border);
}
.accordion-content.open { display: block; }
.accordion-content p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.accordion-content ul { margin-bottom: 16px; }
.accordion-content li {
  font-size: 13px;
  color: var(--color-muted);
  padding: 4px 0 4px 18px;
  position: relative;
  font-family: var(--font-body);
}
.accordion-content li::before { content: '·'; position: absolute; left: 4px; color: var(--color-gold); font-size: 18px; top: 2px; }
.accordion-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; padding-top: 14px; border-top: 0.5px solid var(--color-border); }
.accordion-meta-item { font-size: 13px; font-family: var(--font-body); }
.accordion-meta-item strong { color: #222; }
.accordion-meta-item span { color: var(--color-muted); }

/* ─── BENEFICIOS GRID ──────────────────────────────────────── */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.beneficio-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: 1px;
  padding: 30px 26px 34px;
  text-align: center;
}
.beneficio-img {
  width: 68px; height: 68px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 18px;
  border: 1px solid var(--color-gold3);
}
.beneficio-img img { width: 100%; height: 100%; object-fit: cover; }
.beneficio-card h3 { font-size: 17px; font-style: italic; color: var(--color-text); margin-bottom: 9px; }
.beneficio-card p { font-size: 13px; color: var(--color-muted); line-height: 1.75; font-family: var(--font-body); }

/* ─── REPERTORIO (Ballet del Noroeste) ─────────────────────── */
.repertorio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.repertorio-card {
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  border-radius: 1px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.repertorio-card:hover { border-color: var(--color-gold); }
.repertorio-img { height: 210px; overflow: hidden; }
.repertorio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.repertorio-card:hover .repertorio-img img { transform: scale(1.04); }
.repertorio-body { padding: 18px 20px 22px; }
.repertorio-body h3 { font-size: 18px; font-style: italic; color: var(--color-text); margin-bottom: 6px; }
.repertorio-body p { font-size: 12px; color: var(--color-subtle); font-family: var(--font-body); }

/* ─── VIDEO SECTION ────────────────────────────────────────── */
.video-section {
  background: var(--color-dark);
  padding: 72px 48px;
  text-align: center;
}
.video-section .eyebrow { color: rgba(255,255,255,0.28); text-align: center; display: block; }
.video-section h2 { font-size: 32px; font-style: italic; color: #f0e8e0; margin-bottom: 8px; }
.video-section p { font-size: 14px; color: rgba(255,255,255,0.38); margin-bottom: 36px; font-family: var(--font-body); }
.video-wrap { max-width: 860px; margin: 0 auto; border-radius: 1px; overflow: hidden; aspect-ratio: 16/9; }
.video-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ─── GALERÍA PAGE ─────────────────────────────────────────── */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-page-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}
.gallery-page-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.3s;
  filter: brightness(0.88);
}
.gallery-page-item:hover img { transform: scale(1.06); filter: brightness(1); }

/* ─── LIGHTBOX con animaciones ─────────────────────────────── */
@keyframes lb-fade-in  { from { opacity: 0; } to   { opacity: 1; } }
@keyframes lb-fade-out { from { opacity: 1; } to   { opacity: 0; } }
@keyframes lb-slide-in-right  { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes lb-slide-in-left   { from { opacity: 0; transform: translateX(-40px);} to { opacity: 1; transform: translateX(0); } }
@keyframes lb-slide-out-right { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-40px); } }
@keyframes lb-slide-out-left  { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px);  } }

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,5,4,0.96);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lb-fade-in 0.3s ease;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay.closing { animation: lb-fade-out 0.25s ease forwards; }

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
}
.lightbox-img.anim-in-right  { animation: lb-slide-in-right  0.32s cubic-bezier(0.22,1,0.36,1) forwards; }
.lightbox-img.anim-in-left   { animation: lb-slide-in-left   0.32s cubic-bezier(0.22,1,0.36,1) forwards; }
.lightbox-img.anim-out-right { animation: lb-slide-out-right 0.2s ease forwards; }
.lightbox-img.anim-out-left  { animation: lb-slide-out-left  0.2s ease forwards; }

.lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  color: rgba(255,255,255,0.5);
  font-size: 32px;
  cursor: pointer;
  background: none; border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}
.lightbox-close:hover { color: #fff; }

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 36px;
  cursor: pointer;
  background: none; border: none;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
  padding: 8px;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { color: var(--color-gold); }

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
  white-space: nowrap;
}

/* ─── FOOTER ───────────────────────────────────────────────── */
#site-footer { background: #0d0b0a; padding: 60px 0 28px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 44px;
  margin-bottom: 28px;
  border-bottom: 0.5px solid #2a2220;
}
.footer-brand img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: 0.6; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: #6a5a50; line-height: 1.85; max-width: 240px; margin-bottom: 22px; font-family: var(--font-body); }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0.5px solid #2a2220;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  color: #7a6858;
}
.footer-social-btn:hover { border-color: var(--color-gold2); color: var(--color-gold); }
.footer-social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 13px; color: #6a5a50; font-family: var(--font-body); }
.footer-col a { color: #6a5a50; transition: color 0.2s; font-family: var(--font-body); font-size: 13px; }
.footer-col a:hover { color: var(--color-gold); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item svg { width: 14px; height: 14px; color: var(--color-gold2); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: #6a5a50; line-height: 1.65; font-family: var(--font-body); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 11px; color: #3a3028; letter-spacing: 0.06em; font-family: var(--font-body); }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-menu { gap: 18px; }
  .nav-menu a { font-size: 10px; letter-spacing: 0.1em; }
  .nav-inner { padding: 16px 28px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .posts-grid-featured { grid-template-columns: 1fr 1fr; }
  .repertorio-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 9.5px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-dark2);
    align-items: center; justify-content: center;
    gap: 36px; z-index: 99;
  }
  .nav-menu.open a { font-size: 16px; color: rgba(255,255,255,0.85); }
  .nav-hamburger { display: flex; z-index: 101; position: relative; }
  .split-section { grid-template-columns: 1fr; }
  .split-text { padding: 44px 28px; }
  .split-section .split-img { height: 260px; }
  .posts-grid-featured, .posts-grid-sm { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-mosaic .tall { grid-row: span 1; }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .beneficios-grid { grid-template-columns: 1fr 1fr; }
  .repertorio-grid { grid-template-columns: 1fr 1fr; }
  .beca-grid, .plan-grid { grid-template-columns: 1fr; }
  .info-bar { grid-template-columns: 1fr; }
  .info-bar-item { border-right: none; border-bottom: 0.5px solid var(--color-dark3); }
  .icon-links-section { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { height: 340px; }
  .page-hero h1 { font-size: 36px; }
  .frase-section blockquote { font-size: 26px; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-head, .gallery-mosaic, .gallery-strip { padding: 0 20px; }
}

@media (max-width: 480px) {
  .beneficios-grid { grid-template-columns: 1fr; }
  .repertorio-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .plan-cols { grid-template-columns: 1fr; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
}
