/* ═══════════════════════════════════════════════════
   SECTIONS — Todas las secciones de contenido
═══════════════════════════════════════════════════ */

/* ════════════════════════
   STATS BAR
════════════════════════ */
#stats {
  background: var(--c-red);
  padding-block: 2.75rem;
}
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-bar .stat-val {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stats-bar .stat-lbl {
  font-size: .76rem;
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .4rem;
  display: block;
}
.stats-bar .stat-sep {
  width: 1px;
  background: rgba(255, 255, 255, .2);
  margin: auto;
  display: none;
}

/* ════════════════════════
   BENEFITS (¿Por qué Aikido?)
════════════════════════ */
#beneficios {
  background: var(--c-dark);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.benefit-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.benefit-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, .25);
  box-shadow: var(--shadow);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon {
  font-size: 2.4rem;
  margin-bottom: 1.1rem;
  display: block;
  transition: transform var(--tr);
}
.benefit-card:hover .benefit-icon { transform: scale(1.15); }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.benefit-card p  { font-size: .85rem; color: var(--c-muted2); line-height: 1.7; }

/* ════════════════════════
   ABOUT / NOSOTROS
════════════════════════ */
#sobre {
  background: var(--c-black);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5.5rem;
  align-items: center;
}
.osensei-wrap {
  position: relative;
}
.osensei-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.osensei-card img {
  width: 100%; display: block;
  filter: grayscale(25%);
  transition: filter var(--tr-slow);
}
.osensei-card:hover img { filter: grayscale(0%); }
.osensei-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(6, 7, 10, .92));
  padding: 3rem 1.5rem 1.5rem;
}
.osensei-caption h4 { font-family: var(--f-serif); font-size: 1rem; font-weight: 300; }
.osensei-caption span { font-size: .72rem; color: var(--c-gold); letter-spacing: .1em; text-transform: uppercase; }

.about-milestones { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }

/* ════════════════════════
   CTA BANNER (Primera clase gratis)
════════════════════════ */
#cta-banner {
  background: var(--c-red);
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
}
#cta-banner::before {
  content: '合気道';
  position: absolute; right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--f-serif);
  font-size: 18rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .05);
  line-height: 1;
  pointer-events: none;
}
.cta-banner-inner {
  text-align: center;
  position: relative; z-index: 1;
}
.cta-banner-inner .pre-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 1rem;
}
.cta-banner-inner h2 {
  font-family: var(--f-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-banner-inner h2 strong { font-weight: 700; }
.cta-banner-inner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 2.5rem;
  max-width: 48ch;
  margin-inline: auto;
  line-height: 1.75;
}
.cta-banner-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--c-red);
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-red-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .45);
}
.btn-red-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ════════════════════════
   CLASES / SCHEDULE
════════════════════════ */
#clases { background: var(--c-dark); }

.clases-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}
.clases-header-text { flex: 1; }
.clases-header-text .section-title { margin-bottom: 1rem; }

.clases-header-graphic {
  flex-shrink: 0;
}
.aikido-graphic {
  width: 210px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(192, 57, 43, .35));
  transition: transform var(--tr), filter var(--tr);
}
.aikido-graphic:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 12px 40px rgba(192, 57, 43, .55));
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

/* ════════════════════════
   VIDEO
════════════════════════ */
#video { background: var(--c-black); }
.video-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.video-embed-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--c-card);
  border: 1px solid var(--c-border);
}
.video-embed-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* Miniatura clicable → abre YouTube */
.video-thumb-link { display: block; text-decoration: none; }
.video-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .4s ease;
  filter: brightness(.85);
}
.video-thumb-link:hover .video-thumb-img {
  transform: scale(1.03);
  filter: brightness(1);
}
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center;
  color: var(--c-white);
  transition: background var(--tr), transform var(--tr);
}
.video-thumb-link:hover .video-play-btn {
  background: var(--c-gold);
  border-color: var(--c-gold);
  transform: translate(-50%, -50%) scale(1.1);
}
.video-yt-badge {
  position: absolute;
  bottom: 1rem; right: 1rem;
  display: flex; align-items: center; gap: .4rem;
  background: rgba(0, 0, 0, .7);
  color: var(--c-white);
  font-size: .72rem;
  letter-spacing: .04em;
  padding: .35rem .75rem;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}
