/* ==========================================================================
   Espai Educa — estilos principales
   ========================================================================== */

:root {
	--ee-brand: #2E7D32;
	--ee-brand-dark: #0B3012;
	--ee-brand-soft: #F1F8F4;
	--ee-brand-hover: color-mix(in srgb, var(--ee-brand) 80%, #000);
	--ee-brand-bright: #7BD389;
	--ee-ink: #101C14;
	--ee-muted: #4A5A4F;
	--ee-line: #DFE7E1;
	--ee-bg: #FFFFFF;
	--ee-bg-alt: #F6F9F6;
	--ee-on-dark: #FFFFFF;
	--ee-on-dark-muted: #BFD0C3;
	--ee-offer: #B45309;
	--ee-radius: 18px;
	--ee-radius-lg: 28px;
	--ee-shadow-sm: 0 1px 2px rgba(16, 28, 20, .06), 0 2px 8px rgba(16, 28, 20, .04);
	--ee-shadow: 0 20px 48px -12px rgba(11, 48, 18, .18);
	--ee-shadow-lg: 0 40px 80px -20px rgba(4, 22, 9, .45);
	--ee-font-head: "Poppins", system-ui, sans-serif;
	--ee-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ee-container: 1240px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--ee-font-body); font-size: 17px; line-height: 1.6; color: var(--ee-ink); background: var(--ee-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ee-brand); text-underline-offset: 3px; }
a:hover { color: var(--ee-brand-hover); }
:focus-visible { outline: 3px solid var(--ee-brand); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ee-font-head); line-height: 1.15; letter-spacing: -0.025em; color: var(--ee-ink); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.ee-skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ee-brand-dark); color: #fff; padding: 12px 18px; border-radius: 10px; }
.ee-skip:focus { top: 16px; color: #fff; }
.ee-icon { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }

.ee-container { width: 100%; max-width: var(--ee-container); margin: 0 auto; padding: 0 24px; }
.ee-narrow { max-width: 820px; }
.ee-center { display: flex; justify-content: center; margin-top: 44px; }

/* Botones ---------------------------------------------------------------- */
.ee-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 var(--ee-font-body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.ee-btn:hover { transform: translateY(-1px); }
.ee-btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.ee-btn-primary { background: var(--ee-brand); color: #fff; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--ee-brand) 70%, transparent); }
.ee-btn-primary:hover { background: var(--ee-brand-hover); color: #fff; }
.ee-btn-outline { border-color: var(--ee-line); color: var(--ee-ink); background: #fff; }
.ee-btn-outline:hover { border-color: var(--ee-ink); color: var(--ee-ink); }
.ee-btn-ghost { background: #fff; border-color: var(--ee-line); color: var(--ee-ink); }
.ee-btn-ghost:hover { border-color: var(--ee-brand); color: var(--ee-brand); }
.ee-btn-white { background: #fff; color: var(--ee-brand-dark); }
.ee-btn-white:hover { background: var(--ee-brand-soft); color: var(--ee-brand-dark); }
.ee-btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.ee-btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.ee-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ee-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.ee-link-arrow .ee-icon { transition: transform .2s; }
.ee-link-arrow:hover .ee-icon { transform: translateX(3px); }
.ee-round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ee-brand-soft); color: var(--ee-brand-dark); transition: background .2s, color .2s; }
.ee-round-btn:hover { background: var(--ee-brand); color: #fff; }

/* Barra superior y cabecera ---------------------------------------------- */
.ee-topbar { background: var(--ee-brand-dark); color: var(--ee-on-dark-muted); font-size: 14px; }
.ee-topbar .ee-container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; flex-wrap: wrap; text-align: center; }
.ee-topbar .ee-icon { color: var(--ee-brand-bright); }
.ee-topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ee-topbar a:hover { color: var(--ee-brand-bright); }

.ee-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--ee-line); }
.admin-bar .ee-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ee-header { top: 0; } }
.ee-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.ee-brand .custom-logo { max-height: 50px; width: auto; display: block; }
.ee-logo-text { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ee-ink); font: 700 21px/1 var(--ee-font-head); letter-spacing: -0.02em; }
.ee-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ee-brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.ee-brand-invert .ee-logo-text { color: #fff; }
.ee-brand-invert .ee-logo-mark { background: #fff; color: var(--ee-brand-dark); }
.ee-brand-invert .custom-logo { filter: brightness(0) invert(1); }

.ee-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.ee-menu > li { position: relative; }
.ee-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ee-ink); font-weight: 500; font-size: 15px; text-decoration: none; transition: background .15s, color .15s; }
.ee-menu a:hover, .ee-menu .current-menu-item > a, .ee-menu .current_page_item > a { color: var(--ee-brand); background: var(--ee-brand-soft); }
.ee-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--ee-line); border-radius: 14px; box-shadow: var(--ee-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.ee-menu li:hover > .sub-menu, .ee-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ee-header-actions { display: flex; align-items: center; gap: 10px; }
.ee-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; color: var(--ee-ink); }
.ee-cart:hover { background: var(--ee-brand-soft); color: var(--ee-brand); }
.ee-cart-count { position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ee-brand); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.ee-burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ee-brand-soft); color: var(--ee-ink); cursor: pointer; align-items: center; justify-content: center; }
.ee-burger-close { display: none; }
.ee-only-mobile { display: none; }

