/*
Theme Name: E&D Solutions Corporate
Theme URI: https://edsolutionsgrp.com
Author: LH & R Services Corp.
Description: Tema corporativo bilingüe y personalizable para E&D Solutions Group LLC.
Version: 1.9.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ed-solutions
*/
:root{--ed-dark:#101010;--ed-gold:#c79b48;--ed-light:#fffaf2;--ed-text:#222;--ed-card:#fff;--ed-font:Georgia,serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ed-text);background:var(--ed-light);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.container{width:min(1200px,92%);margin:auto}.site-header{background:var(--ed-dark);color:#fff;position:sticky;top:0;z-index:99;box-shadow:0 3px 12px #0003}.header-inner{display:flex;align-items:center;gap:25px;min-height:82px}.brand{display:flex;align-items:center;min-width:160px}.brand img{max-width:160px;max-height:66px;object-fit:contain}.brand-text{font:700 27px Georgia,serif;color:var(--ed-gold)}.nav{margin-left:auto}.nav ul{display:flex;list-style:none;gap:22px;margin:0;padding:0}.nav a:hover,.nav a:focus{color:var(--ed-gold)}.lang{display:flex;gap:7px}.lang button{border:1px solid #ffffff50;background:transparent;color:#fff;border-radius:5px;padding:6px 9px;cursor:pointer}.lang button.active{background:var(--ed-gold);color:#111}.menu-toggle{display:none;background:none;color:white;border:1px solid #ffffff80;border-radius:5px;padding:6px 10px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--ed-gold);color:#111;border:1px solid var(--ed-gold);border-radius:9px;padding:13px 24px;font-weight:700;cursor:pointer;transition:.2s}.btn:hover{filter:brightness(1.1);transform:translateY(-1px)}.btn.outline{background:transparent;color:#fff}.hero{background:linear-gradient(100deg,var(--ed-dark) 0%,#151515ef 48%,#14141480 100%);color:white;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:520px;gap:24px}.eyebrow{font-size:12px;letter-spacing:4px;text-transform:uppercase;color:var(--ed-gold);font-weight:bold}.hero h1{font:700 clamp(36px,5vw,66px)/1.08 var(--ed-font);margin:20px 0;color:white}.hero p{font-size:19px;max-width:580px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.hero-photo{width:100%;max-height:510px;object-fit:cover;object-position:center;border-radius:22px 22px 0 0;align-self:end}.hero-placeholder{min-height:420px;border:1px solid #ffffff40;border-radius:18px;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px;color:#ffffffa0}.section{padding:72px 0}.section.alt{background:#fff}.section.dark{background:var(--ed-dark);color:#fff}.section-head{text-align:center;max-width:850px;margin:0 auto 36px}.section h2{font:700 clamp(29px,3.7vw,46px)/1.13 var(--ed-font);margin:10px 0 16px}.section-intro{font-size:17px;color:#555}.dark .section-intro{color:#ddd}.grid{display:grid;gap:18px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}.grid.two{grid-template-columns:repeat(2,1fr)}.feature{padding:24px;background:var(--ed-card);border:1px solid #e8e3da;border-radius:12px;box-shadow:0 5px 20px #00000008}.feature .symbol{font-size:30px;color:var(--ed-gold)}.feature h3{font:700 20px var(--ed-font);margin:12px 0 8px}.feature p{font-size:14px;color:#555;margin:0}.section-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:28px;padding:25px;background:var(--ed-dark);color:#fff;border-radius:12px}.academy-band{display:grid;grid-template-columns:42% 58%;background:var(--ed-dark);color:#fff;overflow:hidden;border-radius:16px}.academy-band img{width:100%;height:100%;min-height:300px;object-fit:cover}.academy-copy{padding:42px}.academy-copy p{color:#eee}.step{background:#fff;border:1px solid #e8dcc5;border-radius:12px;padding:23px;text-align:center}.step .num{font:700 32px Georgia,serif;color:var(--ed-gold)}.step h3{margin:8px 0;font:700 22px Georgia,serif}.step p{font-size:14px;margin:0;color:#555}.founders{display:grid;grid-template-columns:1fr 1fr;gap:24px}.founder{background:#ffffff10;border:1px solid #ffffff40;border-radius:12px;overflow:hidden}.founder img{width:100%;height:310px;object-fit:cover}.founder-body{padding:20px}.founder h3{font:700 25px Georgia,serif;margin:0;color:var(--ed-gold)}.cta{text-align:center;background:linear-gradient(120deg,#dfbb72,#c18e34);color:#17130d;padding:60px 20px}.cta h2{font:700 40px Georgia,serif}.footer{background:#090909;color:#ddd;padding:35px 0;font-size:14px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.muted{color:#777}.single-content{max-width:850px;margin:60px auto;min-height:40vh}.ed-empty{padding:18px;border:1px dashed #b5a483;border-radius:8px}.screen-reader-text{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:9999;background:white;padding:10px}.ed-admin-note{font-size:12px;opacity:.8}@media(max-width:900px){.grid.four{grid-template-columns:repeat(2,1fr)}.grid.three{grid-template-columns:repeat(2,1fr)}.header-inner{flex-wrap:wrap;padding:10px 0}.menu-toggle{display:block;margin-left:auto}.nav{display:none;order:4;width:100%;margin:0}.nav.open{display:block}.nav ul{display:flex;flex-direction:column;gap:12px;padding:15px 0}.hero-grid{grid-template-columns:1fr;min-height:0;padding-top:40px}.hero-photo{max-height:430px;object-position:top}.academy-band{grid-template-columns:1fr}.academy-band img{max-height:320px}.founders{grid-template-columns:1fr 1fr}}@media(max-width:580px){.grid.four,.grid.three,.grid.two,.founders{grid-template-columns:1fr}.section{padding:48px 0}.hero h1{font-size:40px}.section-banner{flex-direction:column;align-items:flex-start}.header-inner{gap:12px}.brand{min-width:100px}.brand img{max-width:115px}.lang{margin-left:auto}.academy-copy{padding:24px}.founder img{height:250px}}

/* E&D premium visual refresh 1.1 */
:root{--ed-gold-soft:#f7e8c9}body{background:#f9f7f3} .container{width:min(1320px,92%)}
.site-header{background:#0a0a0a;border-bottom:1px solid #c79b4833}.header-inner{min-height:88px}.nav ul{gap:26px}.nav a{font-size:13px;font-weight:600;letter-spacing:.2px}.brand-text{font-size:34px}
.hero{background:radial-gradient(ellipse at 75% 45%,#3a2a19 0%,#111 47%,#080808 90%);position:relative}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#05050566,transparent 75%);pointer-events:none}.hero-grid{position:relative;min-height:630px;grid-template-columns:48% 52%;gap:0}.hero h1{font-size:clamp(43px,5.1vw,76px);line-height:1.04;letter-spacing:-1.5px;max-width:690px}.hero p{font-size:20px;line-height:1.65;color:#eee;max-width:520px}.hero .eyebrow{letter-spacing:5px}.hero-photo{max-height:620px;height:100%;border-radius:0;object-fit:cover;mask-image:linear-gradient(90deg,transparent 0%,black 19%)}.hero-placeholder{min-height:520px;border:1px solid #c79b4855;background:linear-gradient(130deg,#181818,#372816);color:#eee}.hero-benefits{display:flex;gap:20px;flex-wrap:wrap;margin-top:40px;color:#e9c77f;font-size:13px}.hero-benefits span{max-width:150px}.btn{padding:15px 25px;border-radius:10px;background:linear-gradient(135deg,#f5d38b,var(--ed-gold));box-shadow:0 6px 20px #0002}.btn.outline{background:#0a0a0a88;border-color:#dcb66b}.section{padding:88px 0}.section-head{max-width:1000px;margin-bottom:44px}.section h2{font-size:clamp(34px,4.2vw,56px);letter-spacing:-.8px}.section-intro{line-height:1.75}.eyebrow{letter-spacing:4px}.section.alt{background:linear-gradient(120deg,#fff,#f8f4ed)}.grid{gap:16px}.feature{border:1px solid #e9e0d1;padding:26px 23px;min-height:195px;border-radius:14px;box-shadow:0 12px 30px #2a180b0b;transition:transform .2s,box-shadow .2s}.feature:hover{transform:translateY(-5px);box-shadow:0 20px 35px #2a180b1a}.feature .symbol{display:flex;width:56px;height:56px;align-items:center;justify-content:center;background:var(--ed-gold-soft);border-radius:50%;font-size:27px;color:#8d601d}.feature h3{font-size:20px;line-height:1.25}.feature p{line-height:1.65}.section-banner{margin-top:36px;padding:30px 36px;border:1px solid var(--ed-gold);background:linear-gradient(115deg,#0a0a0a,#282018);border-radius:14px}.section-banner strong{font:700 25px Georgia,serif;max-width:600px}.academy-band{border-radius:18px;background:linear-gradient(115deg,#151515,#030303);min-height:360px;box-shadow:0 24px 55px #0002}.academy-copy{padding:60px}.academy-copy h2{color:#f0c979}.academy-copy p{font-size:18px;line-height:1.7}.step{padding:30px 23px;border-radius:15px;box-shadow:0 10px 30px #33210d0b}.step .num{font-size:39px}.step h3{font-size:25px}.step p{line-height:1.6}.founders{gap:28px}.founder{border:1px solid #c79b4866;background:#1d1b19;border-radius:16px}.founder img{height:390px;object-position:top}.founder-body{padding:30px}.founder h3{font-size:31px}.founder p{color:#eee}.cta{background:linear-gradient(125deg,#f4d99f,#bb8b37);padding:85px 20px}.cta h2{font-size:clamp(34px,4vw,56px);margin:0 0 12px}.cta p{font-size:18px}.footer{border-top:1px solid #b48a4d}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:20px;padding:55px 0 0}.hero-photo{max-height:500px;mask-image:none}.hero-benefits{margin-bottom:25px}.academy-copy{padding:35px}.feature{min-height:unset}}
@media(max-width:580px){.hero-grid{padding-top:35px}.hero h1{font-size:42px}.hero p{font-size:17px}.hero-photo{max-height:390px}.hero-benefits{gap:10px;font-size:12px}.section{padding:58px 0}.section h2{font-size:35px}.section-banner{padding:25px}.section-banner strong{font-size:21px}.academy-copy{padding:27px}.founder img{height:320px}}

/* 1.2.0: official hero composition with the two founders and full office background */
.hero.hero-with-photo{background-image:linear-gradient(90deg,rgba(5,5,5,.97) 0%,rgba(5,5,5,.93) 29%,rgba(5,5,5,.75) 44%,rgba(5,5,5,.18) 69%,rgba(5,5,5,.04) 100%),var(--ed-hero-image);background-size:cover;background-position:center center;background-repeat:no-repeat}
.hero.hero-with-photo:before{display:none}.hero.hero-with-photo .hero-grid{grid-template-columns:49% 51%;min-height:650px}.hero.hero-with-photo .hero-grid>div:first-child{position:relative;z-index:1;padding:45px 0}.hero-image-space{min-height:580px}.hero.hero-with-photo h1{text-shadow:0 2px 18px #0009}.hero.hero-with-photo .hero-benefits{color:#f0ce85}
@media(max-width:900px){.hero.hero-with-photo{background-position:62% center}.hero.hero-with-photo .hero-grid{grid-template-columns:1fr;min-height:690px;align-content:end}.hero.hero-with-photo .hero-grid>div:first-child{padding:240px 0 35px}.hero.hero-with-photo{background-image:linear-gradient(0deg,rgba(5,5,5,.98) 0%,rgba(5,5,5,.90) 33%,rgba(5,5,5,.12) 78%),var(--ed-hero-image)}.hero-image-space{display:none}}
@media(max-width:580px){.hero.hero-with-photo{background-position:55% top;background-size:auto 100%}.hero.hero-with-photo .hero-grid{min-height:720px}.hero.hero-with-photo .hero-grid>div:first-child{padding:270px 0 25px}.hero.hero-with-photo h1{font-size:38px}.hero.hero-with-photo .hero-benefits{margin-top:22px}}

/* 1.3.0 – floating founders premium hero */
.hero.hero-floating{position:relative;isolation:isolate;min-height:780px;background:#0b0908;color:#fff;overflow:hidden}
.hero-floating:before{content:"";position:absolute;inset:0;z-index:-2;background-image:linear-gradient(90deg,#090909 0%,#090909e8 35%,#08080866 75%,#08080844),var(--ed-office-bg);background-size:cover;background-position:center}
.hero-floating:after{content:"";position:absolute;inset:auto -10% 0;height:170px;background:radial-gradient(ellipse at 70% 100%,#dba74d55,transparent 65%);pointer-events:none;z-index:-1}
.hero-floating-inner{position:relative;min-height:635px;display:grid;grid-template-columns:44% 56%;align-items:center}
.hero-floating .hero-copy{z-index:5;padding:75px 0 105px;position:relative}
.hero-floating h1{font-size:clamp(42px,4.45vw,72px);line-height:1.06;max-width:600px;text-shadow:0 4px 22px #000c}
.hero-floating p{font-size:19px;max-width:480px;color:#f4eee5}
.hero-floating .hero-benefits{margin-top:34px;color:#f0c97d}
.hero-people{position:absolute;right:-4%;bottom:0;width:64%;height:640px;pointer-events:none}
.hero-person{position:absolute;bottom:0;height:98%;width:auto;max-width:none;object-fit:contain;object-position:bottom;filter:drop-shadow(0 10px 22px #0008)}
.hero-person-one{left:0;height:94%;z-index:2}.hero-person-two{right:0;height:97%;z-index:3}
.hero-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;position:relative;z-index:6;margin-top:-45px;margin-bottom:40px}
.hero-quicklinks>a{display:flex;align-items:center;gap:16px;padding:19px 22px;min-height:100px;background:linear-gradient(125deg,#13100eeF,#050505f7);border:1px solid var(--ed-gold);border-radius:18px;box-shadow:0 10px 25px #0007}
.hero-quicklinks .quick-icon{font-size:31px;color:var(--ed-gold);border:1px solid #d8ad5a;border-radius:50%;width:60px;height:60px;display:grid;place-items:center;flex-shrink:0}.hero-quicklinks strong{display:block;font:700 21px Georgia,serif}.hero-quicklinks small{display:block;font-size:13px;color:#e8d5b3}.hero-quicklinks b{margin-left:auto;color:var(--ed-gold)}
@media(max-width:1100px){.hero-people{right:-9%;width:65%;height:580px}.hero-person-one{height:87%}.hero-person-two{height:91%}.hero-floating-inner{min-height:600px}.hero-floating .hero-copy{max-width:460px}.hero-floating h1{font-size:50px}}
@media(max-width:760px){.hero.hero-floating{min-height:0}.hero-floating-inner{display:flex;flex-direction:column;min-height:0;align-items:stretch}.hero-floating .hero-copy{padding:44px 0 0;max-width:100%}.hero-floating h1{font-size:clamp(35px,8vw,54px);max-width:650px}.hero-floating p{font-size:16px}.hero-people{position:relative;width:100%;height:410px;right:auto;margin-top:5px}.hero-person-one{height:95%;left:5%}.hero-person-two{height:95%;right:3%}.hero-quicklinks{grid-template-columns:1fr;gap:9px;margin-top:0;margin-bottom:30px}.hero-quicklinks>a{min-height:76px;padding:12px 16px}.hero-quicklinks .quick-icon{width:46px;height:46px;font-size:23px}.hero-quicklinks strong{font-size:18px}.hero-floating .hero-benefits{margin:25px 0 10px}}
@media(max-width:480px){.hero-people{height:310px}.hero-person-one{left:-8%;height:92%}.hero-person-two{right:-10%;height:93%}.hero-floating h1{font-size:37px}.hero-floating .eyebrow{letter-spacing:2.2px;font-size:10px}.hero-floating .hero-actions .btn{padding:12px 15px;font-size:13px}}

/* v1.4: customizable hero layers */
.hero-floating:before{background-image:linear-gradient(90deg,rgba(0,0,0,.93) 0%,rgba(0,0,0,.75) 32%,rgba(0,0,0,var(--ed-bg-opacity,.45)) 75%),var(--ed-office-bg);background-position:var(--ed-bg-pos,50%) center;background-size:cover}
.hero-person-one{height:var(--ed-one-size,94%);transform:translateX(var(--ed-one-x,0%))}
.hero-person-two{height:var(--ed-two-size,97%);transform:translateX(var(--ed-two-x,0%))}
@media(max-width:760px){.hero-person-one{height:min(var(--ed-one-size,94%),100%)}.hero-person-two{height:min(var(--ed-two-size,97%),100%)}}

/* v1.5.0: one clean transparent founders portrait; no legacy fallback people */
.hero-people{right:-1%;width:59%;height:640px;display:block}
.hero-founders-together{position:absolute;bottom:0;right:1%;height:96%;max-width:100%;width:auto;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 14px 24px rgba(0,0,0,.3))}
.hero-person-one{left:6%;height:var(--ed-one-size,94%)}
.hero-person-two{right:4%;height:var(--ed-two-size,97%)}
@media(max-width:1100px){.hero-people{right:-3%;width:61%;height:560px}.hero-founders-together{height:93%}}
@media(max-width:760px){.hero-people{position:relative;right:auto;width:100%;height:400px}.hero-founders-together{height:100%;max-width:100%;right:50%;transform:translateX(50%)} }
@media(max-width:480px){.hero-people{height:310px}.hero-founders-together{height:100%}}

/* 1.6.0: independent founder card photos */
.founder-photo-empty{height:390px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#24201b,#121212);color:#d9b875;text-align:center;padding:24px;font:600 18px Georgia,serif;border-bottom:1px solid #c79b4838}.founder>img{display:block;width:100%;height:390px;object-fit:cover;object-position:center top}@media(max-width:580px){.founder-photo-empty,.founder>img{height:320px}}

/* v1.7 founder profiles */
.ed-founders-section{background:radial-gradient(ellipse at 50% 0%,#302417 0%,#101010 55%)!important}.ed-founder-grid{gap:22px}.ed-founder-card{display:grid;grid-template-columns:43% 57%;border:1px solid var(--ed-gold);background:#0d0d0de8;border-radius:16px;min-height:420px}.ed-founder-portrait{min-width:0;padding:16px 0 16px 16px;display:flex;align-items:stretch}.ed-founder-card .ed-founder-portrait img{width:100%;height:100%;min-height:350px;object-fit:cover;object-position:center top;border-radius:10px}.ed-founder-card .founder-photo-empty{width:100%;height:auto;min-height:350px;border-radius:10px}.ed-founder-info{padding:25px 22px;min-width:0;overflow-wrap:anywhere}.ed-founder-info h3{font-size:clamp(24px,2.1vw,32px);line-height:1.15}.ed-founder-role{text-transform:uppercase;letter-spacing:2px;font-size:12px;color:#f0dfbd;margin-top:10px}.ed-founder-rule{height:2px;width:42px;background:var(--ed-gold);margin:16px 0}.ed-founder-info p{font-size:14px;line-height:1.65;margin:0 0 18px}.ed-founder-contact{display:flex;gap:10px;align-items:center;margin:9px 0;color:#fff;font-size:13px}.ed-founder-contact span{background:var(--ed-gold);color:#111;border-radius:50%;width:27px;height:27px;flex:0 0 27px;display:grid;place-items:center}.ed-wa-button{display:inline-flex;margin:16px 0 8px;padding:11px 13px;background:var(--ed-gold);color:#111;font-weight:700;border-radius:8px;font-size:13px}.ed-social-wrap{border-top:1px solid #ffffff35;margin-top:15px;padding-top:12px;font-size:13px}.ed-social-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.ed-social-links a{border:1px solid #c79b4888;border-radius:6px;padding:5px 8px;font-size:12px;color:#f6dca5}.ed-social-links a:hover{background:var(--ed-gold);color:#111}@media(max-width:1100px){.ed-founder-card{grid-template-columns:1fr}.ed-founder-portrait{padding:14px 14px 0}.ed-founder-card .ed-founder-portrait img{height:290px;min-height:290px;object-fit:contain}.ed-founder-card .founder-photo-empty{min-height:220px}.ed-founder-info{padding:22px}}@media(max-width:580px){.ed-founder-grid{grid-template-columns:1fr}.ed-founder-card .ed-founder-portrait img{height:300px;min-height:300px}}

/* v1.8.0 — founder cards: premium layout, larger portraits and responsive contacts */
.ed-founders-section{background:radial-gradient(ellipse at 48% -15%,rgba(132,91,45,.27),transparent 55%),linear-gradient(125deg,#090909,#18120e 55%,#090909)!important;position:relative}
.ed-founders-section>.container{width:min(1560px,94%)}
.ed-founders-section .section-head{margin-bottom:42px}
.ed-founder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ed-founder-card{display:grid;grid-template-columns:minmax(0,47%) minmax(0,53%);min-height:510px;border:1px solid var(--ed-gold);border-radius:17px;background:linear-gradient(145deg,#16130f,#090909 75%);box-shadow:0 18px 45px #0006;overflow:hidden}
.ed-founder-portrait{position:relative;display:flex;align-items:flex-end;justify-content:center;min-width:0;min-height:500px;padding:0!important;overflow:hidden;background:radial-gradient(ellipse at 50% 55%,#61462770,transparent 68%)}
.ed-founder-card .ed-founder-portrait img{display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center top;border-radius:0;position:absolute;inset:0}
.ed-founder-card .founder-photo-empty{min-height:500px;width:100%;border-radius:0}
.ed-founder-info{padding:32px 25px 26px;display:flex;flex-direction:column;justify-content:center;min-width:0}
.ed-founder-info h3{font-size:clamp(27px,2.1vw,37px);color:var(--ed-gold);line-height:1.13}
.ed-founder-info p{font-size:15px;line-height:1.7;margin-bottom:17px}
.ed-founder-contact{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.ed-founder-contact span{width:34px;height:34px;flex-basis:34px;font-size:18px}
.ed-wa-button{align-self:flex-start;padding:13px 18px;background:linear-gradient(110deg,#f7d58b,var(--ed-gold));font-size:14px}
.ed-social-wrap{margin-top:18px;padding-top:17px}.ed-social-links a{font-weight:700;padding:8px 10px}
@media(max-width:1250px){.ed-founder-card{grid-template-columns:44% 56%}.ed-founder-info{padding:24px 18px}.ed-founder-info h3{font-size:27px}}
@media(max-width:1050px){.ed-founder-grid{grid-template-columns:1fr;max-width:800px;margin:auto}.ed-founder-card{grid-template-columns:46% 54%;min-height:470px}.ed-founder-portrait{min-height:470px}.ed-founder-card .founder-photo-empty{min-height:470px}.ed-founder-info{padding:30px}.ed-founder-info h3{font-size:34px}}
@media(max-width:620px){.ed-founder-card{grid-template-columns:1fr;min-height:0}.ed-founder-portrait{min-height:350px;height:350px}.ed-founder-card .ed-founder-portrait img{height:100%;min-height:0;object-fit:contain;object-position:center bottom}.ed-founder-card .founder-photo-empty{min-height:350px}.ed-founder-info{padding:25px 22px 30px}.ed-founder-info h3{font-size:30px}}

/* v1.8.1 — Equal-height founder portraits, independently adjustable visual scale. */
.ed-founder-card .ed-founder-portrait{isolation:isolate;overflow:hidden}
.ed-founder-card .ed-founder-portrait img{
  position:absolute;inset:0;width:100%;height:100%;max-height:none;
  object-fit:contain;object-position:center bottom;
  transform:scale(var(--ed-portrait-zoom,1));transform-origin:center bottom;
  border-radius:0;
}
@media(max-width:620px){
 .ed-founder-card .ed-founder-portrait img{object-fit:contain;object-position:center bottom}
}

/* v1.8.2: show the entire founder portrait, including white blazer and arms.
   Override the prior zoom from v1.8.1; a 120% scale was cropping Dayrilis. */
.ed-founder-card .ed-founder-portrait img {
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:scale(var(--ed-portrait-zoom,1));
  transform-origin:center bottom;
}

/* v1.8.3 — portada: conservar completas las fotos flotantes, sin recortar el lado derecho */
@media (min-width:761px){
  .hero-floating .hero-people{right:0;width:61%;overflow:visible}
  .hero-floating .hero-person-two{right:7%;height:min(var(--ed-two-size,90%),90%);max-width:49%;object-fit:contain;object-position:center bottom}
  .hero-floating .hero-person-one{left:2%;max-width:51%;object-fit:contain;object-position:center bottom}
}
@media (max-width:760px){
  .hero-floating .hero-person-two{right:2%;max-width:53%;height:min(var(--ed-two-size,91%),91%);object-fit:contain}
  .hero-floating .hero-person-one{left:1%;max-width:53%;object-fit:contain}
}

/* v1.8.4 — hero portraits: prevent horizontal clipping by restrictive max-width rules. */
@media (min-width:761px){
  .hero-floating .hero-people{right:2%;width:57%;overflow:visible}
  .hero-floating .hero-person-one{left:2%;right:auto;height:91%;width:auto;max-width:none;object-fit:contain}
  .hero-floating .hero-person-two{right:5%;left:auto;height:87%;width:auto;max-width:none;object-fit:contain}
}
@media (max-width:760px){
  .hero-floating .hero-people{overflow:visible}
  .hero-floating .hero-person-one{left:0;right:auto;height:90%;width:auto;max-width:58%;object-fit:contain}
  .hero-floating .hero-person-two{right:0;left:auto;height:87%;width:auto;max-width:58%;object-fit:contain}
}

/* v1.8.5: portrait asset with the complete right sleeve; keep it inside hero composition. */
@media (min-width:761px){
 .hero-floating .hero-person-two{height:87%;right:1%;max-width:none;width:auto;object-fit:contain;object-position:bottom center}
}
@media (max-width:760px){
 .hero-floating .hero-person-two{height:87%;right:0;max-width:56%;width:auto;object-fit:contain}
}


/* v1.8.6 — Founders: luminous marble header and premium office backdrop.
   Only styles #fundadoras; preserves photos, personal details and all theme settings. */
#fundadoras.ed-founders-section {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:
    linear-gradient(to bottom, rgba(250,246,237,.98) 0%, rgba(250,246,237,.96) 30%, rgba(13,10,8,.28) 30.1%, rgba(13,10,8,.52) 100%),
    url('assets/images/oficina-fondo.webp') center 58% / cover no-repeat !important;
  padding-top:54px;
  padding-bottom:88px;
}
#fundadoras.ed-founders-section::before {
  content:"";position:absolute;inset:0 0 auto;height:36%;z-index:-1;pointer-events:none;
  background:
    linear-gradient(125deg,transparent 15%,rgba(172,139,94,.12) 15.12%,transparent 15.45%,transparent 70%,rgba(170,132,72,.13) 70.2%,transparent 70.5%),
    linear-gradient(158deg,transparent 35%,rgba(116,111,105,.09) 35.1%,transparent 35.4%),
    radial-gradient(ellipse at 52% 4%,#fffdf7 0%,#eee6d8 100%);
  box-shadow:inset 0 -8px 18px rgba(205,157,75,.22);
}
#fundadoras .section-head {position:relative;z-index:1;margin-bottom:44px;padding:0 12px 12px}
#fundadoras .section-head .eyebrow{color:#aa7627;letter-spacing:4px}
#fundadoras .section-head h2{color:#14110d;text-shadow:none}
#fundadoras .section-head .section-intro{color:#30291f}
#fundadoras .section-head::after{content:"";display:block;width:58px;height:2px;background:#c79b48;margin:17px auto 0}
#fundadoras .ed-founder-grid{position:relative;z-index:1;gap:20px}
#fundadoras .ed-founder-card{
  background:linear-gradient(110deg,rgba(19,17,15,.89),rgba(4,4,4,.97) 65%);
  border:1px solid #c79b48;border-radius:18px;
  box-shadow:0 16px 35px #0009,0 0 0 1px rgba(246,199,111,.1),0 0 22px rgba(224,170,70,.22);
}
#fundadoras .ed-founder-portrait{
  background:radial-gradient(ellipse at 50% 55%,rgba(206,160,87,.22),transparent 72%),
    linear-gradient(90deg,rgba(0,0,0,.22),rgba(0,0,0,.05)),
    url('assets/images/oficina-fondo.webp') 35% 45% / auto 110% no-repeat;
}
#fundadoras .ed-founder-info{background:linear-gradient(90deg,rgba(5,5,5,.25),rgba(5,5,5,.68))}
#fundadoras .ed-founder-info h3{color:#e3b55f}
#fundadoras .ed-wa-button{background:linear-gradient(110deg,#f5d58c,#d9a648);color:#111;box-shadow:0 4px 14px #0006}
#fundadoras .ed-social-links a{border-color:#c79b48;color:#f3ca7b}
@media(max-width:1050px){
 #fundadoras.ed-founders-section{background:
 linear-gradient(to bottom,rgba(250,246,237,.97) 0%,rgba(250,246,237,.95) 18%,rgba(10,9,8,.52) 18.1%,rgba(10,9,8,.68) 100%),
 url('assets/images/oficina-fondo.webp') center / cover no-repeat !important}
 #fundadoras.ed-founders-section::before{height:22%}
}
@media(max-width:620px){
 #fundadoras.ed-founders-section{padding-top:42px;padding-bottom:60px;background:
 linear-gradient(to bottom,rgba(250,246,237,.98) 0%,rgba(250,246,237,.96) 15%,rgba(9,8,7,.7) 15.1%,rgba(9,8,7,.8) 100%),
 url('assets/images/oficina-fondo.webp') center / cover no-repeat !important}
 #fundadoras.ed-founders-section::before{height:18%}
 #fundadoras .section-head{margin-bottom:30px}
 #fundadoras .section-head h2{font-size:clamp(31px,8vw,43px)}
}

/* v1.8.7 — Expand founder profiles and improve legibility on wide screens. */
@media (min-width:1101px){
 #fundadoras.ed-founders-section > .container{width:min(1660px,94vw);max-width:none}
 #fundadoras .ed-founder-grid{width:100%;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
 #fundadoras .ed-founder-card{grid-template-columns:minmax(0,45%) minmax(0,55%);min-height:540px}
 #fundadoras .ed-founder-portrait{min-height:540px}
 #fundadoras .ed-founder-info{padding:35px 31px}
 #fundadoras .ed-founder-info h3{font-size:clamp(30px,2.15vw,40px)}
 #fundadoras .ed-founder-info p{font-size:16px;line-height:1.65}
 #fundadoras .ed-founder-contact{font-size:15px;gap:12px;margin:11px 0}
 #fundadoras .ed-founder-contact span{width:36px;height:36px;flex-basis:36px}
 #fundadoras .ed-wa-button{font-size:15px;padding:13px 17px;align-self:flex-start}
 #fundadoras .ed-social-wrap{font-size:15px;margin-top:20px;padding-top:17px}
 #fundadoras .ed-social-links a{font-size:14px;padding:7px 12px}
}
#fundadoras .ed-founder-portrait{background:
 linear-gradient(90deg,rgba(0,0,0,.48),rgba(0,0,0,.30)),
 url('assets/images/oficina-fondo.webp') 35% 45% / auto 110% no-repeat}
@media(min-width:621px) and (max-width:1100px){
 #fundadoras.ed-founders-section > .container{width:min(850px,94vw)}
 #fundadoras .ed-founder-info h3{font-size:clamp(28px,3vw,36px)}
 #fundadoras .ed-founder-info p{font-size:16px}
 #fundadoras .ed-founder-contact{font-size:15px}
}

/* v1.8.8 — founders: luminous gold-veined marble, warmer office, readable profiles. */
#fundadoras.ed-founders-section{
 background:linear-gradient(to bottom,rgba(11,8,5,.09),rgba(11,8,5,.45)),url('assets/images/oficina-fondo.webp') center 58% / cover no-repeat !important;
 padding-top:48px;padding-bottom:86px;
}
#fundadoras.ed-founders-section::before{
 inset:0 0 auto;height:265px;z-index:-1;
 background:linear-gradient(180deg,rgba(255,250,237,.06),rgba(255,245,217,.13)),url('assets/images/founders-marble-gold.webp') center top / cover no-repeat;
 box-shadow:inset 0 -5px 12px rgba(197,143,49,.42),0 5px 22px rgba(252,201,106,.27);
}
#fundadoras .section-head{margin-bottom:37px;padding:0 14px 12px}
#fundadoras .section-head .eyebrow{color:#98621e;font-weight:800}
#fundadoras .section-head h2{color:#15100c;text-shadow:0 1px 0 #fff8}
#fundadoras .section-head .section-intro{color:#282018}
#fundadoras .ed-founder-card{box-shadow:0 20px 40px #0009,0 0 0 1px #e7b95966,0 0 25px #e6b65c55}
#fundadoras .ed-founder-info{padding-left:clamp(24px,2.2vw,38px);background:linear-gradient(95deg,rgba(7,7,7,.94),rgba(7,7,7,.99))}
#fundadoras .ed-founder-info h3{line-height:1.18;letter-spacing:-.35px;margin-bottom:9px}
#fundadoras .ed-founder-contact{line-height:1.5}
#fundadoras .ed-founder-portrait{background:linear-gradient(90deg,rgba(10,7,4,.12),rgba(10,7,4,.38)),url('assets/images/oficina-fondo.webp') 40% 50% / auto 110% no-repeat}
#fundadoras .ed-wa-button{font-weight:700}
@media(max-width:1050px){#fundadoras.ed-founders-section::before{height:240px}#fundadoras .ed-founder-info{padding:28px 25px}}
@media(max-width:620px){#fundadoras.ed-founders-section{padding-top:36px;padding-bottom:58px}#fundadoras.ed-founders-section::before{height:205px}#fundadoras .section-head{margin-bottom:25px}#fundadoras .ed-founder-info{padding:25px 23px 29px}}

/* v1.8.9: user-editable, independent founder section backgrounds.
   Both image variables are injected by wp_head; defaults are bundled with the theme. */
#fundadoras.ed-founders-section {
 background:linear-gradient(to bottom,rgba(11,8,5,.09),rgba(11,8,5,.45)),var(--ed-founders-office) center 58% / cover no-repeat !important;
}
#fundadoras.ed-founders-section::before {
 background:linear-gradient(180deg,rgba(255,250,237,.06),rgba(255,245,217,.13)),var(--ed-founders-marble) center top / cover no-repeat;
}
/* Keep the portrait panels independent from the section background. */

/* Registro de sub-oficinas y academia */
.ed-register-overlay[hidden]{display:none!important}.ed-register-overlay{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:99999;display:flex;justify-content:center;align-items:center;padding:18px;overflow:auto}.ed-register-open{overflow:hidden}.ed-register-dialog{position:relative;width:min(660px,100%);max-height:calc(100vh - 36px);overflow-y:auto;background:linear-gradient(140deg,#1c1915,#090909 75%);border:1px solid #c79b48;border-radius:18px;padding:clamp(22px,4vw,38px);box-shadow:0 24px 90px #000a;color:white;outline:none}.ed-register-dialog h2{font:700 clamp(26px,3vw,36px)/1.15 Georgia,serif;color:#e9be6d;margin:12px 40px 8px 0}.ed-register-dialog p{color:#ddd;margin:0 0 20px}.ed-register-close{position:absolute;right:18px;top:12px;background:none;border:0;color:#fff;font-size:32px;cursor:pointer}.ed-register-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ed-register-fields label{display:flex;flex-direction:column;gap:5px;font-size:14px}.ed-register-fields input,.ed-register-fields select,.ed-register-fields textarea{width:100%;min-height:43px;border:1px solid #8c7551;border-radius:7px;background:#fff;color:#111;padding:9px 11px}.ed-register-fields textarea{resize:vertical}.ed-register-full{grid-column:1/-1}.ed-register-overlay[data-type="bureau"] .ed-register-academy-only,.ed-register-overlay[data-type="academy"] .ed-register-bureau-only{display:none}.ed-register-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.ed-register-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0 12px;font-size:13px;color:#eee}.ed-register-consent input{margin-top:4px}.ed-register-status{min-height:20px;margin-bottom:10px;color:#f4d591;font-weight:600}.ed-register-submit{min-width:180px}@media(max-width:580px){.ed-register-fields{grid-template-columns:1fr}.ed-register-dialog{padding:22px}.ed-register-overlay{align-items:flex-start}}

/* Contacto general: mismo diálogo, campos específicos según el tipo */
.ed-register-contact-only{display:none!important}
.ed-register-overlay[data-type="contact"] .ed-register-contact-only{display:flex!important}
.ed-register-overlay[data-type="contact"] .ed-register-bureau-only,.ed-register-overlay[data-type="contact"] .ed-register-academy-only{display:none!important}