.video-placeholder-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  color: var(--c-muted2);
}
.play-btn-ring {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, .4);
  display: grid; place-items: center;
  font-size: 1.6rem;
  transition: all var(--tr); cursor: pointer;
  background: var(--c-gold-dim);
  color: var(--c-gold);
}
.play-btn-ring:hover {
  border-color: var(--c-gold);
  background: rgba(201, 168, 76, .2);
  transform: scale(1.1);
  animation: pulseGold 1.5s infinite;
}
.video-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.video-hint  { font-size: .74rem; color: var(--c-muted); text-align: center; padding-inline: 2rem; line-height: 1.7; }

.video-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.vf-item { display: flex; gap: 1rem; align-items: flex-start; }
.vf-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); margin-top: .55rem; flex-shrink: 0; }
.vf-item p { font-size: .9rem; color: var(--c-muted2); line-height: 1.65; }
.vf-item strong { color: var(--c-white); }

/* ════════════════════════
   INSTRUCTOR
════════════════════════ */
#instructor { background: var(--c-dark); }
.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 5.5rem;
  align-items: center;
}
.inst-portrait-wrap { position: relative; }
.inst-portrait {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.inst-portrait img { width: 100%; display: block; filter: grayscale(15%); transition: filter var(--tr-slow); }
.inst-portrait:hover img { filter: grayscale(0%); }
.inst-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--c-card), var(--c-card2));
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--c-muted);
}
.inst-placeholder svg { width: 80px; opacity: .2; }
.inst-placeholder p { font-size: .78rem; text-align: center; line-height: 1.6; max-width: 20ch; }
.dan-badge {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  background: var(--c-red); color: #fff;
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-red);
  text-align: center;
}
.dan-badge .dan-val { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.dan-badge .dan-lbl { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-top: .2rem; }
.inst-name {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  margin-block: .75rem 1.25rem;
}
.rank-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--c-red-dim);
  border: 1px solid rgba(192, 57, 43, .3);
  color: #e87060;
  padding: .42rem 1.1rem; border-radius: 99px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.inst-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-block: 2rem;
}
.affiliations {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem;
}

/* ── Clases header (sin gráfico) ── */
.clases-header { display: none; }

