/*
Theme Name: Escuela Partners Pro · Visual
Author: Escuela Partners Pro
Description: Web de cursos editable con Gutenberg, imágenes y catálogo dinámico.
Version: 5.4.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: escuela-partners-pro
*/
:root{--cyan:#0cc0df;--teal:#007b91;--navy:#082d44;--yellow:#ffde59;--soft:#f1f8fa;--line:#dbe8ed}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--navy);font:16px/1.65 system-ui,-apple-system,Segoe UI,Arial,sans-serif}a{color:#007b91}a:hover{color:#00586d}img{max-width:100%;height:auto}.epp-wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto}.epp-header{background:#fff;box-shadow:0 4px 18px #072b4314;position:relative;z-index:3}.epp-header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.epp-logo{width:190px;max-height:68px;object-fit:contain}.epp-nav{display:flex;align-items:center;justify-content:center;gap:23px;flex-wrap:wrap}.epp-nav a{font-size:14px;font-weight:700;text-decoration:none;color:var(--navy)}.epp-nav .epp-academy{background:var(--navy);color:var(--yellow);padding:12px 21px;border-radius:10px}.epp-social{display:flex;gap:12px;align-items:center}.epp-social a{font-size:23px;color:var(--teal);text-decoration:none;font-weight:800}.epp-footer{background:var(--navy);color:#fff;padding:35px 0}.epp-footer a{color:#d8fbff}.epp-footer-grid{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.epp-footer img{width:170px;filter:brightness(0) invert(1)}.epp-content{width:min(1160px,calc(100% - 40px));margin:35px auto 80px}.epp-content h1,.epp-content h2,.epp-content h3{line-height:1.17;letter-spacing:-.025em}.epp-content h1{font-size:clamp(35px,4vw,54px)}.epp-content h2{font-size:clamp(27px,3vw,39px)}.epp-content p{line-height:1.7}.epp-content .wp-block-group{min-width:0}.epp-content .wp-block-columns{gap:26px}.epp-content .wp-block-column{min-width:0}.epp-content .wp-block-image img{border-radius:18px;display:block}.epp-content .wp-block-button__link,.epp-content .epp-btn{background:var(--cyan);border:0;color:#07344a!important;font-weight:800;text-decoration:none;padding:14px 23px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center}.epp-content .is-style-outline .wp-block-button__link{background:white;border:2px solid var(--cyan);color:var(--teal)!important}.epp-content .epp-yellow .wp-block-button__link{background:var(--yellow)}.epp-content .epp-hero{padding:46px;max-width:none;background:linear-gradient(120deg,#d8faff,#f6fcfd);border-radius:24px;margin-bottom:30px}.epp-content .epp-hero h1{font-size:clamp(36px,4.3vw,62px)}.epp-content .epp-hero .wp-block-image img{height:440px;width:100%;object-fit:cover}.epp-content .epp-section{padding:42px 0}.epp-content .epp-soft{background:#f3f9fa;padding:38px;border-radius:22px}.epp-content .epp-card,.epp-content .epp-module,.epp-content .epp-mode{border:1px solid var(--line);border-radius:17px;background:white;padding:24px;box-shadow:0 8px 22px #062d440a;height:100%}.epp-content .epp-mode{background:#f9fdfe}.epp-content .epp-mode h3{margin-top:0}.epp-content .epp-price{font-size:34px;font-weight:850;margin:8px 0}.epp-content .epp-kicker{font-size:12px;letter-spacing:.05em;text-transform:uppercase;font-weight:800;color:#007b91;background:#d8f8fc;border-radius:25px;display:inline-block;padding:5px 12px}.epp-content .epp-lead{font-size:18px;color:#4c6979}.epp-content .epp-faq .wp-block-details{background:#f0f2f3;border:1px solid #dfe5e7;border-radius:12px;padding:17px 20px;margin:10px 0}.epp-content .epp-faq .wp-block-details summary{cursor:pointer;font-weight:750}.epp-content .epp-faq .wp-block-details p{margin-bottom:0;color:#506a79}.epp-content .epp-testimonials{display:flex;overflow-x:auto;gap:18px;scroll-snap-type:x mandatory;padding:10px 0 20px}.epp-content .epp-testimonials>.wp-block-group{min-width:280px;max-width:340px;flex:0 0 31%;scroll-snap-align:start;padding:24px;border-radius:16px;border:1px solid var(--line);background:white}.epp-content .epp-testimonials .wp-block-image img{width:62px;height:62px;object-fit:cover;border-radius:50%}.epp-content .epp-testimonials p{font-size:14px}.epp-content .epp-testimonials .epp-demo{font-size:12px;color:#6c7d87}.epp-catalog-section{margin:32px 0 45px}.epp-catalog-section h2{font-size:28px;margin-bottom:8px}.epp-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:22px}.epp-course-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 22px #073b500d;background:#fff;display:flex;flex-direction:column}.epp-course-card img{width:100%;height:205px;object-fit:cover;display:block}.epp-course-card .epp-card-body{padding:23px;display:flex;flex-direction:column;gap:10px;flex:1}.epp-course-card h3{font-size:20px;line-height:1.3;margin:0;overflow-wrap:anywhere}.epp-course-card p{font-size:14px;line-height:1.6;margin:0;color:#4c6575}.epp-course-card .epp-card-bottom{margin-top:auto;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.epp-course-card .epp-status{background:#fff0b3;border-radius:20px;padding:6px 11px;font-size:12px;font-weight:750}.epp-course-card .epp-status.available{background:#d6f6f0}.epp-course-card .epp-btn{background:var(--cyan);color:var(--navy);padding:10px 15px;border-radius:10px;font-size:13px;font-weight:800;text-decoration:none;display:inline-block}.epp-featured-course{display:grid;grid-template-columns:40% 1fr;gap:28px;align-items:center;background:#eefbfc;border-radius:20px;overflow:hidden;margin:25px 0;padding:18px}.epp-featured-course img{height:275px;width:100%;object-fit:cover;border-radius:14px}.epp-featured-course .epp-card-body{padding:15px}.epp-featured-course h2{font-size:30px;margin:10px 0}.epp-featured-course .epp-btn{display:inline-block;background:var(--cyan);color:var(--navy);padding:12px 18px;border-radius:10px;font-weight:800;text-decoration:none}.epp-form-area{background:#eaf9fc;border-radius:20px;padding:35px;margin:30px 0}.pp-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;align-items:start}.pp-form label{display:flex!important;flex-direction:column!important;gap:7px!important;min-width:0!important;font-size:14px!important;font-weight:700!important;color:var(--navy)!important}.pp-form input:not([type=checkbox]),.pp-form select,.pp-form textarea{width:100%!important;min-width:0!important;max-width:100%!important;display:block!important;background:white!important;border:1px solid #b7ccd4!important;border-radius:10px!important;padding:13px 14px!important;min-height:48px!important;font:inherit!important;color:var(--navy)!important}.pp-form input[type=file]{font-size:13px!important}.pp-form .ppm-full{grid-column:1/-1}.pp-form .ppm-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important}.pp-form .ppm-consent input{width:18px!important;height:18px!important;flex:none!important;margin:3px 0 0!important}.pp-form button{background:var(--cyan)!important;color:var(--navy)!important;border:0!important;border-radius:11px!important;padding:15px 24px!important;font-size:16px!important;font-weight:800!important;cursor:pointer!important;width:max-content!important}.ppm-message{padding:14px 18px;border-radius:10px;background:#d9f8ee;margin:0 0 20px}.ppm-message.error{background:#ffecdf}.epp-content .epp-course-section{margin:35px 0}.epp-content .epp-course-cover img{width:100%;height:390px;object-fit:cover}.epp-content .epp-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.epp-content .epp-module h3{margin-top:0}.epp-content .epp-small{font-size:13px;color:#557181}.epp-content .epp-footer-cta{background:var(--cyan);padding:32px;border-radius:20px}.epp-content .epp-footer-cta h2{margin-top:0}.epp-content .epp-course-future{padding:28px;background:#f0f9fa;border-radius:17px}.epp-content .epp-course-future h2{margin-top:0}@media(max-width:960px){.epp-header-inner{flex-wrap:wrap;padding:12px 0}.epp-nav{gap:13px}.epp-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.epp-content .epp-hero{padding:28px}.epp-content .epp-hero .wp-block-image img{height:300px}}@media(max-width:650px){.epp-course-grid,.epp-content .epp-module-grid,.pp-form{grid-template-columns:1fr!important}.epp-featured-course{grid-template-columns:1fr}.epp-content .epp-testimonials>.wp-block-group{flex-basis:85%}.epp-content .epp-hero{padding:22px}.epp-content .epp-soft{padding:22px}.epp-form-area{padding:20px}.epp-header-inner{justify-content:center}.epp-nav{justify-content:center}.epp-content .epp-course-cover img{height:240px}.epp-content{width:min(100% - 28px,1160px)}.epp-footer-grid{justify-content:center;text-align:center}}

/* Visual editing phase 1: preserve original layout, make navigation and footer manageable */
.epp-nav .epp-menu,.epp-footer-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:23px;flex-wrap:wrap}.epp-nav .epp-menu li{margin:0}.epp-nav .epp-menu a{display:inline-block}.epp-nav .epp-menu .sub-menu{list-style:none;display:none;position:absolute;background:#fff;padding:12px;box-shadow:0 8px 20px #0002;border-radius:8px;z-index:5}.epp-nav .epp-menu li:hover>.sub-menu,.epp-nav .epp-menu li:focus-within>.sub-menu{display:block}.epp-nav .epp-menu li{position:relative}.epp-nav .epp-menu .sub-menu li{margin:6px 0}.epp-social a{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px}.epp-footer-grid{align-items:flex-start}.epp-footer-column{min-width:130px;flex:1}.epp-footer-brand{flex:1.4}.epp-footer-menu{gap:12px;align-items:flex-start;flex-direction:column}.epp-social-footer a{color:#fff}.epp-footer-widget h3{font-size:16px;color:#fff}.epp-footer-widget p{margin:6px 0}.epp-whatsapp-float{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25d366;color:white;box-shadow:0 5px 22px #0004;z-index:1000}.epp-whatsapp-float:hover{color:#fff;transform:translateY(-2px)}@media(max-width:650px){.epp-nav .epp-menu{justify-content:center;gap:13px}.epp-footer-column{min-width:45%}.epp-footer-brand{flex-basis:100%}.epp-whatsapp-float{right:16px;bottom:16px}}

/* 5.3: compact footer, internal pages and contact form */
.epp-footer{padding:52px 0 22px}.epp-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.1fr;gap:35px;align-items:start}.epp-footer-column{min-width:0}.epp-footer h3{font-size:16px;color:#fff;margin:0 0 14px}.epp-footer p,.epp-footer li{font-size:14px;color:#d2e7ed}.epp-footer-column a{display:block;margin:8px 0;text-decoration:none}.epp-footer .epp-social a{display:inline-flex;margin:0}.epp-footer-brand p{font-size:14px;max-width:220px}.epp-footer-bottom{border-top:1px solid #ffffff30;padding-top:19px;margin-top:32px;color:#c7dbe3;font-size:12px;text-align:center}.epp-footer .epp-social{gap:8px;margin-top:16px}.epp-footer .epp-social a{border:1px solid #ffffff35;border-radius:50%;width:32px;height:32px;color:#fff}.epp-footer .epp-social a:hover{background:#0cc0df;color:#002c43}.epp-whatsapp-float{width:60px;height:60px;box-shadow:0 8px 25px #0003}.epp-inner-hero{background:linear-gradient(110deg,#e9fbfd,#f7fdfe);border-radius:22px;padding:38px 42px;margin-bottom:36px}.epp-inner-hero h2{margin:10px 0 14px}.epp-about-layout{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center;margin:28px 0 42px}.epp-about-layout img{width:100%;max-height:350px;object-fit:cover;border-radius:18px}.epp-about-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.epp-about-point{border:1px solid #d5e7ec;padding:20px;border-radius:14px;background:#fff}.epp-contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:44px;align-items:start;margin:28px 0 50px}.epp-contact-info{padding:16px 0}.epp-contact-detail{padding:18px 0;border-bottom:1px solid #d8e9ed}.epp-contact-detail strong{display:block;margin-bottom:5px}.epp-contact-form{padding:25px;background:#f2fafb;border:1px solid #d9ebef;border-radius:18px;box-shadow:0 8px 28px #002c430a}.epp-contact-form h3{font-size:22px;margin:0 0 16px}.epp-contact-form label{display:block;font-weight:650;font-size:13px;margin-bottom:12px}.epp-contact-form input,.epp-contact-form textarea{display:block;width:100%;padding:10px 12px;border:1px solid #c3d8de;border-radius:9px;background:#fff;margin-top:5px;font:inherit;font-size:14px;min-height:41px}.epp-contact-form textarea{min-height:96px;resize:vertical}.epp-contact-form button{background:#0cc0df;color:#002c43;border:0;border-radius:10px;padding:12px 20px;font-weight:800;cursor:pointer}.epp-contact-feedback{padding:10px;border-radius:8px;background:#e4f8ee;margin-bottom:12px;font-size:14px}.epp-contact-feedback.error{background:#ffede6}.epp-contact-form .epp-trap{position:absolute;left:-9999px}.epp-social-contact{display:flex;gap:9px}.epp-social-contact a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#e3f9fc;color:#007b91}.epp-form-missing{padding:15px;background:#fff6dc;border:1px solid #f0d88a;border-radius:10px}.epp-content .epp-course-section,.epp-content .epp-section{scroll-margin-top:24px}
@media(max-width:850px){.epp-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.epp-contact-layout,.epp-about-layout{grid-template-columns:1fr}.epp-contact-layout{gap:18px}.epp-contact-form{max-width:520px}}
@media(max-width:550px){.epp-footer-grid{grid-template-columns:1fr;gap:22px;text-align:left}.epp-inner-hero{padding:24px}.epp-about-points{grid-template-columns:1fr}.epp-contact-form{padding:18px}.epp-footer-brand{flex-basis:auto}}

/* 5.4: compact social icons, including unconfigured accounts. */
.epp-social .epp-social-pending{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;color:inherit;opacity:.52;cursor:default}
.epp-social-footer .epp-social-pending{width:32px;height:32px;border:1px solid #ffffff35;border-radius:50%;color:#fff}
.epp-social-contact .epp-social-pending{width:34px;height:34px;border-radius:50%;background:#e3f9fc;color:#007b91}
.epp-whatsapp-float{border:0!important;outline:0;box-shadow:0 6px 20px #001c2638!important;background:#25d366!important;color:#fff!important;width:54px!important;height:54px!important;transition:transform .2s ease,box-shadow .2s ease}
.epp-whatsapp-float svg{display:block;width:30px;height:30px}
.epp-whatsapp-float:hover{transform:translateY(-3px);box-shadow:0 9px 24px #001c2640!important}
.epp-whatsapp-float:focus-visible{outline:3px solid #0cc0df;outline-offset:4px}