@media (max-width: 1024px) {
	.ee-burger { display: inline-flex; }
	.ee-hide-mobile { display: none; }
	.ee-only-mobile { display: flex; }
	.ee-nav { position: fixed; inset: 76px 0 0 0; background: #fff; padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; gap: 20px; z-index: 99; }
	.admin-bar .ee-nav { top: 122px; }
	.ee-nav.is-open { transform: none; }
	.ee-menu { flex-direction: column; align-items: stretch; }
	.ee-menu a { font-size: 18px; padding: 14px 12px; }
	.ee-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.ee-nav-actions .ee-btn { width: 100%; }
	.ee-burger[aria-expanded="true"] .ee-burger-open { display: none; }
	.ee-burger[aria-expanded="true"] .ee-burger-close { display: inline; }
	body.ee-nav-open { overflow: hidden; }
}

/* Secciones -------------------------------------------------------------- */
.ee-section { padding: 112px 0; }
.ee-section-pt0 { padding-top: 0; }
.ee-section-pb0 { padding-bottom: 0; }
.ee-section-alt { background: var(--ee-bg-alt); border-top: 1px solid var(--ee-line); border-bottom: 1px solid var(--ee-line); }
.ee-section-head { max-width: 720px; margin-bottom: 44px; }
.ee-section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ee-section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.ee-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ee-brand); }
.ee-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.ee-section-head-center .ee-eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.ee-eyebrow-light { color: var(--ee-brand-bright); }
.ee-h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin: 0; }
.ee-h3 { font-size: 26px; }
.ee-lead { font-size: 18px; color: var(--ee-muted); margin: 16px 0 0; }

/* Hero ------------------------------------------------------------------- */
.ee-hero { position: relative; overflow: hidden; background: var(--ee-brand-dark); color: #fff; isolation: isolate; }
.ee-hero-bg { position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(600px 400px at 85% 20%, color-mix(in srgb, var(--ee-brand) 55%, transparent), transparent 70%),
		radial-gradient(500px 360px at 10% 110%, color-mix(in srgb, var(--ee-brand) 35%, transparent), transparent 70%),
		linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px;
	-webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
	mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.ee-hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; padding-top: 96px; padding-bottom: 112px; }
.ee-hero-copy { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.ee-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ee-badge .ee-icon { color: var(--ee-brand-bright); }
.ee-hero-title { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -0.04em; margin: 0; color: #fff; }
.ee-hl { color: var(--ee-brand-bright); }
.ee-hero-text { font-size: 19px; color: var(--ee-on-dark-muted); max-width: 580px; margin: 0; }
.ee-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ee-on-dark-muted); font-size: 15px; }
.ee-checks li { display: flex; align-items: center; gap: 8px; }
.ee-checks .ee-icon { color: var(--ee-brand-bright); }

.ee-course-search { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 8px 8px 8px 18px; max-width: 600px; box-shadow: var(--ee-shadow-lg); }
.ee-course-search > .ee-icon { color: var(--ee-muted); }
.ee-course-search input[type="search"] { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; padding: 0 6px; min-height: 48px; font-size: 16px; background: transparent; }
.ee-course-search .ee-btn { min-height: 48px; }
.ee-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ee-on-dark-muted); }
.ee-popular a { color: #fff; text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); transition: background .15s, border-color .15s; }
.ee-popular a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; }

.ee-hero-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.ee-hero-img { width: 100%; max-width: 520px; border-radius: var(--ee-radius-lg); box-shadow: var(--ee-shadow-lg); object-fit: cover; }
.ee-hero-stack { position: relative; width: 100%; max-width: 440px; padding: 36px 0; }
.ee-hero-course { position: relative; background: #fff; color: var(--ee-ink); border-radius: 24px; overflow: hidden; box-shadow: var(--ee-shadow-lg); transform: rotate(1.5deg); }
.ee-hero-course-media { position: relative; aspect-ratio: 16 / 9; background: var(--ee-brand-soft); }
.ee-hero-course-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ee-hero-course-tag { position: absolute; top: 14px; right: 14px; background: var(--ee-brand-dark); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.ee-hero-course-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.ee-hero-course-title { font: 700 21px/1.25 var(--ee-font-head); letter-spacing: -0.02em; color: var(--ee-ink); text-decoration: none; }
.ee-hero-course-title:hover { color: var(--ee-brand); }
.ee-float { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ee-ink); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--ee-shadow-lg); }
.ee-float strong { display: block; font-size: 14px; line-height: 1.3; }
.ee-float small { display: block; font-size: 13px; color: var(--ee-muted); }
.ee-float-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ee-brand-soft); color: var(--ee-brand); display: flex; align-items: center; justify-content: center; }
.ee-float-a { top: 0; left: -44px; }
.ee-float-b { bottom: 0; right: -36px; }
@media (max-width: 1100px) { .ee-float-a { left: -8px; } .ee-float-b { right: -8px; } }

