﻿/*
Theme Name: Rock Experience
Theme URI: https://rockexperience.es
Author: WebFactory · Jorge
Description: Tema a medida para Rock Experience · Escuela de música (Pilar de la Horadada, San Pedro del Pinatar y Los Alcázares). Réplica 1:1 del diseño aprobado.
Version: 2.3.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: rockexperience
*/

/* ==========================================================================
   Fuentes locales (extraídas del diseño, sin CDN externos)
   ========================================================================== */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/archivo-black-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/archivo-black-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/sora-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/sora-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Base
   ========================================================================== */
:root {
  --ink: #193445;
  --paper: #F7F2E7;
  --orange: #D57D5E;
  --orange-soft: #E3A084;
  --yellow: #F4D29B;
  --card-border: #E7E2D6;
  --body-soft: #5A574F;
  --body-strong: #3A3833;
  --dark-card: #17171B;
  --dark-muted: #B7B4BC;
  --dark-dim: #8B8890;
  --stone: #9A968C;
  --foot-dim: #6C6972;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #193445;
  color: #193445;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }
::selection { background: #D57D5E; color: #fff; }

@keyframes reMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes reUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reGlow { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

.re-page { background: #F7F2E7; min-height: 100vh; overflow-x: hidden; padding-top: 128px; } /* 104px de logo (más grande que el original, pide el cliente más identidad) + 2x12px de padding del header fijo */
.re-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.re-dark { background: #193445; color: #F7F2E7; }

/* Paddings de sección */
.pad-a  { padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(36px, 5vw, 72px); }
.pad-a-b{ padding-top: 0; padding-bottom: clamp(36px, 5vw, 72px); }
.pad-b  { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.pad-b-b{ padding-top: 0; padding-bottom: clamp(28px, 4vw, 56px); }
.pad-b-t{ padding-top: clamp(28px, 4vw, 56px); padding-bottom: 0; }
.pad-c  { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.pad-d  { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(28px, 4vw, 52px); }
.pad-e  { padding-top: clamp(28px, 3.5vw, 52px); padding-bottom: clamp(28px, 3.5vw, 52px); }
.pad-f  { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.pad-g  { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 4vw, 56px); }
.pad-h-b{ padding-top: 0; padding-bottom: clamp(36px, 5vw, 64px); }
.pad-i  { padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(24px, 3.5vw, 48px); }

/* ==========================================================================
   Tipografía y piezas comunes
   ========================================================================== */
.display { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
.notfound-title { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; font-size: clamp(24px, 3.4vw, 40px); margin: 18px 0 14px; }

.kick { font-size: 13px; font-weight: 800; letter-spacing: 2px; margin-bottom: 14px; }
.kick--orange { color: #D57D5E; }
.kick--yellow { color: #F4D29B; }
.kick--mb22 { margin-bottom: 22px; }

.crumbs { font-size: 13px; font-weight: 700; color: #8B8890; margin-bottom: 22px; }
.crumbs a { color: #8B8890; }
.crumbs .sep { color: #4A484F; }
.crumbs .here { color: #E3A084; }

.h1-hero  { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 20px; }
.h2-block { font-family: 'Archivo Black', sans-serif; font-size: clamp(30px, 4.4vw, 54px); line-height: 1; text-transform: uppercase; }
.lead { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: #B7B4BC; }
.lead strong { color: #F7F2E7; }
/* Copy de cuerpo estándar (misma tipografía que .zone-p) para párrafos de texto en secciones claras.
   Las variantes de hero (.inst-hero .long / .side-hero .long) la sobrescriben por especificidad. */
.long { font-size: 16.5px; line-height: 1.7; color: #5A574F; }
/* Enlaces del cuerpo: subrayado naranja siempre visible (marca), pleno al hover. */
.long a, .zone-p a { color: #B85F3F; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(213,125,94,.45); text-underline-offset: 3px; }
.long a:hover, .zone-p a:hover { text-decoration-color: #D57D5E; }
.local-sec .long { margin-top: 14px; }
.local-sec h2 { margin-bottom: 4px; }

.chip { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: #193445; background: #F4D29B; padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }

.btn { display: inline-block; font-weight: 800; border-radius: 12px; }
.btn-orange { padding: 15px 26px; background: #D57D5E; color: #fff; }
.btn-ink    { padding: 16px 28px; background: #193445; color: #F7F2E7; white-space: nowrap; }
.btn-ghost-light { padding: 15px 26px; border: 1px solid rgba(255,255,255,.24); color: #F7F2E7; font-weight: 700; }
.btn-ghost-dark  { padding: 13px 22px; border: 1.5px solid #193445; color: #193445; font-size: 14px; border-radius: 11px; }

/* Tarjetas */
.card { background: #fff; border: 1px solid #E7E2D6; border-radius: 16px; padding: 26px 22px; }
.card-dark { background: #17171B; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; }
a.card, a.card-dark { display: block; transition: border-color .2s; }
a.card:hover { border-color: #D57D5E; }
a.card-dark:hover { border-color: #D57D5E; }

/* Grids parametrizadas del diseño */
.g { display: grid; }
.g-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.g-220 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.g-230 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.g-230f{ grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.g-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.g-240s{ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.g-240f{ grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.g-210f{ grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.g-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.g-280s{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.g-300f{ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }

/* Placeholder de imagen (image-slot del diseño) */
.slot { background: #1d1d22; color: #6C6972; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; letter-spacing: .5px; overflow: hidden; }
.slot img, .slot video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Header
   ========================================================================== */
.re-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 9999; background: rgba(25,52,69,.86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.re-header__in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 20px; }
.re-header__logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.re-header__logo img { height: 104px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(213,125,94,.35)); }
.re-navlinks { display: flex; align-items: center; gap: 4px; }
.re-navlinks--menu { margin-left: auto; }
.re-navlinks--cta { gap: 9px; }
.re-navlinks a.nav-item { position: relative; padding: 9px 13px; font-size: 13.5px; font-weight: 600; letter-spacing: .2px; color: #D8D5DD; }
.re-navlinks a.nav-item.is-active { color: #D57D5E; }
.re-nav-alumnos { padding: 9px 14px; font-size: 13px; font-weight: 700; color: #F7F2E7; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; white-space: nowrap; }
.re-nav-apuntate { padding: 9px 16px; font-size: 13px; font-weight: 800; color: #fff; background: #D57D5E; border-radius: 9px; }
.re-burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.re-burger span { width: 20px; height: 2px; background: #F7F2E7; }

/* padding-top 116px: la cabecera móvil mide 98px (ver comentario más abajo), deja un margen de
   18px para que el primer item ("Inicio") no quede tapado por la barra superior. */
.re-mobile { position: fixed; inset: 0; z-index: 49; background: rgba(25,52,69,.98); backdrop-filter: blur(8px); padding: 116px 24px 32px; display: none; flex-direction: column; gap: 6px; overflow-y: auto; }
.re-mobile.is-open { display: flex; }
.re-mobile a.m-item { padding: 16px 14px; font-weight: 600; font-size: 24px; color: #F7F2E7; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 12px; transition: background .15s ease, color .15s ease, padding-left .15s ease; }
.re-mobile a.m-item:hover, .re-mobile a.m-item:active { background: rgba(213,125,94,.14); color: #E3A084; padding-left: 22px; }
.re-mobile__cta { display: flex; gap: 10px; margin-top: 20px; }
.re-mobile__cta .m-alumnos { flex: 1; text-align: center; padding: 14px; font-weight: 700; color: #F7F2E7; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; }
.re-mobile__cta .m-apuntate { flex: 1; text-align: center; padding: 14px; font-weight: 800; color: #fff; background: #D57D5E; border-radius: 11px; }

@media (max-width: 900px) {
  .re-navlinks { display: none !important; }
  .re-burger { display: flex !important; }
  /* En móvil: logo algo más grande (88px) con el header más
     compacto (padding vertical 5px); alto total 88 + 2x5 = 98px, y .re-page compensa esa cifra. */
  .re-header__in { padding-top: 5px; padding-bottom: 5px; }
  .re-header__logo img { height: 88px; }
  .re-page { padding-top: 98px; }
}
@media (min-width: 901px) {
  .re-burger { display: none !important; }
  .re-mobile { display: none !important; }
}

/* ==========================================================================
   Home
   ========================================================================== */
.hero { position: relative; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: 0; pointer-events: none; }
.hero__shade-x { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(25,52,69,.94) 0%, rgba(25,52,69,.78) 48%, rgba(25,52,69,.55) 100%); }
.hero__shade-y { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(0deg, rgba(25,52,69,.85) 0%, rgba(25,52,69,0) 45%); }
.hero__glow-tr { position: absolute; top: -20%; right: -10%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(213,125,94,.28), transparent 62%); pointer-events: none; z-index: 0; }
.hero__glow-bl { position: absolute; bottom: -30%; left: -14%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(244,210,155,.14), transparent 60%); pointer-events: none; }
/* Marca de agua fija (sin repetir, sin animación): un único logo grande en blanco fantasma,
   arriba a la derecha del hero. Caja del tamaño del propio logo (no de todo el hero) para que
   el rotate() gire sobre su propio centro; con inset:0 el giro pivotaba sobre el centro de TODO
   el hero y el logo "saltaba" de sitio según la altura de pantalla, llegando a esconderse bajo
   el menú fijo. El top fijo (no %) deja siempre el mismo margen bajo la cabecera. */
.hero__ribbons { position: absolute; top: 72px; left: 58vw; width: clamp(240px, 32vw, 520px); aspect-ratio: 3.003 / 1; z-index: 1; pointer-events: none; opacity: .08; transform: none; background-repeat: no-repeat; background-position: center; background-size: contain; filter: brightness(0) invert(1); }
.hero__in { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 14vh, 150px) 24px clamp(56px, 9vh, 96px); position: relative; z-index: 2; min-height: 88vh; display: flex; flex-direction: column; justify-content: center; }
/* Logo protagonista del hero: claro sobre el vídeo oscuro, escala con el viewport. */
.hero__badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: #F4D29B; margin-bottom: 30px; background: rgba(25,52,69,.45); backdrop-filter: blur(4px); }
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #D57D5E; animation: reGlow 2s infinite; }
/* SEO/GEO: el H1 lleva la keyword de la home ("Escuela de música en Murcia y Alicante",
   igual que el <title>), una sola línea. */
.hero__h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; letter-spacing: -1px; text-transform: uppercase; margin-bottom: 34px; text-shadow: 0 2px 40px rgba(0,0,0,.5); }
.hero__h1 .hl { color: #D57D5E; font-weight: 700; }
.hero__sub { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.6; color: #D8D5DD; margin-bottom: 38px; }
.hero__sub strong { color: #F7F2E7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 52px; }
.hero__cta .cta-main { padding: 17px 30px; background: #D57D5E; color: #fff; font-weight: 800; font-size: 16px; border-radius: 12px; }
.hero__cta .cta-alt { padding: 17px 30px; border: 1px solid rgba(255,255,255,.3); color: #F7F2E7; font-weight: 700; font-size: 16px; border-radius: 12px; background: rgba(25,52,69,.35); backdrop-filter: blur(4px); }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); }
.hero__stats .n { font-family: 'Archivo Black', sans-serif; font-size: clamp(34px, 4vw, 48px); color: #F4D29B; line-height: 1; }
.hero__stats .l { font-size: 12.5px; color: #B7B4BC; font-weight: 600; letter-spacing: .3px; margin-top: 4px; }

.marquee { background: #D57D5E; color: #193445; padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 0; animation: reMarquee 26s linear infinite; }
.marquee__track span { font-family: 'Archivo Black', sans-serif; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }

.split-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 52px; }
.split-head--44 { margin-bottom: 44px; }
.split-head .note { font-size: 16px; line-height: 1.6; color: #5A574F; }
.split-head .btn-more { padding: 13px 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 11px; font-weight: 700; font-size: 15px; }

@media (max-width: 900px) {
  /* Hero: todo el contenido centrado en móvil (badge, título, texto, CTAs y stats).
     Este bloque va DESPUÉS de las reglas base de arriba a propósito: con la misma
     especificidad (una sola clase), gana la que aparece más tarde en el CSS, así que
     un @media puesto antes de la regla base que sobreescribe queda anulado por ella. */
  /* El hero completo (badge a stats) tiene que caber en una pantalla de móvil sin scroll:
     .re-page ya baja el contenido los 98px de la cabecera fija, así que aquí no hace falta
     otro tanto de padding superior; y cada margen/padding se recorta para que la suma total
     quepa en el alto visible real de un móvil (más corto que 100vh por la barra del navegador). */
  .hero__in { align-items: center; text-align: center; padding: 24px 20px 28px; min-height: auto; }
  .hero__badge { align-self: center; margin-bottom: 14px; }
  /* El H1 ahora lleva la keyword además del gancho (2 frases, más texto que antes): se compensa
     con un tamaño más contenido para no perder el ajuste a una pantalla de móvil. */
  .hero__h1 { font-size: clamp(26px, 7.5vw, 36px); margin-bottom: 12px; }
  .inst-hero h1, .sede-hero h1, .side-hero h1, .exam-hero h1, .h1-hero, .article-hero h1, .legal-hero h1 { font-size: clamp(26px, 7.5vw, 36px); }
  .hero__sub { font-size: 14px; margin-bottom: 18px; }
  .hero__cta { justify-content: center; margin-bottom: 20px; }
  /* Stats del hero: una por fila y centradas, separadas por una línea sutil. */
  .hero__stats { flex-direction: column; align-items: center; text-align: center; gap: 0; }
  .hero__stats .n { font-size: 26px; }
  .hero__stats > div { padding: 8px 0; }
  .hero__stats > div:not(:first-child) { border-top: 1px solid rgba(255,255,255,.08); }
  /* Cabeceras de sección (kicker + título + nota/enlace): centradas en móvil.
     La nota se limita en ancho para que no quede una línea de texto centrado gigante. */
  .split-head { flex-direction: column; align-items: center; text-align: center; }
  .split-head .note { max-width: 480px; margin: 0 auto; }
  .section-head { text-align: center; }
  .testi h2 { text-align: center; }
}

/* Numerales del método en naranja de marca (el amarillo se perdía sobre tarjeta blanca). */
.method-card .n { font-family: 'Archivo Black', sans-serif; font-size: 40px; color: #D57D5E; line-height: 1; margin-bottom: 16px; }
.method-card .t { font-weight: 800; font-size: 17px; margin-bottom: 8px; color: #193445; }
.method-card .d { font-size: 14px; line-height: 1.55; color: #5A574F; }

.inst-card { padding: 22px; }
.inst-card .fam { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #E3A084; margin-bottom: 14px; }
.inst-card .name { font-family: 'Archivo Black', sans-serif; font-size: 24px; line-height: 1; text-transform: uppercase; margin-bottom: 10px; color: #F7F2E7; }
.inst-card .blurb { font-size: 13.5px; line-height: 1.5; color: #8B8890; }

.card.sede-card { overflow: hidden; border-radius: 18px; display: flex; flex-direction: column; }
.sede-card .slot { width: 100%; aspect-ratio: 16/10; flex: none; }
.sede-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sede-card .tag { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 8px; }
.sede-card .name { font-family: 'Archivo Black', sans-serif; font-size: 26px; text-transform: uppercase; color: #193445; margin-bottom: 10px; }
.sede-card .short { font-size: 14px; line-height: 1.55; color: #5A574F; margin-bottom: 14px; }
.sede-card .more { font-weight: 800; font-size: 14px; color: #B85F3F; border-bottom: 2px solid #D57D5E; padding-bottom: 2px; margin-top: auto; align-self: flex-start; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo__yellow { background: #F4D29B; border-radius: 22px; padding: clamp(28px, 3.5vw, 48px); color: #193445; display: flex; flex-direction: column; align-items: flex-start; }
.duo__dark { background: #193445; color: #F7F2E7; border-radius: 22px; padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; align-items: flex-start; }
.duo .kick { margin-bottom: 16px; }
.duo h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 3vw, 40px); line-height: 1; text-transform: uppercase; margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.duo p { font-size: 16px; line-height: 1.6; margin-bottom: 26px; }
.duo__dark p { color: #B7B4BC; }
.duo .btn-duo-ink { display: inline-block; padding: 14px 24px; background: #193445; color: #F7F2E7; font-weight: 800; border-radius: 11px; margin-top: auto; }
.duo .btn-duo-orange { display: inline-block; padding: 14px 24px; background: #D57D5E; color: #fff; font-weight: 800; border-radius: 11px; margin-top: auto; }

.testi h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(28px, 3.6vw, 46px); text-transform: uppercase; margin-bottom: 44px; }
.testi-card { padding: 28px; border-radius: 18px; }
.testi-card .stars { color: #F4D29B; font-size: 22px; margin-bottom: 14px; }
.testi-card p { font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.testi-card .who { font-weight: 800; font-size: 14px; }
.testi-card .role { font-size: 13px; color: #8B8890; }

.cta-big { background: #D57D5E; border-radius: 26px; padding: clamp(36px, 5vw, 72px); text-align: center; color: #193445; position: relative; overflow: hidden; }
.cta-big .t { font-family: 'Archivo Black', sans-serif; font-size: clamp(34px, 5.5vw, 72px); line-height: .95; text-transform: uppercase; margin-bottom: 18px; }
.cta-big p { font-size: 18px; margin: 0 auto 30px; line-height: 1.55; font-weight: 500; }
.cta-big__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-big .b1 { padding: 16px 30px; background: #193445; color: #F7F2E7; font-weight: 800; border-radius: 12px; font-size: 16px; }
.cta-big .b2 { padding: 16px 30px; background: rgba(25,52,69,.12); border: 1.5px solid #193445; color: #193445; font-weight: 800; border-radius: 12px; font-size: 16px; }

/* ==========================================================================
   Banda CTA (naranja / amarilla, layout flexible)
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; color: #193445; }
.cta-band--orange { background: #D57D5E; color: #fff; }
.cta-band--yellow { background: #F4D29B; }
.cta-band .t { font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 3.4vw, 44px); text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.cta-band .t--sm { font-size: clamp(24px, 3.2vw, 40px); line-height: 1.05; }
.cta-band p { font-size: 16px; }

/* Sello de marca en las bandas CTA (re_cta_seal): esquina superior derecha,
   discreto; se oculta en pantallas estrechas para no pisar el texto. */
.cta-seal { position: absolute; top: 20px; right: 22px; width: clamp(84px, 9vw, 112px); height: auto; opacity: .55; pointer-events: none; user-select: none; }
@media (max-width: 560px) { .cta-seal { display: none; } }
/* El logo (crema/naranja) se pierde sobre los fondos de las bandas: silueta blanca
   en las naranjas y el CTA oscuro, negra en la amarilla. */
.cta-big .cta-seal, .cta-band--orange .cta-seal { filter: brightness(0) invert(1); opacity: .85; }
.article-cta .cta-seal { filter: brightness(0) invert(1); opacity: .5; }
.cta-band--yellow .cta-seal { filter: brightness(0); opacity: .8; }

.cta-center { background: #D57D5E; border-radius: 24px; padding: clamp(34px, 4.5vw, 64px); text-align: center; color: #193445; }
.cta-center .t { font-family: 'Archivo Black', sans-serif; font-size: clamp(30px, 4.4vw, 58px); text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.cta-center p { font-size: 17px; margin: 0 auto 26px; line-height: 1.55; font-weight: 500; }

/* ==========================================================================
   Detalle de instrumento
   ========================================================================== */
.inst-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.inst-hero .crumbs { margin-bottom: 20px; }
.inst-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 18px; }
.inst-hero .long { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.6; color: #B7B4BC; margin-bottom: 30px; }
.inst-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.inst-hero .slot { width: 100%; aspect-ratio: 1/1; border-radius: 20px; }
/* Variante fondo completo: cuando el instrumento tiene foto de portada */
.inst-hero-wrap--bg { background-size: cover; background-position: center; position: relative; }
.inst-hero-wrap--bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,8,6,.88) 0%, rgba(10,8,6,.60) 55%, rgba(10,8,6,.30) 100%); pointer-events: none; }
.inst-hero-wrap--bg .re-wrap { position: relative; z-index: 1; }
.inst-hero--solo { grid-template-columns: 1fr; }
.inst-hero--solo h1 { font-size: 42px; max-width: none; }
.inst-hero--solo .long { }

.learn-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.learn-grid h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(28px, 3.6vw, 46px); line-height: 1; text-transform: uppercase; color: #193445; margin-bottom: 28px; }
.learn-grid .sub { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #9A968C; margin-bottom: 8px; }
.learn-grid .who { font-size: 16px; font-weight: 600; color: #193445; }
.learn-grid .who-box { margin-bottom: 22px; }
.styles-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.styles-tags span { font-size: 13px; font-weight: 700; color: #193445; background: #F4D29B; padding: 7px 13px; border-radius: 100px; }
.learn-list { display: flex; flex-direction: column; gap: 2px; }
.learn-list .row { display: flex; gap: 16px; padding: 18px 4px; border-bottom: 1px solid #E7E2D6; align-items: center; }
.learn-list .check { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: #D57D5E; color: #193445; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; }
.learn-list .txt { font-size: 16.5px; font-weight: 500; color: #193445; }

/* Cabecera de "qué aprenderás": título a la izquierda, meta (para quién / estilos) a la derecha. */
.learn-sec { padding-bottom: clamp(30px, 3.4vw, 48px); }
.local-sec { padding-top: clamp(30px, 3.4vw, 48px); }
.learn-head { display: flex; flex-wrap: wrap; gap: 24px 44px; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.learn-head__title h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 3.2vw, 42px); line-height: 1; text-transform: uppercase; color: #193445; margin-top: 12px; }
.learn-meta { display: flex; gap: 34px; flex-wrap: wrap; padding-bottom: 4px; }
.learn-meta .sub { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #9A968C; margin-bottom: 9px; }
.learn-meta .lm-val { font-size: 16px; font-weight: 600; color: #193445; }

/* Checklist "qué aprenderás" como rejilla de tarjetas (más rica y compacta que las líneas). */
.learn-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.learn-cards--wide { grid-template-columns: repeat(3, 1fr); }
.learn-cards .lc { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid #E7E2D6; border-radius: 14px; padding: 15px 17px; transition: border-color .15s ease, transform .15s ease; }
.learn-cards .lc:hover { border-color: #D57D5E; transform: translateY(-2px); }
.learn-cards .check { width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; background: #D57D5E; color: #193445; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; }
.learn-cards .txt { font-size: 15.5px; font-weight: 600; color: #193445; line-height: 1.3; }
/* Columna izquierda: la caja "para quién / estilos" como panel, para que no quede vacía. */
.learn-grid .who-box { margin-bottom: 20px; background: #fff; border: 1px solid #E7E2D6; border-radius: 14px; padding: 16px 18px; }
.learn-grid .who-box .who { font-size: 17px; }

.level-card .t { font-family: 'Archivo Black', sans-serif; font-size: 22px; text-transform: uppercase; color: #193445; margin-bottom: 10px; }
.level-card p { font-size: 14.5px; line-height: 1.6; color: #5A574F; }
.level-card { padding: 26px; }

.inst-sedes h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; text-transform: uppercase; margin-bottom: 16px; }
.inst-sedes .lead-sm { font-size: 16.5px; line-height: 1.6; color: #B7B4BC; margin-bottom: 32px; }
.inst-sede-card { padding: 24px; }
.inst-sede-card .region { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #E3A084; margin-bottom: 10px; }
.inst-sede-card .line { font-weight: 700; font-size: 16.5px; line-height: 1.35; margin-bottom: 14px; color: #F7F2E7; }
.inst-sede-card .go { font-weight: 800; font-size: 13.5px; color: #F4D29B; }

.mini-card { padding: 18px; border-radius: 14px; }
.mini-card .fam { font-size: 10.5px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 8px; }
.mini-card .name { font-family: 'Archivo Black', sans-serif; font-size: 20px; text-transform: uppercase; color: #193445; }

/* Familias de instrumentos en /clases/: antes era un único párrafo con las 5 familias
   enlazadas seguidas (muro de texto); ahora una fila de bloques cortos, uno por familia,
   escaneable de un vistazo. */
.clases-fams { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 24px; }
.clases-fam { background: #fff; border: 1px solid #E7E2D6; border-radius: 16px; padding: 20px 18px; }
.clases-fam .fam { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 10px; }
.clases-fam p { font-size: 15px; line-height: 1.5; color: #5A574F; }
.clases-fam a { color: #193445; font-weight: 700; }
.clases-note { font-size: 13.5px; color: #8B8890; margin-bottom: 28px; }

/* Grid de clases (archivo) */
.clase-card { display: flex; flex-direction: column; padding: 24px; min-height: 170px; }
.clase-card .fam { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 14px; }
.clase-card .name { font-family: 'Archivo Black', sans-serif; font-size: 25px; line-height: 1; text-transform: uppercase; color: #193445; margin-bottom: 10px; }
.clase-card .blurb { font-size: 13.5px; line-height: 1.5; color: #5A574F; margin-bottom: 16px; }
.clase-card .go { margin-top: auto; font-weight: 800; font-size: 13.5px; color: #B85F3F; }

/* ==========================================================================
   Sedes
   ========================================================================== */
.sede-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #fff; border: 1px solid #E7E2D6; border-radius: 20px; overflow: hidden; }
.sede-row .slot { width: 100%; height: 100%; min-height: 240px; }
.sede-row__body { padding: clamp(26px, 3vw, 44px); }
.sede-row .tag { font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 12px; }
.sede-row .name { font-family: 'Archivo Black', sans-serif; font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; color: #193445; margin-bottom: 14px; }
.sede-row .short { font-size: 16px; line-height: 1.6; color: #5A574F; margin-bottom: 18px; }
.sede-row__meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 24px; }
.meta-label { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #9A968C; margin-bottom: 4px; }
.meta-val { font-weight: 700; color: #193445; }
.sede-row__cta { display: flex; gap: 10px; flex-wrap: wrap; }
/* "Ver detalle" y "Cómo llegar" se reparten el ancho a partes iguales; "Apúntate" baja a su propia fila a ancho completo. */
.sede-row__cta .sede-row__cta-half { flex: 1 1 0; text-align: center; }
.sede-row__cta .sede-row__cta-full { flex: 1 1 100%; text-align: center; }
/* Botón primario de las filas de sede en naranja de marca (antes negro): es la
   única acción de la tarjeta y refuerza el color corporativo sobre fondo claro. */
.sede-row__cta .b-ink { padding: 13px 22px; background: #D57D5E; color: #fff; font-weight: 800; border-radius: 11px; font-size: 14px; transition: color .15s ease; }
.sede-row__cta .b-ink:hover { color: #193445; }

/* Detalle sede */
.sede-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 18px; }
.sede-detail { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.sede-detail .slot { width: 100%; aspect-ratio: 16/10; border-radius: 18px; }
.sede-map { width: 100%; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; border: 1px solid #E7E2D6; background: #E7E2D6; }
.sede-map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Panel de ubicación con marca (sustituye el box vacío cuando la sede no tiene foto). */
.sede-placeholder { flex-direction: column; gap: 6px; background: #17171B; color: #F7F2E7; text-align: center; padding: 24px; }
.sede-placeholder .sp-pin { color: #D57D5E; margin-bottom: 2px; }
.sede-placeholder .sp-loc { font-family: 'Archivo Black', sans-serif; font-size: 18px; text-transform: uppercase; line-height: 1.1; letter-spacing: .5px; }
.sede-placeholder .sp-reg { font-size: 12px; color: #8B8890; letter-spacing: 1.5px; text-transform: uppercase; }
/* Panel de marca para tarjetas de blog sin imagen destacada: logo real centrado. */
.post-placeholder { flex-direction: column; gap: 10px; background: #17171B; color: #F7F2E7; }
.post-placeholder .pp-logo { width: min(58%, 190px); height: auto; object-fit: contain; }
.sede-info { background: #fff; border: 1px solid #E7E2D6; border-radius: 20px; padding: 22px 26px; box-shadow: 0 20px 40px -26px rgba(25,52,69,.35); font-size: 14px; display: flex; flex-direction: column; }
.sede-info .t { font-family: 'Archivo Black', sans-serif; font-size: 17px; letter-spacing: .3px; text-transform: uppercase; color: #193445; margin-bottom: 3px; }
.sede-info .t::after { content: ''; display: block; width: 30px; height: 3px; background: #D57D5E; border-radius: 2px; margin: 10px 0 12px; }
.sede-info__rows { display: flex; flex-direction: column; }
.sede-info__rows > div { padding: 8px 0; border-bottom: 1px solid #F0ECE2; }
.sede-info__rows > div:first-child { padding-top: 0; }
.sede-info__rows > div:last-child { border-bottom: none; padding-bottom: 0; }
.sede-info .meta-label { font-size: 10px; margin-bottom: 2px; }
.sede-info .meta-val { font-size: 14px; line-height: 1.35; }
.sede-maps { display: inline-block; margin-top: 4px; color: #D57D5E !important; font-weight: 800; transition: transform .15s ease; }
.sede-maps:hover { transform: translateX(2px); }
.sede-info .btn-res { display: block; text-align: center; margin-top: auto; padding: 12px; font-size: 14px; background: #D57D5E; color: #fff; font-weight: 800; border-radius: 14px; transition: transform .15s ease, box-shadow .15s ease; }
.sede-info__rows { margin-bottom: 14px; }
.sede-info .btn-res:hover { transform: translateY(-2px); box-shadow: 0 14px 24px -10px rgba(213,125,94,.55); }
.why-card { padding: 26px; }
.why-card .t { font-family: 'Archivo Black', sans-serif; font-size: 19px; text-transform: uppercase; margin-bottom: 10px; color: #F7F2E7; }
.why-card p { font-size: 14.5px; line-height: 1.6; color: #8B8890; }
.zone-h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 3vw, 38px); line-height: 1.05; text-transform: uppercase; color: #193445; margin-bottom: 16px; }
.zone-p { font-size: 16.5px; line-height: 1.7; color: #5A574F; margin-bottom: 24px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-tags span { font-size: 14px; font-weight: 700; color: #193445; background: #fff; border: 1px solid #E7E2D6; padding: 10px 16px; border-radius: 100px; }
.sede-why h2 { font-family: 'Archivo Black', sans-serif; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.05; text-transform: uppercase; margin-bottom: 32px; }

/* Colaboración con el ayuntamiento, en la ficha de cada sede. */
.ayto-badge { display: flex; align-items: center; justify-content: center; gap: 20px; background: #fff; border: 1px solid #E7E2D6; border-radius: 18px; padding: 22px 28px; }
/* Caja rectangular (no cuadrada): el logo de Pilar es horizontal (3.2:1) y los escudos
   de San Pedro/Los Alcázares son verticales; con una caja cuadrada el horizontal salía
   diminuto. Con una caja más ancha que alta y object-fit:contain, los tres quedan a un
   tamaño visual similar sin deformarse. */
.ayto-badge img { width: 220px; height: 140px; object-fit: contain; flex: none; }
.ayto-badge p { font-size: 16px; font-weight: 700; color: #3A3833; margin: 0; }
@media (max-width: 900px) {
  .ayto-badge { flex-direction: column; text-align: center; gap: 10px; padding: 20px 16px; }
  .ayto-badge img { width: 160px; height: 100px; }
  .ayto-badge p { font-size: clamp(11px, 3.6vw, 15px); white-space: nowrap; }
}

/* ==========================================================================
   Combo / Iniciación / Plataforma / Exámenes
   ========================================================================== */
.point-card { padding: 30px; border-radius: 18px; }
.point-card .t { font-family: 'Archivo Black', sans-serif; font-size: 23px; text-transform: uppercase; color: #193445; margin-bottom: 10px; }
.point-card p { font-size: 15.5px; line-height: 1.6; color: #5A574F; }
.combo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.side-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.side-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 18px; }
.side-hero .long { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: #B7B4BC; margin-bottom: 28px; }
.side-hero .slot--45 { width: 100%; aspect-ratio: 4/5; border-radius: 20px; }
.side-hero .slot--43 { width: 100%; aspect-ratio: 4/3; border-radius: 20px; }
.side-hero--plataforma h1 { font-size: clamp(36px, 5.6vw, 82px); }
/* Hero a una sola columna cuando no hay imagen (evita el hueco/box vacío). */
.side-hero--solo { grid-template-columns: 1fr; }
.side-hero--solo .long { }

.feat-card { padding: 26px; }
.feat-card .t { font-family: 'Archivo Black', sans-serif; font-size: 21px; text-transform: uppercase; color: #193445; margin-bottom: 10px; }
.feat-card .t--sm { font-size: 20px; }
.feat-card p { font-size: 14.5px; line-height: 1.6; color: #5A574F; }

.grade-card { padding: 28px; border-radius: 16px; }
.grade-card .n { font-family: 'Archivo Black', sans-serif; font-size: 34px; color: #D57D5E; line-height: 1; margin-bottom: 10px; }
.grade-card p { font-size: 14.5px; color: #5A574F; line-height: 1.55; }
.exam-band .t { font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 3.2vw, 40px); text-transform: uppercase; line-height: 1; margin-bottom: 0; }
.exam-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 20px; }

/* ==========================================================================
   Profesores
   ========================================================================== */
.prof-card { overflow: hidden; border-radius: 18px; }
.prof-card .slot { width: 100%; aspect-ratio: 1/1; }
.prof-card__body { padding: 22px; }
.prof-card .area { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #D57D5E; margin-bottom: 8px; }
.prof-card .role { font-family: 'Archivo Black', sans-serif; font-size: 20px; text-transform: uppercase; color: #193445; margin-bottom: 8px; }
.prof-card p { font-size: 14px; line-height: 1.55; color: #5A574F; }

/* ==========================================================================
   Precios
   ========================================================================== */
.price-card { position: relative; background: #fff; border: 1px solid #E7E2D6; border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.price-card .badge { position: absolute; top: -11px; left: 26px; background: #D57D5E; color: #193445; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 5px 12px; border-radius: 100px; }
.price-card .name { font-family: 'Archivo Black', sans-serif; font-size: 22px; text-transform: uppercase; color: #193445; margin-bottom: 14px; }
.price-card .amount { display: flex; align-items: baseline; gap: 4px; margin-bottom: 22px; }
.price-card .price { font-family: 'Archivo Black', sans-serif; font-size: 44px; color: #D57D5E; line-height: 1; }
.price-card .per { font-size: 15px; color: #9A968C; font-weight: 600; }
.price-card__feats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.price-card__feats .f { display: flex; gap: 10px; align-items: flex-start; }
.price-card__feats .tick { color: #D57D5E; font-weight: 900; flex-shrink: 0; }
.price-card__feats .txt { font-size: 14.5px; color: #3A3833; line-height: 1.45; }
.price-card .btn-buy { margin-top: auto; text-align: center; padding: 14px; background: #193445; color: #F7F2E7; font-weight: 800; border-radius: 11px; }
/* Tarifa destacada ("Más popular"): borde y botón en naranja de marca para que
   el primario no compita en negro con el resto de tarjetas. */
.price-card--featured { border: 2px solid #D57D5E; box-shadow: 0 8px 30px rgba(213,125,94,.12); }
.price-card--featured .btn-buy { background: #D57D5E; color: #fff; }
.price-note { font-size: 13px; color: #9A968C; margin-top: 20px; text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid #E7E2D6; border-radius: 14px; padding: 20px 24px; cursor: pointer; }
.faq-list summary { list-style: none; font-weight: 800; font-size: 17px; color: #193445; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .plus { color: #D57D5E; font-size: 22px; font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary .plus { display: inline-block; transform: rotate(45deg); }
.faq-list details p { font-size: 15.5px; line-height: 1.65; color: #5A574F; margin-top: 14px; }
.faq-cta { margin-top: 32px; text-align: center; }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; }
.post-card .slot { width: 100%; aspect-ratio: 16/9; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.post-card .cat { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #193445; background: #F4D29B; padding: 4px 10px; border-radius: 100px; }
.post-card .read { font-size: 12.5px; color: #9A968C; font-weight: 600; }
.post-card .title { font-family: 'Archivo Black', sans-serif; font-size: 22px; line-height: 1.05; text-transform: uppercase; color: #193445; margin-bottom: 12px; }
.post-card .excerpt { font-size: 14.5px; line-height: 1.55; color: #5A574F; margin-bottom: 16px; }
.post-card .go { margin-top: auto; font-weight: 800; font-size: 14px; color: #B85F3F; }

/* Artículo */
.article-hero { max-width: 1240px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) 24px; }
.article-hero .chip { font-size: 11px; letter-spacing: 1px; padding: 5px 12px; }
.article-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; }
.article-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.article-body { max-width: 1240px; margin: clamp(28px, 4vw, 56px) auto clamp(48px, 6vw, 90px); padding: clamp(32px, 4vw, 60px) clamp(20px, 3.5vw, 56px); background: #fff; border: 1px solid #E7E2D6; border-radius: 22px; box-shadow: 0 2px 24px rgba(25,52,69,.05); }
.article-body .thumb { width: 100%; aspect-ratio: 16/9; border-radius: 16px; margin-bottom: 36px; }
.article-body .intro { font-size: 19px; line-height: 1.7; color: #193445; font-weight: 500; margin-bottom: 26px; }
.article-body p { font-size: 17px; line-height: 1.75; color: #3A3833; margin-bottom: 20px; }
.article-body h2 { font-family: 'Archivo Black', sans-serif; font-size: 28px; text-transform: uppercase; color: #193445; margin: 34px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; font-size: 17px; line-height: 1.75; color: #3A3833; }
/* Contenido del blog justificado (solo posts), con guionado para evitar huecos feos. */
.article-body--justify > p, .article-body--justify > .intro { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.article-hero--wide { max-width: 1240px; }
.article-body--wide { max-width: 1240px; width: calc(100% - 32px); }
.article-cta { position: relative; overflow: hidden; background: #193445; color: #F7F2E7; border-radius: 20px; padding: 36px; text-align: center; }
.article-cta .t { font-family: 'Archivo Black', sans-serif; font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.article-cta p { font-size: 16px; color: #B7B4BC; margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   Componentes de artículo (blog enriquecido): lead, facts, callout, quote,
   cards, FAQ y CTA intermedia. Reutilizan el vocabulario del tema (Archivo
   Black, naranja #D57D5E, amarillo #F4D29B, tarjetas blancas con borde).
   -------------------------------------------------------------------------- */
/* Enlaces del cuerpo del artículo, mismo lenguaje que .long a / .zone-p a */
.article-body p a, .article-body li a { color: #B85F3F; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(213,125,94,.45); text-underline-offset: 3px; }
.article-body p a:hover, .article-body li a:hover { text-decoration-color: #D57D5E; }

/* Párrafo de entrada destacado */
.article-body .article-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.65; font-weight: 500; color: #193445; border-left: 5px solid #D57D5E; padding: 4px 0 4px 22px; margin-bottom: 30px; text-align: left; hyphens: none; -webkit-hyphens: none; }

/* Caja destacada para datos clave (oscura, acento amarillo/naranja de marca) */
.article-callout { background: #193445; color: #F7F2E7; border-radius: 18px; padding: 24px 28px; margin: 0 0 26px; }
.article-callout .k { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #F4D29B; margin-bottom: 10px; }
.article-body .article-callout p { font-size: 16px; line-height: 1.65; color: #F7F2E7; margin: 0; }
.article-body .article-callout p a { color: #F4D29B; font-weight: 600; }
.article-callout strong { color: #F4D29B; }

/* Mini-rejilla de datos (número grande + etiqueta, como los stats del hero) */
.article-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 30px; }
.article-facts .fact { background: #fff; border: 1px solid #E7E2D6; border-radius: 16px; padding: 20px 18px; }
.article-facts .n { font-family: 'Archivo Black', sans-serif; font-size: clamp(24px, 2.4vw, 34px); color: #D57D5E; line-height: 1; margin-bottom: 8px; }
.article-facts .l { font-size: 13px; font-weight: 600; color: #5A574F; line-height: 1.4; }

/* Cita / frase clave con estilo de marca */
.article-quote { border-left: 6px solid #D57D5E; padding: 6px 0 6px 26px; margin: 34px 0; }
.article-body .article-quote p { font-family: 'Archivo Black', sans-serif; font-size: clamp(20px, 2.3vw, 29px); line-height: 1.25; text-transform: uppercase; color: #193445; margin: 0; text-align: left; hyphens: none; -webkit-hyphens: none; }

/* Tarjetas de consejos/pasos (variante ligera de .learn-cards para el blog) */
.article-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 30px; }
.article-cards .ac { background: #fff; border: 1px solid #E7E2D6; border-radius: 16px; padding: 22px 20px; }
.article-cards .ac .n { font-family: 'Archivo Black', sans-serif; font-size: 30px; color: #D57D5E; line-height: 1; margin-bottom: 10px; }
.article-cards .ac .t { font-weight: 800; font-size: 15.5px; color: #193445; margin-bottom: 8px; }
.article-body .article-cards h3 { font-family: 'Archivo Black', sans-serif; font-size: 16px; text-transform: uppercase; color: #193445; margin: 0 0 8px; }
.article-cards .ac .d, .article-body .article-cards p { font-size: 14.5px; line-height: 1.55; color: #5A574F; margin: 0; }

/* FAQ del artículo: mismo patrón details/summary + plus que /faq/ (H3-pregunta real para GEO) */
.article-faq { display: flex; flex-direction: column; gap: 12px; margin: 0 0 30px; }
.article-faq details { background: #fff; border: 1px solid #E7E2D6; border-radius: 14px; padding: 20px 24px; cursor: pointer; }
.article-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary h3 { font: inherit; font-weight: 800; font-size: 17px; color: #193445; margin: 0; }
.article-faq summary::after { content: '＋'; color: #D57D5E; font-size: 22px; font-weight: 400; flex-shrink: 0; transition: transform .15s ease; }
.article-faq details[open] summary::after { transform: rotate(45deg); }
.article-body .article-faq p { font-size: 15.5px; line-height: 1.65; color: #5A574F; margin: 14px 0 0; }

/* CTA intermedia, más discreta que la banda final (amarilla, botón ink) */
.article-cta-inline { background: #F4D29B; border-radius: 18px; padding: 24px 28px; margin: 34px 0; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.article-cta-inline .txt { }
.article-cta-inline .txt .t { font-family: 'Archivo Black', sans-serif; font-size: 19px; text-transform: uppercase; color: #193445; margin-bottom: 4px; }
.article-body .article-cta-inline p { font-size: 15px; font-weight: 600; color: #193445; margin: 0; line-height: 1.5; }
.article-body .article-cta-inline p a { color: #193445; text-decoration: underline; text-underline-offset: 2px; }
.article-cta-inline .btn-ink { padding: 13px 22px; font-size: 14px; border-radius: 11px; }

@media (max-width: 900px) {
  .article-facts { grid-template-columns: 1fr 1fr; }
  .article-cta-inline { flex-direction: column; align-items: flex-start; }
  .article-body .article-quote p { font-size: 20px; }
  .article-body .article-lead { font-size: 17.5px; }
  .article-callout { padding: 20px 22px; }
}

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-form { background: #fff; border: 1px solid #E7E2D6; border-radius: 20px; padding: clamp(26px, 3vw, 40px); }
.contact-form .t { font-family: 'Archivo Black', sans-serif; font-size: 24px; text-transform: uppercase; color: #193445; margin-bottom: 22px; }
.contact-form__rows { display: flex; flex-direction: column; gap: 16px; }
.contact-form .pair { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-form label { font-size: 13px; font-weight: 700; color: #3A3833; display: block; }
.contact-form .pair label { flex: 1; min-width: 160px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #DAD4C6; border-radius: 12px;
  font-family: 'Inter', sans-serif; font-size: 15px; background: #FAF8F3; color: #193445;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: #D57D5E; box-shadow: 0 0 0 3px rgba(213,125,94,.15); background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .req { color: #D57D5E; }
.contact-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FF4A1C' d='M1.4 0 6 4.6 10.6 0 12 1.4l-6 6-6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer; }
/* Desplegable personalizable (Chrome 135+): opciones con hover naranja de marca.
   En navegadores sin soporte se mantiene el desplegable nativo del sistema. */
@supports (appearance: base-select) {
  .contact-form select, .contact-form select::picker(select) { appearance: base-select; }
  .contact-form select::picker-icon { display: none; } /* ya tenemos la flecha naranja propia */
  .contact-form select::picker(select) { border: 1px solid #DAD4C6; border-radius: 12px; background: #fff; padding: 6px; margin-top: 4px; box-shadow: 0 12px 32px rgba(25,52,69,.14); }
  .contact-form select option { padding: 11px 13px; border-radius: 8px; font-size: 15px; cursor: pointer; }
  .contact-form select option:hover, .contact-form select option:focus-visible { background: #D57D5E; color: #fff; }
  .contact-form select option { outline: none; }
  .contact-form select option:checked { background: rgba(213,125,94,.12); color: #B85F3F; }
  .contact-form select option:disabled { display: none; }
}
/* Aceptación de privacidad */
.contact-form .accept { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 13px; color: #5A574F; cursor: pointer; }
.contact-form .accept input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: #D57D5E; flex: none; }
.contact-form .accept a { color: #B85F3F; text-decoration: underline; }
.contact-form .btn-send { text-align: center; padding: 16px; background: #D57D5E; color: #fff; font-weight: 800; border-radius: 12px; margin-top: 4px; display: block; transition: background .15s ease, transform .1s ease; }
.contact-form .btn-send:hover { background: #E43D12; }
.contact-form .btn-send:active { transform: scale(.99); }
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-tile { border-radius: 16px; padding: 24px; display: block; }
.contact-tile--dark { background: #193445; color: #F7F2E7; }
.contact-tile--light { background: #fff; border: 1px solid #E7E2D6; }
.contact-tile .lab { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 8px; }
.contact-tile--dark .lab { color: #F4D29B; }
.contact-tile--light .lab { color: #D57D5E; }
.contact-tile .big { font-family: 'Archivo Black', sans-serif; font-size: 26px; }
.contact-tile .mail { font-weight: 800; font-size: 18px; color: #193445; }
.contact-sedes { display: flex; flex-direction: column; gap: 12px; }
.contact-sedes a { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.contact-sedes .n { font-weight: 700; color: #193445; font-size: 15px; }
.contact-sedes .r { font-size: 13px; color: #9A968C; }

/* ==========================================================================
   Legal
   ========================================================================== */
.legal-hero { max-width: 1240px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) 24px; }
.legal-hero h1 { font-family: 'Archivo Black', sans-serif; font-size: 42px; line-height: 1.16; text-transform: uppercase; margin-bottom: 14px; }
.legal-hero p { font-size: 16px; color: #B7B4BC; line-height: 1.6; }
.legal-body { max-width: 1240px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 24px; }
.legal-body p { font-size: 16.5px; line-height: 1.75; color: #3A3833; margin-bottom: 18px; }
.legal-body h2 { font-family: 'Archivo Black', sans-serif; font-size: 26px; text-transform: uppercase; color: #193445; margin: 30px 0 12px; }
.legal-body .note { font-size: 14px; line-height: 1.7; color: #9A968C; }

/* ==========================================================================
   Footer
   ========================================================================== */
.re-footer { background: #193445; color: #F7F2E7; border-top: 1px solid rgba(255,255,255,.08); }
.re-footer__in { max-width: 1240px; margin: 0 auto; padding: clamp(48px, 6vw, 80px) 24px 32px; }
.re-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.re-footer__logo img { height: 98px; width: auto; display: block; }
.re-footer__about { font-size: 14px; line-height: 1.6; color: #8B8890; margin: 18px 0 20px; }
.re-footer__social { display: flex; gap: 10px; }
.re-footer__social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.re-footer .col-t { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: #E3A084; margin-bottom: 16px; }
.re-footer .col-links { display: flex; flex-direction: column; gap: 11px; }
.re-footer .col-links a { font-size: 14px; color: #B7B4BC; }
.re-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.re-footer__bottom .copy { font-size: 13px; color: #6C6972; }
.re-footer__bottom .legal-links { display: flex; gap: 20px; }
.re-footer__bottom .legal-links a { font-size: 13px; color: #6C6972; }

/* ==========================================================================
   Responsive (colapso de columnas en móvil)
   ========================================================================== */
@media (max-width: 800px) {
  .inst-hero, .side-hero, .learn-grid, .sede-detail, .sede-row, .contact-grid, .duo, .combo-grid { grid-template-columns: 1fr; }
  .re-footer__grid { grid-template-columns: 1fr 1fr; }
  .sede-row .slot { min-height: 200px; }
  .article-team { grid-template-columns: repeat(3, 1fr); }
  /* Tarjetas Plataforma/Exámenes: centradas también en móvil. */
  .duo__yellow, .duo__dark { align-items: center; text-align: center; }
  /* CTA final "¿Quieres empezar ya?": que quepa en una sola línea. */
  .cta-big .t { font-size: clamp(22px, 7vw, 72px); }
}
@media (max-width: 880px) {
  .learn-cards--wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .learn-cards, .learn-cards--wide { grid-template-columns: 1fr; }
  .article-team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .re-footer__grid { grid-template-columns: 1fr; }
}

/* Equipo en pagina Sobre nosotros */
.article-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 30px; }
.article-team .tm { margin: 0; }
.article-team img { width: 100%; height: auto; border-radius: 14px; display: block; }
.article-team figcaption { padding: 8px 2px 0; }
.article-team figcaption strong { display: block; font-size: 14.5px; color: #193445; }
.article-team figcaption span { font-size: 11.5px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #D57D5E; }

/* ==========================================================================
   Formulario de contacto real (retirada del canal WhatsApp, 17-jul-2026)
   ========================================================================== */
.form-notice { border-radius: 14px; padding: 16px 20px; font-weight: 700; font-size: 15px; margin: 0 0 22px; }
.form-notice--ok { background: #EAF6E2; color: #2E6B1F; border: 1px solid #C4E3AF; }
.form-notice--error { background: #FFF1E9; color: #B03A12; border: 1px solid #F3C9B4; }
.contact-form button.btn-send { width: 100%; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; }
.contact-form .hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Desplegable de clases en el formulario de contacto */
.clases-label { font-size: 13px; font-weight: 700; color: #193445; margin-bottom: 10px; }
.clases-dd { position: relative; margin-bottom: 6px; }
.clases-dd summary { list-style: none; cursor: pointer; background: #F7F2E7; border: 1px solid #E7E2D6; border-radius: 12px; padding: 13px 16px; font-size: 15px; color: #3A3833; position: relative; }
.clases-dd summary::-webkit-details-marker { display: none; }
.clases-dd summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid #5A574F; border-bottom: 2px solid #5A574F; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.clases-dd[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.clases-dd[open] summary { border-radius: 12px 12px 0 0; }
.clases-dd__panel { border: 1px solid #E7E2D6; border-top: 0; border-radius: 0 0 12px 12px; background: #fff; padding: 6px; max-height: 280px; overflow-y: auto; }
.clases-dd .chk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14.5px; color: #3A3833; cursor: pointer; }
.clases-dd .chk:hover { background: #F7F2E7; }
.clases-dd .chk:has(input:checked) { background: #FFF3EE; color: #193445; font-weight: 600; }
.clases-dd .chk input { accent-color: #D57D5E; margin: 0; width: 16px; height: 16px; flex-shrink: 0; }

/* Checkbox de aceptación legal */
.chk-legal { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; color: #5A574F; line-height: 1.5; margin-bottom: 4px; }
.chk-legal input { margin-top: 3px; accent-color: #D57D5E; width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.chk-legal a { color: #D57D5E; text-decoration: underline; }
.chk-legal a:hover { color: #193445; }



/* ==========================================================================
   Consentimiento de cookies (RGPD) — banner, panel y hueco de mapa
   ========================================================================== */
.re-consent { position: fixed; inset: auto 0 0 0; z-index: 9999; padding: 16px; display: flex; justify-content: center; }
.re-consent[hidden] { display: none; }
.re-consent__box { width: min(720px, 100%); background: #fff; border: 1px solid #E7E2D6; border-radius: 16px; box-shadow: 0 12px 40px rgba(25,52,69,.18); padding: 22px 24px; }
.re-consent__title { font-family: 'Sora', system-ui, sans-serif; font-size: 18px; color: #193445; margin: 0 0 8px; }
.re-consent__text { font-size: 14.5px; line-height: 1.6; color: #5A574F; margin: 0 0 14px; }
.re-consent__text a { color: #D57D5E; text-decoration: underline; }
.re-consent__text a:hover { color: #193445; }
.re-consent__prefs { border-top: 1px solid #EFEAE0; padding-top: 12px; margin-bottom: 14px; display: grid; gap: 10px; }
.re-consent__prefs[hidden] { display: none; }
.re-consent__opt { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #5A574F; cursor: pointer; }
.re-consent__opt strong { color: #193445; }
.re-consent__opt input { margin-top: 3px; accent-color: #D57D5E; width: 16px; height: 16px; flex-shrink: 0; }
.re-consent__opt input:disabled { cursor: not-allowed; }
.re-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.re-consent__btn { cursor: pointer; border: 0; font-size: 14.5px; padding: 12px 20px; border-radius: 999px; background: #D57D5E; color: #fff; font-weight: 700; }
.re-consent__btn:hover { background: #C06A4C; }
.re-consent__btn--ghost { background: #F7F2E7; color: #193445; }
.re-consent__btn--ghost:hover { background: #EFE7D6; }
.re-consent__btn[hidden] { display: none; }
.re-consent__link { background: none; border: 0; color: #5A574F; font-size: 14px; text-decoration: underline; cursor: pointer; padding: 6px; }
.re-consent__link:hover { color: #193445; }
.re-consent__link[hidden] { display: none; }
@media (max-width: 560px) {
  .re-consent { padding: 10px; }
  .re-consent__box { padding: 18px; }
  .re-consent__actions { flex-direction: column; align-items: stretch; }
  .re-consent__btn { width: 100%; }
}

/* Hueco del mapa mientras no hay consentimiento */
.re-map-hold { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; background: #F7F2E7; color: #5A574F; }
.re-map-hold .sp-pin { color: #D57D5E; }
.re-map-hold__txt { margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 34ch; }
.re-map-hold__btn { cursor: pointer; border: 0; background: #193445; color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.re-map-hold__btn:hover { background: #D57D5E; }