/* ── Formación del Sensei (bloque inferior, ancho completo) ── */
.inst-formation {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}
.formation-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 1.5rem;
}
.formation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.formation-item {
  background: var(--c-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: background var(--tr);
}
.formation-item:hover { background: var(--c-card2); }
.formation-item.formation-highlight { background: rgba(192, 57, 43, .06); }
.formation-item.formation-highlight:hover { background: rgba(192, 57, 43, .1); }
.formation-year {
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-gold);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.formation-item.formation-highlight .formation-year { color: #e87060; }
.formation-body h4 { font-size: .88rem; font-weight: 600; margin-bottom: .25rem; }
.formation-body p  { font-size: .78rem; color: var(--c-muted2); line-height: 1.6; }

/* ── Historial de Aikido ── */
.aikido-history {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.history-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--tr);
}
.history-row:last-child { border-bottom: none; }
.history-row:hover { background: rgba(255,255,255,.025); }

.history-row-header {
  grid-template-columns: 1fr;
  background: rgba(255,255,255,.03);
  padding: .6rem 1.5rem;
}
.history-row-header span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.history-row-highlight {
  background: rgba(201, 168, 76, .04);
}
.history-row-highlight:hover { background: rgba(201, 168, 76, .08); }
.history-row-current {
  background: rgba(192, 57, 43, .06);
}
.history-row-current:hover { background: rgba(192, 57, 43, .1); }

.history-year {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-gold);
  padding-top: .15rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.history-row-highlight .history-year { color: var(--c-gold-l); }
.history-row-current .history-year { color: #e87060; }

.history-body h4 { font-size: .88rem; font-weight: 600; margin-bottom: .15rem; }
.history-body p  { font-size: .78rem; color: var(--c-muted2); line-height: 1.5; }

/* ════════════════════════
   TÉCNICAS
════════════════════════ */
#tecnicas { background: var(--c-black); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}
.belt-row {
  display: flex; gap: .65rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 3rem;
  border-top: 1px solid var(--c-border);
}

.tech-grade-cta {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.tech-grade-cta p {
  font-size: .88rem;
  color: var(--c-muted2);
  line-height: 1.7;
  max-width: 55ch;
}

/* ════════════════════════
   TESTIMONIOS
════════════════════════ */
#testimonios { background: var(--c-dark); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testi-featured {
  border-color: rgba(201, 168, 76, .25) !important;
  background: linear-gradient(135deg, rgba(201, 168, 76, .05), var(--c-card)) !important;
}

/* ════════════════════════
   FAQ
════════════════════════ */
#faq { background: var(--c-black); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 3rem;
}
.faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr);
}
.faq-item.open { border-color: rgba(201, 168, 76, .3); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  cursor: pointer;
  user-select: none;
  transition: background var(--tr);
}
.faq-question:hover { background: rgba(255,255,255,.03); }
.faq-q-text { font-size: .95rem; font-weight: 600; line-height: 1.4; }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-gold-dim);
  border: 1px solid rgba(201, 168, 76, .25);
  display: grid; place-items: center;
  color: var(--c-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--tr), background var(--tr);
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(201, 168, 76, .2); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding var(--tr);
  padding-inline: 1.75rem;
}
.faq-answer p {
  font-size: .88rem;
  color: var(--c-muted2);
  line-height: 1.8;
  padding-bottom: 1.5rem;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ════════════════════════
   PRECIOS
════════════════════════ */
#precios { background: var(--c-dark); }
.pricing-note {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201, 168, 76, .1);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: 99px;
  padding: .5rem 1.1rem;
  font-size: .8rem; color: var(--c-gold);
  margin-bottom: 3rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  position: relative;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: rgba(192, 57, 43, .4);
  background: linear-gradient(160deg, rgba(192, 57, 43, .08), var(--c-card));
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing-badge {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  background: var(--c-red); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem 1.1rem; border-radius: 99px;
  white-space: nowrap;
}
.pricing-period {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: .5rem;
}
.pricing-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; }
.pricing-price {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.pricing-price .amount {
  font-family: var(--f-serif);
  font-size: 3rem; font-weight: 700;
  line-height: 1; color: var(--c-white);
}
.pricing-price .currency { font-size: 1.1rem; color: var(--c-muted2); vertical-align: top; margin-top: .5rem; display: inline-block; }
.pricing-price .consult {
  font-size: 1.3rem; font-weight: 600; color: var(--c-gold);
}
.pricing-features { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.pricing-feature { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--c-muted2); }
.pricing-feature .check { color: var(--c-green); font-weight: 700; flex-shrink: 0; }
.pricing-feature .cross { color: var(--c-muted); flex-shrink: 0; }
.pricing-feature.disabled { opacity: .45; }
.pricing-disclaimer {
  font-size: .75rem; color: var(--c-muted);
  text-align: center; margin-top: 2rem; line-height: 1.7;
}

/* ════════════════════════
   EXÁMENES — Acordeón
════════════════════════ */
#examenes { background: var(--c-black); }

.exam-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.exam-download { flex-shrink: 0; }

.exam-accordion {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.exam-acc-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-left-width: 4px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--tr), background var(--tr);
}

/* ── Colores por grado ── */
/* 5° Kyū — Amarillo */
:root { --belt-5: #e6c619; }
.grade-5kyu { border-left-color: var(--belt-5); }
.grade-5kyu .exam-grade-badge { background: rgba(230,198,25,.14); color: var(--belt-5); }
.grade-5kyu.open { background: rgba(230,198,25,.03); }
.grade-5kyu .exam-acc-icon { background: rgba(230,198,25,.12); border-color: rgba(230,198,25,.3); color: var(--belt-5); }

/* 4° Kyū — Naranja */
:root { --belt-4: #e8832a; }
.grade-4kyu { border-left-color: var(--belt-4); }
.grade-4kyu .exam-grade-badge { background: rgba(232,131,42,.14); color: var(--belt-4); }
.grade-4kyu.open { background: rgba(232,131,42,.03); }
.grade-4kyu .exam-acc-icon { background: rgba(232,131,42,.12); border-color: rgba(232,131,42,.3); color: var(--belt-4); }

/* 3° Kyū — Verde */
:root { --belt-3: #3aaa6a; }
.grade-3kyu { border-left-color: var(--belt-3); }
.grade-3kyu .exam-grade-badge { background: rgba(58,170,106,.14); color: var(--belt-3); }
.grade-3kyu.open { background: rgba(58,170,106,.03); }
.grade-3kyu .exam-acc-icon { background: rgba(58,170,106,.12); border-color: rgba(58,170,106,.3); color: var(--belt-3); }

/* 2° Kyū — Azul */
:root { --belt-2: #3a7fe8; }
.grade-2kyu { border-left-color: var(--belt-2); }
.grade-2kyu .exam-grade-badge { background: rgba(58,127,232,.14); color: var(--belt-2); }
.grade-2kyu.open { background: rgba(58,127,232,.03); }
.grade-2kyu .exam-acc-icon { background: rgba(58,127,232,.12); border-color: rgba(58,127,232,.3); color: var(--belt-2); }

/* 1° Kyū — Marrón */
:root { --belt-1: #b87040; }
.grade-1kyu { border-left-color: var(--belt-1); }
.grade-1kyu .exam-grade-badge { background: rgba(184,112,64,.14); color: var(--belt-1); }
.grade-1kyu.open { background: rgba(184,112,64,.03); }
.grade-1kyu .exam-acc-icon { background: rgba(184,112,64,.12); border-color: rgba(184,112,64,.3); color: var(--belt-1); }

.exam-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  user-select: none;
  transition: background var(--tr);
}
.exam-acc-header:hover { background: rgba(255,255,255,.025); }

.exam-grade-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.exam-grade-badge {
  width: 52px; height: 52px;
  border-radius: var(--r);
  display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 700;
  flex-shrink: 0;
}
.exam-grade-name {
  display: block;
  font-size: 1rem; font-weight: 700;
  letter-spacing: .04em;
}
.exam-grade-classes {
  display: block;
  font-size: .78rem;
  color: var(--c-muted2);
  margin-top: .1rem;
}

.exam-acc-toggle { flex-shrink: 0; }
.exam-acc-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-gold-dim);
  border: 1px solid rgba(201,168,76,.25);
  display: grid; place-items: center;
  color: var(--c-gold);
  font-size: 1.2rem; font-weight: 300;
  transition: transform var(--tr), background var(--tr);
  line-height: 1;
}
.exam-acc-item.open .exam-acc-icon {
  transform: rotate(45deg);
  background: rgba(201,168,76,.2);
}

/* Cuerpo del acordeón */
.exam-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}
.exam-acc-item.open .exam-acc-body { max-height: 1000px; }

/* Tabla de técnicas */
.tech-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
}
.tech-table thead tr {
  background: rgba(255,255,255,.04);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.tech-table th {
  padding: .65rem 1.5rem;
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.tech-table th:first-child { width: 36px; }
.tech-table th:last-child  { width: 130px; }

.tech-table td {
  padding: .7rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.5;
  color: var(--c-muted2);
}
.tech-table tbody tr:last-child td { border-bottom: none; }
.tech-table td:first-child {
  color: var(--c-muted);
  font-size: .75rem;
  font-weight: 600;
}
.tech-table td:nth-child(2) {
  color: var(--c-white);
  font-weight: 600;
}
.tech-table td:last-child {
  color: var(--c-gold);
  font-size: .78rem;
}
.tech-table tbody tr:hover td { background: rgba(255,255,255,.018); }

.exam-note {
  text-align: center;
  font-size: .75rem;
  color: var(--c-muted);
  margin-top: 1.5rem;
  letter-spacing: .06em;
}

/* ════════════════════════
   NOTICIAS
════════════════════════ */
#noticias { background: var(--c-dark); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ════════════════════════
   INSTAGRAM
════════════════════════ */
#instagram { background: var(--c-black); }
.instagram-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.instagram-handle {
  display: flex; align-items: center; gap: .6rem;
  font-size: .88rem; color: var(--c-muted2);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.ig-item {
  aspect-ratio: 1;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  cursor: pointer;
  position: relative;
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .4s ease; filter: grayscale(20%); }
.ig-item:hover img { transform: scale(1.1); filter: grayscale(0%); }
.ig-overlay {
  position: absolute; inset: 0;
  background: rgba(20, 20, 30, .55);
  display: grid; place-items: center;
  opacity: 0; transition: opacity var(--tr);
  color: var(--c-white);
}
.ig-item:hover .ig-overlay { opacity: 1; }
.ig-placeholder {
  background: linear-gradient(135deg, var(--c-card), var(--c-card2));
  display: grid; place-items: center;
  color: var(--c-muted);
  font-size: 1.5rem;
}
.ig-cta { text-align: center; margin-top: 2rem; }
.ig-note { font-size: .78rem; color: var(--c-muted); margin-top: .75rem; }