/* Franja de confianza ---------------------------------------------------- */
.ee-trust { background: #fff; border-bottom: 1px solid var(--ee-line); }
.ee-trust-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ee-trust-item { display: flex; align-items: center; gap: 14px; padding: 28px 24px; }
.ee-trust-item + .ee-trust-item { border-left: 1px solid var(--ee-line); }
.ee-trust-item > .ee-icon { color: var(--ee-brand); }
.ee-trust-item strong { display: block; font-size: 15px; line-height: 1.3; }
.ee-trust-item small { display: block; font-size: 14px; color: var(--ee-muted); }
@media (max-width: 960px) { .ee-trust-item + .ee-trust-item { border-left: 0; } .ee-trust-item { padding: 18px 0; } }

/* Áreas ------------------------------------------------------------------ */
.ee-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.ee-area { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--ee-line); border-radius: 18px; text-decoration: none; color: var(--ee-ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ee-area:hover { border-color: color-mix(in srgb, var(--ee-brand) 40%, var(--ee-line)); box-shadow: var(--ee-shadow); transform: translateY(-2px); color: var(--ee-ink); }
.ee-area-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; background: var(--ee-brand-soft); color: var(--ee-brand); display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.ee-area:hover .ee-area-icon { background: var(--ee-brand); color: #fff; }
.ee-area-text { flex: 1; min-width: 0; }
.ee-area-text strong { display: block; font: 600 17px/1.3 var(--ee-font-head); }
.ee-area-text small { display: block; font-size: 14px; color: var(--ee-muted); }
.ee-area-arrow { color: var(--ee-muted); transition: transform .2s, color .2s; }
.ee-area:hover .ee-area-arrow { transform: translateX(3px); color: var(--ee-brand); }

/* Catálogo en portada ---------------------------------------------------- */
.ee-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ee-chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ee-line); background: #fff; color: var(--ee-ink); font: 500 15px/1 var(--ee-font-body); cursor: pointer; transition: .15s; }
.ee-chip:hover { border-color: var(--ee-brand); color: var(--ee-brand); }
.ee-chip.is-active { background: var(--ee-ink); border-color: var(--ee-ink); color: #fff; font-weight: 600; }
.ee-course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.ee-course { background: #fff; border: 1px solid var(--ee-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.ee-course:hover { box-shadow: var(--ee-shadow); transform: translateY(-4px); border-color: transparent; }
.ee-course-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--ee-brand-soft); overflow: hidden; }
.ee-course-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ee-course:hover .ee-course-media img { transform: scale(1.04); }
.ee-card-cover { width: 100%; height: 100%; min-height: 150px; display: flex; align-items: center; justify-content: center; color: var(--ee-brand);
	background: linear-gradient(135deg, var(--ee-brand-soft), color-mix(in srgb, var(--ee-brand) 14%, #fff)); }
.ee-card-cover-lg { min-height: 0; color: var(--ee-brand); }
.ee-card-cover-lg .ee-icon { width: 64px; height: 64px; padding: 18px; border-radius: 999px; background: var(--ee-brand); color: #fff; }
.ee-course-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.ee-card-cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ee-brand); }
.ee-course-title { font: 600 18px/1.35 var(--ee-font-head); letter-spacing: -0.015em; margin: 0; flex-grow: 1; }
.ee-course-title a { color: var(--ee-ink); text-decoration: none; }
.ee-course-title a:hover { color: var(--ee-brand); }
.ee-card-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--ee-muted); }
.ee-card-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ee-course-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ee-line); }
.ee-course-foot .price { font: 700 23px/1 var(--ee-font-head); color: var(--ee-ink); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ee-course-foot .price del { font-size: 15px; font-weight: 500; color: var(--ee-muted); }
.ee-course-foot .price ins { text-decoration: none; }
.ee-course .onsale { position: absolute; top: 14px; left: 14px; background: var(--ee-offer); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.ee-empty { color: var(--ee-muted); }

/* Experiencia (split) ---------------------------------------------------- */
.ee-split { display: flex; flex-wrap: wrap; align-items: center; gap: 72px; }
.ee-split-visual { flex: 1 1 440px; min-width: 0; }
.ee-split-copy { flex: 1 1 460px; min-width: 0; }
.ee-campus { background: var(--ee-brand-dark); border-radius: 26px; padding: 18px; box-shadow: var(--ee-shadow-lg); }
.ee-campus-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 16px; color: var(--ee-on-dark-muted); font-size: 13px; font-weight: 600; }
.ee-campus-bar i { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); }
.ee-campus-bar span { margin-left: 10px; }
.ee-campus-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.ee-campus-player { aspect-ratio: 16 / 10; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); display: flex; align-items: center; justify-content: center; }
.ee-campus-player span { width: 64px; height: 64px; border-radius: 999px; background: var(--ee-brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(255,255,255,.06); }
.ee-campus-side { border-radius: 16px; background: rgba(255,255,255,.06); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ee-campus-label { font-size: 12px; color: var(--ee-on-dark-muted); }
.ee-ring { width: 76px; height: 76px; border-radius: 999px; background: conic-gradient(var(--ee-brand-bright) 0 42%, rgba(255,255,255,.12) 42% 100%); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.ee-ring span { width: 58px; height: 58px; border-radius: 999px; background: var(--ee-brand-dark); color: #fff; font: 700 15px/58px var(--ee-font-head); text-align: center; }
.ee-campus-line { height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); }
.ee-campus-line.ee-short { width: 60%; }
.ee-campus-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.ee-campus-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.05); color: var(--ee-on-dark-muted); }
.ee-campus-row i { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.12); }
.ee-campus-row.is-done { color: var(--ee-brand-bright); }
.ee-campus-row.is-now { background: rgba(123, 211, 137, .12); color: #fff; }
.ee-campus-row.is-now i { background: rgba(255,255,255,.3); }
.ee-feature-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.ee-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.ee-feature-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: #fff; border: 1px solid var(--ee-line); color: var(--ee-brand); display: flex; align-items: center; justify-content: center; }
.ee-feature-list h3 { font-size: 17px; font-weight: 600; margin: 2px 0 4px; letter-spacing: -0.01em; }
.ee-feature-list p { color: var(--ee-muted); font-size: 15px; margin: 0; line-height: 1.5; }
.ee-stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--ee-line); }
.ee-stat strong { display: block; font: 700 36px/1.1 var(--ee-font-head); letter-spacing: -0.03em; color: var(--ee-brand-dark); }
.ee-stat span { font-size: 14px; color: var(--ee-muted); }
@media (max-width: 600px) { .ee-feature-list { grid-template-columns: 1fr; } }

/* Pasos ------------------------------------------------------------------ */
.ee-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; counter-reset: s; position: relative; }
.ee-steps li { position: relative; background: #fff; border: 1px solid var(--ee-line); border-radius: 22px; padding: 32px; }
.ee-step-n { width: 48px; height: 48px; border-radius: 14px; background: var(--ee-brand); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 20px/1 var(--ee-font-head); margin-bottom: 22px; }
.ee-steps h3 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.ee-steps p { color: var(--ee-muted); margin: 0; font-size: 16px; }

/* Bloque oscuro (Fundae) ------------------------------------------------- */
.ee-dark-panel { position: relative; overflow: hidden; background: var(--ee-brand-dark); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 56px; isolation: isolate; }
.ee-dark-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 380px at 100% 0%, color-mix(in srgb, var(--ee-brand) 50%, transparent), transparent 70%); }
.ee-dark-copy { flex: 1 1 440px; min-width: 0; }
.ee-dark-copy .ee-h2 { color: #fff; }
.ee-dark-copy p { color: var(--ee-on-dark-muted); font-size: 18px; margin: 18px 0 30px; }
.ee-dark-steps { flex: 1 1 360px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ee-dark-steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 22px; }
.ee-dark-steps li > span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--ee-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ee-dark-steps strong { display: block; font-size: 17px; }
.ee-dark-steps small { display: block; font-size: 15px; color: var(--ee-on-dark-muted); }

/* Opiniones -------------------------------------------------------------- */
.ee-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.ee-review { margin: 0; background: #fff; border: 1px solid var(--ee-line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.ee-review blockquote { margin: 0; font-size: 18px; line-height: 1.55; }
.ee-review blockquote::before { content: "“"; display: block; font: 700 54px/0.6 var(--ee-font-head); color: var(--ee-brand); margin-bottom: 8px; }
.ee-review figcaption { display: flex; align-items: center; gap: 12px; }
.ee-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--ee-brand-soft); color: var(--ee-brand-dark); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ee-review strong { display: block; }
.ee-review small { display: block; color: var(--ee-muted); font-size: 14px; }

/* Preguntas frecuentes --------------------------------------------------- */
.ee-faq { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.ee-faq-intro { flex: 1 1 320px; min-width: 0; position: sticky; top: 120px; }
.ee-faq-intro .ee-btn { margin-top: 28px; }
.ee-faq-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ee-faq-item { background: #fff; border: 1px solid var(--ee-line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.ee-faq-item[open] { border-color: color-mix(in srgb, var(--ee-brand) 35%, var(--ee-line)); box-shadow: var(--ee-shadow-sm); }
.ee-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font: 600 17px/1.4 var(--ee-font-head); letter-spacing: -0.01em; }
.ee-faq-item summary::-webkit-details-marker { display: none; }
.ee-faq-item summary .ee-icon { color: var(--ee-brand); transition: transform .2s; }
.ee-faq-item[open] summary .ee-icon { transform: rotate(180deg); }
.ee-faq-item p { margin: 0; padding: 0 24px 22px; color: var(--ee-muted); }
@media (max-width: 900px) { .ee-faq-intro { position: static; } }

/* Llamada final ---------------------------------------------------------- */
.ee-cta { position: relative; overflow: hidden; background: var(--ee-brand); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; isolation: isolate; }
.ee-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px 300px at 90% 120%, rgba(255,255,255,.18), transparent 70%); }
.ee-cta > div { flex: 1 1 520px; min-width: 0; }
.ee-cta .ee-h2 { color: #fff; }
.ee-cta p { color: #E6F4E8; font-size: 18px; margin: 12px 0 0; }

/* Páginas interiores ----------------------------------------------------- */
.ee-page-hero { position: relative; overflow: hidden; background: var(--ee-brand-dark); color: #fff; padding: 72px 0 64px; isolation: isolate; }
.ee-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(520px 320px at 90% 0%, color-mix(in srgb, var(--ee-brand) 50%, transparent), transparent 70%),
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px,
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 56px 56px; }
.ee-page-hero .ee-eyebrow { color: var(--ee-brand-bright); }
.ee-page-title { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.035em; margin: 0; color: #fff; }
.ee-page-desc { color: var(--ee-on-dark-muted); font-size: 18px; margin-top: 12px; max-width: 720px; }
.ee-page-desc p { margin: 0; }
.ee-page-hero .ee-meta { color: var(--ee-on-dark-muted); }
.ee-page-hero .ee-course-search { margin-top: 28px; }
.ee-page-body { padding-top: 56px; padding-bottom: 104px; }
.ee-meta { display: block; font-size: 14px; color: var(--ee-muted); margin-bottom: 10px; }

.ee-content { max-width: 820px; }
.ee-narrow .ee-content { max-width: none; }
.ee-content > * + * { margin-top: 1.1em; }
.ee-content h2 { font-size: 32px; margin-top: 1.6em; }
.ee-content h3 { font-size: 24px; margin-top: 1.4em; }
.ee-content ul, .ee-content ol { padding-left: 1.3em; }
.ee-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ee-brand); font-size: 20px; }
.ee-content img { border-radius: 14px; }
.ee-content table { width: 100%; border-collapse: collapse; }
.ee-content th, .ee-content td { border-bottom: 1px solid var(--ee-line); padding: 10px 8px; text-align: left; }
.ee-content .wp-block-button__link { background: var(--ee-brand); border-radius: 12px; padding: 14px 26px; font-weight: 600; }
.ee-featured { margin: 0 0 40px; }
.ee-featured img { border-radius: 22px; width: 100%; }

.ee-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.ee-post-card { background: #fff; border: 1px solid var(--ee-line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.ee-post-card:hover { box-shadow: var(--ee-shadow); transform: translateY(-3px); }
.ee-post-media { display: block; aspect-ratio: 16 / 9; background: var(--ee-brand-soft); overflow: hidden; }
.ee-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ee-post-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.ee-post-body p { color: var(--ee-muted); font-size: 15px; flex-grow: 1; margin: 0; }
.ee-post-title { font-size: 20px; font-weight: 600; margin: 0; }
.ee-post-title a { color: var(--ee-ink); text-decoration: none; }
.ee-post-title a:hover { color: var(--ee-brand); }

.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ee-line); color: var(--ee-ink); text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--ee-brand); border-color: var(--ee-brand); color: #fff; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ee-line); }
.post-navigation a { text-decoration: none; color: var(--ee-ink); display: flex; flex-direction: column; max-width: 360px; }
.post-navigation small { color: var(--ee-muted); }
.post-navigation span { font-weight: 600; }

