@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#0a2940;--navy:#06283e;--deep:#031724;--teal:#07617a;--cyan:#2bd0d3;--sky:#72dce5;--paper:#f4f8fa;--white:#fff;--mute:#5e7280;--border:#dce8ed;--radius:22px;--shadow:0 24px 70px rgba(3,39,57,.13);--max:1216px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:var(--ink);background:#fff;font:16px/1.65 'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3,h4{font-family:'Manrope','DM Sans',sans-serif;line-height:1.18;letter-spacing:-.035em;margin:0}p{margin:0 0 1rem}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}ul{padding-left:1.2rem}::selection{background:#3ce0df;color:#073044}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #38d5df;outline-offset:3px}.skip{position:absolute;left:16px;top:-200px;z-index:1000;background:white;padding:12px 20px;border-radius:8px}.skip:focus{top:12px}.container{width:min(calc(100% - 42px),var(--max));margin-inline:auto}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:.73rem;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);margin-bottom:20px}.eyebrow:before{content:'';display:block;width:22px;height:2px;background:currentColor}.eyebrow.light{color:#8ce6ed}.heading{max-width:760px;margin-bottom:40px}.heading h2{font-size:clamp(2rem,3.2vw,3.3rem);margin-bottom:16px}.heading p{max-width:690px;color:var(--mute);font-size:1.05rem}.section{padding:106px 0}.section.soft{background:var(--paper)}.section.dark{background:var(--navy);color:white}.section.dark p{color:#c9dce4}.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.header{background:rgba(255,255,255,.97);position:sticky;z-index:200;top:0;border-bottom:1px solid rgba(5,40,59,.08);backdrop-filter:blur(12px)}.header-inner{min-height:88px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:12px;min-width:183px}.brand img{width:78px;height:64px;object-fit:contain}.brand-text{font-family:Manrope,sans-serif;font-weight:900;font-size:.88rem;letter-spacing:-.04em;line-height:1.1}.brand-text small{display:block;font-size:.57rem;font-weight:700;letter-spacing:.02em;color:#527485;margin-top:5px}.nav{margin-left:auto;display:flex;align-items:center;gap:clamp(12px,1.7vw,28px)}.nav a{font-size:.86rem;font-weight:700;white-space:nowrap}.nav a:hover,.nav a[aria-current='page']{color:var(--teal)}.nav a.nav-cta{padding:14px 20px;border-radius:999px;background:var(--navy);color:white;font-size:.76rem;letter-spacing:.02em;transition:transform .2s,background .2s}.nav a.nav-cta:hover{background:#0c6281;transform:translateY(-2px)}.nav-toggle{display:none;background:transparent;border:1px solid var(--border);border-radius:12px;padding:9px 12px;color:var(--ink);font-size:1.3rem;margin-left:auto}
.hero{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(2,21,35,.72) 0%,rgba(3,31,47,.63) 39%,rgba(3,31,47,.47) 100%),url('../img/gasolinera-caesem.jpg') center center/cover;color:#fff;min-height:660px}.hero:after{content:'';position:absolute;right:-120px;bottom:-220px;width:490px;height:490px;border:1px solid rgba(106,228,238,.16);border-radius:50%;box-shadow:0 0 0 95px rgba(31,180,204,.04),0 0 0 200px rgba(31,180,204,.03);pointer-events:none}.hero-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.77fr);gap:clamp(28px,6vw,95px);align-items:center;padding:95px 0 106px}.hero h1{font-size:clamp(2.7rem,5.1vw,5rem);max-width:800px;line-height:1.11;font-weight:800;letter-spacing:-.055em}.accent{color:var(--sky)}.hero-intro{color:#d6e7eb;font-size:1.02rem;max-width:610px;margin:25px 0}.pillars{font-family:Manrope,sans-serif;font-size:clamp(.74rem,1.2vw,.98rem);color:#a7e6ee;letter-spacing:.22em;font-weight:700;text-transform:uppercase;margin-top:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;min-height:48px;padding:13px 21px;border-radius:999px;font-size:.88rem;line-height:1.2;font-weight:800;transition:transform .2s,box-shadow .2s,background .2s}.button:hover{transform:translateY(-2px)}.button.primary{background:var(--cyan);color:#022f3b;box-shadow:0 8px 22px rgba(35,187,204,.19)}.button.primary:hover{background:#6ce7e9}.button.ghost{border-color:rgba(211,244,249,.48);color:white;background:rgba(255,255,255,.07)}.button.darkbtn{background:var(--navy);color:white}.button.outline{border:1px solid #b4d3db;color:var(--navy);background:white}.button.full{width:100%}.button.small{min-height:42px;padding:10px 16px;font-size:.82rem}.breadcrumb{font-size:.82rem;color:#5e8794;margin:0 0 18px}.breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.form-shell{border:1px solid rgba(159,236,241,.24);background:linear-gradient(145deg,rgba(8,89,115,.94),rgba(2,38,58,.97));box-shadow:0 26px 95px rgba(0,13,24,.36),inset 0 1px 0 rgba(255,255,255,.14);border-radius:27px;padding:clamp(23px,3.1vw,36px);color:white;max-width:500px;width:100%;backdrop-filter:blur(15px)}.form-shell h2{font-size:1.7rem;color:white;margin:0 0 7px}.form-shell .form-intro{font-size:.86rem;color:#c4e4eb;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-field{display:flex;flex-direction:column;gap:6px;min-width:0}.form-field.span2{grid-column:1/-1}.form-field label{font-size:.75rem;font-weight:800;color:#e8faff}.form-field input,.form-field select,.form-field textarea{border:1px solid rgba(200,239,245,.27);background:rgba(255,255,255,.96);border-radius:10px;padding:11px 13px;min-height:43px;color:#0a3041;width:100%;font-size:.87rem;outline-offset:2px}.form-field select{padding-right:24px}.form-field textarea{min-height:82px;resize:vertical}.form-field input::placeholder,.form-field textarea::placeholder{color:#77909b}.checkline{display:flex;align-items:flex-start;gap:9px;margin:15px 0;color:#d3e8ed;font-size:.7rem;line-height:1.5}.checkline input{margin-top:3px;accent-color:#3be1df}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.form-actions .button{min-height:43px;font-size:.75rem;padding:10px 12px}.form-actions .button.outline{color:#e2fbff;background:rgba(255,255,255,.07);border-color:rgba(205,243,247,.3)}.form-help{font-size:.69rem;color:#c7e6ec;margin:12px 0 0}.form-feedback{font-weight:700;font-size:.8rem;min-height:0;color:#b8fbf0;margin-top:9px}.form-shell.in-light{background:linear-gradient(145deg,#065371,#042b44);box-shadow:var(--shadow);max-width:none}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);margin-top:-36px;position:relative;z-index:3;background:white;border-radius:20px;box-shadow:var(--shadow);overflow:hidden;border:1px solid #e1edf0}.stat{padding:29px 28px;border-right:1px solid var(--border)}.stat:last-child{border-right:0}.stat strong{display:block;font-family:Manrope,sans-serif;font-size:1.15rem;color:var(--navy);margin-bottom:5px}.stat span{display:block;font-size:.8rem;color:var(--mute)}.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.service-card{position:relative;background:white;border:1px solid #e0eaef;border-radius:21px;padding:29px;box-shadow:0 6px 24px rgba(7,50,75,.04);transition:transform .2s,box-shadow .2s,border .2s;display:flex;flex-direction:column;min-height:293px}.service-card:hover{transform:translateY(-7px);box-shadow:0 22px 56px rgba(7,50,75,.12);border-color:#a2e2e5}.service-card .iconbox{width:53px;height:53px;border-radius:15px;background:#e9f8f8;color:#0d667a;font-size:1.5rem;display:grid;place-items:center;margin-bottom:21px;font-family:Georgia,serif}.service-card h3{font-size:1.18rem;margin:0 0 9px}.service-card p{font-size:.87rem;color:var(--mute);margin:0 0 24px;line-height:1.6}.service-card .card-more{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--teal);font-weight:800;font-size:.82rem}.service-card .card-more span{font-size:1.4rem}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,6vw,100px);align-items:center}.visual-panel{background:linear-gradient(130deg,#052d46,#0a7386);border-radius:25px;min-height:420px;padding:35px;position:relative;overflow:hidden;color:white}.visual-panel:before{content:'';position:absolute;width:340px;height:340px;border:1px solid rgba(174,247,249,.27);right:-160px;top:-60px;border-radius:50%;box-shadow:0 0 0 58px rgba(255,255,255,.035),0 0 0 145px rgba(255,255,255,.027)}.visual-panel .panel-card{position:relative;background:rgba(255,255,255,.12);border:1px solid rgba(236,255,255,.19);border-radius:18px;padding:25px;margin-top:60px;backdrop-filter:blur(13px);max-width:390px}.visual-panel .panel-card h3{font-size:1.7rem;margin-bottom:17px}.visual-panel .panel-card p{color:#d5eff1;font-size:.95rem}.kicker-no{color:#97eaf0;font-weight:800;letter-spacing:.12em;font-size:.8rem}.bullet-list{list-style:none;padding:0;margin:23px 0}.bullet-list li{position:relative;padding-left:30px;margin:13px 0;color:#456071}.bullet-list li:before{content:'✓';position:absolute;left:0;top:0;color:var(--teal);font-weight:800}.process{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step{padding:28px;border:1px solid var(--border);border-radius:20px;background:white}.step .number{width:43px;height:43px;display:grid;place-items:center;background:#e8f7f7;color:var(--teal);font-family:Manrope,sans-serif;font-weight:900;border-radius:13px;margin-bottom:19px}.step h3{font-size:1.1rem;margin-bottom:9px}.step p{color:var(--mute);font-size:.89rem;margin:0}.cta-strip{background:linear-gradient(108deg,#06324a,#08728a);color:white;border-radius:26px;padding:47px 52px;display:flex;gap:25px;align-items:center;justify-content:space-between;box-shadow:0 18px 40px rgba(3,42,62,.12)}.cta-strip h2{font-size:clamp(1.7rem,2.4vw,2.45rem);max-width:650px}.cta-strip p{color:#cceaf1;margin:10px 0 0;max-width:670px}.cta-strip .button{flex-shrink:0}
.page-hero{background:linear-gradient(128deg,#062b43 3%,#074b64 72%,#076b7c);color:white;padding:87px 0 93px;position:relative;overflow:hidden}.page-hero:after{content:'';position:absolute;right:-80px;top:-220px;width:560px;height:560px;border:1px solid rgba(135,228,231,.17);border-radius:50%;box-shadow:0 0 0 80px rgba(111,214,225,.035),0 0 0 180px rgba(111,214,225,.03)}.page-hero .container{position:relative;z-index:1}.page-hero h1{font-size:clamp(2.6rem,4.5vw,4.7rem);max-width:910px}.page-hero p{color:#d4e9ee;font-size:1.06rem;max-width:750px;margin:19px 0 0}.page-hero .breadcrumb{color:#b5e9ef}.page-hero .eyebrow{color:#8ce4e9}.category-nav{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:33px}.category-nav a{border:1px solid #cde0e6;padding:8px 14px;border-radius:999px;font-size:.78rem;font-weight:800;color:#1b596d}.category-nav a:hover{background:#e4f5f6}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:55px;align-items:start}.detail-content{background:white}.detail-content h2{font-size:2rem;margin-bottom:19px}.detail-content .service-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.service-list li{background:#f7fafb;border:1px solid #e2edf0;border-radius:12px;padding:16px 18px 16px 47px;position:relative;font-size:.96rem}.service-list li:before{content:'✓';font-weight:900;position:absolute;left:19px;top:16px;color:#0b7b86}.aside{border-radius:20px;background:var(--paper);border:1px solid var(--border);padding:25px;position:sticky;top:115px}.aside h3{font-size:1.3rem;margin-bottom:12px}.aside p{font-size:.87rem;color:#587280}.aside a{margin-top:10px}.aside .mini-title{font-size:.73rem;letter-spacing:.16em;font-weight:900;color:#0b7886;margin-bottom:14px}.aside-links{list-style:none;padding:0;margin:20px 0 0;border-top:1px solid #cbdfe5;padding-top:14px}.aside-links a{display:block;font-size:.82rem;font-weight:800;color:#315b6c;padding:7px 0}.aside-links a[aria-current='page']{color:#037e87}.quote-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);gap:60px;align-items:start}.quote-benefits{padding-top:10px}.quote-benefits h2{font-size:clamp(2rem,3.1vw,3.2rem);margin:0 0 20px}.quote-benefits p{color:#5d7784}.contact-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.contact-tile{border:1px solid var(--border);border-radius:20px;padding:27px;background:white;min-height:175px}.contact-tile .mini-icon{font-size:1.5rem;margin-bottom:16px;color:var(--teal)}.contact-tile h3{font-size:1.04rem;margin-bottom:7px}.contact-tile a{font-weight:800;color:var(--teal);word-break:break-word;font-size:.91rem}.contact-tile p{font-size:.85rem;color:var(--mute)}.empty-state{padding:65px 50px;text-align:center;border:1px dashed #a6cdd5;border-radius:24px;background:linear-gradient(145deg,#f7fbfc,#eaf4f6)}.empty-state .empty-mark{font-size:3rem;color:#207d90}.empty-state h2{font-size:clamp(1.8rem,3vw,2.7rem);margin:18px 0}.empty-state p{max-width:640px;margin:auto;color:#5b7482}.privacy-note{padding:20px 22px;border-left:3px solid var(--teal);background:#eef7f9;border-radius:4px 12px 12px 4px;color:#4b6a78;font-size:.89rem}
.footer{background:#031e2d;color:#d3e5e9;padding:66px 0 23px}.footer-grid{display:grid;grid-template-columns:1.55fr 1fr 1fr 1.25fr;gap:38px}.footer h3{color:white;font-size:.97rem;margin-bottom:18px}.footer p{font-size:.86rem;color:#afc6d0}.footer a{display:block;margin:10px 0;font-size:.84rem;color:#cee0e5}.footer a:hover{color:#6de4e7}.footer-logo{display:flex;align-items:center;gap:14px;margin-bottom:12px;color:white;font-family:Manrope,sans-serif;font-size:1.4rem;font-weight:900}.footer-logo img{width:70px;height:65px;object-fit:contain}.footer-bottom{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:46px;padding-top:22px;border-top:1px solid rgba(207,239,241,.13);font-size:.76rem;color:#92aebc}.footer-bottom a{display:inline;color:#bdcdd5;font-size:inherit}.float-wa{position:fixed;z-index:100;bottom:25px;right:25px;width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#20b96b;color:white;box-shadow:0 8px 30px rgba(0,68,43,.27);font-size:1.45rem;font-weight:bold;border:3px solid white}.float-wa:hover{background:#118f4e;transform:translateY(-3px)}
@media(max-width:1130px){.header-inner{min-height:78px}.brand{min-width:140px}.brand img{width:65px;height:58px}.brand-text{display:none}.nav{gap:14px}.nav a{font-size:.78rem}.nav a.nav-cta{padding:12px 14px;font-size:.7rem}.hero-layout{gap:34px}.form-shell{padding:23px}.footer-grid{grid-template-columns:1.2fr 1fr 1fr}}
@media(max-width:900px){.nav-toggle{display:block}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:white;box-shadow:0 25px 42px rgba(3,39,57,.12);padding:20px max(21px,calc((100vw - var(--max))/2));flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{font-size:.95rem;padding:12px 10px}.nav a.nav-cta{text-align:center;margin-top:8px}.hero-layout{grid-template-columns:1fr;padding:80px 0 90px}.hero-copy{max-width:740px}.hero .form-shell{max-width:630px}.stat-row{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--border)}.service-grid{grid-template-columns:repeat(2,1fr)}.twocol,.quote-layout,.detail-layout{grid-template-columns:1fr}.aside{position:static}.footer-grid{grid-template-columns:1.4fr 1fr;gap:30px}.contact-tiles{grid-template-columns:1fr}.cta-strip{align-items:flex-start;flex-direction:column}.process{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.container{width:min(calc(100% - 32px),var(--max))}.header-inner{min-height:74px}.brand img{width:70px}.section{padding:70px 0}.hero{min-height:0}.hero-layout{padding:71px 0 78px}.hero h1{font-size:clamp(2.45rem,10.5vw,3.8rem)}.pillars{font-size:.69rem;line-height:2;letter-spacing:.12em}.hero-actions{flex-direction:column}.hero-actions .button{width:100%}.stat-row,.service-grid,.twocol,.process,.footer-grid{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--border)}.stat:last-child{border-bottom:0}.stat:nth-child(2){border-bottom:1px solid var(--border)}.service-card{min-height:240px}.form-grid{grid-template-columns:1fr}.form-field.span2{grid-column:1}.form-actions{grid-template-columns:1fr}.page-hero{padding:65px 0 75px}.page-hero h1{font-size:2.5rem}.section-top{display:block}.heading h2{font-size:2rem}.visual-panel{padding:25px;min-height:365px}.cta-strip{padding:30px 24px}.contact-tile{min-height:0}.footer-bottom{flex-direction:column;align-items:flex-start}.float-wa{width:54px;height:54px;right:17px;bottom:17px}.quote-layout{gap:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* V2: logotipos institucionales fijos */
.cae-institutions{padding:48px 0 42px;background:#f3f8fa;color:#163b4d;text-align:center;border-top:1px solid #dfebee}
.cae-institutions .eyebrow{color:#0b7886}
.cae-institutions h2{font-size:clamp(1.5rem,2.8vw,2.3rem);margin:12px auto;line-height:1.25}
.cae-institutions-intro{max-width:670px;margin:0 auto 28px;color:#56727f;font-size:.93rem;line-height:1.65}
.cae-institution-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.cae-institution-card{border:1px solid #dfebee;background:#fff;border-radius:16px;min-height:150px;padding:16px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;box-shadow:0 8px 25px rgba(6,40,62,.05)}
.cae-institution-card img{width:100%;height:84px;max-height:84px;object-fit:contain;display:block}
.cae-institution-card span{font-size:.78rem;letter-spacing:.025em;font-weight:800;color:#345766}
.cae-institutions-note{max-width:790px;margin:21px auto 0;color:#657c86;line-height:1.5;font-size:.72rem}
@media(max-width:1050px){.cae-institution-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.cae-institution-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cae-institution-card{min-height:130px;padding:12px 8px}.cae-institution-card img{height:72px;max-height:72px}}
/* Menú flotante en todas las páginas */
.cae-contact-widget{position:fixed;right:22px;bottom:22px;z-index:120;display:flex;flex-direction:column;align-items:flex-end;gap:9px;font-family:inherit}
.cae-contact-toggle{border:0;border-radius:999px;background:#07526a;color:#fff;padding:15px 19px;font-size:.9rem;font-weight:800;cursor:pointer;box-shadow:0 9px 28px rgba(0,21,34,.29)}
.cae-contact-toggle:hover,.cae-contact-toggle:focus-visible{background:#0a7088}
.cae-contact-links{display:flex;flex-direction:column;gap:6px;background:#fff;padding:12px;border-radius:16px;border:1px solid #e0ecee;box-shadow:0 14px 35px rgba(0,21,34,.25)}
.cae-contact-links[hidden]{display:none}
.cae-contact-links a{display:flex;align-items:center;gap:9px;text-decoration:none;color:#07384a;font-size:.88rem;font-weight:700;min-width:160px;padding:9px;border-radius:9px}
.cae-contact-links a:hover,.cae-contact-links a:focus-visible{background:#e6f6f6}
.cae-contact-links a span{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#07526a;color:white;font-size:.73rem}
@media(max-width:560px){.cae-contact-widget{bottom:13px;right:13px}.cae-contact-toggle{padding:13px 16px}}


/* CAESEM V3: photographic service cards and reusable Services contact form */
.service-grid .service-card-photo{padding:0;min-height:345px;isolation:isolate;overflow:hidden;background:#07384d;border:1px solid rgba(15,104,122,.18);box-shadow:0 12px 28px rgba(4,37,54,.13);color:white}
.service-card-photo .service-photo{position:absolute;inset:0;z-index:-2}
.service-card-photo .service-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.service-card-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,24,34,.08) 4%,rgba(2,31,45,.60) 45%,rgba(2,29,43,.96) 100%);z-index:-1;pointer-events:none}
.service-card-photo .service-photo-content{display:flex;flex:1;flex-direction:column;justify-content:flex-end;padding:25px;min-height:345px}
.service-card-photo h3{font-size:1.27rem;line-height:1.3;color:white;text-wrap:balance}
.service-card-photo p{color:#e2eff1;font-size:.9rem;line-height:1.5;margin-bottom:18px}
.service-card-photo .card-more{color:#a9f2f4;border-top:1px solid rgba(235,255,255,.28);padding-top:14px}
.service-card-photo:hover{transform:translateY(-8px);box-shadow:0 24px 52px rgba(4,37,54,.25)}
.service-card-photo:hover .service-photo img{transform:scale(1.055)}
.services-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.78fr);align-items:start;gap:clamp(28px,5vw,72px)}
.services-hero-copy{padding-top:24px}
.page-hero .services-hero-copy h1{font-size:clamp(2.3rem,4vw,4rem)}
.services-hero-grid .form-shell{max-width:none;width:100%;color:#153d4b;text-align:left}
.services-hero-grid .form-shell p{color:inherit;max-width:none}
.services-hero-grid .form-shell .form-intro{font-size:.86rem}
@media(max-width:950px){.services-hero-grid{grid-template-columns:1fr}.services-hero-grid .form-shell{max-width:740px}.services-hero-copy{padding-top:0}}
@media(max-width:640px){.service-card-photo .service-photo-content{min-height:320px}.service-grid .service-card-photo{min-height:320px}}
@media(prefers-reduced-motion:reduce){.service-card-photo,.service-card-photo .service-photo img{transition:none}.service-card-photo:hover,.service-card-photo:hover .service-photo img{transform:none}}


/* Fase 1 — Nuevo logotipo CAESEM, sin textos duplicados.
   El menú y el botón de cotización mantienen sus estilos anteriores. */
.header-inner { min-height: 102px; gap: 22px; }
.brand { min-width: 112px; flex: 0 0 auto; gap: 0; }
.brand img { display: block; width: 112px; height: 96px; object-fit: contain; }
@media (max-width:1130px) {
  .header-inner { min-height: 86px; }
  .brand { min-width: 96px; }
  .brand img { width: 96px; height: 78px; }
}
@media (max-width:620px) {
  .header-inner { min-height: 76px; }
  .brand { min-width: 84px; }
  .brand img { width: 84px; height: 70px; }
}


/* CAESEM V4 — ajustes solicitados, sin cambiar estilos de navegación o CTA */
:root{--cae-focus:#0b7a8b}
/* Escudo tal cual fue enviado; mostrarlo con suficiente presencia sobre blanco */
.header-inner{min-height:100px;gap:18px}
.brand{flex:0 0 auto;min-width:116px}
.brand img{width:120px;height:91px;object-fit:contain}
/* Hacer más legibles los títulos accesorios y moderar titulares principales */
.hero .eyebrow.light{font-size:clamp(.9rem,1.22vw,1.03rem);letter-spacing:.105em;line-height:1.5;margin-bottom:24px}
.hero-copy h1{font-size:clamp(2.3rem,3.6vw,3.95rem);max-width:630px;line-height:1.17;letter-spacing:-.045em;text-wrap:balance}
.page-hero h1,.page-hero .services-hero-copy h1{font-size:clamp(2.15rem,3.5vw,3.65rem);max-width:710px;line-height:1.17;letter-spacing:-.04em;text-wrap:balance}
.page-hero .services-hero-copy h1{max-width:590px}
.heading h2{font-size:clamp(1.8rem,2.7vw,2.75rem);line-height:1.2;max-width:710px;text-wrap:balance}
.heading .eyebrow,.section-top .eyebrow,.quote-benefits .eyebrow{font-size:clamp(.86rem,1.12vw,.98rem);letter-spacing:.10em}
#servicios-destacados .heading h2{font-size:clamp(1.8rem,2.5vw,2.65rem)}
.heading p{line-height:1.75;max-width:650px}
.hero-actions{align-items:center;gap:14px}
.hero-actions .button{min-width:188px}
/* Tarjetas, botones y estados de enfoque elegantes */
.service-card{transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease}
.service-card:hover{transform:translateY(-5px);box-shadow:0 23px 42px rgba(7,50,75,.18)}
.button,.nav a.nav-cta{transition:transform .25s ease,background-color .25s ease,box-shadow .25s ease}
.button:hover{box-shadow:0 10px 24px rgba(6,63,81,.18)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #42c5cf;outline-offset:3px}
/* Aparición de títulos y bloques, siempre visibles si no se ejecuta JS */
@keyframes cae-fade-rise{from{opacity:.25;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes cae-line-grow{from{transform:scaleX(.1);opacity:.35}to{transform:scaleX(1);opacity:1}}
.cae-revealed{animation:cae-fade-rise .74s cubic-bezier(.2,.7,.25,1) both}
.cae-revealed .eyebrow::before{transform-origin:left;animation:cae-line-grow .65s .16s ease both}
.service-card.cae-revealed{animation-delay:var(--cae-reveal-delay,0ms)}
/* Mostrar logos fijos SOLO en inicio; etiquetas redundantes eliminadas del HTML */
.cae-institution-card{min-height:136px}
.cae-institution-card img{height:94px;max-height:94px;width:100%;object-fit:contain}
.footer-privacy-link{font-weight:700;color:#c5e4e9}
.privacy-draft{max-width:780px;margin:auto;padding:36px;border:1px solid #cbdfe5;background:#f5fafb;border-radius:18px}
.privacy-draft strong{color:#07526a}
@media(max-width:1130px){.header-inner{min-height:89px}.brand{min-width:96px}.brand img{width:100px;height:78px}}
@media(max-width:900px){.hero-copy h1{max-width:680px}}
@media(max-width:620px){.header-inner{min-height:78px}.brand{min-width:82px}.brand img{width:84px;height:68px}.hero-copy h1{font-size:clamp(2rem,8.7vw,2.8rem);max-width:100%}.page-hero h1,.page-hero .services-hero-copy h1{font-size:clamp(2rem,8.2vw,2.8rem)}.heading h2{font-size:clamp(1.75rem,7.2vw,2.15rem)}.hero-actions .button{min-width:0}.hero .eyebrow.light{font-size:.82rem}.cae-institution-card img{height:70px;max-height:70px}}
@media(prefers-reduced-motion:reduce){.cae-revealed,.cae-revealed .eyebrow::before{animation:none!important}.service-card,.button,.nav a.nav-cta{transition:none!important}}


/* CAESEM V5 — Ajustes solicitados en capturas (19 de noviembre)
   La franja stat-row se eliminó del HTML de Inicio; se conservan los servicios. */
.eyebrow,
.hero .eyebrow.light,
.heading .eyebrow,
.section-top .eyebrow,
.quote-benefits .eyebrow,
.cae-institutions .eyebrow,
.page-hero .eyebrow {
  font-size: clamp(1.025rem, 1.4vw, 1.16rem);
  font-weight: 800;
  letter-spacing: .10em;
  line-height: 1.45;
}
.eyebrow::before { width: 28px; height: 2px; flex: 0 0 28px; }
/* Tarjetas de organismos: solo el logotipo, sin nombres redundantes debajo. */
.cae-institution-card { gap: 0; min-height: 120px; padding: 12px; }
.cae-institution-card img { width: 100%; height: 94px; max-height: 94px; object-fit: contain; }
@media (max-width: 620px) {
  .eyebrow,
  .hero .eyebrow.light,
  .heading .eyebrow,
  .section-top .eyebrow,
  .quote-benefits .eyebrow,
  .cae-institutions .eyebrow,
  .page-hero .eyebrow {font-size: clamp(.91rem, 3.7vw, 1.035rem);letter-spacing: .065em;}
  .eyebrow::before {width: 21px; flex-basis: 21px;}
  .cae-institution-card {min-height: 104px;}
  .cae-institution-card img {height: 76px;max-height: 76px;}
}


/* ===== CAESEM V6 / Motion & Depth: aditivo a V5 ===== */
:root{--cae-ease:cubic-bezier(.22,1,.36,1);--cae-depth:0 17px 42px rgba(5,40,61,.12)}
.cae-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:20px}
.cae-detail-card{background:#fff;border:1px solid #dceaf0;border-radius:18px;overflow:hidden;box-shadow:0 6px 18px rgba(6,38,60,.06),0 16px 40px rgba(6,38,60,.045);transition:transform .36s var(--cae-ease),box-shadow .36s var(--cae-ease),border-color .36s ease;min-width:0}
.cae-detail-card:hover{transform:translateY(-6px);border-color:#a8dce5;box-shadow:0 16px 28px rgba(5,40,61,.11),0 30px 56px rgba(5,40,61,.08)}
.cae-detail-media{height:135px;overflow:hidden;background:#08384b;position:relative}
.cae-detail-media:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,24,39,.22),transparent 70%);pointer-events:none}
.cae-detail-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--cae-ease)}
.cae-detail-card:hover .cae-detail-media img{transform:scale(1.055)}
.cae-detail-body{padding:19px 19px 22px}
.cae-detail-body h3{font-family:Manrope,system-ui,sans-serif;font-size:clamp(.96rem,1.1vw,1.08rem);line-height:1.4;letter-spacing:-.018em;color:#0b354a;margin:0 0 12px;overflow-wrap:break-word}
.cae-detail-body p{font-size:.84rem;line-height:1.63;color:#54717d;max-width:none;margin:0}
.cae-detail-body .cae-how-label{display:block;color:#08778a;font-size:.72rem;letter-spacing:.04em;font-weight:850;text-transform:uppercase;margin-top:16px;margin-bottom:7px}
.cae-detail-body .cae-how{color:#345b6a}
/* Profundidad de paneles existentes sin modificar layout */
.form-shell{box-shadow:0 24px 55px rgba(2,28,47,.22),0 40px 105px rgba(2,28,47,.14),inset 0 1px 0 rgba(255,255,255,.16)}
.aside{box-shadow:0 12px 32px rgba(5,44,62,.085),0 1px 3px rgba(5,44,62,.05)}
.visual-panel,.cta-strip{box-shadow:0 21px 60px rgba(2,37,60,.15),0 5px 18px rgba(2,37,60,.085)}
.step,.contact-tile,.cae-institution-card{box-shadow:0 8px 24px rgba(6,39,59,.065);transition:box-shadow .32s var(--cae-ease),transform .32s var(--cae-ease)}
@media(hover:hover){.step:hover,.contact-tile:hover{transform:translateY(-4px);box-shadow:0 18px 35px rgba(5,40,61,.12)}}
.button,.nav .nav-cta,.cae-contact-toggle{transition:transform .28s var(--cae-ease),box-shadow .28s ease,background-color .28s ease}
@media(hover:hover){.button:hover,.nav .nav-cta:hover,.cae-contact-toggle:hover{transform:translateY(-2px);box-shadow:0 11px 24px rgba(0,55,73,.19)}}
.form-field input,.form-field select,.form-field textarea{transition:border-color .24s ease,box-shadow .24s ease,background .24s ease}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#54bfd0;box-shadow:0 0 0 4px rgba(83,203,215,.16);outline:none}
/* Revelado: la página es visible por defecto; no esconder contenido si JS falla */
@keyframes cae-v6-appear{from{opacity:.05;transform:translate3d(0,19px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes cae-v6-line{from{transform:scaleX(.18);opacity:.35}to{transform:scaleX(1);opacity:1}}
.cae-motion-enter{animation:cae-v6-appear .74s var(--cae-ease) both;animation-delay:var(--cae-motion-delay,0ms)}
.cae-motion-enter.eyebrow:before,.cae-motion-enter .eyebrow:before{transform-origin:left;animation:cae-v6-line .62s var(--cae-ease) .13s both}
.cae-detail-card.cae-motion-enter{animation-duration:.7s}
/* Evitar conflicto con efectos antiguos de V4, solo en los nodos V6 */
.cae-motion-enter.cae-revealed{animation:cae-v6-appear .74s var(--cae-ease) both;animation-delay:var(--cae-motion-delay,0ms)}
@media(max-width:850px){.cae-detail-grid{grid-template-columns:1fr}.cae-detail-media{height:155px}}
@media(max-width:620px){.cae-detail-grid{gap:14px}.cae-detail-media{height:135px}.cae-detail-body{padding:17px}.cae-motion-enter{animation-duration:.55s}.cae-detail-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.cae-motion-enter,.cae-motion-enter.cae-revealed,.cae-motion-enter.eyebrow:before,.cae-motion-enter .eyebrow:before{animation:none!important;transition:none!important}.cae-detail-card,.cae-detail-media img,.form-field input,.form-field select,.form-field textarea,.step,.contact-tile,.visual-panel,.form-shell{transition:none!important}.cae-detail-card:hover,.cae-detail-card:hover img,.step:hover,.contact-tile:hover{transform:none!important}}
