/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0f0e0d;
  --bg2: #161412;
  --bg3: #1e1b17;
  --surface: #252018;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim: #7a6128;
  --cream: #f5f0e8;
  --cream-dim: #b8b0a0;
  --red-accent: #c0392b;
  --blue-accent: #2980b9;
  --green-accent: #27ae60;
  --text: #f0ebe0;
  --text-muted: #8a8070;
  --border: rgba(201,168,76,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(15,14,13,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  z-index: 1000;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.logo-note { font-size: 1.6rem; line-height: 1; }
.logo-thin { font-weight: 400; color: var(--cream-dim); }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream-dim);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  padding: 0.45rem 1.1rem;
}
.nav-links a.nav-cta:hover { background: var(--gold-light); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 8vw, 6rem) 6rem;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-circles { position: absolute; inset: 0; }
.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--gold);
  animation: pulse 8s ease-in-out infinite alternate;
}
.c1 { width: 700px; height: 700px; top: -200px; right: -150px; animation-delay: 0s; }
.c2 { width: 450px; height: 450px; bottom: -100px; left: -100px; animation-delay: -3s; opacity: 0.04; }
.c3 { width: 200px; height: 200px; top: 40%; right: 15%; animation-delay: -5s; opacity: 0.08; }

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.staff-lines {
  position: absolute;
  left: 0; right: 0;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.staff-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,168,76,0.08) 30%, rgba(201,168,76,0.08) 70%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1rem;
  color: var(--cream-dim);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-outline {
  border: 1.5px solid var(--gold-dim);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2rem;
  margin-top: 5rem;
  flex-wrap: wrap;
  align-items: center;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ===== CARDS SECTION ===== */
.cards-section {
  padding: 6rem clamp(1.5rem, 8vw, 6rem);
  background: var(--bg2);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  font-weight: 700;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-intro {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--cream-dim);
  font-size: 1.05rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: var(--transition);
}
.card--music::before { background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%); }
.card--idiomas::before { background: linear-gradient(135deg, rgba(41,128,185,0.08) 0%, transparent 60%); }
.card--banda::before { background: linear-gradient(135deg, rgba(192,57,43,0.08) 0%, transparent 60%); }
.card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.35); }
.card:hover::before { opacity: 1; }

.card-icon { font-size: 2rem; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  font-weight: 700;
}
.card p { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.65; }
.card-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
  padding: 5rem clamp(1.5rem, 8vw, 6rem);
  background: var(--bg);
  text-align: center;
}
.social-inner { max-width: 700px; margin: 0 auto; }
.social-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.social-inner p { color: var(--cream-dim); margin-bottom: 2rem; }
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid transparent;
  transition: var(--transition);
}
.social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-btn.fb { background: rgba(24,119,242,0.12); border-color: rgba(24,119,242,0.3); color: #5b9de1; }
.social-btn.fb:hover { background: rgba(24,119,242,0.2); }
.social-btn.ig { background: rgba(228,64,95,0.1); border-color: rgba(228,64,95,0.3); color: #e4405f; }
.social-btn.ig:hover { background: rgba(228,64,95,0.18); }
.social-btn.mail { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.3); color: var(--gold); }
.social-btn.mail:hover { background: rgba(201,168,76,0.18); }

/* ===== PAGE HEADER (interior pages) ===== */
.page-header {
  padding: calc(var(--nav-h) + 4rem) clamp(1.5rem, 8vw, 6rem) 3rem;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.04;
}
.page-header .breadcrumb {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--cream);
  font-weight: 700;
}
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header .subtitle {
  color: var(--cream-dim);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ===== GENERIC PAGE CONTENT ===== */
.page-content {
  padding: 4rem clamp(1.5rem, 8vw, 6rem);
  max-width: 1100px;
  margin: 0 auto;
}

/* Info blocks */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.info-block {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.info-block p { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.7; }

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, rgba(201,168,76,0.03) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
}
.highlight-box h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.highlight-box p { color: var(--cream-dim); font-size: 0.95rem; line-height: 1.75; }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

.col-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.col-body { color: var(--cream-dim); font-size: 0.9rem; line-height: 1.75; }
.col-body + .col-body { margin-top: 0.75rem; }

/* Tag pills */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill {
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.2);
}

/* Video embed */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 3rem 0;
}
.cta-strip h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.cta-strip p { color: rgba(15,14,13,0.7); margin-bottom: 1.5rem; font-size: 0.9rem; }
.cta-strip .btn-primary { background: var(--bg); color: var(--gold); }
.cta-strip .btn-primary:hover { background: var(--bg2); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-text { font-size: 0.9rem; color: var(--cream-dim); line-height: 1.6; }
.contact-item-text strong { color: var(--cream); display: block; margin-bottom: 0.2rem; }
.contact-item-text a { color: var(--gold); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; filter: grayscale(50%) invert(85%) contrast(90%); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3rem clamp(1.5rem, 8vw, 6rem) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.footer-info { font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; }
.footer-info a { color: var(--gold); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
}
@media (max-width: 768px) { .footer-nav { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; } }
.footer-nav a { font-size: 0.85rem; color: var(--text-muted); transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(15,14,13,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 1rem; font-size: 1rem; }
  .burger { display: flex; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
}
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }