/* CSS compilado desde los antiguos <style>. Las reglas repetidas se agrupan por página. */

:root{
  --bg:#f4f8fc;
  --bg-2:#edf4fb;
  --card:#ffffff;
  --line:#dbe8f5;
  --primary:#2563eb;
  --primary-dark:#163a63;
  --accent:#7c3aed;
  --accent-2:#22c55e;
  --pink:#ec4899;
  --mint:#14b8a6;
  --orange:#fb923c;
  --text:#16395f;
  --muted:#5f7894;
  --white:#ffffff;
  --shadow:0 18px 50px rgba(15,35,60,.08);
  --shadow-strong:0 24px 60px rgba(37,99,235,.16);
  --radius:30px;
  --max:1180px;
}


*{box-sizing:border-box}

html{scroll-behavior:smooth}

body.page-index, body.page-flexiclases{margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(37,99,235,.10) 0%, transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(124,58,237,.08) 0%, transparent 18%),
    radial-gradient(circle at 75% 70%, rgba(34,197,94,.05) 0%, transparent 18%),
    linear-gradient(180deg,#f6faff 0%, #eef4fb 42%, #f8fbff 100%);
  line-height:1.65;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;}

body.page-index a, body.page-oposiciones a, body.page-flexiclases a, body.page-aviso-legal a, body.page-privacidad a, body.page-cookies a{text-decoration:none;color:inherit}

body.page-index img, body.page-oposiciones img, body.page-flexiclases img, body.page-privacidad img{max-width:100%;display:block}

body.page-index .wrap, body.page-oposiciones .wrap, body.page-flexiclases .wrap, body.page-aviso-legal .wrap, body.page-privacidad .wrap, body.page-cookies .wrap{max-width:var(--max);margin:0 auto;padding:0 22px}

body.page-index .form-feedback{position:fixed;
  left:50%;
  top:92px;
  z-index:2500;
  transform:translateX(-50%);
  width:min(620px, calc(100% - 32px));
  padding:15px 18px;
  border-radius:18px;
  text-align:center;
  font-weight:800;
  box-shadow:0 18px 42px rgba(15,35,60,.16);
  animation:feedbackIn .25s ease;}

body.page-index .form-feedback.is-success{color:#14532d;
  background:#dcfce7;
  border:1px solid #86efac;}

body.page-index .form-feedback.is-error{color:#7f1d1d;
  background:#fee2e2;
  border:1px solid #fecaca;}

body.page-index .topbar, body.page-oposiciones .topbar, body.page-flexiclases .topbar{position:sticky;
  top:0;
  z-index:50;
  padding:14px 0;
  backdrop-filter:blur(18px);
  background:rgba(244,248,252,.72);
  border-bottom:1px solid rgba(219,232,245,.75);}

body.page-index .nav-shell, body.page-oposiciones .nav-shell, body.page-flexiclases .nav-shell{display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:10px 14px;
  border-radius:28px;
  background:rgba(255,255,255,.62);
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 18px 44px rgba(15,35,60,.08);}

body.page-index .brand, body.page-oposiciones .brand, body.page-flexiclases .brand{display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
  color:var(--primary-dark);
  justify-self:start;}

body.page-index .badge, body.page-oposiciones .badge, body.page-flexiclases .badge{width:56px;
  height:56px;
  border-radius:20px;
  display:grid;
  place-items:center;
  background:#ffffff;
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 14px 34px rgba(37,99,235,.18);
  overflow:hidden;
  flex-shrink:0;
  padding:6px;}

body.page-index .badge img, body.page-oposiciones .badge img, body.page-flexiclases .badge img{width:100%;
  height:100%;
  object-fit:contain;
  display:block;}

body.page-index .brand-text, body.page-oposiciones .brand-text, body.page-flexiclases .brand-text{display:flex;
  flex-direction:column;
  gap:1px;
  line-height:1.1;}

body.page-index .brand-text strong, body.page-oposiciones .brand-text strong, body.page-flexiclases .brand-text strong{font-size:1.05rem;
  font-weight:900;
  letter-spacing:.01em;}

body.page-index .brand-text small, body.page-oposiciones .brand-text small, body.page-flexiclases .brand-text small{color:#6b84a0;
  font-size:.78rem;
  font-weight:800;}

body.page-index .actions, body.page-oposiciones .actions, body.page-flexiclases .actions{display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  justify-self:center;}

body.page-index .nav-chip, body.page-oposiciones .nav-chip, body.page-flexiclases .nav-chip{min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:999px;
  color:#315172;
  font-size:.94rem;
  font-weight:900;
  transition:transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;}

body.page-index .nav-chip:hover, body.page-oposiciones .nav-chip:hover, body.page-flexiclases .nav-chip:hover{transform:translateY(-2px);
  background:#ffffff;
  color:#2563eb;
  box-shadow:0 12px 26px rgba(15,35,60,.08);}

body.page-index .nav-chip.is-active, body.page-oposiciones .nav-chip.is-active, body.page-flexiclases .nav-chip.is-active{color:#fff;
  background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  box-shadow:0 16px 34px rgba(37,99,235,.22);}

body.page-index .nav-chip.is-active:hover, body.page-oposiciones .nav-chip.is-active:hover, body.page-flexiclases .nav-chip.is-active:hover{color:#fff;
  transform:translateY(-2px);
  box-shadow:0 20px 42px rgba(37,99,235,.30);}

body.page-index .menu-toggle, body.page-oposiciones .menu-toggle, body.page-flexiclases .menu-toggle{display:none;
  width:54px;
  height:54px;
  border:none;
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,35,60,.08);
  border:1px solid #dbe8f5;
  cursor:pointer;
  padding:0;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  transition:.25s ease;
  justify-self:end;}

body.page-index .menu-toggle:hover, body.page-oposiciones .menu-toggle:hover, body.page-flexiclases .menu-toggle:hover{transform:translateY(-2px);}

body.page-index .menu-toggle span, body.page-oposiciones .menu-toggle span, body.page-flexiclases .menu-toggle span{display:block;
  width:22px;
  height:2.5px;
  border-radius:999px;
  background:#16395f;
  transition:.25s ease;}

body.page-index .menu-toggle.active span:nth-child(1), body.page-oposiciones .menu-toggle.active span:nth-child(1), body.page-flexiclases .menu-toggle.active span:nth-child(1){transform:translateY(8px) rotate(45deg);}

body.page-index .menu-toggle.active span:nth-child(2), body.page-oposiciones .menu-toggle.active span:nth-child(2), body.page-flexiclases .menu-toggle.active span:nth-child(2){opacity:0;}

body.page-index .menu-toggle.active span:nth-child(3), body.page-oposiciones .menu-toggle.active span:nth-child(3), body.page-flexiclases .menu-toggle.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg);}

body.page-index .btn{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  min-height:58px;
  padding:0 1.55rem;
  border-radius:18px;
  text-decoration:none;
  font-size:1rem;
  font-weight:800;
  line-height:1;
  transition:all .25s ease;
  border:1px solid transparent;
  box-shadow:0 10px 24px rgba(15,35,60,.06);
  white-space:nowrap;}

body.page-index .btn:hover, body.page-oposiciones .btn:hover, body.page-aviso-legal .btn:hover, body.page-privacidad .btn:hover, body.page-cookies .btn:hover{transform:translateY(-2px);}

body.page-index .btn-primary{color:#fff;
  background:linear-gradient(135deg, #2f66f3 0%, #6b4df5 100%);
  box-shadow:0 14px 32px rgba(74,92,235,.20);}

body.page-index .btn-primary:hover{box-shadow:0 18px 40px rgba(74,92,235,.26);}

body.page-index .btn-secondary{color:var(--primary-dark);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(37,99,235,.14);}

body.page-index .btn-secondary:hover{background:#ffffff;
  border-color:rgba(37,99,235,.24);
  box-shadow:0 14px 30px rgba(15,35,60,.10);}

body.page-index .hero{position:relative;
  overflow:hidden;
  padding:96px 0 54px;
  min-height:92vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.14) 0%, transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(124,58,237,.10) 0%, transparent 18%),
    radial-gradient(circle at 72% 78%, rgba(34,197,94,.05) 0%, transparent 20%),
    linear-gradient(180deg,#f4f9ff 0%, #e9f2ff 100%);}

body.page-index .grid-lines, body.page-oposiciones .grid-lines, body.page-flexiclases .grid-lines, body.page-aviso-legal .grid-lines, body.page-privacidad .grid-lines, body.page-cookies .grid-lines{position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.28), transparent 78%);
  pointer-events:none;}

body.page-index .orb, body.page-oposiciones .orb, body.page-flexiclases .orb, body.page-aviso-legal .orb, body.page-privacidad .orb, body.page-cookies .orb{position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(10px);
  opacity:.55;}

body.page-index .orb-1, body.page-oposiciones .orb-1, body.page-flexiclases .orb-1, body.page-privacidad .orb-1{width:320px;
  height:320px;
  top:10px;
  left:-90px;
  background:rgba(37,99,235,.12);}

body.page-index .orb-2, body.page-oposiciones .orb-2, body.page-flexiclases .orb-2, body.page-privacidad .orb-2{width:230px;
  height:230px;
  top:120px;
  right:50px;
  background:rgba(124,58,237,.10);}

body.page-index .orb-3, body.page-oposiciones .orb-3, body.page-flexiclases .orb-3, body.page-privacidad .orb-3{width:320px;
  height:320px;
  right:10%;
  bottom:-100px;
  background:rgba(34,197,94,.06);}

body.page-index .hero-grid{position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:1fr;
  gap:26px;
  align-items:center;
  grid-template-areas:
    "copy"
    "actions"
    "phrase"
    "points";}

body.page-index .hero-copy{grid-area:copy;
  max-width:920px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;}

body.page-index .eyebrow, body.page-oposiciones .eyebrow, body.page-aviso-legal .eyebrow, body.page-privacidad .eyebrow, body.page-cookies .eyebrow{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  margin:0 0 22px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 10px 24px rgba(15,35,60,.06);
  color:#496a8b;
  font-size:.96rem;
  font-weight:700;
  backdrop-filter:blur(10px);
  text-align:center;}

body.page-index .hero-title{margin:0;
  max-width:920px;
  font-size:clamp(3.1rem, 6.2vw, 5.8rem);
  line-height:.94;
  letter-spacing:-.07em;
  color:var(--primary-dark);
  text-wrap:balance;
  text-align:center;
  font-weight:900;}

body.page-index .hero-accent{color:var(--primary);}

body.page-index .lead{margin:24px auto 0;
  max-width:760px;
  font-size:1.14rem;
  line-height:1.9;
  color:#5f7894;
  text-align:center;}

body.page-index .hero-actions{grid-area:actions;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:6px;}

body.page-index .hero-actions .btn{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:54px;
  padding:0 26px;
  border-radius:14px;
  font-size:1rem;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;}

body.page-index .hero-actions .btn-primary{background:#2563eb;
  color:#ffffff;
  border:1px solid #2563eb;
  box-shadow:0 10px 22px rgba(37,99,235,.20);}

body.page-index .hero-actions .btn-secondary{background:#ffffff;
  color:#163a63;
  border:1.5px solid rgba(37,99,235,.32);
  box-shadow:0 10px 22px rgba(15,35,60,.07);}

body.page-index .hero-actions .btn-primary:hover{background:#1d4ed8;
  border-color:#1d4ed8;
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(37,99,235,.24);}

body.page-index .hero-actions .btn-secondary:hover{background:#f4f8ff;
  border-color:#2563eb;
  color:#2563eb;
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(37,99,235,.12);}

body.page-index .phrase{grid-area:phrase;
  position:relative;
  max-width:760px;
  margin:0 auto;
  padding:1.25rem 1.6rem;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(10px);
  border:1px solid rgba(37,99,235,.12);
  border-top:4px solid var(--primary);
  border-radius:24px;
  box-shadow:0 14px 34px rgba(15,35,60,.07);
  text-align:center;}

body.page-index .phrase strong{display:block;
  margin-bottom:.3rem;
  font-size:clamp(1.25rem, 2vw, 1.65rem);
  line-height:1.15;
  font-weight:800;
  color:var(--primary-dark);
  letter-spacing:-0.02em;
  text-align:center;}

body.page-index .phrase span{display:block;
  margin:0 auto;
  font-size:.99rem;
  line-height:1.7;
  color:var(--muted);
  max-width:680px;
  text-align:center;}

body.page-index .hero-points, body.page-oposiciones .hero-points{grid-area:points;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  max-width:100%;
  margin:0;}