.ee-search { display: flex; gap: 8px; max-width: 520px; margin: 24px 0; }
.ee-search input { flex: 1; }
.ee-404 p { font-size: 18px; color: var(--ee-muted); margin-top: 16px; }
.ee-404 .ee-page-title { color: var(--ee-ink); }

/* Formularios ------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], textarea, select {
	width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #C9D6CC; border-radius: 12px; background: #fff; color: var(--ee-ink); font: 400 16px/1.4 var(--ee-font-body); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ee-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ee-brand) 18%, transparent); }
label { font-weight: 500; }
button, input[type="submit"] { font-family: var(--ee-font-body); }
.ee-comments { margin-top: 56px; }
.ee-comment-list { list-style: none; padding: 0; }
.comment-respond input[type="submit"] { background: var(--ee-brand); color: #fff; border: 0; border-radius: 12px; min-height: 48px; padding: 0 26px; font-weight: 600; cursor: pointer; }

/* Pie -------------------------------------------------------------------- */
.ee-footer { background: var(--ee-brand-dark); color: var(--ee-on-dark-muted); }
.ee-footer a { color: var(--ee-on-dark-muted); text-decoration: none; }
.ee-footer a:hover { color: #fff; }
.ee-footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding: 80px 0 56px; }
.ee-footer-brand { flex: 1 1 280px; max-width: 360px; }
.ee-footer-brand p { margin-top: 16px; font-size: 15px; }
.ee-footer-col { min-width: 200px; }
.ee-footer-title { font: 600 15px/1.3 var(--ee-font-body); letter-spacing: 0; color: #fff; margin: 0 0 16px; }
.ee-footer-menu, .ee-footer .ee-menu, .ee-contact, .ee-legal-menu { list-style: none; margin: 0; padding: 0; }
.ee-footer .ee-menu { flex-direction: column; align-items: flex-start; gap: 0; }
.ee-footer .ee-menu a { padding: 5px 0; color: var(--ee-on-dark-muted); background: none; font-size: 15px; }
.ee-footer .ee-menu a:hover { color: #fff; }
.ee-footer-menu li { padding: 5px 0; font-size: 15px; }
.ee-contact li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 15px; }
.ee-contact .ee-icon { margin-top: 3px; color: var(--ee-brand-bright); }
.ee-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.ee-legal-menu { display: flex; flex-wrap: wrap; gap: 20px; }

.ee-whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 999px; background: #1F8F4A; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.ee-whatsapp:hover { background: #17733B; color: #fff; }

/* Elementor -------------------------------------------------------------- */
.ee-main > .elementor { width: 100%; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 720px) {
	body { font-size: 16px; }
	.ee-topbar { font-size: 13px; }
	.ee-topbar .ee-container { gap: 6px; padding-top: 8px; padding-bottom: 8px; }
	.ee-topbar .ee-container > .ee-icon { display: none; }
	.ee-section { padding: 80px 0; }
	.ee-section-pt0 { padding-top: 0; }
	.ee-section-pb0 { padding-bottom: 0; }
	.ee-hero-inner { padding-top: 56px; padding-bottom: 72px; gap: 40px; }
	.ee-hero-text { font-size: 17px; }
	.ee-actions .ee-btn { width: 100%; }
	.ee-course-search { flex-wrap: wrap; padding: 8px; }
	.ee-course-search > .ee-icon { display: none; }
	.ee-course-search input[type="search"] { padding: 0 10px; }
	.ee-course-search .ee-btn { width: 100%; }
	.ee-hero-course { transform: none; }
	.ee-float { display: none; }
	.ee-hero-stack { padding: 0; }
	.ee-dark-panel, .ee-cta { border-radius: 24px; }
	.ee-page-hero { padding: 48px 0 44px; }
	.ee-campus-body { grid-template-columns: 1fr; }
	.ee-campus-side { display: none; }
}

/* ==========================================================================
   Páginas interiores (v1.2)
   ========================================================================== */
/* Tipografías de Elementor → las del tema */
body[class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: "Poppins";
	--e-global-typography-secondary-font-family: "Poppins";
	--e-global-typography-text-font-family: "Inter";
	--e-global-typography-accent-font-family: "Inter";
	--e-global-color-primary: var(--ee-brand);
	--e-global-color-accent: var(--ee-brand);
	--e-global-color-secondary: var(--ee-brand-dark);
	--e-global-color-text: var(--ee-muted);
}
.ee-elementor-content { max-width: none; }
.ee-elementor-content .elementor-heading-title { font-family: var(--ee-font-head); letter-spacing: -0.02em; color: var(--ee-ink); }
.ee-elementor-content .elementor-widget-text-editor { color: var(--ee-muted); font-family: var(--ee-font-body); line-height: 1.7; }
.ee-elementor-content .e-con, .ee-elementor-content .elementor-section { --padding-left: 0px; --padding-right: 0px; }
.ee-elementor-content .elementor-button { background: var(--ee-brand) !important; border-radius: 12px !important; font-family: var(--ee-font-body) !important; font-weight: 600 !important; }
.ee-elementor-content img { border-radius: 16px; }
.ee-article { font-size: 18px; }
.ee-back { margin-top: 48px; }

.ee-page-hero-inner { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.ee-page-hero-inner .ee-page-desc { margin: 0; }
.ee-page-hero .ee-checks { color: var(--ee-on-dark-muted); }
.ee-page-hero .ee-checks .ee-icon { color: var(--ee-brand-bright); }
.ee-page-hero .ee-actions { margin-top: 6px; }
.ee-page-hero .ee-course-search { margin-top: 8px; }
.ee-section-tight-top { padding-top: 48px; }

/* Catálogo */
.ee-catalog-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ee-catalog-bar .ee-chips { margin: 0; }
.ee-catalog-count { color: var(--ee-muted); font-size: 15px; }
.ee-chip-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--ee-brand-soft); color: var(--ee-brand-dark); font-size: 12px; font-weight: 700; }
.ee-chip.is-active .ee-chip-count { background: rgba(255,255,255,.18); color: #fff; }
.ee-help-box { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 48px; padding: 24px 28px; border-radius: 20px; background: var(--ee-brand-soft); border: 1px solid color-mix(in srgb, var(--ee-brand) 18%, var(--ee-line)); }
.ee-help-box > div { flex: 1 1 320px; }
.ee-help-box strong { display: block; font: 600 18px/1.3 var(--ee-font-head); }
.ee-help-box p { margin: 4px 0 0; color: var(--ee-muted); }

/* Bloques de contenido */
.ee-split-top { align-items: flex-start; }
.ee-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: #FFF7ED; color: #7C2D12; font-size: 15px; }
.ee-note .ee-icon { color: var(--ee-offer); margin-top: 2px; }
.ee-card-list { background: #fff; border: 1px solid var(--ee-line); border-radius: 24px; padding: 32px; box-shadow: var(--ee-shadow-sm); }
.ee-card-list h3 { font-size: 22px; margin: 14px 0 10px; }
.ee-card-list > h3:first-child { margin-top: 0; }
.ee-card-list p { color: var(--ee-muted); }
.ee-card-dark { background: var(--ee-brand-dark); border-color: var(--ee-brand-dark); color: #fff; }
.ee-card-dark h3 { color: #fff; }
.ee-card-dark p { color: var(--ee-on-dark-muted); }
.ee-card-dark .ee-feature-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--ee-brand-bright); }
.ee-card-dark .ee-list-check li::before { background-color: var(--ee-brand); }
.ee-list-check { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ee-list-check li { position: relative; padding-left: 34px; line-height: 1.45; }
.ee-list-check li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 999px; background: var(--ee-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ee-two-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ee-steps-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ee-steps-5 li { padding: 26px; }
.ee-steps-5 h3 { font-size: 18px; }
.ee-steps-5 p { font-size: 15px; }
.ee-feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.ee-feature-cards li { background: #fff; border: 1px solid var(--ee-line); border-radius: 18px; padding: 22px; flex-direction: column; }
@media (max-width: 600px) { .ee-feature-cards { grid-template-columns: 1fr; } }
.ee-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.ee-audience-item { background: #fff; border: 1px solid var(--ee-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.ee-audience-item p { margin: 0; font: 600 17px/1.4 var(--ee-font-head); letter-spacing: -0.01em; }
.ee-pledge { margin: 0; text-align: center; }
.ee-pledge blockquote { margin: 0; font: 600 clamp(22px, 2.6vw, 30px)/1.4 var(--ee-font-head); letter-spacing: -0.02em; color: var(--ee-ink); }

/* Formularios en página */
.ee-form-layout { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.ee-form-intro { flex: 1 1 340px; min-width: 0; }
.ee-form-card { flex: 1.3 1 460px; min-width: 0; background: #fff; border: 1px solid var(--ee-line); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--ee-shadow); }
.ee-checks-dark { color: var(--ee-muted); margin-top: 20px; flex-direction: column; }
.ee-checks-dark .ee-icon { color: var(--ee-brand); }
.ee-form-card-elementor .elementor-widget-heading, .ee-form-card-elementor .elementor-widget-text-editor { display: none; }
.ee-form-card .e-con, .ee-form-card .elementor-section, .ee-form-card .e-con-inner { padding: 0 !important; margin: 0 !important; max-width: none !important; }
.ee-form-card label, .ee-form-card .forminator-label { font: 600 14px/1.4 var(--ee-font-body) !important; color: var(--ee-ink) !important; margin-bottom: 6px !important; }
.ee-form-card input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]), .ee-form-card textarea, .ee-form-card select {
	width: 100% !important; min-height: 48px !important; padding: 12px 16px !important; border: 1px solid #C9D6CC !important; border-radius: 12px !important; background: #fff !important; font: 400 16px/1.4 var(--ee-font-body) !important; color: var(--ee-ink) !important; box-shadow: none !important;
}
.ee-form-card textarea { min-height: 140px !important; }
.ee-form-card button[type="submit"], .ee-form-card .forminator-button-submit, .ee-form-card .elementor-button {
	width: 100%; min-height: 52px !important; border: 0 !important; border-radius: 12px !important; background: var(--ee-brand) !important; color: #fff !important; font: 600 16px/1 var(--ee-font-body) !important; cursor: pointer; box-shadow: none !important;
}
.ee-form-card button[type="submit"]:hover, .ee-form-card .forminator-button-submit:hover { background: var(--ee-brand-hover) !important; }
.ee-form-card .forminator-ui.forminator-custom-form { margin: 0 !important; }
.ee-form-card .forminator-row { margin-bottom: 18px !important; }
.ee-contact-cards { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ee-contact-cards a, .ee-contact-cards li > div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--ee-line); border-radius: 16px; background: #fff; color: var(--ee-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.ee-contact-cards a:hover { border-color: color-mix(in srgb, var(--ee-brand) 40%, var(--ee-line)); box-shadow: var(--ee-shadow-sm); color: var(--ee-ink); }
.ee-contact-cards strong { display: block; font-size: 16px; }
.ee-contact-cards small { display: block; color: var(--ee-muted); font-size: 14px; }

/* WooCommerce en páginas (carrito, pago, cuenta) */
.ee-wc-page { max-width: none; }

/* ==========================================================================
   Cabecera y menú (v1.3)
   ========================================================================== */
.ee-header-inner { min-height: 80px; gap: 20px; }
.ee-brand { flex-shrink: 0; }
.ee-brand .custom-logo { max-height: 64px; width: auto; }
.ee-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.ee-menu { gap: 2px; flex-wrap: nowrap; }
.ee-menu a { white-space: nowrap; padding: 10px 13px; font-size: 15px; line-height: 1.2; }
.ee-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ee-menu .ee-menu-campus > a { display: inline-flex; align-items: center; gap: 7px; }
.ee-menu .ee-menu-campus > a .ee-icon { color: var(--ee-brand); }
.ee-header-actions { flex-shrink: 0; }

/* Menú en dos líneas → pasa antes al botón de menú */
@media (max-width: 1180px) {
	.ee-burger { display: inline-flex; }
	.ee-hide-mobile { display: none; }
	.ee-only-mobile { display: flex; }
	.ee-nav { position: fixed; inset: 80px 0 0 0; background: #fff; padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; flex-direction: column; justify-content: flex-start; gap: 20px; z-index: 99; }
	.ee-topbar + .ee-header .ee-nav { inset: 80px 0 0 0; }
	.admin-bar .ee-nav { top: 126px; }
	.ee-nav.is-open { transform: none; }
	.ee-menu { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
	.ee-menu a { font-size: 18px; padding: 14px 12px; white-space: normal; }
	.ee-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.ee-menu .menu-item-has-children > a::after { display: none; }
	.ee-header-actions .ee-btn-primary { display: inline-flex; }
	body.ee-nav-open { overflow: hidden; }
}
@media (max-width: 1180px) and (min-width: 600px) {
	.ee-header-actions .ee-btn-primary.ee-hide-mobile { display: inline-flex; }
}
@media (max-width: 599px) {
	.ee-brand .custom-logo { max-height: 52px; }
	.ee-header-inner { min-height: 72px; }
	.ee-nav { inset: 72px 0 0 0; }
}

/* ==========================================================================
   Formularios del tema (v1.4)
   ========================================================================== */
.ee-form { display: flex; flex-direction: column; gap: 20px; }
.ee-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.ee-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ee-field-wide { grid-column: 1 / -1; }
.ee-field label { font-size: 14px; font-weight: 600; color: var(--ee-ink); }
.ee-req { color: #B42318; }
.ee-opt { color: var(--ee-muted); font-weight: 400; }
.ee-field.is-invalid input, .ee-field.is-invalid textarea, .ee-field.is-invalid select { border-color: #B42318 !important; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12) !important; }
.ee-field.is-invalid label::after { content: " · obligatorio"; color: #B42318; font-weight: 500; }
.ee-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 400; color: var(--ee-muted); cursor: pointer; }
.ee-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ee-brand); flex-shrink: 0; }
.ee-consent.is-invalid { color: #B42318; }
.ee-form-submit { width: 100%; }
.ee-form-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.ee-form-legal { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ee-muted); }
.ee-form-error { padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #8A1C12; font-size: 15px; }
.ee-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ee-form-done { text-align: center; padding: 24px 8px; }
.ee-form-done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; background: var(--ee-brand-soft); color: var(--ee-brand); display: flex; align-items: center; justify-content: center; }
.ee-form-done h3 { font-size: 24px; margin-bottom: 8px; }
.ee-form-done p { color: var(--ee-muted); margin: 0; }
@media (max-width: 600px) { .ee-form-grid { grid-template-columns: 1fr; } }
.ee-form-card .ee-field.is-invalid input, .ee-form-card .ee-field.is-invalid textarea, .ee-form-card .ee-field.is-invalid select { border-color: #B42318 !important; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12) !important; }
.ee-form-card label.ee-consent { font: 400 14px/1.5 var(--ee-font-body) !important; color: var(--ee-muted) !important; margin: 0 !important; }
.ee-form-card label.ee-consent.is-invalid { color: #B42318 !important; }

/* ==========================================================================
   Ajustes móvil (v1.5)
   ========================================================================== */
/* Nada puede ensanchar la página */
/* (en main y pie, no en body: así la cabecera fija sigue funcionando) */
.ee-main, .ee-footer { overflow-x: clip; }
@supports not (overflow-x: clip) { .ee-main, .ee-footer { overflow-x: hidden; } }
.ee-topbar, .ee-header { max-width: 100vw; }

/* Barra superior: todo es un enlace */
.ee-topbar-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ee-on-dark-muted) !important; font-weight: 400 !important; text-decoration: none; }
.ee-topbar-link:hover { color: #fff !important; }
.ee-topbar-link .ee-icon:first-child { color: var(--ee-brand-bright); }
.ee-topbar-cta { color: #fff; font-weight: 600; }

/* Cabecera y panel del menú */
.ee-header-cta { display: inline-flex; }
@media (max-width: 1180px) {
	/* El desenfoque de fondo convierte la cabecera en contenedor del panel fijo: se quita en móvil/tablet */
	.ee-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.ee-nav { top: 0; bottom: 0; left: 0; right: 0; height: auto; visibility: hidden; border-top: 1px solid var(--ee-line); box-shadow: 0 24px 48px -24px rgba(11, 48, 18, .25); }
	.ee-nav.is-open { visibility: visible; }
	.ee-nav .ee-menu { gap: 2px; }
	.ee-nav .ee-menu a { border-radius: 12px; padding: 15px 14px; font-weight: 500; }
	.ee-nav .ee-menu > li + li { border-top: 1px solid var(--ee-line); }
	.ee-nav .ee-menu > li + li > a { border-radius: 0; }
	.ee-nav-actions { flex-direction: column; gap: 10px; padding-top: 8px; }
	.ee-nav-actions .ee-btn { width: 100%; }
}
@media (max-width: 599px) {
	.ee-container { padding: 0 18px; }
	.ee-header-inner { gap: 10px; }
	.ee-header-cta { display: none !important; }
	.ee-header-actions { gap: 6px; }
	.ee-cart, .ee-burger { width: 44px; height: 44px; }
	.ee-brand .custom-logo { max-height: 46px; max-width: 170px; }
	.ee-topbar { font-size: 13px; }
	.ee-topbar .ee-container { padding-top: 9px; padding-bottom: 9px; min-height: 0; }
	.ee-topbar-link { max-width: 100%; }
	.ee-topbar-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
	.ee-topbar-cta { display: none; }
	/* Botón de WhatsApp más discreto para no tapar contenido */
	.ee-whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
	.ee-hero-title { font-size: clamp(34px, 9.5vw, 44px); }
	.ee-checks { gap: 8px 18px; }
}
@media (max-width: 1180px) {
	/* El panel cerrado ya no se esconde desplazado a la derecha (eso ensanchaba la página en iPhone) */
	.ee-nav { transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
	.ee-nav.is-open { transform: none; opacity: 1; pointer-events: auto; transition: opacity .2s, transform .2s, visibility 0s; }
}