body.page-index .hero-point, body.page-oposiciones .hero-point, body.page-aviso-legal .hero-point, body.page-privacidad .hero-point, body.page-cookies .hero-point{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 18px;
  border-radius:999px;
  font-weight:700;
  color:#16395f;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 10px 24px rgba(15,35,60,.06);}

body.page-index .section, body.page-oposiciones .section, body.page-privacidad .section{position:relative;
  z-index:1;
  padding:0 0 28px;}

body.page-index .section-box{padding:40px;
  background:rgba(255,255,255,.98);
  border:1px solid #dbe8f5;
  border-radius:32px;
  box-shadow:0 18px 40px rgba(15,35,60,.07);
  color:var(--text);
  position:relative;}

body.page-index h2, body.page-oposiciones h2{margin:0 0 10px;
  color:#16395f;
  font-size:clamp(2.1rem, 3vw, 3rem);
  letter-spacing:-.04em;}

body.page-index .sub, body.page-oposiciones .sub{margin:0 0 24px;
  max-width:760px;
  color:#5f7894;
  font-size:1.08rem;
  line-height:1.85;}

body.page-index .services-box{overflow:hidden;}

body.page-index .services-head{text-align:center;
  max-width:820px;
  margin:0 auto 30px;}

body.page-index .services-head .sub{margin-left:auto;
  margin-right:auto;}

body.page-index .services-kicker{display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#eef4ff;
  color:#3156d3;
  font-size:.9rem;
  font-weight:800;
  margin-bottom:14px;
  box-shadow:0 8px 18px rgba(37,99,235,.08);}

body.page-index .services-cards{display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:24px;
  align-items:stretch;}

body.page-index .service-card{position:relative;
  padding:30px;
  border-radius:30px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(247,250,255,.98) 100%);
  border:1px solid #dbe8f5;
  box-shadow:0 18px 42px rgba(15,35,60,.08);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  z-index:1;}

body.page-index .service-card:hover{transform:translateY(-8px) rotate(-.4deg);
  box-shadow:0 28px 54px rgba(15,35,60,.14);
  border-color:#bfd6f6;}

body.page-index .service-card-opos{animation:floatCardA 5.5s ease-in-out infinite;}

body.page-index .service-card-flexi{animation:floatCardB 6.2s ease-in-out infinite;}

body.page-index .service-glow{content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  top:-70px;
  right:-70px;
  opacity:.18;
  pointer-events:none;
  z-index:-1;}

body.page-index .service-card-opos .service-glow{background:radial-gradient(circle, rgba(37,99,235,.55) 0%, rgba(37,99,235,0) 70%);}

body.page-index .service-card-flexi .service-glow{background:radial-gradient(circle, rgba(124,58,237,.48) 0%, rgba(124,58,237,0) 70%);}

body.page-index .service-top{display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom:22px;
  text-align:center;}

body.page-index .service-icon{width:74px;
  height:74px;
  border-radius:24px;
  display:grid;
  place-items:center;
  font-size:2rem;
  flex-shrink:0;
  margin:0 auto;
  box-shadow:0 12px 24px rgba(15,35,60,.08);}

body.page-index .service-card-opos .service-icon{background:linear-gradient(135deg,#eaf2ff 0%, #eef6ff 100%);}

body.page-index .service-card-flexi .service-icon{background:linear-gradient(135deg,#f4ecff 0%, #f7f1ff 100%);}

body.page-index .service-tag{display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  font-size:.84rem;
  font-weight:800;
  color:#45688b;
  background:#f5f8fd;
  border:1px solid #dbe8f5;}

body.page-index .service-card h3{margin:0 0 12px;
  font-size:1.65rem;
  line-height:1.15;
  color:#16395f;
  text-align:center;}

body.page-index .service-card p{margin:0 0 20px;
  color:#587095;
  line-height:1.8;
  text-align:center;}

body.page-index .service-list{list-style:none;
  padding:0;
  margin:0 0 24px;
  display:grid;
  gap:10px;}

body.page-index .service-list li{padding:12px 14px;
  border-radius:16px;
  background:rgba(245,249,253,.95);
  border:1px solid #dbe8f5;
  color:#355b83;
  font-weight:700;
  box-shadow:0 8px 18px rgba(15,35,60,.04);}

body.page-index .service-btn{display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  width:100%;
  padding:0 22px;
  border-radius:16px;
  font-size:1rem;
  font-weight:900;
  text-decoration:none;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;}

body.page-index .service-btn:hover{transform:translateY(-2px);}

body.page-index .service-btn-primary{color:#fff;
  background:linear-gradient(135deg,#2563eb 0%, #4f46e5 100%);
  box-shadow:0 14px 28px rgba(37,99,235,.22);}

body.page-index .service-btn-primary:hover{box-shadow:0 18px 34px rgba(37,99,235,.30);}

body.page-index .service-btn-secondary{color:#fff;
  background:linear-gradient(135deg,#7c3aed 0%, #2563eb 100%);
  box-shadow:0 14px 28px rgba(124,58,237,.22);}

body.page-index .service-btn-secondary:hover{box-shadow:0 18px 34px rgba(124,58,237,.28);}

body.page-index .teacher-grid-visual, body.page-oposiciones .teacher-grid-visual{display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:34px;
  align-items:start;}

body.page-index .teacher-photo, body.page-oposiciones .teacher-photo{position:relative;
  background:#fff;
  border:1px solid #dbe8f5;
  border-radius:30px;
  padding:14px;
  box-shadow:0 20px 44px rgba(15,35,60,.10);}

body.page-index .teacher-photo img, body.page-oposiciones .teacher-photo img{width:100%;
  display:block;
  border-radius:24px;
  object-fit:cover;
  min-height:420px;}

body.page-index .teacher-quote{position:relative;
  width:calc(100% - 24px);
  margin:16px auto 0;
  padding:18px 20px;
  border-radius:22px;
  background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  color:#fff;
  box-shadow:0 18px 40px rgba(37,99,235,.18);}

body.page-index .teacher-quote strong, body.page-oposiciones .teacher-quote strong{display:block;
  font-size:1.2rem;
  margin-bottom:6px;
  line-height:1.2;}

body.page-index .teacher-quote span, body.page-oposiciones .teacher-quote span{display:block;
  font-size:.98rem;
  color:rgba(255,255,255,.92);
  line-height:1.6;}

body.page-index .teacher-card, body.page-oposiciones .teacher-card{background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe8f5;
  border-radius:30px;
  padding:30px;
  box-shadow:0 16px 38px rgba(15,35,60,.06);}

body.page-index .teacher-intro, body.page-oposiciones .teacher-intro{margin-bottom:16px;}

body.page-index .teacher-tag, body.page-oposiciones .teacher-tag{display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#355b83;
  font-size:.85rem;
  font-weight:800;
  margin-bottom:12px;}

body.page-index .teacher-card h3, body.page-oposiciones .teacher-card h3{margin:0;
  font-size:2rem;
  color:#16395f;
  line-height:1.1;}

body.page-index .teacher-points, body.page-oposiciones .teacher-points{display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:20px;}

body.page-index .teacher-pill, body.page-oposiciones .teacher-pill{padding:15px 16px;
  border-radius:18px;
  border:1px solid #dbe7f4;
  color:#355b83;
  font-weight:700;
  background:#f5f9fd;
  box-shadow:0 8px 18px rgba(15,35,60,.04);}

body.page-index .teacher-linkedin{width:100%;
  margin-top:18px;
  display:flex;
  justify-content:center;}

body.page-index .teacher-linkedin a{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  background:#0a66c2;
  color:#fff;
  font-weight:700;
  font-size:.95rem;
  box-shadow:0 8px 20px rgba(10,102,194,0.18);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;}

body.page-index .teacher-linkedin a:hover, body.page-oposiciones .teacher-linkedin a:hover{transform:translateY(-2px);
  background:#004182;
  box-shadow:0 12px 24px rgba(10,102,194,0.24);}

body.page-index .method-title{text-align:center;}

body.page-index .method-sub{max-width:none;
  white-space:nowrap;
  text-align:center;
  margin-left:auto;
  margin-right:auto;}

body.page-index .method-grid{display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;}

body.page-index .method-card{background:#fff;
  border:1px solid #dbe8f5;
  border-radius:26px;
  padding:24px;
  box-shadow:0 14px 30px rgba(15,35,60,.05);
  transition:transform .25s ease, box-shadow .25s ease;}

body.page-index .method-card:hover{transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(15,35,60,.09);}

body.page-index .method-card h3{margin:0 0 10px;
  color:#16395f;
  font-size:1.2rem;
  text-align:center;}

body.page-index .method-card p{margin:0;
  color:#4f6d89;
  line-height:1.75;
  text-align:justify;
  text-justify:inter-word;}

body.page-index #contacto, body.page-flexiclases #contacto{padding-top:30px;
  scroll-margin-top:120px;}

body.page-index .contact-premium, body.page-flexiclases .contact-premium{background:linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border:1px solid #d8e5ff;
  border-radius:32px;
  padding:38px;
  box-shadow:0 18px 50px rgba(42,84,170,.08);
  position:relative;
  overflow:hidden;}

body.page-index .contact-premium::before, body.page-oposiciones .contact-premium::before, body.page-flexiclases .contact-premium::before{content:"";
  position:absolute;
  top:-80px;
  right:-80px;
  width:220px;
  height:220px;
  background:radial-gradient(circle, rgba(104,123,255,0.18) 0%, rgba(104,123,255,0) 70%);
  pointer-events:none;}

body.page-index .contact-premium-head, body.page-oposiciones .contact-premium-head, body.page-flexiclases .contact-premium-head{text-align:center;
  max-width:760px;
  margin:0 auto 34px;
  position:relative;
  z-index:1;}

body.page-index .contact-kicker, body.page-oposiciones .contact-kicker, body.page-flexiclases .contact-kicker{display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:#e9f0ff;
  color:#3156d3;
  font-weight:800;
  font-size:.92rem;
  margin-bottom:14px;}

body.page-index .contact-premium-head h2, body.page-oposiciones .contact-premium-head h2, body.page-flexiclases .contact-premium-head h2{margin:0 0 12px;
  font-size:clamp(1.9rem, 2.8vw, 2.8rem);
  line-height:1.12;
  color:#183b6b;}

body.page-index .contact-premium-head .sub, body.page-oposiciones .contact-premium-head .sub, body.page-flexiclases .contact-premium-head .sub{margin:0;
  color:#5c7497;
  font-size:1.06rem;
  line-height:1.75;}

body.page-index .contact-premium-grid, body.page-flexiclases .contact-premium-grid{display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  position:relative;
  z-index:1;}

body.page-index .contact-premium-card, body.page-flexiclases .contact-premium-card{background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
  border:1px solid #dce8ff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 38px rgba(33,70,150,.08);
  position:relative;}

body.page-index .contact-premium-card h3, body.page-oposiciones .contact-premium-card h3, body.page-flexiclases .contact-premium-card h3{margin:0 0 12px;
  font-size:1.45rem;
  color:#183b6b;}

body.page-index .contact-premium-card p, body.page-oposiciones .contact-premium-card p, body.page-flexiclases .contact-premium-card p{margin:0 0 18px;
  color:#5a7194;
  line-height:1.75;}

body.page-index .contact-icon, body.page-flexiclases .contact-icon{width:58px;
  height:58px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  margin-bottom:16px;
  box-shadow:0 10px 24px rgba(76,98,255,.14);
  background:linear-gradient(135deg, #e8edff, #f4f7ff);}

body.page-index .contact-list, body.page-oposiciones .contact-list, body.page-flexiclases .contact-list{list-style:none;
  padding:0;
  margin:0 0 22px;
  display:grid;
  gap:10px;}

body.page-index .contact-list li, body.page-oposiciones .contact-list li, body.page-flexiclases .contact-list li{padding:12px 14px;
  border-radius:14px;
  background:#f5f8ff;
  border:1px solid #e1ebff;
  color:#35507a;
  font-weight:600;}

body.page-index .contact-btn, body.page-oposiciones .contact-btn, body.page-flexiclases .contact-btn{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:52px;
  padding:14px 22px;
  border:none;
  border-radius:16px;
  text-decoration:none;
  font-weight:800;
  font-size:1rem;
  transition:transform .25s ease, box-shadow .25s ease, opacity .25s ease;
  cursor:pointer;}

body.page-index .contact-btn:hover, body.page-oposiciones .contact-btn:hover, body.page-flexiclases .contact-btn:hover{transform:translateY(-2px);}

body.page-index .contact-btn-primary, body.page-flexiclases .contact-btn-primary{background:linear-gradient(135deg, #2f5bff, #6e4cff);
  color:#fff;
  box-shadow:0 14px 28px rgba(77,96,255,.24);}

body.page-index .contact-btn-primary:hover, body.page-flexiclases .contact-btn-primary:hover{box-shadow:0 18px 34px rgba(77,96,255,.30);}

body.page-index .contact-btn-secondary, body.page-flexiclases .contact-btn-secondary{width:100%;
  background:linear-gradient(135deg, #183b6b, #3156d3);
  color:#fff;
  box-shadow:0 14px 28px rgba(37,76,160,.20);}

body.page-index .contact-btn-secondary:hover, body.page-flexiclases .contact-btn-secondary:hover{box-shadow:0 18px 34px rgba(37,76,160,.28);}

body.page-index .premium-form-grid, body.page-oposiciones .premium-form-grid, body.page-flexiclases .premium-form-grid{display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;}

body.page-index .premium-field, body.page-oposiciones .premium-field, body.page-flexiclases .premium-field{margin-bottom:16px;}

body.page-index .premium-field label, body.page-oposiciones .premium-field label, body.page-flexiclases .premium-field label{display:block;
  margin-bottom:8px;
  font-size:.95rem;
  font-weight:800;
  color:#183b6b;}

body.page-index .premium-field label span, body.page-oposiciones .premium-field label span, body.page-flexiclases .premium-field label span{color:#7f93b2;
  font-weight:600;}

body.page-index .premium-field input, body.page-index .premium-field textarea, body.page-flexiclases .premium-field input, body.page-flexiclases .premium-field textarea{width:100%;
  box-sizing:border-box;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #d6e3ff;
  background:#f8fbff;
  color:#183b6b;
  font-size:1rem;
  outline:none;
  transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;}

body.page-index .premium-field input:focus, body.page-index .premium-field textarea:focus, body.page-oposiciones .premium-field input:focus, body.page-oposiciones .premium-field textarea:focus, body.page-flexiclases .premium-field input:focus, body.page-flexiclases .premium-field textarea:focus{background:#fff;
  border-color:#5d7cff;
  box-shadow:0 0 0 4px rgba(93,124,255,0.12);}

body.page-index .premium-field textarea, body.page-oposiciones .premium-field textarea, body.page-flexiclases .premium-field textarea{resize:vertical;
  min-height:130px;}

body.page-index .premium-privacy, body.page-oposiciones .premium-privacy, body.page-flexiclases .premium-privacy{display:flex;
  align-items:flex-start;
  gap:10px;
  margin:18px 0 22px;
  padding:16px;
  border-radius:18px;
  background:#f5f8ff;
  border:1px solid #dbe7ff;}

body.page-index .premium-privacy input, body.page-oposiciones .premium-privacy input, body.page-flexiclases .premium-privacy input{margin-top:4px;
  transform:scale(1.1);}

body.page-index .premium-privacy label, body.page-oposiciones .premium-privacy label, body.page-flexiclases .premium-privacy label{margin:0;
  font-size:.94rem;
  line-height:1.65;
  color:#587095;}

body.page-index .premium-privacy a, body.page-flexiclases .premium-privacy a{color:#3156d3;
  font-weight:800;}

body.page-index .contact-legal-note, body.page-oposiciones .contact-legal-note, body.page-flexiclases .contact-legal-note{margin-top:22px;
  padding:18px 6px 0;
  text-align:center;
  position:relative;
  z-index:1;}

body.page-index .contact-legal-note p, body.page-oposiciones .contact-legal-note p, body.page-flexiclases .contact-legal-note p{margin:0;
  color:#6f84a4;
  font-size:.93rem;
  line-height:1.7;}

body.page-index .floating-contact, body.page-oposiciones .floating-contact, body.page-flexiclases .floating-contact{position:fixed;
  right:24px;
  bottom:24px;
  z-index:999;
  display:flex;
  flex-direction:column;
  gap:12px;}

body.page-index .float-contact-btn, body.page-oposiciones .float-contact-btn, body.page-flexiclases .float-contact-btn{width:60px;
  height:60px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  border:3px solid rgba(255,255,255,.96);
  box-shadow:0 14px 34px rgba(15,35,60,.18);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
  position:relative;}

body.page-index button.float-contact-btn, body.page-oposiciones button.float-contact-btn, body.page-flexiclases button.float-contact-btn{cursor:pointer;
  padding:0;
  font:inherit;}

body.page-index .float-contact-btn svg, body.page-oposiciones .float-contact-btn svg, body.page-flexiclases .float-contact-btn svg{width:29px;
  height:29px;
  fill:currentColor;}

body.page-index .float-contact-btn:hover, body.page-oposiciones .float-contact-btn:hover, body.page-flexiclases .float-contact-btn:hover{transform:translateY(-3px) scale(1.04);
  box-shadow:0 18px 42px rgba(15,35,60,.24);}

body.page-index .float-whatsapp, body.page-oposiciones .float-whatsapp, body.page-flexiclases .float-whatsapp{background:#25D366;}

body.page-index .float-whatsapp:hover, body.page-oposiciones .float-whatsapp:hover, body.page-flexiclases .float-whatsapp:hover{background:#1ebe5d;}

body.page-index .float-email, body.page-oposiciones .float-email, body.page-flexiclases .float-email{background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);}

body.page-index .float-email:hover, body.page-oposiciones .float-email:hover, body.page-flexiclases .float-email:hover{background:linear-gradient(135deg,#1d4ed8 0%, #6d28d9 100%);}

body.page-index .float-contact-btn::after, body.page-oposiciones .float-contact-btn::after, body.page-flexiclases .float-contact-btn::after{position:absolute;
  right:72px;
  top:50%;
  transform:translateY(-50%) translateX(6px);
  padding:8px 12px;
  border-radius:999px;
  background:#183b6b;
  color:#fff;
  font-size:.86rem;
  font-weight:800;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  box-shadow:0 12px 26px rgba(15,35,60,.18);}

body.page-index .float-whatsapp::after, body.page-oposiciones .float-whatsapp::after, body.page-flexiclases .float-whatsapp::after{content:"WhatsApp";}

body.page-index .float-email::after, body.page-oposiciones .float-email::after, body.page-flexiclases .float-email::after{content:"Formulario";}

body.page-index .float-contact-btn:hover::after, body.page-oposiciones .float-contact-btn:hover::after, body.page-flexiclases .float-contact-btn:hover::after{opacity:1;
  transform:translateY(-50%) translateX(0);}

body.page-index .contact-modal, body.page-oposiciones .contact-modal, body.page-flexiclases .contact-modal{position:fixed;
  inset:0;
  z-index:2000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;}

body.page-index .contact-modal.is-open, body.page-oposiciones .contact-modal.is-open, body.page-flexiclases .contact-modal.is-open{display:flex;}

body.page-index .contact-modal__overlay, body.page-oposiciones .contact-modal__overlay, body.page-flexiclases .contact-modal__overlay{position:absolute;
  inset:0;
  background:rgba(15,35,60,.48);
  backdrop-filter:blur(8px);}

body.page-index .contact-modal__box, body.page-oposiciones .contact-modal__box, body.page-flexiclases .contact-modal__box{position:relative;
  z-index:1;
  width:min(720px, 100%);
  max-height:90vh;
  overflow:auto;
  border-radius:30px;
  box-shadow:0 28px 80px rgba(0,0,0,.24);
  animation:modalIn .22s ease;}

body.page-index .contact-modal__close, body.page-oposiciones .contact-modal__close, body.page-flexiclases .contact-modal__close{position:absolute;
  top:16px;
  right:16px;
  z-index:3;
  width:42px;
  height:42px;
  border:none;
  border-radius:999px;
  background:#ffffff;
  color:#183b6b;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,35,60,.14);
  transition:transform .2s ease, background .2s ease;}

body.page-index .contact-modal__close:hover, body.page-oposiciones .contact-modal__close:hover, body.page-flexiclases .contact-modal__close:hover{transform:scale(1.05);
  background:#f4f8ff;}

body.page-index .contact-modal-card{width:100%;
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);}

body.page-index.modal-open, body.page-oposiciones.modal-open, body.page-flexiclases.modal-open{overflow:hidden;}

body.page-index .site-footer, body.page-oposiciones .site-footer, body.page-flexiclases .site-footer{padding:24px 0 42px;}

body.page-index .footer-box-premium, body.page-oposiciones .footer-box-premium, body.page-flexiclases .footer-box-premium{background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%);
  border:1px solid #dbe8f5;
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 36px rgba(15,35,60,.06);
  display:flex;
  flex-direction:column;
  gap:22px;}

body.page-index .footer-brand, body.page-oposiciones .footer-brand, body.page-flexiclases .footer-brand{display:flex;
  align-items:center;
  gap:16px;}

body.page-index .footer-badge, body.page-oposiciones .footer-badge, body.page-flexiclases .footer-badge{width:58px;
  height:58px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:#ffffff;
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 14px 30px rgba(37,99,235,.18);
  flex-shrink:0;
  overflow:hidden;
  padding:6px;}

body.page-index .footer-badge img, body.page-oposiciones .footer-badge img, body.page-flexiclases .footer-badge img{width:100%;
  height:100%;
  object-fit:contain;
  display:block;}

body.page-index .footer-brand h3, body.page-oposiciones .footer-brand h3, body.page-flexiclases .footer-brand h3{margin:0 0 6px;
  font-size:1.2rem;
  color:#16395f;}

body.page-index .footer-brand p, body.page-oposiciones .footer-brand p, body.page-flexiclases .footer-brand p{margin:0;
  color:#5f7894;
  line-height:1.7;}

body.page-index .footer-links, body.page-oposiciones .footer-links, body.page-flexiclases .footer-links{display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding-top:4px;}

body.page-index .footer-links a, body.page-oposiciones .footer-links a, body.page-flexiclases .footer-links a{display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:999px;
  background:#f4f8fd;
  border:1px solid #dbe8f5;
  color:#355b83;
  font-weight:700;
  transition:.25s ease;
  box-shadow:0 8px 18px rgba(15,35,60,.04);}

body.page-index .footer-links a:hover, body.page-oposiciones .footer-links a:hover, body.page-flexiclases .footer-links a:hover{transform:translateY(-2px);
  background:#eef4ff;
  color:#2563eb;
  box-shadow:0 12px 22px rgba(37,99,235,.10);}

body.page-index .footer-copy, body.page-oposiciones .footer-copy, body.page-flexiclases .footer-copy{padding-top:10px;
  border-top:1px solid #e6eef7;}

body.page-index .footer-copy p, body.page-oposiciones .footer-copy p, body.page-flexiclases .footer-copy p{margin:0;
  color:#6d849f;
  font-size:.94rem;
  line-height:1.6;}

body.page-index .reveal, body.page-oposiciones .reveal, body.page-flexiclases .reveal{opacity:0;
  transform:translateY(34px) scale(.985);
  transition:opacity .8s ease, transform .8s ease;
  will-change:opacity, transform;}

body.page-index .reveal.visible, body.page-oposiciones .reveal.visible, body.page-flexiclases .reveal.visible{opacity:1;
  transform:translateY(0) scale(1);}

body.page-index .reveal-left, body.page-oposiciones .reveal-left, body.page-flexiclases .reveal-left{opacity:0;
  transform:translateX(-34px);
  transition:opacity .8s ease, transform .8s ease;}

body.page-index .reveal-left.visible, body.page-oposiciones .reveal-left.visible, body.page-flexiclases .reveal-left.visible{opacity:1;
  transform:translateX(0);}

body.page-index .reveal-right, body.page-oposiciones .reveal-right, body.page-flexiclases .reveal-right{opacity:0;
  transform:translateX(34px);
  transition:opacity .8s ease, transform .8s ease;}

body.page-index .reveal-right.visible, body.page-oposiciones .reveal-right.visible, body.page-flexiclases .reveal-right.visible{opacity:1;
  transform:translateX(0);}

body.page-index .stagger > *, body.page-oposiciones .stagger > *, body.page-flexiclases .stagger > *{opacity:0;
  transform:translateY(24px);
  transition:opacity .65s ease, transform .65s ease;}

body.page-index .stagger.visible > *, body.page-oposiciones .stagger.visible > *, body.page-flexiclases .stagger.visible > *{opacity:1;
  transform:translateY(0);}

body.page-index .stagger.visible > *:nth-child(1), body.page-oposiciones .stagger.visible > *:nth-child(1), body.page-flexiclases .stagger.visible > *:nth-child(1){transition-delay:.05s}

body.page-index .stagger.visible > *:nth-child(2), body.page-oposiciones .stagger.visible > *:nth-child(2), body.page-flexiclases .stagger.visible > *:nth-child(2){transition-delay:.12s}

body.page-index .stagger.visible > *:nth-child(3), body.page-oposiciones .stagger.visible > *:nth-child(3), body.page-flexiclases .stagger.visible > *:nth-child(3){transition-delay:.19s}

body.page-index .stagger.visible > *:nth-child(4), body.page-oposiciones .stagger.visible > *:nth-child(4), body.page-flexiclases .stagger.visible > *:nth-child(4){transition-delay:.26s}

body.page-oposiciones, body.page-aviso-legal, body.page-privacidad, body.page-cookies{margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(37,99,235,.10) 0%, transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(124,58,237,.08) 0%, transparent 18%),
    radial-gradient(circle at 75% 70%, rgba(34,197,94,.06) 0%, transparent 18%),
    linear-gradient(180deg,#f6faff 0%, #eef4fb 42%, #f8fbff 100%);
  line-height:1.65;
  overflow-x:hidden;}

body.page-oposiciones .btn, body.page-aviso-legal .btn, body.page-privacidad .btn, body.page-cookies .btn{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:54px;
  padding:0 20px;
  border-radius:16px;
  border:1px solid #dbe8f5;
  background:#ffffff;
  color:#16395f;
  font-weight:800;
  transition:.25s ease;
  box-shadow:0 10px 24px rgba(15,35,60,.06);}

body.page-oposiciones .btn-primary, body.page-aviso-legal .btn-primary, body.page-privacidad .btn-primary, body.page-cookies .btn-primary{border:none;
  color:#fff;
  background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  box-shadow:0 20px 40px rgba(37,99,235,.20);}

body.page-oposiciones .hero{position:relative;
  overflow:hidden;
  padding:96px 0 54px;
  min-height:90vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.12) 0%, transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(124,58,237,.10) 0%, transparent 18%),
    radial-gradient(circle at 72% 78%, rgba(34,197,94,.06) 0%, transparent 20%),
    linear-gradient(180deg,#f4f9ff 0%, #e9f2ff 100%);}

body.page-oposiciones .hero-grid{position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, 380px);
  gap:34px 48px;
  align-items:start;
  grid-template-areas:
    "copy side"
    "actions actions"
    "phrase phrase"
    "points points";}

body.page-oposiciones .hero-copy{grid-area:copy;
  max-width:720px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;}

body.page-oposiciones h1{margin:0;
  font-size:clamp(3rem, 6vw, 5.3rem);
  line-height:.95;
  letter-spacing:-.07em;
  color:#123250;
  max-width:700px;
  text-wrap:balance;}

body.page-oposiciones .gradient-text, body.page-aviso-legal .gradient-text, body.page-privacidad .gradient-text, body.page-cookies .gradient-text{background:linear-gradient(90deg,#2563eb 0%, #4f46e5 42%, #7c3aed 78%, #163a63 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;}

body.page-oposiciones .lead{margin:24px 0 0;
  max-width:640px;
  font-size:1.1rem;
  line-height:1.85;
  color:#5f7894;
  text-align:left;}

body.page-oposiciones .hero-actions{grid-area:actions;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin:0;
  width:100%;}

body.page-oposiciones .hero-side{grid-area:side;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding-top:64px;}

body.page-oposiciones .hero-photo-wrap{position:relative;
  width:100%;
  max-width:360px;
  border-radius:30px;
  overflow:hidden;
  background:transparent;}

body.page-oposiciones .hero-photo{width:100%;
  display:block;
  object-fit:cover;
  border-radius:30px;
  filter:drop-shadow(0 22px 40px rgba(15,35,60,.14));}

body.page-oposiciones .phrase{grid-area:phrase;
  margin:0;
  padding:28px 30px;
  width:100%;
  max-width:100%;
  border-radius:28px;
  background:linear-gradient(135deg,#2563eb 0%, #1d4ed8 38%, #7c3aed 100%);
  color:#fff;
  box-shadow:0 24px 56px rgba(37,99,235,.22);
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  text-align:center;}

body.page-oposiciones .phrase::before, body.page-oposiciones .phrase::after{content:"";
  position:absolute;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  pointer-events:none;}

body.page-oposiciones .phrase::before{width:240px;
  height:240px;
  top:-130px;
  left:-70px;}

body.page-oposiciones .phrase::after{width:180px;
  height:180px;
  right:-40px;
  bottom:-70px;}

body.page-oposiciones .phrase strong{display:block;
  position:relative;
  z-index:1;
  font-size:clamp(26px,3.4vw,40px);
  line-height:1.15;
  margin:0 0 10px;
  text-align:center;}

body.page-oposiciones .phrase span{display:block;
  position:relative;
  z-index:1;
  font-size:17px;
  color:rgba(255,255,255,.92);
  text-align:center;}

body.page-oposiciones .section-box, body.page-oposiciones .interview-box{padding:40px;
  background:rgba(255,255,255,.98);
  border:1px solid #dbe8f5;
  border-radius:32px;
  box-shadow:0 18px 40px rgba(15,35,60,.07);
  color:var(--text);}

body.page-oposiciones .section-box{position:relative;}

body.page-oposiciones .promo-badge{position:absolute;
  top:24px;
  right:24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  font-size:.92rem;
  font-weight:800;
  color:#355b83;
  background:#f5f9fd;
  box-shadow:0 8px 20px rgba(15,35,60,.06);
  border:1px solid #dbe8f5;
  z-index:2;}

body.page-oposiciones .grid{display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;}

body.page-oposiciones .card{background:#fff;
  border:1px solid #dbe8f5;
  border-radius:26px;
  padding:24px;
  box-shadow:0 14px 30px rgba(15,35,60,.05);
  transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
  overflow:hidden;}

body.page-oposiciones .card::before{content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#2563eb 0%, #7c3aed 100%);}

body.page-oposiciones .card:hover{transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(15,35,60,.09);}

body.page-oposiciones .card h3{margin:6px 0 10px;
  color:#16395f;
  font-size:22px;
  position:relative;
  z-index:1;}

body.page-oposiciones .card ul{margin:0;
  padding-left:18px;
  color:#4f6d89;
  position:relative;
  z-index:1;}

body.page-oposiciones .card li{margin-bottom:8px}

body.page-oposiciones .price{margin-top:18px;
  padding:28px;
  border-radius:28px;
  background:linear-gradient(135deg,#eaf3ff 0%, #dfefff 42%, #efe8ff 100%);
  border:1px solid #d8e7f8;
  color:#355983;
  font-weight:700;
  box-shadow:0 18px 38px rgba(37,99,235,.12);}

body.page-oposiciones .price strong{color:#16395f;
  font-size:36px;
  display:block;
  margin-bottom:8px;}

body.page-oposiciones .teacher-quote{position:relative;
  margin-top:16px;
  padding:18px 20px;
  border-radius:22px;
  background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  color:#fff;
  box-shadow:0 18px 40px rgba(37,99,235,.18);}

body.page-oposiciones .teacher-block{margin-bottom:18px;}

body.page-oposiciones .teacher-block h4{margin:0 0 8px;
  color:#16395f;
  font-size:1.02rem;
  font-weight:800;}

body.page-oposiciones .teacher-block p{margin:0;
  color:#526f8b;
  line-height:1.85;}

body.page-oposiciones .teacher-linkedin{margin-top:14px;
  text-align:center;}

body.page-oposiciones .teacher-linkedin a{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:12px;
  background:#0a66c2;
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
  box-shadow:0 8px 20px rgba(10,102,194,0.18);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;}

body.page-oposiciones .steps{display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;}

body.page-oposiciones .step{background:#fff;
  border:1px solid #dbe8f5;
  border-radius:26px;
  padding:24px;
  box-shadow:0 14px 30px rgba(15,35,60,.05);
  transition:transform .25s ease, box-shadow .25s ease;}

body.page-oposiciones .step:hover{transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(15,35,60,.09);}

body.page-oposiciones .num{width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#e8f2ff 0%, #f0ebff 100%);
  color:#2563eb;
  font-weight:900;
  margin-bottom:14px;}

body.page-oposiciones .step h3{margin:0 0 10px;
  color:#16395f;
  font-size:21px;}

body.page-oposiciones .step p{margin:0;
  color:#4f6d89;}

body.page-oposiciones .note{margin-top:18px;
  padding:18px 20px;
  border-radius:20px;
  background:#f2f8ff;
  border:1px solid #dce8f4;
  color:#355983;
  font-weight:700;}

body.page-oposiciones .step-link-wrap{margin-top:18px;}

body.page-oposiciones .step-link{display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:.98rem;
  color:#3156d3;
  text-decoration:none;
  padding:10px 0;
  transition:all .25s ease;}

body.page-oposiciones .step-link:hover{color:#5b3df5;
  transform:translateX(4px);}

body.page-oposiciones #contacto-inicial{padding-top:30px;
  scroll-margin-top:120px;}

body.page-oposiciones .contact-premium{background:linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border:1px solid #d8e5ff;
  border-radius:32px;
  padding:38px;
  box-shadow:0 18px 50px rgba(42, 84, 170, 0.08);
  position:relative;
  overflow:hidden;}

body.page-oposiciones .contact-premium-grid{display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:26px;
  position:relative;
  z-index:1;}

body.page-oposiciones .contact-premium-card{background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
  border:1px solid #dce8ff;
  border-radius:28px;
  padding:28px;
  box-shadow:0 16px 38px rgba(33, 70, 150, 0.08);
  position:relative;}

body.page-oposiciones .contact-icon{width:58px;
  height:58px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:1.6rem;
  margin-bottom:16px;
  box-shadow:0 10px 24px rgba(76, 98, 255, 0.14);}

body.page-oposiciones .card-book .contact-icon{background:linear-gradient(135deg, #dfe7ff, #eef3ff);}

body.page-oposiciones .card-form .contact-icon, body.page-oposiciones .contact-modal-card .contact-icon{background:linear-gradient(135deg, #e8edff, #f4f7ff);}

body.page-oposiciones .card-book{background:linear-gradient(180deg, #ffffff 0%, #f7faff 100%);}

body.page-oposiciones .card-form{background:linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);}

body.page-oposiciones .contact-btn-primary{background:linear-gradient(135deg, #2f5bff, #6e4cff);
  color:#fff;
  box-shadow:0 14px 28px rgba(77, 96, 255, 0.24);}

body.page-oposiciones .contact-btn-primary:hover{box-shadow:0 18px 34px rgba(77, 96, 255, 0.30);}

body.page-oposiciones .contact-btn-secondary{width:100%;
  background:linear-gradient(135deg, #183b6b, #3156d3);
  color:#fff;
  box-shadow:0 14px 28px rgba(37, 76, 160, 0.20);}

body.page-oposiciones .contact-btn-secondary:hover{box-shadow:0 18px 34px rgba(37, 76, 160, 0.28);}

body.page-oposiciones .premium-form{margin-top:10px;}

body.page-oposiciones .premium-field input, body.page-oposiciones .premium-field textarea{width:100%;
  box-sizing:border-box;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #d6e3ff;
  background:#f8fbff;
  color:#183b6b;
  font-size:1rem;
  outline:none;
  transition:border-color .25s ease, box-shadow .25s ease, background .25s ease, transform .25s ease;}

body.page-oposiciones .premium-privacy a{color:#3156d3;
  font-weight:800;
  text-decoration:none;}

body.page-oposiciones .premium-privacy a:hover{text-decoration:underline;}

body.page-oposiciones .contact-modal-card{width:100%;
  background:linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);}

body.page-flexiclases .btn, body.page-flexiclases .btn-outline{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:56px;
  padding:0 24px;
  border-radius:16px;
  font-weight:900;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  font:inherit;
  cursor:pointer;}

body.page-flexiclases .btn{border:none;
  color:#fff;
  background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  box-shadow:0 16px 34px rgba(37,99,235,.22);}

body.page-flexiclases .btn:hover{transform:translateY(-2px);
  box-shadow:0 20px 42px rgba(37,99,235,.30);}

body.page-flexiclases .btn-outline{background:#ffffff;
  border:1.5px solid rgba(37,99,235,.24);
  color:#163a63;
  box-shadow:0 10px 22px rgba(15,35,60,.07);}

body.page-flexiclases .btn-outline:hover{transform:translateY(-2px);
  background:#f4f8ff;
  color:#2563eb;
  border-color:#2563eb;}

body.page-flexiclases .hero{position:relative;
  overflow:hidden;
  padding:96px 0 66px;
  min-height:88vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.14) 0%, transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(124,58,237,.10) 0%, transparent 18%),
    radial-gradient(circle at 72% 78%, rgba(34,197,94,.06) 0%, transparent 20%),
    linear-gradient(180deg,#f4f9ff 0%, #e9f2ff 100%);}

body.page-flexiclases .hero-grid{position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.75fr);
  gap:40px;
  align-items:center;}

body.page-flexiclases .hero-copy{max-width:760px;}

body.page-flexiclases .eyebrow{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  margin:0 0 22px;
  border-radius:999px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.95);
  box-shadow:0 10px 24px rgba(15,35,60,.06);
  color:#496a8b;
  font-size:.96rem;
  font-weight:800;
  backdrop-filter:blur(10px);}

body.page-flexiclases h1{margin:0;
  font-size:clamp(3rem, 6vw, 5.4rem);
  line-height:.94;
  letter-spacing:-.07em;
  color:#163a63;
  text-wrap:balance;}

body.page-flexiclases .gradient-text{background:linear-gradient(90deg,#2563eb 0%, #4f46e5 45%, #7c3aed 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;}

body.page-flexiclases .lead{margin:24px 0 0;
  max-width:700px;
  font-size:1.14rem;
  line-height:1.9;
  color:#5f7894;}

body.page-flexiclases .hero-actions{display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:32px 0 26px;}

body.page-flexiclases .hero-points{display:flex;
  flex-wrap:wrap;
  gap:12px;
  max-width:760px;}

body.page-flexiclases .hero-point{display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 18px;
  border-radius:999px;
  font-weight:800;
  color:#16395f;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 10px 24px rgba(15,35,60,.06);}

body.page-flexiclases .hero-side{display:flex;
  justify-content:center;}

body.page-flexiclases .hero-focus-card{position:relative;
  width:100%;
  max-width:410px;
  padding:30px;
  border-radius:32px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 24px 60px rgba(15,35,60,.12);
  backdrop-filter:blur(12px);
  overflow:hidden;}

body.page-flexiclases .hero-focus-card::before{content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-90px;
  top:-90px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.18) 0%, rgba(37,99,235,0) 70%);
  pointer-events:none;}

body.page-flexiclases .hero-focus-kicker{display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:#eef4ff;
  color:#3156d3;
  font-size:.86rem;
  font-weight:900;
  margin-bottom:16px;
  position:relative;
  z-index:1;}

body.page-flexiclases .hero-focus-card h2{position:relative;
  z-index:1;
  margin:0 0 12px;
  font-size:1.95rem;
  line-height:1.08;
  color:#16395f;
  letter-spacing:-.04em;}

body.page-flexiclases .hero-focus-card p{position:relative;
  z-index:1;
  margin:0 0 18px;
  color:#5f7894;
  line-height:1.75;}

body.page-flexiclases .hero-focus-list{position:relative;
  z-index:1;
  list-style:none;
  padding:0;
  margin:0 0 20px;
  display:grid;
  gap:10px;}

body.page-flexiclases .hero-focus-list li{padding:12px 14px;
  border-radius:16px;
  background:#f5f8ff;
  border:1px solid #dbe8f5;
  color:#355b83;
  font-weight:800;}

body.page-flexiclases .hero-modules{position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:8px;}

body.page-flexiclases .hero-modules span{display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 12px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #dbe8f5;
  color:#315172;
  font-weight:900;
  font-size:.88rem;
  box-shadow:0 8px 18px rgba(15,35,60,.04);}

body.page-flexiclases .section{position:relative;
  z-index:1;
  padding:34px 0;}

body.page-flexiclases .panel{background:rgba(255,255,255,.98);
  border:1px solid #dbe8f5;
  border-radius:32px;
  box-shadow:0 18px 40px rgba(15,35,60,.07);
  color:var(--text);
  padding:40px;}

body.page-flexiclases .section-title{margin:0 0 16px;
  color:#16395f;
  font-size:clamp(2rem, 3vw, 2.9rem);
  letter-spacing:-.04em;
  text-align:center;}

body.page-flexiclases .section-intro{max-width:860px;
  margin:0 auto 28px;
  text-align:center;
  color:var(--muted);
  line-height:1.9;
  font-size:1.08rem;}

body.page-flexiclases .feature-grid{display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;}

body.page-flexiclases .feature-card{border-radius:26px;
  padding:24px;
  border:1px solid #dbe8f5;
  box-shadow:0 14px 30px rgba(15,35,60,.05);
  background:#fff;
  position:relative;
  overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease;}

body.page-flexiclases .feature-card:hover{transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(15,35,60,.09);}

body.page-flexiclases .feature-card::after{content:"";
  position:absolute;
  width:90px;
  height:90px;
  border-radius:50%;
  right:-24px;
  bottom:-24px;
  background:rgba(255,255,255,.56);}

body.page-flexiclases .feature-card:nth-child(1){background:linear-gradient(180deg,#eef5ff 0%, #ffffff 100%)}

body.page-flexiclases .feature-card:nth-child(2){background:linear-gradient(180deg,#f4f0ff 0%, #ffffff 100%)}

body.page-flexiclases .feature-card:nth-child(3){background:linear-gradient(180deg,#eefdfa 0%, #ffffff 100%)}

body.page-flexiclases .feature-icon{width:60px;
  height:60px;
  border-radius:20px;
  display:grid;
  place-items:center;
  font-size:1.55rem;
  margin:0 auto 14px;
  box-shadow:0 10px 20px rgba(37,99,235,.08);
  background:#fff;
  position:relative;
  z-index:1;}

body.page-flexiclases .feature-card h3{margin:0 0 10px;
  color:#16395f;
  font-size:1.16rem;
  text-align:center;
  position:relative;
  z-index:1;}

body.page-flexiclases .feature-card p{margin:0;
  color:var(--muted);
  line-height:1.8;
  text-align:center;
  position:relative;
  z-index:1;}

body.page-flexiclases .modules{display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;}

body.page-flexiclases .module-card{position:relative;
  overflow:hidden;
  border-radius:26px;
  padding:22px;
  border:1px solid #dbe8f5;
  box-shadow:0 14px 30px rgba(15,35,60,.05);
  background:#fff;
  transition:transform .25s ease, box-shadow .25s ease;}

body.page-flexiclases .module-card:hover{transform:translateY(-5px);
  box-shadow:0 20px 40px rgba(15,35,60,.09);}

body.page-flexiclases .module-card::after{content:"";
  position:absolute;
  width:120px;
  height:120px;
  border-radius:50%;
  right:-36px;
  bottom:-36px;
  background:rgba(255,255,255,.48);}

body.page-flexiclases .module-card strong{display:block;
  position:relative;
  z-index:1;
  margin-bottom:8px;
  color:#16395f;
  font-size:1.08rem;}

body.page-flexiclases .module-card span{display:block;
  position:relative;
  z-index:1;
  color:#5f7894;
  line-height:1.75;}

body.page-flexiclases .module-card.asir{background:linear-gradient(135deg,#eaf3ff 0%, #ffffff 100%)}

body.page-flexiclases .module-card.daw{background:linear-gradient(135deg,#f3edff 0%, #ffffff 100%)}

body.page-flexiclases .module-card.dam{background:linear-gradient(135deg,#f4f0ff 0%, #ffffff 100%)}

body.page-flexiclases .module-card.smr{background:linear-gradient(135deg,#edfffb 0%, #ffffff 100%)}

body.page-flexiclases .cta-box{margin-top:24px;
  border-radius:30px;
  padding:34px;
  text-align:center;
  border:1px solid #d8e4ff;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,235,.08) 0%, transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(124,58,237,.08) 0%, transparent 20%),
    linear-gradient(135deg,#edf5ff 0%, #f4f0ff 50%, #fff7ed 100%);
  box-shadow:0 16px 34px rgba(37,99,235,.08);}

body.page-flexiclases .cta-box h3{margin:0 0 12px;
  color:#16395f;
  font-size:1.75rem;
  letter-spacing:-.03em;}

body.page-flexiclases .cta-box p{margin:0 auto 20px;
  max-width:720px;
  color:var(--muted);
  line-height:1.85;}

body.page-flexiclases .mini-note{margin-top:14px;
  color:#5f7894;
  font-size:.96rem;
  font-weight:800;}

body.page-flexiclases .contact-modal-card{width:100%;
  background:linear-gradient(180deg,#ffffff 0%, #fbfcff 100%);}

body.page-aviso-legal .topbar, body.page-privacidad .topbar, body.page-cookies .topbar{position:sticky;
      top:0;
      z-index:50;
      backdrop-filter:blur(16px);
      background:rgba(244,248,252,.78);
      border-bottom:1px solid rgba(219,232,245,.95);}

body.page-aviso-legal .topbar .inner, body.page-privacidad .topbar .inner, body.page-cookies .topbar .inner{display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      flex-wrap:wrap;
      padding:16px 0;}

body.page-aviso-legal .brand, body.page-privacidad .brand, body.page-cookies .brand{display:flex;
      align-items:center;
      gap:12px;
      font-weight:800;
      color:var(--primary-dark);
      font-size:1.05rem;
      letter-spacing:.02em;}

body.page-aviso-legal .badge, body.page-privacidad .badge, body.page-cookies .badge{width:56px;
      height:56px;
      border-radius:18px;
      display:grid;
      place-items:center;
      font-size:1.15rem;
      color:#fff;
      background:linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
      box-shadow:0 14px 34px rgba(37,99,235,.20);}

body.page-aviso-legal .actions, body.page-privacidad .actions, body.page-cookies .actions{display:flex;
      gap:12px;
      flex-wrap:wrap;}

body.page-aviso-legal .hero, body.page-privacidad .hero, body.page-cookies .hero{position:relative;
      overflow:hidden;
      padding:92px 0 42px;
      background:
        radial-gradient(circle at 12% 18%, rgba(37,99,235,.12) 0%, transparent 24%),
        radial-gradient(circle at 88% 16%, rgba(124,58,237,.10) 0%, transparent 18%),
        radial-gradient(circle at 72% 78%, rgba(34,197,94,.06) 0%, transparent 20%),
        linear-gradient(180deg,#f4f9ff 0%, #e9f2ff 100%);}

body.page-aviso-legal .orb-1, body.page-cookies .orb-1{width:320px;height:320px;top:10px;left:-90px;background:rgba(37,99,235,.12);}

body.page-aviso-legal .orb-2, body.page-cookies .orb-2{width:230px;height:230px;top:120px;right:50px;background:rgba(124,58,237,.10);}

body.page-aviso-legal .orb-3, body.page-cookies .orb-3{width:320px;height:320px;right:10%;bottom:-100px;background:rgba(34,197,94,.06);}

body.page-aviso-legal .page-hero, body.page-cookies .page-hero{position:relative;
      z-index:2;
      max-width:860px;
      margin:0 auto;
      text-align:center;}

body.page-aviso-legal h1, body.page-privacidad h1, body.page-cookies h1{margin:0;
      font-size:clamp(2.6rem, 5vw, 4.8rem);
      line-height:.96;
      letter-spacing:-.06em;
      color:#123250;
      text-wrap:balance;}

body.page-aviso-legal .lead, body.page-privacidad .lead, body.page-cookies .lead{margin:22px auto 0;
      max-width:760px;
      font-size:1.08rem;
      line-height:1.85;
      color:#5f7894;}

body.page-aviso-legal .hero-points, body.page-privacidad .hero-points, body.page-cookies .hero-points{display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:12px;
      margin:28px 0 0;}

body.page-aviso-legal .section, body.page-cookies .section{padding:0 0 28px;}

body.page-aviso-legal .section-box, body.page-privacidad .section-box, body.page-cookies .section-box{padding:40px;
      background:rgba(255,255,255,.98);
      border:1px solid #dbe8f5;
      border-radius:32px;
      box-shadow:0 18px 40px rgba(15,35,60,.07);
      color:var(--text);}

body.page-aviso-legal h2, body.page-privacidad h2, body.page-cookies h2{margin:0 0 12px;
      color:#16395f;
      font-size:clamp(1.8rem, 3vw, 2.6rem);
      letter-spacing:-.04em;}

body.page-aviso-legal h3, body.page-privacidad h3, body.page-cookies h3{margin:0 0 10px;
      color:#16395f;
      font-size:1.2rem;}

body.page-aviso-legal .legal-grid{display:grid;
      grid-template-columns:320px minmax(0,1fr);
      gap:24px;
      align-items:start;}

body.page-aviso-legal .legal-sidebar{position:sticky;top:96px;}

body.page-aviso-legal .legal-nav, body.page-aviso-legal .legal-card{background:#fff;
      border:1px solid #dbe8f5;
      border-radius:26px;
      padding:24px;
      box-shadow:0 14px 30px rgba(15,35,60,.05);}

body.page-aviso-legal .legal-nav{margin-bottom:18px;}

body.page-aviso-legal .legal-nav a{display:block;
      padding:11px 14px;
      border-radius:14px;
      color:#486887;
      font-weight:700;
      transition:.22s ease;}

body.page-aviso-legal .legal-nav a:hover{background:#f3f8ff;
      color:#2563eb;
      transform:translateX(4px);}

body.page-aviso-legal .legal-section{padding:0 0 28px;
      margin:0 0 28px;
      border-bottom:1px solid #e6eff8;}

body.page-aviso-legal .legal-section:last-child{margin-bottom:0;
      padding-bottom:0;
      border-bottom:none;}

body.page-aviso-legal .legal-tag{display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:8px 12px;
      border-radius:999px;
      background:#eef4ff;
      color:#355b83;
      font-size:.84rem;
      font-weight:800;
      margin-bottom:12px;}

body.page-aviso-legal .legal-section p, body.page-aviso-legal .legal-section li{color:#526f8b;
      line-height:1.85;
      font-size:1rem;}

body.page-aviso-legal .legal-section ul{margin:12px 0 0;
      padding-left:20px;}

body.page-aviso-legal .legal-highlight{margin-top:16px;
      padding:18px 20px;
      border-radius:20px;
      background:linear-gradient(135deg,#eef5ff 0%, #f4efff 100%);
      border:1px solid #dbe8f5;
      color:#355983;
      font-weight:700;
      line-height:1.7;}

body.page-aviso-legal .legal-table{display:grid;
      gap:14px;
      margin-top:18px;}

body.page-aviso-legal .legal-row{display:grid;
      grid-template-columns:210px 1fr;
      gap:14px;
      align-items:start;
      padding:16px 18px;
      border-radius:18px;
      border:1px solid #dbe8f5;
      background:#fbfdff;}

body.page-aviso-legal .legal-row strong{color:#16395f;}

body.page-aviso-legal .footer, body.page-privacidad .footer, body.page-cookies .footer{padding:12px 0 42px;}

body.page-aviso-legal .footer-box, body.page-privacidad .footer-box, body.page-cookies .footer-box{padding:24px;
      background:rgba(255,255,255,.98);
      border:1px solid #dbe8f5;
      border-radius:24px;
      box-shadow:0 14px 30px rgba(15,35,60,.05);
      text-align:center;
      color:#5f7894;}

body.page-aviso-legal .site-footer, body.page-privacidad .site-footer, body.page-cookies .site-footer{padding: 24px 0 42px;}

body.page-aviso-legal .footer-box-premium, body.page-privacidad .footer-box-premium, body.page-cookies .footer-box-premium{background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%);
  border: 1px solid #dbe8f5;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(15,35,60,.06);
  display: flex;
  flex-direction: column;
  gap: 22px;}

body.page-aviso-legal .footer-brand, body.page-privacidad .footer-brand, body.page-cookies .footer-brand{display: flex;
  align-items: center;
  gap: 16px;}

body.page-aviso-legal .footer-badge, body.page-privacidad .footer-badge, body.page-cookies .footer-badge{width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg,#2563eb 0%, #7c3aed 100%);
  box-shadow: 0 14px 30px rgba(37,99,235,.18);
  flex-shrink: 0;}

body.page-aviso-legal .footer-brand h3, body.page-privacidad .footer-brand h3, body.page-cookies .footer-brand h3{margin: 0 0 6px;
  font-size: 1.2rem;
  color: #16395f;}

body.page-aviso-legal .footer-brand p, body.page-privacidad .footer-brand p, body.page-cookies .footer-brand p{margin: 0;
  color: #5f7894;
  line-height: 1.7;}

body.page-aviso-legal .footer-links, body.page-privacidad .footer-links, body.page-cookies .footer-links{display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;}

body.page-aviso-legal .footer-links a, body.page-privacidad .footer-links a, body.page-cookies .footer-links a{display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: #f4f8fd;
  border: 1px solid #dbe8f5;
  color: #355b83;
  font-weight: 700;
  transition: .25s ease;
  box-shadow: 0 8px 18px rgba(15,35,60,.04);}

body.page-aviso-legal .footer-links a:hover, body.page-privacidad .footer-links a:hover, body.page-cookies .footer-links a:hover{transform: translateY(-2px);
  background: #eef4ff;
  color: #2563eb;
  box-shadow: 0 12px 22px rgba(37,99,235,.10);}

body.page-aviso-legal .footer-copy, body.page-privacidad .footer-copy, body.page-cookies .footer-copy{padding-top: 10px;
  border-top: 1px solid #e6eef7;}

body.page-aviso-legal .footer-copy p, body.page-privacidad .footer-copy p, body.page-cookies .footer-copy p{margin: 0;
  color: #6d849f;
  font-size: .94rem;
  line-height: 1.6;}

body.page-privacidad .privacy-hero{position:relative;
      z-index:2;
      max-width:860px;
      margin:0 auto;
      text-align:center;}

body.page-privacidad .sub{margin:0 0 24px;
      max-width:860px;
      color:#5f7894;
      font-size:1.05rem;
      line-height:1.85;}

body.page-privacidad .privacy-grid{display:grid;
      grid-template-columns:320px minmax(0,1fr);
      gap:24px;
      align-items:start;}

body.page-privacidad .privacy-sidebar{position:sticky;
      top:96px;}

body.page-privacidad .privacy-nav, body.page-privacidad .privacy-card{background:#fff;
      border:1px solid #dbe8f5;
      border-radius:26px;
      padding:24px;
      box-shadow:0 14px 30px rgba(15,35,60,.05);}

body.page-privacidad .privacy-nav{margin-bottom:18px;}

body.page-privacidad .privacy-nav h3{margin-bottom:14px;}

body.page-privacidad .privacy-nav a{display:block;
      padding:11px 14px;
      border-radius:14px;
      color:#486887;
      font-weight:700;
      transition:.22s ease;}

body.page-privacidad .privacy-nav a:hover{background:#f3f8ff;
      color:#2563eb;
      transform:translateX(4px);}

body.page-privacidad .privacy-card{overflow:hidden;}

body.page-privacidad .privacy-section{padding:0 0 28px;
      margin:0 0 28px;
      border-bottom:1px solid #e6eff8;}

body.page-privacidad .privacy-section:last-child{margin-bottom:0;
      padding-bottom:0;
      border-bottom:none;}

body.page-privacidad .privacy-tag{display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:8px 12px;
      border-radius:999px;
      background:#eef4ff;
      color:#355b83;
      font-size:.84rem;
      font-weight:800;
      margin-bottom:12px;}

body.page-privacidad .privacy-section p, body.page-privacidad .privacy-section li{color:#526f8b;
      line-height:1.85;
      font-size:1rem;}

body.page-privacidad .privacy-section ul{margin:12px 0 0;
      padding-left:20px;}

body.page-privacidad .privacy-highlight{margin-top:16px;
      padding:18px 20px;
      border-radius:20px;
      background:linear-gradient(135deg,#eef5ff 0%, #f4efff 100%);
      border:1px solid #dbe8f5;
      color:#355983;
      font-weight:700;
      line-height:1.7;}

body.page-privacidad .privacy-mini-grid{display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:16px;
      margin-top:18px;}

body.page-privacidad .privacy-mini-card{background:#f7fbff;
      border:1px solid #deebf8;
      border-radius:20px;
      padding:18px;
      box-shadow:0 8px 18px rgba(15,35,60,.04);}

body.page-privacidad .privacy-mini-card strong{display:block;
      margin-bottom:8px;
      color:#16395f;
      font-size:1rem;}

body.page-privacidad .privacy-table{display:grid;
      gap:14px;
      margin-top:18px;}

body.page-privacidad .privacy-row{display:grid;
      grid-template-columns:200px 1fr;
      gap:14px;
      align-items:start;
      padding:16px 18px;
      border-radius:18px;
      border:1px solid #dbe8f5;
      background:#fbfdff;}

body.page-privacidad .privacy-row strong{color:#16395f;}

body.page-cookies .cookie-grid{display:grid;
      grid-template-columns:320px minmax(0,1fr);
      gap:24px;
      align-items:start;}

body.page-cookies .cookie-sidebar{position:sticky;top:96px;}

body.page-cookies .cookie-nav, body.page-cookies .cookie-card{background:#fff;
      border:1px solid #dbe8f5;
      border-radius:26px;
      padding:24px;
      box-shadow:0 14px 30px rgba(15,35,60,.05);}

body.page-cookies .cookie-nav{margin-bottom:18px;}

body.page-cookies .cookie-nav a{display:block;
      padding:11px 14px;
      border-radius:14px;
      color:#486887;
      font-weight:700;
      transition:.22s ease;}

body.page-cookies .cookie-nav a:hover{background:#f3f8ff;
      color:#2563eb;
      transform:translateX(4px);}

body.page-cookies .cookie-section{padding:0 0 28px;
      margin:0 0 28px;
      border-bottom:1px solid #e6eff8;}

body.page-cookies .cookie-section:last-child{margin-bottom:0;
      padding-bottom:0;
      border-bottom:none;}

body.page-cookies .cookie-tag{display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:8px 12px;
      border-radius:999px;
      background:#eef4ff;
      color:#355b83;
      font-size:.84rem;
      font-weight:800;
      margin-bottom:12px;}

body.page-cookies .cookie-section p, body.page-cookies .cookie-section li{color:#526f8b;
      line-height:1.85;
      font-size:1rem;}

body.page-cookies .cookie-section ul{margin:12px 0 0;
      padding-left:20px;}

body.page-cookies .cookie-highlight{margin-top:16px;
      padding:18px 20px;
      border-radius:20px;
      background:linear-gradient(135deg,#eef5ff 0%, #f4efff 100%);
      border:1px solid #dbe8f5;
      color:#355983;
      font-weight:700;
      line-height:1.7;}

body.page-cookies .cookie-table{display:grid;
      gap:14px;
      margin-top:18px;}

body.page-cookies .cookie-row{display:grid;
      grid-template-columns:180px 1fr 140px;
      gap:14px;
      align-items:start;
      padding:16px 18px;
      border-radius:18px;
      border:1px solid #dbe8f5;
      background:#fbfdff;}

body.page-cookies .cookie-row strong{color:#16395f;}

@keyframes feedbackIn{from{opacity:0; transform:translateX(-50%) translateY(-10px)}
  to{opacity:1; transform:translateX(-50%) translateY(0)}}

@keyframes floatCardA{0%,100%{ transform:translateY(0px); }
  50%{ transform:translateY(-8px); }}

@keyframes floatCardB{0%,100%{ transform:translateY(0px); }
  50%{ transform:translateY(8px); }}

@keyframes modalIn{from{
    opacity:0;
    transform:translateY(18px) scale(.97);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }}

@keyframes modalIn{from{opacity:0; transform:translateY(18px) scale(.97)}
  to{opacity:1; transform:translateY(0) scale(1)}}

@media (max-width: 760px){
  body.page-index .method-sub{white-space:normal;}
}

@media (max-width: 980px){
  body.page-index .hero, body.page-oposiciones .hero, body.page-flexiclases .hero{min-height:auto;
    padding:78px 0 60px;}
  body.page-index .services-cards, body.page-index .teacher-grid-visual, body.page-index .method-grid, body.page-index .contact-premium-grid{grid-template-columns:1fr;}
  body.page-index .hero-copy{max-width:100%;}
  body.page-index .hero-title{max-width:100%;
    font-size:clamp(2.8rem, 10vw, 5rem);}
  body.page-index .lead{margin:24px auto 0;}
  body.page-index .phrase{max-width:100%;}
  body.page-index .teacher-photo img, body.page-oposiciones .teacher-photo img{min-height:360px;}
  body.page-index .service-card-opos, body.page-index .service-card-flexi{animation:none;}
  body.page-oposiciones .hero-grid, body.page-oposiciones .grid, body.page-oposiciones .steps{grid-template-columns:1fr;}
  body.page-oposiciones .contact-premium-grid{grid-template-columns:1fr;}
  body.page-oposiciones .hero-grid{grid-template-columns:1fr;
    grid-template-areas:
      "copy"
      "side"
      "actions"
      "phrase"
      "points";
    gap:28px;}
  body.page-oposiciones .hero-copy{max-width:100%;
    text-align:center;
    align-items:center;}
  body.page-oposiciones .hero-side{padding-top:0;}
  body.page-oposiciones .hero-photo-wrap{max-width:320px;
    margin:0 auto;}
  body.page-oposiciones .eyebrow{margin:0 auto 22px;}
  body.page-oposiciones h1{max-width:100%;
    text-align:center;
    font-size:clamp(2.8rem, 10vw, 5rem);}
  body.page-oposiciones .lead{text-align:center;
    margin:24px auto 0;}
  body.page-oposiciones .hero-actions, body.page-oposiciones .hero-points, body.page-flexiclases .hero-actions, body.page-flexiclases .hero-points{justify-content:center;}
  body.page-oposiciones .phrase{text-align:center;
    margin:0 auto;}
  body.page-oposiciones .teacher-grid-visual{grid-template-columns:1fr;}
  body.page-flexiclases .hero-grid, body.page-flexiclases .feature-grid, body.page-flexiclases .modules, body.page-flexiclases .contact-premium-grid{grid-template-columns:1fr;}
  body.page-flexiclases .hero-copy{text-align:center;
    max-width:100%;}
  body.page-flexiclases .hero-side{justify-content:center;}
  body.page-flexiclases h1{font-size:clamp(2.8rem, 10vw, 5rem);}
  body.page-aviso-legal .legal-grid{grid-template-columns:1fr;}
  body.page-aviso-legal .legal-sidebar{position:relative;top:0;}
  body.page-privacidad .privacy-grid{grid-template-columns:1fr;}
  body.page-privacidad .privacy-sidebar{position:relative;
        top:0;}
  body.page-cookies .cookie-grid{grid-template-columns:1fr;}
  body.page-cookies .cookie-sidebar{position:relative;top:0;}
}

@media (max-width: 640px){
  body.page-index .topbar, body.page-oposiciones .topbar, body.page-flexiclases .topbar{padding:10px 0;}
  body.page-index .nav-shell, body.page-oposiciones .nav-shell, body.page-flexiclases .nav-shell{display:flex;
    align-items:center;
    flex-direction:row;
    justify-content:space-between;
    flex-wrap:wrap;
    border-radius:24px;
    padding:10px;}
  body.page-index .brand-text small, body.page-oposiciones .brand-text small, body.page-flexiclases .brand-text small{display:none;}
  body.page-index .menu-toggle, body.page-oposiciones .menu-toggle, body.page-flexiclases .menu-toggle{display:flex;}
  body.page-index .actions, body.page-oposiciones .actions, body.page-flexiclases .actions{display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #dbe8f5;}
  body.page-index .actions.open, body.page-oposiciones .actions.open, body.page-flexiclases .actions.open{display:flex;}
  body.page-index .nav-chip, body.page-oposiciones .nav-chip, body.page-flexiclases .nav-chip{width:100%;
    min-height:52px;}
  body.page-index .hero, body.page-oposiciones .hero, body.page-flexiclases .hero{padding:64px 0 48px;}
  body.page-index .hero-title{font-size:clamp(2.2rem, 12vw, 4rem);
    line-height:.95;}
  body.page-index .hero-actions{flex-direction:column;
    width:100%;
    align-items:center;
    gap:14px;}
  body.page-index .hero-actions .btn{width:100%;
    max-width:360px;
    min-height:54px;
    white-space:normal;
    text-align:center;}
  body.page-index .btn{width:100%;
    white-space:normal;
    text-align:center;
    padding:1rem 1.2rem;}
  body.page-index .phrase{padding:1rem 1rem 1.1rem;}
  body.page-index .phrase span{margin:0 auto;}
  body.page-index .services-cards, body.page-index .teacher-points, body.page-index .premium-form-grid{grid-template-columns:1fr;}
  body.page-index .section-box, body.page-index .contact-premium, body.page-index .footer-box-premium{padding:22px;}
  body.page-index .service-card{padding:22px;
    border-radius:24px;}
  body.page-index .service-card h3{font-size:1.4rem;}
  body.page-index .eyebrow, body.page-oposiciones .eyebrow, body.page-flexiclases .eyebrow{width:100%;
    justify-content:center;
    text-align:center;
    line-height:1.4;}
  body.page-index .teacher-card, body.page-oposiciones .teacher-card{padding:22px;}
  body.page-index .teacher-card h3, body.page-oposiciones .teacher-card h3{font-size:1.7rem;}
  body.page-index .teacher-quote{width:100%;}
  body.page-index .teacher-linkedin{justify-content:center;}
  body.page-index .footer-links, body.page-oposiciones .footer-links, body.page-flexiclases .footer-links{flex-direction:column;}
  body.page-index .footer-links a, body.page-oposiciones .footer-links a, body.page-flexiclases .footer-links a{width:100%;}
  body.page-index .floating-contact, body.page-oposiciones .floating-contact, body.page-flexiclases .floating-contact{right:16px;
    bottom:16px;
    gap:10px;}
  body.page-index .float-contact-btn, body.page-oposiciones .float-contact-btn, body.page-flexiclases .float-contact-btn{width:54px;
    height:54px;}
  body.page-index .float-contact-btn svg, body.page-oposiciones .float-contact-btn svg, body.page-flexiclases .float-contact-btn svg{width:26px;
    height:26px;}
  body.page-index .float-contact-btn::after, body.page-oposiciones .float-contact-btn::after, body.page-flexiclases .float-contact-btn::after{display:none;}
  body.page-index .contact-modal, body.page-oposiciones .contact-modal, body.page-flexiclases .contact-modal{padding:14px;}
  body.page-index .contact-modal__box, body.page-oposiciones .contact-modal__box, body.page-flexiclases .contact-modal__box{max-height:92vh;
    border-radius:24px;}
  body.page-index .contact-modal__close, body.page-oposiciones .contact-modal__close, body.page-flexiclases .contact-modal__close{top:12px;
    right:12px;}
  body.page-oposiciones h1{font-size:clamp(2.2rem, 12vw, 4rem);
    line-height:.94;}
  body.page-oposiciones .hero-actions, body.page-flexiclases .hero-actions{flex-direction:column;}
  body.page-oposiciones .btn{width:100%;}
  body.page-oposiciones .section-box, body.page-oposiciones .interview-box{padding:22px;}
  body.page-oposiciones .footer-box-premium{padding:22px;
    border-radius:22px;}
  body.page-oposiciones .footer-brand, body.page-flexiclases .footer-brand{align-items:flex-start;}
  body.page-oposiciones .promo-badge{position:static;
    margin:0 0 18px;
    width:100%;
    text-align:center;}
  body.page-oposiciones .teacher-points{grid-template-columns:1fr;}
  body.page-oposiciones .contact-premium{padding:24px;
    border-radius:24px;}
  body.page-oposiciones .contact-premium-card, body.page-flexiclases .contact-premium-card{padding:22px;
    border-radius:22px;}
  body.page-oposiciones .premium-form-grid, body.page-flexiclases .premium-form-grid{grid-template-columns:1fr;}
  body.page-oposiciones .contact-premium-head h2{font-size:1.8rem;}
  body.page-flexiclases h1{font-size:clamp(2.2rem, 12vw, 3.9rem);
    line-height:.98;}
  body.page-flexiclases .btn, body.page-flexiclases .btn-outline{width:100%;}
  body.page-flexiclases .panel, body.page-flexiclases .contact-premium, body.page-flexiclases .footer-box-premium{padding:22px;}
  body.page-flexiclases .mini-grid{grid-template-columns:1fr;}
  body.page-flexiclases .badge-floating{display:none;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  body.page-index .reveal, body.page-index .reveal-left, body.page-index .reveal-right, body.page-index .stagger > *, body.page-oposiciones .reveal, body.page-oposiciones .reveal-left, body.page-oposiciones .reveal-right, body.page-oposiciones .stagger > *, body.page-flexiclases .reveal, body.page-flexiclases .reveal-left, body.page-flexiclases .reveal-right, body.page-flexiclases .stagger > *{opacity:1 !important;
    transform:none !important;
    transition:none !important;}
}

@media (max-width: 1100px){
  body.page-flexiclases .sticker{display:none}
}

@media (max-width: 720px){
  body.page-aviso-legal .legal-row{grid-template-columns:1fr;}
  body.page-aviso-legal .hero, body.page-privacidad .hero, body.page-cookies .hero{padding:72px 0 38px;}
  body.page-aviso-legal .section-box, body.page-privacidad .section-box, body.page-cookies .section-box{padding:22px;}
  body.page-aviso-legal .eyebrow, body.page-privacidad .eyebrow, body.page-cookies .eyebrow{width:100%;}
  body.page-aviso-legal .actions, body.page-privacidad .actions, body.page-cookies .actions{flex-direction:column;}
  body.page-aviso-legal .btn, body.page-privacidad .btn, body.page-cookies .btn{width:100%;}
  body.page-aviso-legal .footer-box-premium, body.page-privacidad .footer-box-premium, body.page-cookies .footer-box-premium{padding: 22px;
    border-radius: 22px;}
  body.page-aviso-legal .footer-brand, body.page-privacidad .footer-brand, body.page-cookies .footer-brand{align-items: flex-start;}
  body.page-aviso-legal .footer-links, body.page-privacidad .footer-links, body.page-cookies .footer-links{flex-direction: column;}
  body.page-aviso-legal .footer-links a, body.page-privacidad .footer-links a, body.page-cookies .footer-links a{width: 100%;}
  body.page-privacidad .privacy-mini-grid, body.page-privacidad .privacy-row{grid-template-columns:1fr;}
  body.page-cookies .cookie-row{grid-template-columns:1fr;}
}

/* Ajuste común para el logo del footer renderizado desde includes/layout.php */
body.page-aviso-legal .footer-badge img,
body.page-privacidad .footer-badge img,
body.page-cookies .footer-badge img{width:100%;height:100%;object-fit:contain;display:block;}


/* Ajustes finales: logo nuevo, favicon y versión móvil más centrada */
body.page-aviso-legal .badge,
body.page-privacidad .badge,
body.page-cookies .badge{
  background:#ffffff;
  border:1px solid rgba(219,232,245,.95);
  box-shadow:0 14px 34px rgba(37,99,235,.18);
  overflow:hidden;
  padding:6px;
  color:inherit;
}

body.page-aviso-legal .badge img,
body.page-privacidad .badge img,
body.page-cookies .badge img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

@media (max-width: 640px){
  body.page-index .brand,
  body.page-oposiciones .brand,
  body.page-flexiclases .brand,
  body.page-aviso-legal .brand,
  body.page-privacidad .brand,
  body.page-cookies .brand{
    justify-content:center;
  }

  body.page-index .brand-text strong,
  body.page-oposiciones .brand-text strong,
  body.page-flexiclases .brand-text strong,
  body.page-aviso-legal .brand span,
  body.page-privacidad .brand span,
  body.page-cookies .brand span{
    white-space:nowrap;
  }

  body.page-index .nav-chip,
  body.page-oposiciones .nav-chip,
  body.page-flexiclases .nav-chip,
  body.page-index .hero-point,
  body.page-oposiciones .hero-point,
  body.page-flexiclases .hero-point,
  body.page-aviso-legal .hero-point,
  body.page-privacidad .hero-point,
  body.page-cookies .hero-point,
  body.page-index .btn,
  body.page-oposiciones .btn,
  body.page-flexiclases .btn,
  body.page-aviso-legal .btn,
  body.page-privacidad .btn,
  body.page-cookies .btn,
  body.page-index .service-btn,
  body.page-index .contact-btn,
  body.page-oposiciones .contact-btn,
  body.page-flexiclases .contact-btn,
  body.page-flexiclases .btn-outline,
  body.page-index .footer-links a,
  body.page-oposiciones .footer-links a,
  body.page-flexiclases .footer-links a,
  body.page-aviso-legal .footer-links a,
  body.page-privacidad .footer-links a,
  body.page-cookies .footer-links a{
    white-space:nowrap;
    text-align:center;
    font-size:clamp(.86rem, 3.7vw, 1rem);
  }

  body.page-index .hero-actions .btn,
  body.page-oposiciones .hero-actions .btn,
  body.page-flexiclases .hero-actions .btn{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  body.page-index .hero-actions,
  body.page-oposiciones .hero-actions,
  body.page-flexiclases .hero-actions,
  body.page-index .hero-points,
  body.page-oposiciones .hero-points,
  body.page-flexiclases .hero-points,
  body.page-aviso-legal .hero-points,
  body.page-privacidad .hero-points,
  body.page-cookies .hero-points{
    align-items:center;
    justify-content:center;
  }

  body.page-index .section-box,
  body.page-index .service-card,
  body.page-index .teacher-card,
  body.page-index .method-card,
  body.page-index .contact-premium-card,
  body.page-index .footer-box-premium,
  body.page-oposiciones .section-box,
  body.page-oposiciones .card,
  body.page-oposiciones .step,
  body.page-oposiciones .teacher-card,
  body.page-oposiciones .contact-premium-card,
  body.page-oposiciones .footer-box-premium,
  body.page-flexiclases .panel,
  body.page-flexiclases .feature-card,
  body.page-flexiclases .module-card,
  body.page-flexiclases .cta-box,
  body.page-flexiclases .contact-premium-card,
  body.page-flexiclases .footer-box-premium,
  body.page-aviso-legal .section-box,
  body.page-aviso-legal .legal-card,
  body.page-privacidad .section-box,
  body.page-privacidad .privacy-card,
  body.page-cookies .section-box,
  body.page-cookies .cookie-card{
    text-align:center;
  }

  body.page-index .footer-brand,
  body.page-oposiciones .footer-brand,
  body.page-flexiclases .footer-brand,
  body.page-aviso-legal .footer-brand,
  body.page-privacidad .footer-brand,
  body.page-cookies .footer-brand{
    flex-direction:column;
    align-items:center !important;
    text-align:center;
  }

  body.page-index .premium-field,
  body.page-index .premium-privacy,
  body.page-oposiciones .premium-field,
  body.page-oposiciones .premium-privacy,
  body.page-flexiclases .premium-field,
  body.page-flexiclases .premium-privacy{
    text-align:left;
  }
}

@media (max-width: 720px){
  body.page-aviso-legal .topbar .inner,
  body.page-privacidad .topbar .inner,
  body.page-cookies .topbar .inner{
    justify-content:center;
    text-align:center;
  }

  body.page-aviso-legal .actions,
  body.page-privacidad .actions,
  body.page-cookies .actions{
    align-items:center;
    width:100%;
  }

  body.page-aviso-legal .legal-nav a,
  body.page-privacidad .privacy-nav a,
  body.page-cookies .cookie-nav a{
    text-align:center;
  }
}

/* Corrección solicitada: en móvil, el texto de las cajas informativas queda alineado a la izquierda.
   Se mantienen centrados los botones, la navegación y las cabeceras principales. */
@media (max-width: 640px){
  body.page-index .section-box,
  body.page-index .service-card,
  body.page-index .teacher-card,
  body.page-index .method-card,
  body.page-index .contact-premium-card,
  body.page-oposiciones .section-box,
  body.page-oposiciones .card,
  body.page-oposiciones .step,
  body.page-oposiciones .teacher-card,
  body.page-oposiciones .interview-box,
  body.page-oposiciones .contact-premium-card,
  body.page-flexiclases .panel,
  body.page-flexiclases .feature-card,
  body.page-flexiclases .module-card,
  body.page-flexiclases .mini-card,
  body.page-flexiclases .cta-box,
  body.page-flexiclases .contact-premium-card,
  body.page-aviso-legal .section-box,
  body.page-aviso-legal .legal-card,
  body.page-aviso-legal .legal-row,
  body.page-privacidad .section-box,
  body.page-privacidad .privacy-card,
  body.page-privacidad .privacy-row,
  body.page-privacidad .privacy-mini,
  body.page-cookies .section-box,
  body.page-cookies .cookie-card,
  body.page-cookies .cookie-row,
  body.page-cookies .cookie-highlight{
    text-align:left;
  }

  body.page-index .service-card h3,
  body.page-index .service-card p,
  body.page-index .service-list,
  body.page-index .method-card h3,
  body.page-index .method-card p,
  body.page-index .teacher-card h3,
  body.page-index .teacher-pill,
  body.page-oposiciones .card h3,
  body.page-oposiciones .card ul,
  body.page-oposiciones .step h3,
  body.page-oposiciones .step p,
  body.page-oposiciones .teacher-block,
  body.page-oposiciones .contact-list,
  body.page-flexiclases .feature-card h3,
  body.page-flexiclases .feature-card p,
  body.page-flexiclases .module-card h3,
  body.page-flexiclases .module-card p,
  body.page-flexiclases .mini-card,
  body.page-flexiclases .contact-list,
  body.page-aviso-legal .legal-card,
  body.page-aviso-legal .legal-card p,
  body.page-aviso-legal .legal-card li,
  body.page-privacidad .privacy-card,
  body.page-privacidad .privacy-card p,
  body.page-privacidad .privacy-card li,
  body.page-cookies .cookie-card,
  body.page-cookies .cookie-section p,
  body.page-cookies .cookie-section li,
  body.page-cookies .cookie-row,
  body.page-cookies .cookie-highlight{
    text-align:left;
  }

  body.page-index .service-top,
  body.page-index .teacher-linkedin,
  body.page-oposiciones .teacher-linkedin,
  body.page-index .service-btn,
  body.page-index .contact-btn,
  body.page-oposiciones .contact-btn,
  body.page-flexiclases .contact-btn{
    text-align:center;
    justify-content:center;
  }
}

/* =========================================================
   Pulido SOLO RESPONSIVE — sin cambiar textos ni secciones
   Objetivo: mejorar móvil, centrar títulos y evitar desbordes
   ========================================================= */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

/* Logo con fondo blanco limpio para evitar efecto "pegote" */
body.page-index .badge,
body.page-oposiciones .badge,
body.page-flexiclases .badge,
body.page-aviso-legal .badge,
body.page-privacidad .badge,
body.page-cookies .badge,
body.page-index .footer-badge,
body.page-oposiciones .footer-badge,
body.page-flexiclases .footer-badge,
body.page-aviso-legal .footer-badge,
body.page-privacidad .footer-badge,
body.page-cookies .footer-badge{
  background:#ffffff !important;
  border:1px solid rgba(219,232,245,.72) !important;
  box-shadow:none !important;
  overflow:hidden;
}

body.page-index .badge img,
body.page-oposiciones .badge img,
body.page-flexiclases .badge img,
body.page-aviso-legal .badge img,
body.page-privacidad .badge img,
body.page-cookies .badge img,
body.page-index .footer-badge img,
body.page-oposiciones .footer-badge img,
body.page-flexiclases .footer-badge img,
body.page-aviso-legal .footer-badge img,
body.page-privacidad .footer-badge img,
body.page-cookies .footer-badge img{
  background:#ffffff !important;
  border-radius:14px;
  object-fit:contain;
}

@media (max-width: 640px){
  /* Títulos centrados y equilibrados, sin forzarlos a una sola línea */
  body.page-index h1,
  body.page-index h2,
  body.page-index h3,
  body.page-oposiciones h1,
  body.page-oposiciones h2,
  body.page-oposiciones h3,
  body.page-flexiclases h1,
  body.page-flexiclases h2,
  body.page-flexiclases h3,
  body.page-aviso-legal h1,
  body.page-aviso-legal h2,
  body.page-aviso-legal h3,
  body.page-privacidad h1,
  body.page-privacidad h2,
  body.page-privacidad h3,
  body.page-cookies h1,
  body.page-cookies h2,
  body.page-cookies h3,
  body.page-index .hero-title,
  body.page-index .method-title,
  body.page-flexiclases .section-title{
    text-align:center !important;
    margin-left:auto;
    margin-right:auto;
    white-space:normal !important;
    text-wrap:balance;
    line-height:1.08;
    letter-spacing:-.025em;
  }

  body.page-index .services-head,
  body.page-index .contact-premium-head,
  body.page-oposiciones .contact-premium-head,
  body.page-flexiclases .contact-premium-head{
    text-align:center !important;
    align-items:center;
    justify-content:center;
  }

  /* Hero más compacto en móvil sin cambiar contenido */
  body.page-index .hero,
  body.page-oposiciones .hero,
  body.page-flexiclases .hero{
    padding:44px 0 34px !important;
  }

  body.page-index .hero-title,
  body.page-oposiciones h1,
  body.page-flexiclases h1{
    font-size:clamp(2rem, 10.5vw, 3.35rem) !important;
  }

  body.page-index .lead,
  body.page-oposiciones .lead,
  body.page-flexiclases .lead,
  body.page-index .sub,
  body.page-oposiciones .sub,
  body.page-flexiclases .sub{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }

  /* Botones cómodos en móvil, sin cambiar texto ni destino */
  body.page-index .hero-actions,
  body.page-oposiciones .hero-actions,
  body.page-flexiclases .hero-actions{
    width:100%;
    align-items:center;
    justify-content:center;
    gap:12px;
  }

  body.page-index .hero-actions .btn,
  body.page-index .hero-actions .btn-secondary,
  body.page-oposiciones .hero-actions .btn,
  body.page-flexiclases .hero-actions .btn,
  body.page-flexiclases .hero-actions .btn-outline{
    width:100%;
    max-width:360px;
    min-height:52px;
    white-space:normal !important;
    text-align:center;
    justify-content:center;
  }

  body.page-index .section-box,
  body.page-index .service-card,
  body.page-index .teacher-card,
  body.page-index .method-card,
  body.page-index .contact-premium,
  body.page-index .contact-premium-card,
  body.page-oposiciones .section-box,
  body.page-oposiciones .card,
  body.page-oposiciones .step,
  body.page-oposiciones .teacher-card,
  body.page-oposiciones .interview-box,
  body.page-oposiciones .contact-premium,
  body.page-oposiciones .contact-premium-card,
  body.page-flexiclases .panel,
  body.page-flexiclases .feature-card,
  body.page-flexiclases .module-card,
  body.page-flexiclases .mini-card,
  body.page-flexiclases .cta-box,
  body.page-flexiclases .contact-premium,
  body.page-flexiclases .contact-premium-card{
    padding:20px !important;
    border-radius:22px !important;
  }

  /* Párrafos y listas se mantienen legibles, no centramos bloques largos */
  body.page-index .service-card p,
  body.page-index .service-list,
  body.page-index .method-card p,
  body.page-index .teacher-points,
  body.page-index .teacher-pill,
  body.page-oposiciones .card ul,
  body.page-oposiciones .step p,
  body.page-oposiciones .teacher-block,
  body.page-oposiciones .contact-list,
  body.page-flexiclases .feature-card p,
  body.page-flexiclases .module-card p,
  body.page-flexiclases .mini-card,
  body.page-flexiclases .contact-list{
    text-align:left !important;
  }

  body.page-index .service-top,
  body.page-index .teacher-linkedin,
  body.page-oposiciones .teacher-linkedin,
  body.page-index .service-btn,
  body.page-index .contact-btn,
  body.page-oposiciones .contact-btn,
  body.page-flexiclases .contact-btn{
    text-align:center !important;
    justify-content:center !important;
  }

  /* Formularios más limpios en pantallas pequeñas */
  body.page-index .premium-form,
  body.page-oposiciones .premium-form,
  body.page-flexiclases .premium-form{
    gap:14px;
  }

  body.page-index .premium-field,
  body.page-oposiciones .premium-field,
  body.page-flexiclases .premium-field,
  body.page-index .premium-privacy,
  body.page-oposiciones .premium-privacy,
  body.page-flexiclases .premium-privacy{
    text-align:left !important;
  }

  body.page-index input,
  body.page-index textarea,
  body.page-index select,
  body.page-oposiciones input,
  body.page-oposiciones textarea,
  body.page-oposiciones select,
  body.page-flexiclases input,
  body.page-flexiclases textarea,
  body.page-flexiclases select{
    font-size:16px;
  }

  body.page-index .floating-contact,
  body.page-oposiciones .floating-contact,
  body.page-flexiclases .floating-contact{
    right:14px !important;
    bottom:calc(14px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 380px){
  body.page-index .section-box,
  body.page-index .service-card,
  body.page-index .teacher-card,
  body.page-index .method-card,
  body.page-index .contact-premium,
  body.page-index .contact-premium-card,
  body.page-oposiciones .section-box,
  body.page-oposiciones .card,
  body.page-oposiciones .step,
  body.page-oposiciones .teacher-card,
  body.page-oposiciones .interview-box,
  body.page-oposiciones .contact-premium,
  body.page-oposiciones .contact-premium-card,
  body.page-flexiclases .panel,
  body.page-flexiclases .feature-card,
  body.page-flexiclases .module-card,
  body.page-flexiclases .mini-card,
  body.page-flexiclases .cta-box,
  body.page-flexiclases .contact-premium,
  body.page-flexiclases .contact-premium-card{
    padding:18px 14px !important;
  }

  body.page-index .hero-title,
  body.page-oposiciones h1,
  body.page-flexiclases h1{
    font-size:clamp(1.85rem, 10vw, 3rem) !important;
  }
}
