/* /assets/css/hoja-de-aprecio-v74.css */
:root{
  --hap-ink:#071a13;
  --hap-deep:#03120d;
  --hap-deep-2:#0a2a20;
  --hap-green:#0a6a4b;
  --hap-mint:#28d89a;
  --hap-lime:#cfff22;
  --hap-gold:#d6b04a;
  --hap-cream:#f7f7f2;
  --hap-soft:#eef3ef;
  --hap-line:rgba(8,43,31,.10);
  --hap-muted:#66736d;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.hap-page{margin:0;background:#f3f5f3;color:var(--hap-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
body.hap-page main{overflow:hidden}
.hap-wrap{width:min(1220px,calc(100% - 40px));margin:0 auto}
.hap-eyebrow{display:inline-flex;align-items:center;gap:8px;width:max-content;padding:8px 13px;border-radius:999px;border:1px solid rgba(214,176,74,.26);background:rgba(214,176,74,.08);color:#f0cf72;font-size:11px;font-weight:900;letter-spacing:.11em;text-transform:uppercase}
.hap-eyebrow:before{content:"";width:8px;height:8px;border-radius:99px;background:var(--hap-mint);box-shadow:0 0 0 5px rgba(40,216,154,.10)}
.hap-h2{margin:0;color:var(--hap-ink);font-size:clamp(34px,4vw,58px);line-height:.98;letter-spacing:-.055em;text-wrap:balance}
.hap-h2 em{font-family:Georgia,serif;font-weight:500;color:#b9912e}
.hap-sub{max-width:760px;margin:16px 0 0;color:var(--hap-muted);font-size:17px;line-height:1.62}
.hap-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:14px 20px;border-radius:999px;text-decoration:none;font-weight:900;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.hap-btn:hover{transform:translateY(-2px)}
.hap-btn-primary{background:linear-gradient(135deg,#17d66f,#3ceaa3);color:#03160e;box-shadow:0 14px 34px rgba(34,220,130,.20)}
.hap-btn-dark{background:#0c2c21;color:#fff;border:1px solid rgba(255,255,255,.10)}
.hap-btn-ghost{color:#fff;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06)}

.hap-hero{position:relative;padding:clamp(68px,8vw,112px) 0 clamp(62px,7vw,94px);background:radial-gradient(circle at 74% 30%,rgba(30,216,143,.14),transparent 25%),radial-gradient(circle at 18% 12%,rgba(214,176,74,.09),transparent 28%),linear-gradient(135deg,#020b08 0%,#082019 52%,#063026 100%);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.hap-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.34),transparent 82%);pointer-events:none}
.hap-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);gap:clamp(34px,5vw,76px);align-items:center}
.hap-hero h1{margin:20px 0 18px;max-width:820px;color:#fff;font-size:clamp(49px,6.2vw,86px);line-height:.91;letter-spacing:-.068em;text-wrap:balance}
.hap-hero h1 span{display:block;color:#e3bb57;font-family:Georgia,serif;font-weight:500;font-style:italic;letter-spacing:-.045em}
.hap-hero-copy>p{max-width:720px;margin:0;color:rgba(255,255,255,.73);font-size:clamp(16px,1.55vw,19px);line-height:1.62}
.hap-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}
.hap-hero-proof{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;padding-top:22px;border-top:1px solid rgba(255,255,255,.10)}
.hap-proof-item{display:flex;gap:10px;align-items:center;color:rgba(255,255,255,.76);font-size:13px;font-weight:750}
.hap-proof-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:99px;background:rgba(40,216,154,.11);border:1px solid rgba(40,216,154,.22);color:#56efb8;font-weight:950}

.hap-visual{position:relative;min-height:500px;display:grid;place-items:center}
.hap-glow{position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(42,222,159,.15),rgba(42,222,159,0) 69%);filter:blur(2px)}
.hap-doc-stack{position:relative;width:min(100%,470px);height:420px;perspective:1200px}
.hap-doc{position:absolute;left:50%;top:50%;width:330px;min-height:378px;padding:27px;border-radius:30px;background:linear-gradient(180deg,rgba(252,255,253,.98),rgba(235,244,239,.97));color:#082116;border:1px solid rgba(255,255,255,.75);box-shadow:0 35px 80px rgba(0,0,0,.30);transform-origin:center;overflow:hidden}
.hap-doc.back-2{transform:translate(-56%,-48%) rotate(-9deg) scale(.91);opacity:.33}
.hap-doc.back-1{transform:translate(-47%,-50%) rotate(7deg) scale(.95);opacity:.55}
.hap-doc.front{transform:translate(-50%,-50%) rotate(-1.5deg);animation:hapFloat 6s ease-in-out infinite}
@keyframes hapFloat{0%,100%{transform:translate(-50%,-50%) rotate(-1.5deg) translateY(0)}50%{transform:translate(-50%,-50%) rotate(-.4deg) translateY(-10px)}}
.hap-doc-tag{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#e4f3ec;color:#35604f;font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.hap-doc-tag:before{content:"";width:7px;height:7px;border-radius:50%;background:#18d784;box-shadow:0 0 0 4px rgba(24,215,132,.11)}
.hap-doc h2{margin:26px 0 10px;font-size:31px;line-height:.98;letter-spacing:-.05em}
.hap-doc p{margin:0;color:#697a72;font-size:14px;line-height:1.5}
.hap-doc-lines{display:grid;gap:11px;margin-top:25px}
.hap-line{height:10px;border-radius:99px;background:#d8e5df;overflow:hidden}
.hap-line:after{content:"";display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d674a,#30db93)}
.hap-line:nth-child(1):after{width:86%}.hap-line:nth-child(2):after{width:64%}.hap-line:nth-child(3):after{width:77%}
.hap-doc-map{position:relative;height:76px;margin-top:24px;border-radius:21px;background:linear-gradient(145deg,#d9eee4,#eff8f3);overflow:hidden;border:1px solid #cfe0d7}
.hap-doc-map:before{content:"";position:absolute;width:145px;height:28px;left:15px;top:23px;border:5px solid #13775a;border-color:#13775a transparent transparent #13775a;border-radius:50%;transform:rotate(-6deg)}
.hap-doc-map:after{content:"";position:absolute;width:12px;height:12px;border-radius:50%;right:53px;top:31px;background:#f1c84c;box-shadow:0 0 0 7px rgba(241,200,76,.18)}
.hap-float-note{position:absolute;z-index:5;right:0;top:46px;width:205px;padding:14px 16px;border-radius:18px;background:#fbfdfb;color:#0b3527;box-shadow:0 19px 45px rgba(0,0,0,.22);border:1px solid rgba(5,44,31,.10);font-size:12px;line-height:1.35;font-weight:800;animation:hapNote 5s ease-in-out infinite}
.hap-float-note b{display:block;margin-bottom:3px;color:#0b5d43}
@keyframes hapNote{0%,100%{transform:translateY(0)}50%{transform:translateY(8px)}}
.hap-float-status{position:absolute;left:1px;bottom:24px;display:flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#0d3e2e;color:#fff;border:1px solid rgba(255,255,255,.13);box-shadow:0 16px 35px rgba(0,0,0,.20);font-size:11px;font-weight:900}
.hap-float-status i{width:9px;height:9px;border-radius:50%;background:#21e990;box-shadow:0 0 0 5px rgba(33,233,144,.13)}

.hap-section{padding:clamp(64px,7vw,102px) 0;background:#f3f5f3}
.hap-section.white{background:#fff}
.hap-section.dark{background:linear-gradient(135deg,#04110d,#0a2c21 68%,#07362a);color:#fff}
.hap-head{text-align:center;max-width:860px;margin:0 auto 38px}
.hap-head .hap-eyebrow{color:#35614f;background:#e7f2ec;border-color:#d0e4d9}
.hap-head .hap-eyebrow:before{box-shadow:0 0 0 5px rgba(40,216,154,.09)}
.hap-head .hap-sub{margin-left:auto;margin-right:auto}

.hap-situation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hap-situation{position:relative;min-height:255px;padding:26px;border-radius:28px;background:linear-gradient(180deg,#fff,#f7faf8);border:1px solid var(--hap-line);box-shadow:0 18px 45px rgba(9,49,35,.06);text-decoration:none;color:inherit;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.hap-situation:hover{transform:translateY(-4px);box-shadow:0 23px 55px rgba(9,49,35,.10);border-color:rgba(29,148,103,.22)}
.hap-situation-num{display:flex;align-items:center;justify-content:space-between;margin-bottom:38px;color:#b48d2e;font-size:12px;font-weight:950;letter-spacing:.08em}
.hap-situation-num i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#edf5f1;border:1px solid #dbe9e2;color:#0a6146;font-style:normal;font-size:18px}
.hap-situation h3{margin:0 0 10px;font-size:24px;line-height:1.03;letter-spacing:-.045em}
.hap-situation p{margin:0;color:#738078;font-size:14.5px;line-height:1.5}
.hap-not-sure{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:17px 21px;border-radius:22px;background:#09271e;color:#fff}
.hap-not-sure span{font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#e2bd59}
.hap-not-sure a{color:#fff;text-decoration:none;font-weight:850}

.hap-process-shell{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:stretch}
.hap-process-copy{padding:34px;border-radius:32px;background:#0a2b21;color:#fff;position:relative;overflow:hidden}
.hap-process-copy:after{content:"";position:absolute;right:-70px;bottom:-110px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(34,221,142,.19),transparent 67%)}
.hap-process-copy h2{margin:18px 0 14px;font-size:clamp(34px,3.5vw,52px);line-height:.98;letter-spacing:-.055em}
.hap-process-copy p{margin:0;color:rgba(255,255,255,.70);font-size:16px;line-height:1.6}
.hap-process-list{padding:18px 22px;border-radius:32px;background:#fff;border:1px solid var(--hap-line);box-shadow:0 18px 48px rgba(9,49,35,.06)}
.hap-step{display:grid;grid-template-columns:52px 1fr auto;gap:16px;align-items:center;padding:17px 3px;border-bottom:1px solid #e8eeea}
.hap-step:last-child{border-bottom:0}
.hap-step-num{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#e7f3ed;color:#0b6c4d;font-weight:950}
.hap-step strong{display:block;font-size:17px;letter-spacing:-.02em}.hap-step small{display:block;margin-top:4px;color:#76837c;font-size:13px;line-height:1.4}
.hap-step-arrow{color:#c49b35;font-size:18px;font-weight:950}

.hap-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hap-review-card{min-height:235px;padding:24px;border-radius:28px;background:#fff;border:1px solid var(--hap-line);box-shadow:0 16px 40px rgba(8,43,31,.055)}
.hap-review-icon{display:grid;place-items:center;width:51px;height:51px;border-radius:18px;background:linear-gradient(145deg,#dff2e9,#edf8f2);color:#0a684b;font-size:22px;font-weight:950;margin-bottom:32px}
.hap-review-card h3{margin:0 0 9px;font-size:22px;line-height:1.04;letter-spacing:-.04em}
.hap-review-card p{margin:0;color:#748178;font-size:14px;line-height:1.52}

.hap-sign-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:22px;align-items:center}
.hap-sign-copy{padding-right:30px}
.hap-sign-copy .hap-eyebrow{color:#35614f;background:#e7f2ec;border-color:#d0e4d9}
.hap-sign-copy p{color:#68756e;font-size:17px;line-height:1.66}
.hap-sign-box{padding:32px;border-radius:32px;background:linear-gradient(145deg,#0b3025,#071d16);color:#fff;box-shadow:0 26px 65px rgba(5,33,23,.18)}
.hap-sign-box .quote{font-family:Georgia,serif;font-style:italic;color:#e5bf59;font-size:27px;line-height:1.18}
.hap-sign-box p{margin:17px 0 0;color:rgba(255,255,255,.72);line-height:1.58}
.hap-sign-box .mini{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:22px}
.hap-mini-chip{padding:13px;border-radius:17px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);font-size:12.5px;line-height:1.35;color:rgba(255,255,255,.80)}

.hap-concepts-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:34px}
.hap-concept{padding:19px 18px;border-radius:22px;background:#f6f9f7;border:1px solid #e3ebe6;min-height:128px}
.hap-concept b{display:block;margin-bottom:7px;color:#103a2d;font-size:15px}.hap-concept span{display:block;color:#748078;font-size:13px;line-height:1.46}

.hap-next-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.hap-next{position:relative;padding:22px 18px 20px;min-height:185px;border-radius:25px;background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.025));border:1px solid rgba(255,255,255,.11);text-decoration:none;color:#fff;transition:transform .2s ease,border-color .2s ease}
.hap-next:hover{transform:translateY(-4px);border-color:rgba(227,187,87,.35)}
.hap-next span{display:block;margin-bottom:28px;color:#e1bb58;font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.hap-next strong{display:block;font-size:19px;line-height:1.05;letter-spacing:-.035em}.hap-next small{display:block;margin-top:9px;color:rgba(255,255,255,.60);line-height:1.45}

.hap-form-section{padding:clamp(66px,7vw,92px) 0;background:#eef2ef}
.hap-form-shell{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:28px;padding:clamp(25px,3vw,42px);border-radius:36px;background:#fff;border:1px solid var(--hap-line);box-shadow:0 28px 72px rgba(8,43,31,.08)}
.hap-form-copy{padding:14px 12px 14px 4px}
.hap-form-copy .hap-eyebrow{color:#35614f;background:#e7f2ec;border-color:#d0e4d9}
.hap-form-copy h2{margin:19px 0 15px;font-size:clamp(34px,4vw,55px);line-height:.97;letter-spacing:-.055em}
.hap-form-copy p{color:#6c7972;line-height:1.62}
.hap-form-points{display:grid;gap:11px;margin-top:24px}.hap-form-point{display:flex;gap:10px;align-items:flex-start;color:#354a41;font-size:14px}.hap-form-point i{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e2f5eb;color:#0b6b4c;font-style:normal;font-weight:950}
.hap-form{display:grid;gap:13px;padding:25px;border-radius:28px;background:#09271e;color:#fff}
.hap-form .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hap-form label{display:grid;gap:7px;font-size:12px;font-weight:850;color:rgba(255,255,255,.78)}
.hap-form input,.hap-form select,.hap-form textarea{width:100%;min-height:49px;padding:13px 14px;border-radius:15px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#fff;font:inherit;outline:none}.hap-form textarea{min-height:104px;resize:vertical}.hap-form input::placeholder,.hap-form textarea::placeholder{color:rgba(255,255,255,.42)}.hap-form option{color:#12281f}
.hap-form input:focus,.hap-form select:focus,.hap-form textarea:focus{border-color:rgba(45,222,148,.60);box-shadow:0 0 0 4px rgba(45,222,148,.08)}
.hap-form .consent{display:flex;grid-template-columns:none;gap:9px;align-items:flex-start;font-weight:500;line-height:1.4}.hap-form .consent input{width:17px;min-height:17px;height:17px;margin-top:2px}.hap-form .consent a{color:#e3bd5d}.hap-form button{border:0;cursor:pointer;font:inherit}.hap-form-note{margin:0;color:rgba(255,255,255,.48);font-size:11px;line-height:1.45}

.hap-faq{max-width:900px;margin:0 auto;display:grid;gap:11px}.hap-faq details{border-radius:20px;background:#fff;border:1px solid var(--hap-line);overflow:hidden}.hap-faq summary{cursor:pointer;padding:20px 22px;font-weight:850;list-style:none}.hap-faq summary::-webkit-details-marker{display:none}.hap-faq summary:after{content:"+";float:right;color:#0b6a4c;font-size:22px}.hap-faq details[open] summary:after{content:"−"}.hap-faq details p{margin:0;padding:0 22px 21px;color:#718078;line-height:1.6}

@media(max-width:1050px){.hap-hero-grid,.hap-process-shell,.hap-sign-grid,.hap-form-shell{grid-template-columns:1fr}.hap-visual{min-height:430px}.hap-situation-grid,.hap-review-grid,.hap-concepts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hap-next-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hap-next:last-child{grid-column:span 2}.hap-sign-copy{padding-right:0}}
@media(max-width:680px){.hap-wrap{width:min(100% - 26px,1220px)}.hap-hero{padding:52px 0 58px}.hap-hero h1{font-size:clamp(43px,13vw,64px)}.hap-visual{min-height:390px}.hap-doc-stack{transform:scale(.82)}.hap-float-note{right:4px}.hap-situation-grid,.hap-review-grid,.hap-concepts-grid,.hap-next-grid{grid-template-columns:1fr}.hap-next:last-child{grid-column:auto}.hap-not-sure{align-items:flex-start;flex-direction:column}.hap-form .two{grid-template-columns:1fr}.hap-section{padding:58px 0}.hap-situation{min-height:0}.hap-process-copy,.hap-process-list,.hap-sign-box,.hap-form-shell{border-radius:25px}.hap-form{padding:19px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.hap-doc.front,.hap-float-note{animation:none!important}.hap-btn,.hap-situation,.hap-next{transition:none!important}}

/* Hoja de aprecio: ajustes especificos */
.hap-doc.front h2{font-size:34px}
.hap-doc-value{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:22px;padding:15px 16px;border-radius:18px;background:#e9f5ef;border:1px solid #d4e7dd}
.hap-doc-value span{display:block;color:#5c7468;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.hap-doc-value strong{display:block;margin-top:4px;color:#0a5f45;font-size:25px;letter-spacing:-.04em}
.hap-doc-value i{font-style:normal;color:#d1a72f;font-size:20px;font-weight:950}
.hap-doc-map:before{width:175px;height:58px;left:17px;top:9px;border:0;border-radius:16px;background:linear-gradient(145deg,#bfe9d5,#dff3e9);transform:rotate(-3deg);box-shadow:inset 0 0 0 1px rgba(12,105,74,.12)}
.hap-doc-map:after{width:98px;height:18px;right:26px;top:29px;border-radius:999px;background:#19a979;box-shadow:0 0 0 6px rgba(25,169,121,.12);transform:rotate(-10deg)}
.hap-deadline{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;margin-top:28px;padding:20px 22px;border-radius:24px;background:#fff8df;border:1px solid #eedb95}
.hap-deadline strong{display:block;color:#6b551d;font-size:18px;letter-spacing:-.025em}.hap-deadline p{margin:5px 0 0;color:#756a4e;font-size:13px;line-height:1.5}.hap-deadline .days{display:grid;place-items:center;min-width:90px;min-height:70px;border-radius:20px;background:#0b3024;color:#fff}.hap-deadline .days b{font-size:27px;line-height:1}.hap-deadline .days small{margin-top:4px;color:rgba(255,255,255,.62);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.hap-law-note{margin-top:18px;padding:15px 17px;border-left:3px solid #d3aa3a;background:#f7f8f4;color:#657168;font-size:12.5px;line-height:1.55}
.hap-law-note a{color:#0b6649;font-weight:850}
.hap-table-wrap{overflow:auto;margin-top:24px;border-radius:24px;border:1px solid #e1e9e4;background:#fff}
.hap-table{width:100%;border-collapse:collapse;min-width:760px}.hap-table th,.hap-table td{padding:17px 18px;text-align:left;border-bottom:1px solid #e9efeb;vertical-align:top}.hap-table th{background:#0b2b21;color:#fff;font-size:11px;text-transform:uppercase;letter-spacing:.07em}.hap-table td{color:#64726b;font-size:13.5px;line-height:1.5}.hap-table td:first-child{color:#133e30;font-weight:850}.hap-table tr:last-child td{border-bottom:0}
.hap-three-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hap-three-card{padding:25px;border-radius:27px;background:#fff;border:1px solid var(--hap-line);box-shadow:0 16px 40px rgba(8,43,31,.05)}.hap-three-card span{display:grid;place-items:center;width:45px;height:45px;border-radius:16px;background:#e5f3ec;color:#0b6a4c;font-weight:950;margin-bottom:25px}.hap-three-card h3{margin:0 0 8px;font-size:21px;letter-spacing:-.035em}.hap-three-card p{margin:0;color:#75817a;font-size:14px;line-height:1.55}
.hap-source-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.hap-source-links a{display:inline-flex;padding:9px 12px;border-radius:999px;background:#edf5f1;color:#0b6348;text-decoration:none;font-size:11px;font-weight:900}
@media(max-width:900px){.hap-three-grid{grid-template-columns:1fr}.hap-deadline{grid-template-columns:1fr}.hap-deadline .days{width:100%}}

/* v74: hero mas sobrio, visual de fases y copy sin presuponer que exista una hoja */
.hap-h2 em{font-family:inherit;font-style:normal;font-weight:900;color:#b9912e}
.hap-sign-box .quote{font-family:inherit;font-style:normal;font-weight:850}
.hap-hero-v2{padding:clamp(66px,7vw,96px) 0 clamp(60px,6.5vw,84px);background:radial-gradient(circle at 78% 38%,rgba(48,216,151,.12),transparent 28%),linear-gradient(135deg,#020b08 0%,#082019 52%,#07352a 100%)}
.hap-hero-v2 .hap-hero-grid{grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr);gap:clamp(38px,5vw,72px)}
.hap-hero-v2 .hap-hero-copy{max-width:720px}
.hap-hero-v2 h1{margin:20px 0 12px;max-width:760px;font-size:clamp(50px,5.4vw,76px);line-height:.96;letter-spacing:-.06em}
.hap-hero-kicker{margin:0 0 19px!important;color:#e2bb57!important;font-size:clamp(24px,2.5vw,34px)!important;font-weight:850!important;line-height:1.08!important;letter-spacing:-.035em!important;max-width:760px!important}
.hap-hero-v2 .hap-hero-copy>p:not(.hap-hero-kicker){max-width:710px;color:rgba(255,255,255,.74);font-size:17px;line-height:1.62}
.hap-hero-v2 .hap-btn-primary{padding-inline:24px}
.hap-hero-v2 .hap-hero-proof{gap:12px 20px;margin-top:25px}
.hap-hero-v2 .hap-proof-icon{width:28px;height:28px}
.hap-stage-visual{position:relative;min-height:470px;display:flex;align-items:center;justify-content:center}
.hap-stage-visual:before{content:"";position:absolute;width:410px;height:410px;border-radius:50%;background:radial-gradient(circle,rgba(40,216,154,.14),transparent 66%);filter:blur(3px)}
.hap-stage-card{position:relative;z-index:1;width:min(100%,460px);padding:28px;border-radius:30px;background:linear-gradient(180deg,rgba(251,254,252,.98),rgba(237,246,241,.98));border:1px solid rgba(255,255,255,.72);box-shadow:0 34px 75px rgba(0,0,0,.26);color:#0b2c21}
.hap-stage-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px}
.hap-stage-dot{width:10px;height:10px;border-radius:50%;background:#23d98e;box-shadow:0 0 0 6px rgba(35,217,142,.12)}
.hap-stage-card h2{margin:23px 0 8px;font-size:32px;line-height:1;letter-spacing:-.05em}
.hap-stage-card>p{margin:0;color:#6f7d76;font-size:14px;line-height:1.5}
.hap-stage-list{display:grid;gap:10px;margin-top:24px}
.hap-stage-row{position:relative;display:grid;grid-template-columns:40px 1fr;gap:13px;align-items:center;padding:14px 15px;border-radius:18px;background:rgba(255,255,255,.62);border:1px solid #dde9e2}
.hap-stage-row.is-active{grid-template-columns:40px 1fr auto;background:#0c3628;border-color:#0c3628;color:#fff;box-shadow:0 15px 30px rgba(8,53,38,.14)}
.hap-stage-number{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#e6f2ec;color:#0b674b;font-size:11px;font-weight:950}
.hap-stage-row.is-active .hap-stage-number{background:rgba(255,255,255,.12);color:#55ecb1}
.hap-stage-row small{display:block;margin-bottom:3px;color:#7b8981;font-size:10px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.hap-stage-row.is-active small{color:rgba(255,255,255,.55)}
.hap-stage-row strong{display:block;font-size:15px;line-height:1.18;letter-spacing:-.015em}
.hap-stage-badge{align-self:center;padding:8px 10px;border-radius:999px;background:#d9b64f;color:#0e251c;font-size:9.5px;font-weight:950;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.hap-stage-help{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:14px 15px;border-radius:18px;background:#e4f2eb;border:1px solid #d4e6dc}
.hap-stage-help>span{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:50%;background:#0c6047;color:#fff;font-weight:950}
.hap-stage-help p{margin:0;color:#597068;font-size:12px;line-height:1.45}
.hap-stage-help strong{display:block;color:#123e30;margin-bottom:2px}
@media(max-width:1050px){.hap-hero-v2 .hap-hero-grid{grid-template-columns:1fr}.hap-stage-visual{min-height:0;padding-top:8px}.hap-stage-card{width:min(100%,620px)}}
@media(max-width:680px){.hap-hero-v2{padding-top:48px}.hap-hero-v2 h1{font-size:clamp(42px,12vw,58px)}.hap-hero-kicker{font-size:23px!important}.hap-stage-card{padding:20px;border-radius:24px}.hap-stage-row.is-active{grid-template-columns:38px 1fr}.hap-stage-badge{grid-column:2;justify-self:start;margin-top:3px}.hap-stage-card h2{font-size:27px}}

/* /assets/css/cookie-consent.css */
:root{
  --lg-cookie-navy:#102b45;
  --lg-cookie-navy-2:#173c5e;
  --lg-cookie-green:#0f7a5a;
  --lg-cookie-green-dark:#0b6248;
  --lg-cookie-gold:#d9ae61;
  --lg-cookie-text:#172331;
  --lg-cookie-muted:#5a6875;
  --lg-cookie-border:#d8e0e7;
  --lg-cookie-bg:#ffffff;
}
.lg-cookie-banner[hidden],.lg-cookie-modal[hidden]{display:none!important}
.lg-cookie-banner{
  position:fixed;
  inset:auto 0 0 0;
  z-index:2147483000;
  padding:16px;
  background:rgba(255,255,255,.98);
  border-top:1px solid var(--lg-cookie-border);
  box-shadow:0 -18px 48px rgba(14,36,57,.18);
  color:var(--lg-cookie-text);
  font-family:Inter,Manrope,Arial,Helvetica,sans-serif;
}
.lg-cookie-banner__inner{
  width:min(1180px,100%);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
}
.lg-cookie-banner__copy strong{display:block;font-size:18px;line-height:1.25;margin-bottom:5px;color:var(--lg-cookie-navy)}
.lg-cookie-banner__copy p{margin:0 0 6px;font-size:14px;line-height:1.55;color:var(--lg-cookie-muted);max-width:780px}
.lg-cookie-banner__copy a{font-size:13px;font-weight:750;color:var(--lg-cookie-navy);text-underline-offset:3px}
.lg-cookie-banner__actions{display:grid;grid-template-columns:repeat(2,minmax(170px,1fr));gap:9px;min-width:390px}
.lg-cookie-btn{
  min-height:44px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:10px;
  font:750 14px/1.2 Inter,Manrope,Arial,Helvetica,sans-serif;
  cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.lg-cookie-btn:hover{transform:translateY(-1px)}
.lg-cookie-btn:focus-visible,.lg-cookie-modal__close:focus-visible,.lg-cookie-settings-link:focus-visible,.lg-cookie-switch input:focus-visible+span{outline:3px solid rgba(217,174,97,.65);outline-offset:2px}
.lg-cookie-btn--accept{color:#fff;background:var(--lg-cookie-green);box-shadow:0 7px 16px rgba(15,122,90,.18)}
.lg-cookie-btn--accept:hover{background:var(--lg-cookie-green-dark)}
.lg-cookie-btn--reject{color:#fff;background:var(--lg-cookie-navy);box-shadow:0 7px 16px rgba(16,43,69,.18)}
.lg-cookie-btn--reject:hover{background:var(--lg-cookie-navy-2)}
.lg-cookie-btn--settings{grid-column:1/-1;color:var(--lg-cookie-navy);background:#fff;border-color:#afbecb}
.lg-cookie-btn--save{color:var(--lg-cookie-navy);background:#f2e6cf;border-color:#d9ae61}
.lg-cookie-modal{
  position:fixed;
  inset:0;
  z-index:2147483001;
  display:grid;
  place-items:center;
  padding:18px;
  font-family:Inter,Manrope,Arial,Helvetica,sans-serif;
}
.lg-cookie-modal__backdrop{position:absolute;inset:0;background:rgba(8,23,37,.68);backdrop-filter:blur(3px)}
.lg-cookie-modal__dialog{
  position:relative;
  width:min(690px,100%);
  max-height:min(760px,calc(100vh - 36px));
  overflow:auto;
  border-radius:18px;
  background:var(--lg-cookie-bg);
  color:var(--lg-cookie-text);
  box-shadow:0 30px 90px rgba(0,0,0,.34);
  padding:26px;
}
.lg-cookie-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:9px}
.lg-cookie-modal__eyebrow{margin:0 0 3px;color:var(--lg-cookie-green);font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.lg-cookie-modal__header h2{margin:0;color:var(--lg-cookie-navy);font-size:26px;line-height:1.15}
.lg-cookie-modal__close{width:38px;height:38px;border:1px solid var(--lg-cookie-border);border-radius:50%;background:#fff;color:var(--lg-cookie-navy);font-size:26px;line-height:1;cursor:pointer}
.lg-cookie-modal__intro{margin:0 0 18px;color:var(--lg-cookie-muted);font-size:14px;line-height:1.55}
.lg-cookie-category{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-top:1px solid var(--lg-cookie-border)}
.lg-cookie-category h3,.lg-cookie-category strong{display:block;margin:0 0 4px;color:var(--lg-cookie-navy);font-size:16px}
.lg-cookie-category p,.lg-cookie-category small{display:block;margin:0;color:var(--lg-cookie-muted);font-size:13px;line-height:1.45}
.lg-cookie-category--toggle{cursor:pointer}
.lg-cookie-always-on{flex:0 0 auto;padding:6px 9px;border-radius:999px;background:#e7f3ee;color:var(--lg-cookie-green-dark);font-size:12px;font-weight:800}
.lg-cookie-switch{position:relative;flex:0 0 48px;width:48px;height:28px}
.lg-cookie-switch input{position:absolute;opacity:0;pointer-events:none}
.lg-cookie-switch span{position:absolute;inset:0;border-radius:999px;background:#b8c2cb;transition:background .18s ease}
.lg-cookie-switch span:after{content:"";position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:transform .18s ease}
.lg-cookie-switch input:checked+span{background:var(--lg-cookie-green)}
.lg-cookie-switch input:checked+span:after{transform:translateX(20px)}
.lg-cookie-modal__footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding-top:18px;border-top:1px solid var(--lg-cookie-border)}
.lg-cookie-settings-link{
  display:inline;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
  cursor:pointer;
}
body.lg-cookie-modal-open{overflow:hidden}
body.lg-cookie-banner-visible .lg-floating-whatsapp-ainara,
body.lg-cookie-banner-visible .lg-mobile-sticky-contact{display:none!important}
@media (max-width:820px){
  .lg-cookie-banner__inner{grid-template-columns:1fr;gap:14px}
  .lg-cookie-banner__actions{min-width:0;width:100%}
}
@media (max-width:620px){
  .lg-cookie-banner{padding:13px}
  .lg-cookie-banner__copy strong{font-size:16px}
  .lg-cookie-banner__copy p{font-size:13px}
  .lg-cookie-banner__actions{grid-template-columns:1fr 1fr;gap:8px}
  .lg-cookie-btn{min-height:46px;padding:9px 10px;font-size:12.5px}
  .lg-cookie-modal{padding:10px}
  .lg-cookie-modal__dialog{padding:20px 16px;max-height:calc(100vh - 20px);border-radius:14px}
  .lg-cookie-modal__header h2{font-size:22px}
  .lg-cookie-category{align-items:flex-start}
  .lg-cookie-modal__footer{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.lg-cookie-btn,.lg-cookie-switch span,.lg-cookie-switch span:after{transition:none}}

/* /assets/css/lgx-conversion-2026-10.css */
/* Legalia · Conversión oct-2026 (v3): llamada en portada, plazo, revisor, caso real y arreglos de legibilidad sobre el diseño de siempre. */
@layer lgx {
html body #contenido #lgx-llamada { scroll-margin-top:96px !important; }
html body #contenido #lgx-llamada .lgx-plazo { display:flex !important; gap:12px !important; align-items:flex-start !important; padding:14px 16px !important; border-radius:12px !important; background:#fbf1e3 !important; border:1px solid #ecd9b8 !important; color:#1c2a23 !important; margin:0 !important; text-align:left !important; box-shadow:none !important; }
html body #contenido #lgx-llamada .lgx-plazo[hidden] { display:none !important; }
html body #contenido #lgx-llamada .lgx-plazo svg { flex:0 0 22px !important; width:22px !important; height:22px !important; color:#b8461f !important; margin-top:1px !important; }
html body #contenido #lgx-llamada .lgx-plazo div { display:grid !important; gap:3px !important; }
html body #contenido #lgx-llamada .lgx-plazo strong { font-size:16px !important; font-weight:600 !important; line-height:1.4 !important; color:#1c2a23 !important; }
html body #contenido #lgx-llamada .lgx-plazo span { font-size:14.5px !important; line-height:1.45 !important; color:#3d4a42 !important; }
html body #contenido #lgx-llamada .lgx-revisor { display:flex !important; align-items:center !important; gap:14px !important; margin:20px 0 0 !important; padding:18px 0 0 !important; border-top:1px solid rgba(20,33,27,.12) !important; background:none !important; }
html body #contenido #lgx-llamada .lgx-revisor img { width:56px !important; height:56px !important; border-radius:50% !important; object-fit:cover !important; object-position:50% 18% !important; flex:0 0 56px !important; border:0 !important; box-shadow:none !important; filter:none !important; opacity:1 !important; }
html body #contenido #lgx-llamada .lgx-revisor p { margin:0 !important; display:grid !important; gap:2px !important; font-size:15.5px !important; line-height:1.4 !important; color:inherit !important; }
html body #contenido #lgx-llamada .lgx-revisor p strong { font-weight:600 !important; }
html body #contenido #lgx-llamada .lgx-revisor p strong a { color:inherit !important; text-decoration:underline !important; text-underline-offset:3px !important; }
html body #contenido #lgx-llamada .lgx-revisor p span { font-size:14.5px !important; opacity:.8 !important; }
html body #contenido #lgx-llamada input[type=date] { min-height:50px !important; display:block !important; width:100% !important; }
html body #contenido #lgx-caso { background:#0c2a1f !important; color:#fff !important; margin:0 !important; padding:0 !important; }
html body #contenido #lgx-caso .lgx-caso__in { max-width:1180px !important; margin:0 auto !important; padding:40px 24px !important; display:flex !important; align-items:center !important; justify-content:space-between !important; gap:40px !important; }
html body #contenido #lgx-caso p { margin:0 !important; }
html body #contenido #lgx-caso .lgx-caso__k { font-size:15px !important; font-weight:600 !important; color:#9fd0b5 !important; margin:0 0 6px !important; }
html body #contenido #lgx-caso .lgx-caso__t { font-family:"Newsreader",Georgia,serif !important; font-size:26px !important; line-height:1.25 !important; font-weight:500 !important; color:#fff !important; margin:0 0 6px !important; }
html body #contenido #lgx-caso .lgx-caso__s { font-size:14.5px !important; color:#9fd0b5 !important; }
html body #contenido #lgx-caso a { color:#fff !important; font-weight:600 !important; font-size:16px !important; display:inline-flex !important; gap:8px !important; align-items:center !important; white-space:nowrap !important; text-decoration:underline !important; text-underline-offset:4px !important; }
html body #contenido #lgx-caso a svg { width:20px !important; height:20px !important; }
html body #contenido .x-search .ed-results .ed-results__call a { justify-content:flex-start !important; background:#e3f0e8 !important; color:#123d2b !important; margin:6px 0 !important; border-radius:8px !important; font-size:15.5px !important; }
html body #contenido .x-search .ed-results .ed-results__call strong { font-family:"Public Sans",system-ui,sans-serif !important; font-size:15.5px !important; font-weight:600 !important; color:#1e5b41 !important; text-decoration:underline !important; margin-left:4px !important; }
html body #contenido .x-note a { font-weight:600 !important; text-decoration:underline !important; text-underline-offset:3px !important; }
html body #contenido #lgx-llamada.lgx-enhero { padding:0 !important; margin:0 !important; background:transparent !important; position:relative !important; z-index:2 !important; scroll-margin-top:96px !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__card { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:20px !important; padding:30px 30px 26px !important; background:#fbfaf6 !important; border:0 !important; border-radius:18px !important; box-shadow:0 32px 70px -24px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.08) !important; max-width:none !important; width:auto !important; position:relative !important; overflow:hidden !important; text-align:left !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__card::before { content:"" !important; position:absolute !important; left:0 !important; right:0 !important; top:0 !important; bottom:auto !important; width:auto !important; height:4px !important; background:linear-gradient(90deg,#c8a24a,#1e5b41) !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__intro { align-self:start !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__eyebrow { color:#1e5b41 !important; -webkit-text-fill-color:#1e5b41 !important; margin:0 0 12px !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__title { font-family:"Newsreader",Georgia,serif !important; font-size:clamp(25px,2.1vw,30px) !important; font-weight:500 !important; line-height:1.12 !important; letter-spacing:-.015em !important; color:#14211b !important; -webkit-text-fill-color:#14211b !important; margin:0 0 10px !important; max-width:none !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__text { font-size:15.5px !important; line-height:1.55 !important; color:#3d4a42 !important; -webkit-text-fill-color:#3d4a42 !important; margin:0 !important; max-width:none !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__form { gap:14px !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__field span { color:#14211b !important; -webkit-text-fill-color:#14211b !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__field input { color:#14211b !important; -webkit-text-fill-color:#14211b !important; background:#fff !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__consent, html body #contenido #lgx-llamada.lgx-enhero .lg-quick__consent span { color:#3d4a42 !important; -webkit-text-fill-color:#3d4a42 !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__consent a { color:#1e5b41 !important; -webkit-text-fill-color:#1e5b41 !important; }
html body #contenido #lgx-llamada.lgx-enhero .lg-quick__alt { color:#5a665f !important; -webkit-text-fill-color:#5a665f !important; text-align:center !important; font-size:14px !important; margin:0 !important; }
@media (min-width: 1100px) {
  html body #contenido .x-hero__in { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(360px,420px) !important; column-gap:clamp(40px,4.5vw,72px) !important; align-items:start !important; }
  html body #contenido .x-hero__in > * { grid-column:1 !important; }
  html body #contenido .x-hero__in > #lgx-llamada { grid-column:2 !important; grid-row:1 / span 7 !important; align-self:center !important; }
  html body #contenido .x-hero .x-h1 { font-size:clamp(46px,4.6vw,74px) !important; }
}
@media (max-width: 1099px) {
  html body #contenido #lgx-llamada.lgx-enhero { margin-top:28px !important; max-width:560px !important; }
}
@media (max-width: 760px) {
  html body #contenido #lgx-llamada.lgx-enhero .lg-quick__card { padding:24px 18px 20px !important; gap:16px !important; border-radius:16px !important; }
  html body #contenido #lgx-llamada.lgx-enhero .lg-quick__title { font-size:24px !important; }
}
@media (max-width: 760px) {
  html body #contenido .x-hero__shade { background:linear-gradient(180deg, rgba(4,12,9,.86) 0%, rgba(4,12,9,.78) 55%, rgba(4,12,9,.92) 100%) !important; opacity:1 !important; }
  html body #contenido .hap-stage-card .hap-stage-row, html body #contenido .hap-stage-card .hap-stage-row.is-active { grid-template-columns:40px minmax(0,1fr) !important; width:auto !important; min-width:0 !important; max-width:100% !important; box-sizing:border-box !important; }
  html body #contenido .hap-stage-card .hap-stage-row > div { min-width:0 !important; }
  html body #contenido .hap-stage-card .hap-stage-row strong { white-space:normal !important; overflow:visible !important; text-overflow:clip !important; overflow-wrap:anywhere !important; }
  html body #contenido .hap-stage-card .hap-stage-badge { grid-column:2 !important; justify-self:start !important; white-space:normal !important; max-width:100% !important; }
  html body #contenido #lgx-caso .lgx-caso__in { flex-direction:column !important; align-items:flex-start !important; gap:16px !important; padding:28px 16px !important; }
  html body #contenido #lgx-caso .lgx-caso__t { font-size:22px !important; }
}
}

/* /assets/css/legalia-design-system.css */
/*
 * LEGALIA DESIGN SYSTEM — contrato visual global (safe core)
 * ------------------------------------------------------------
 * Este archivo define TOKENS y primitivas opt-in. No cambia fondos,
 * colores o componentes de plantillas existentes de forma global.
 *
 * Regla de seguridad: una superficie y sus textos/componentes forman
 * una unidad. Nunca se cambia solo el fondo de una seccion legacy.
 */

:root {
  /* Marca */
  --lg-brand-ink-deep: #030a08;
  --lg-brand-ink: #07140f;
  --lg-brand-ink-2: #08110e;
  --lg-brand-green: #1fb383;
  --lg-brand-green-bright: #20ce74;
  --lg-brand-green-dark: #0e3c2b;
  --lg-brand-gold: #d4af37;
  --lg-brand-gold-news: #e8cf68;
  --lg-brand-gold-light: #f5e2a2;

  /* Superficies */
  --lg-surface-dark: #030a08;
  --lg-surface-dark-2: #07140f;
  --lg-surface-panel-dark: #0a1713;
  --lg-surface-white: #ffffff;
  --lg-surface-soft: #f4f7f5;
  --lg-surface-warm: #f7f4e9;

  /* Texto */
  --lg-text-on-dark: #f7fbf9;
  --lg-text-muted-on-dark: rgba(255,255,255,.72);
  --lg-text-dark: #07140f;
  --lg-text-body: #34453d;
  --lg-text-muted-dark: #657169;

  /* Lineas y elevacion */
  --lg-border-light: #e6dfcc;
  --lg-border-soft: rgba(7,20,15,.10);
  --lg-border-dark: rgba(255,255,255,.12);
  --lg-shadow-card-light: 0 22px 65px rgba(7,20,15,.08);
  --lg-shadow-card-dark: 0 24px 70px rgba(0,0,0,.20);
  --lg-shadow-elevated: 0 28px 90px rgba(0,0,0,.28);

  /* Layout */
  --lg-container: 1190px;
  --lg-gutter: 36px;
  --lg-section-y: 78px;
  --lg-radius-button: 13px;
  --lg-radius-card: 24px;
  --lg-radius-panel: 28px;

  /* Tipografia */
  --lg-font-sans: "Inter", Arial, Helvetica, system-ui, -apple-system, "Segoe UI", sans-serif;
  --lg-font-display: "Playfair Display", Georgia, serif;
}

/*
 * Primitivas OPT-IN para paginas nuevas.
 * Prefijo lgds- para no colisionar con clases historicas .lg-*.
 */
.lgds-container {
  width: min(var(--lg-container), calc(100% - var(--lg-gutter)));
  margin-inline: auto;
}

.lgds-section {
  padding-block: var(--lg-section-y);
}

.lgds-surface-dark {
  background: linear-gradient(135deg, var(--lg-brand-ink-deep), var(--lg-brand-green-dark));
  color: var(--lg-text-on-dark);
}
.lgds-surface-light {
  background: var(--lg-surface-white);
  color: var(--lg-text-dark);
}
.lgds-surface-soft {
  background: var(--lg-surface-soft);
  color: var(--lg-text-dark);
}

.lgds-card-dark {
  padding: 28px;
  border: 1px solid var(--lg-border-dark);
  border-radius: var(--lg-radius-card);
  background: rgba(255,255,255,.055);
  color: var(--lg-text-on-dark);
  box-shadow: var(--lg-shadow-card-dark);
}
.lgds-card-light {
  padding: 28px;
  border: 1px solid var(--lg-border-light);
  border-radius: var(--lg-radius-card);
  background: var(--lg-surface-white);
  color: var(--lg-text-dark);
  box-shadow: var(--lg-shadow-card-light);
}

.lgds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--lg-radius-button);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}
.lgds-btn-primary {
  color: var(--lg-brand-ink-deep) !important;
  background: linear-gradient(135deg, var(--lg-brand-gold), var(--lg-brand-gold-light));
  box-shadow: 0 14px 36px rgba(212,175,55,.24);
}
.lgds-btn-secondary-dark {
  color: #fff !important;
  border: 1px solid rgba(245,226,162,.30);
  background: rgba(255,255,255,.07);
}

/* Solo aparece al navegar con teclado; no altera el layout normal. */
:focus-visible {
  outline: 3px solid var(--lg-brand-gold-light);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  :root {
    --lg-gutter: 28px;
    --lg-section-y: 58px;
  }
  .lgds-btn { width: 100%; }
  .lgds-card-dark,
  .lgds-card-light { padding: 22px; border-radius: 22px; }
}

/* ========================================================================
 * HOME HERO NORMALIZATION — legacy full-photo heroes
 * 2026-09-05
 *
 * These selectors are intentionally page-specific. They remove only the two
 * legacy full-bleed photographic heroes that remained on Services and About.
 * They do NOT touch profile portraits, authority avatars, editorial images,
 * qh/urban/jp families or any page content.
 * ======================================================================== */
main.lg-unique-main > .lg-hero,
main.lg-about-page > .lg-hero {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 92px 0 68px !important;
  background: linear-gradient(180deg, #06150f 0%, #0a2f22 100%) !important;
  background-image: linear-gradient(180deg, #06150f 0%, #0a2f22 100%) !important;
  color: #f7fbf9 !important;
  border-bottom: 1px solid rgba(255,255,255,.09) !important;
  font-family: var(--lg-font-sans) !important;
}

/* No full-bleed photography or old decorative technical overlay in these heroes. */
main.lg-unique-main > .lg-hero .lg-hero-media,
main.lg-about-page > .lg-hero .lg-hero-media,
main.lg-unique-main > .lg-hero .lg-tech-notes,
main.lg-about-page > .lg-hero .lg-tech-notes {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

main.lg-unique-main > .lg-hero::before,
main.lg-unique-main > .lg-hero::after,
main.lg-about-page > .lg-hero::before,
main.lg-about-page > .lg-hero::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

main.lg-unique-main > .lg-hero .lg-container,
main.lg-about-page > .lg-hero .lg-container {
  position: relative !important;
  z-index: 2 !important;
  width: min(1180px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

main.lg-unique-main > .lg-hero .lg-grid,
main.lg-unique-main > .lg-hero .lg-grid-no-sidecard,
main.lg-about-page > .lg-hero .lg-grid,
main.lg-about-page > .lg-hero .lg-grid-no-sidecard {
  display: block !important;
  grid-template-columns: 1fr !important;
}

main.lg-unique-main > .lg-hero .lg-hero-copy-only,
main.lg-about-page > .lg-hero .lg-hero-copy-only {
  width: 100% !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
  text-align: center !important;
  transform: none !important;
}

main.lg-unique-main > .lg-hero [data-hero-reveal],
main.lg-about-page > .lg-hero [data-hero-reveal] {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

main.lg-unique-main > .lg-hero .lg-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  margin: 0 auto 20px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.055) !important;
  color: #c7cdca !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
main.lg-unique-main > .lg-hero .lg-badge::before {
  width: 7px !important;
  height: 7px !important;
  background: var(--lg-brand-green-bright) !important;
  box-shadow: 0 0 0 4px rgba(32,206,116,.12) !important;
}

/* Services H1 and About H1 use different legacy class names; normalize both. */
main.lg-unique-main > .lg-hero .lg-title,
main.lg-about-page > .lg-hero .lg-main-subtitle {
  display: block !important;
  max-width: 1060px !important;
  margin: 0 auto 22px !important;
  color: #fff !important;
  font-family: var(--lg-font-sans) !important;
  font-size: clamp(42px, 5vw, 68px) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  font-weight: 950 !important;
  text-align: center !important;
  text-wrap: balance !important;
  text-shadow: 0 12px 30px rgba(0,0,0,.18) !important;
}
main.lg-unique-main > .lg-hero .lg-title::after {
  display: none !important;
  content: none !important;
}

main.lg-unique-main > .lg-hero .lg-desc,
main.lg-about-page > .lg-hero .lg-desc,
main.lg-about-page > .lg-hero .lg-main-subtitle + .lg-desc {
  display: block !important;
  max-width: 880px !important;
  max-height: none !important;
  margin: 0 auto !important;
  color: rgba(255,255,255,.72) !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.62 !important;
  font-weight: 400 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-shadow: none !important;
}
main.lg-unique-main > .lg-hero .lg-desc strong,
main.lg-about-page > .lg-hero .lg-desc strong {
  color: #fff !important;
}

main.lg-unique-main > .lg-hero .lg-pills,
main.lg-about-page > .lg-hero .lg-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 9px !important;
  max-width: 940px !important;
  margin: 24px auto 0 !important;
}
main.lg-unique-main > .lg-hero .lg-pill,
main.lg-about-page > .lg-hero .lg-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 38px !important;
  padding: 9px 13px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.055) !important;
  color: rgba(255,255,255,.82) !important;
  font-size: 12.5px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

main.lg-unique-main > .lg-hero .lg-hero-choice,
main.lg-about-page > .lg-hero .lg-hero-choice {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 24px auto 0 !important;
}
main.lg-unique-main > .lg-hero .lg-btn,
main.lg-about-page > .lg-hero .lg-btn {
  width: auto !important;
  min-width: 220px !important;
  min-height: 54px !important;
  padding: 14px 22px !important;
  border-radius: 16px !important;
  font-family: var(--lg-font-sans) !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}
main.lg-unique-main > .lg-hero .lg-btn-whatsapp,
main.lg-about-page > .lg-hero .lg-btn-whatsapp {
  border: 1px solid rgba(104,255,184,.42) !important;
  background: linear-gradient(135deg,#29d86a 0%,#18c660 48%,#10994a 100%) !important;
  color: #fff !important;
  box-shadow: 0 20px 44px rgba(0,0,0,.22), 0 0 28px rgba(37,211,102,.18) !important;
}
main.lg-unique-main > .lg-hero .lg-btn-email,
main.lg-about-page > .lg-hero .lg-btn-email {
  border: 1px solid rgba(255,255,255,.18) !important;
  background: linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,.07)) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.18) !important;
}

/* Legacy plain-text price link must never fall back to browser purple/blue. */
main.lg-unique-main > .lg-hero p > strong > a,
main.lg-about-page > .lg-hero p > strong > a {
  color: var(--lg-brand-gold-light) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(245,226,162,.42) !important;
  padding-bottom: 2px !important;
}

main.lg-unique-main > .lg-hero .lg-hero-footnote,
main.lg-about-page > .lg-hero .lg-hero-footnote {
  max-width: 820px !important;
  margin: 18px auto 0 !important;
  color: rgba(255,255,255,.58) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  text-align: center !important;
  text-shadow: none !important;
}

@media (max-width: 720px) {
  main.lg-unique-main > .lg-hero,
  main.lg-about-page > .lg-hero {
    padding: 64px 0 52px !important;
  }
  main.lg-unique-main > .lg-hero .lg-container,
  main.lg-about-page > .lg-hero .lg-container {
    width: min(100% - 28px, 1180px) !important;
  }
  main.lg-unique-main > .lg-hero .lg-title,
  main.lg-about-page > .lg-hero .lg-main-subtitle {
    font-size: clamp(36px, 10.5vw, 48px) !important;
    line-height: 1.02 !important;
  }
  main.lg-unique-main > .lg-hero .lg-desc,
  main.lg-about-page > .lg-hero .lg-desc,
  main.lg-about-page > .lg-hero .lg-main-subtitle + .lg-desc {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  main.lg-unique-main > .lg-hero .lg-hero-choice,
  main.lg-about-page > .lg-hero .lg-hero-choice {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  main.lg-unique-main > .lg-hero .lg-btn,
  main.lg-about-page > .lg-hero .lg-btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* /assets/css/extracted/header-style-1.css */
/* Extracted from header.php style block 1. */
.legalia-header-scope{--lh-bg:#030a08;--lh-panel:#07110e;--lh-gold:#d4af37;--lh-gold-2:#f5e2a2;--lh-green:#1fb383;--lh-text:#f7fbf9;--lh-muted:rgba(255,255,255,.68);--lh-border:rgba(255,255,255,.12);position:relative;z-index:10000;font-family:"Inter",Arial,Helvetica,sans-serif}.legalia-header-scope *,.legalia-header-scope *::before,.legalia-header-scope *::after{box-sizing:border-box}.legalia-header-scope .skip-link{position:absolute;top:-52px;left:16px;z-index:10050;padding:10px 14px;border-radius:12px;background:#f7fbf9;color:#030a08;font-weight:900;text-decoration:none;box-shadow:0 18px 45px rgba(0,0,0,.35);transition:top .2s ease}.legalia-header-scope .skip-link:focus{top:16px}.legalia-header-scope .site-header{position:sticky;top:0;z-index:10000;display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;min-height:72px;padding:12px clamp(18px,4vw,54px);background:radial-gradient(circle at 18% 0%,rgba(31,179,131,.15),transparent 30%),linear-gradient(180deg,rgba(7,17,14,.97) 0%,rgba(3,10,8,.97) 100%);border-bottom:1px solid var(--lh-border);box-shadow:none;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:var(--lh-text);flex-wrap:nowrap}.legalia-header-scope .brand{display:inline-flex;flex-direction:column;gap:3px;flex:0 0 auto;min-width:188px;color:var(--lh-text)!important;text-decoration:none!important;line-height:1.02}.legalia-header-scope .main-nav{display:flex;align-items:center;justify-content:center;gap:4px;flex:1 1 auto;min-width:0}.legalia-header-scope .nav-link,.legalia-header-scope .nav-dropdown-toggle{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border:0;border-radius:999px;background:transparent;color:rgba(255,255,255,.78)!important;font:inherit;font-size:13.5px;font-weight:850;line-height:1;text-decoration:none!important;white-space:nowrap;cursor:pointer;transition:background .2s ease,color .2s ease,transform .2s ease}.legalia-header-scope .nav-link:hover,.legalia-header-scope .nav-link:focus-visible,.legalia-header-scope .nav-link.is-current,.legalia-header-scope .nav-dropdown-toggle:hover,.legalia-header-scope .nav-dropdown-toggle:focus-visible,.legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle,.legalia-header-scope .nav-item.open>.nav-dropdown-toggle{background:rgba(255,255,255,.08);color:#fff!important;transform:translateY(-1px);outline:none}.legalia-header-scope .nav-link.is-current::after,.legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle::before{content:"";position:absolute;left:17px;right:17px;bottom:6px;height:2px;border-radius:999px;background:linear-gradient(90deg,var(--lh-gold),var(--lh-gold-2))}.legalia-header-scope .nav-dropdown-toggle::after{content:"";width:7px;height:7px;margin-left:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}.legalia-header-scope .nav-item.open>.nav-dropdown-toggle::after{transform:translateY(1px) rotate(225deg)}.legalia-header-scope .nav-item{position:relative;display:inline-flex}.legalia-header-scope .nav-flyout{position:absolute;top:100%;left:50%;width:min(88vw,360px);padding-top:18px;transform:translateX(-50%) translateY(8px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}.legalia-header-scope .nav-item.open .nav-flyout,.legalia-header-scope .nav-item:hover .nav-flyout,.legalia-header-scope .nav-item:focus-within .nav-flyout{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}.legalia-header-scope .nav-flyout::before{content:"";position:absolute;top:0;left:0;right:0;height:20px;background:transparent}.legalia-header-scope .nav-flyout-box{padding:12px;border-radius:20px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(180deg,rgba(7,16,13,.985) 0%,rgba(3,10,8,.985) 100%);box-shadow:0 24px 70px rgba(0,0,0,.48);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.legalia-header-scope .nav-flyout-title{margin:0 0 8px;padding:0 2px;color:var(--lh-gold);font-size:11px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.legalia-header-scope .nav-flyout-grid{display:grid;grid-template-columns:1fr;gap:2px}.legalia-header-scope .nav-flyout a{display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px 11px;border-radius:14px;color:rgba(255,255,255,.86)!important;text-decoration:none!important;font-size:13.5px;font-weight:820;line-height:1.25;transition:background .18s ease,color .18s ease,transform .18s ease}.legalia-header-scope .nav-flyout a::before{content:"";flex:0 0 auto;width:7px;height:7px;margin-top:4px;border-radius:99px;background:linear-gradient(135deg,var(--lh-gold),var(--lh-green));box-shadow:0 0 0 4px rgba(212,175,55,.08)}.legalia-header-scope .nav-flyout a:hover,.legalia-header-scope .nav-flyout a:focus-visible{background:rgba(255,255,255,.08);color:#fff!important;transform:translateX(2px);outline:none}.legalia-header-scope .nav-flyout-note{display:block;margin-top:3px;color:rgba(255,255,255,.50);font-size:12px;font-weight:650;line-height:1.35}.legalia-header-scope .header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:0 0 auto}.legalia-header-scope .phone,.legalia-header-scope .header-wa,.legalia-header-scope .header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border-radius:999px;font-size:13.5px;font-weight:950;text-decoration:none!important;white-space:nowrap}.legalia-header-scope .phone{color:var(--lh-gold-2)!important;border:1px solid rgba(212,175,55,.35);background:rgba(212,175,55,.08)}.legalia-header-scope .header-wa{color:#dffdf1!important;border:1px solid rgba(31,179,131,.42);background:rgba(31,179,131,.12);box-shadow:0 10px 26px rgba(31,179,131,.12);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.legalia-header-scope .header-wa:hover,.legalia-header-scope .header-wa:focus-visible{transform:translateY(-1px);background:rgba(31,179,131,.18);box-shadow:0 14px 34px rgba(31,179,131,.18);outline:none}.legalia-header-scope .header-cta{color:#03100c!important;background:linear-gradient(135deg,var(--lh-gold) 0%,var(--lh-gold-2) 52%,var(--lh-gold) 100%);box-shadow:0 12px 32px rgba(212,175,55,.24);transition:transform .2s ease,box-shadow .2s ease}.legalia-header-scope .header-cta:hover,.legalia-header-scope .header-cta:focus-visible{transform:translateY(-1px);box-shadow:0 16px 42px rgba(212,175,55,.34);outline:none}.legalia-header-scope .mobile-nav-toggle{display:none;width:46px;height:46px;margin-left:auto;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}.legalia-header-scope .mobile-nav-toggle span,.legalia-header-scope .mobile-nav-toggle::before,.legalia-header-scope .mobile-nav-toggle::after{content:"";display:block;width:19px;height:2px;margin:4px auto;border-radius:99px;background:currentColor;transition:transform .2s ease,opacity .2s ease}.legalia-header-scope .site-header.nav-open .mobile-nav-toggle::before{transform:translateY(6px) rotate(45deg)}.legalia-header-scope .site-header.nav-open .mobile-nav-toggle span{opacity:0}.legalia-header-scope .site-header.nav-open .mobile-nav-toggle::after{transform:translateY(-6px) rotate(-45deg)}@media(max-width:1320px){.legalia-header-scope .nav-link,.legalia-header-scope .nav-dropdown-toggle{padding-left:10px;padding-right:10px;font-size:13px}}@media(max-width:1120px){.legalia-header-scope .site-header{gap:12px;padding-left:18px;padding-right:18px}}@media(max-width:1099px){.legalia-header-scope .main-nav,.legalia-header-scope .header-actions{display:none;flex:0 0 100%;width:100%}.legalia-header-scope .site-header.nav-open .main-nav,.legalia-header-scope .site-header.nav-open .header-actions{display:flex}.legalia-header-scope .main-nav{order:3;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:7px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}.legalia-header-scope .nav-link,.legalia-header-scope .nav-dropdown-toggle{justify-content:space-between;width:100%;min-height:46px;padding:0 14px;border-radius:15px;background:rgba(255,255,255,.08);font-size:14px}.legalia-header-scope .nav-link.is-current::after,.legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle::before{display:none}.legalia-header-scope .nav-item{display:block;width:100%}.legalia-header-scope .nav-flyout{position:static;width:100%;transform:none;opacity:1;visibility:visible;pointer-events:auto;display:none;padding-top:7px;transition:none}.legalia-header-scope .nav-item.open .nav-flyout,.legalia-header-scope .nav-item:focus-within .nav-flyout{display:block;transform:none}.legalia-header-scope .header-actions{order:4;flex-direction:column;align-items:stretch;gap:9px;padding-top:10px}.legalia-header-scope .header-wa,.legalia-header-scope .header-cta{width:100%;min-height:46px}}@media(max-width:420px){.legalia-header-scope .nav-flyout a{font-size:13px}}


  /* LOGO REAL LEGALIA - no sustituir por texto */
  .legalia-header-scope .brand.brand-logo{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:row!important;
    gap:0!important;
    flex:0 0 auto!important;
    min-width:0!important;
    width:clamp(104px,10vw,146px)!important;
    max-width:146px!important;
    min-height:42px!important;
    padding:4px 8px!important;
    line-height:1!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(242,247,245,.88))!important;
    border:1px solid rgba(245,226,162,.38)!important;
    box-shadow:0 10px 26px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.90)!important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease!important;
  }
  .legalia-header-scope .brand.brand-logo:hover,
  .legalia-header-scope .brand.brand-logo:focus-visible{
    transform:translateY(-1px)!important;
    border-color:rgba(245,226,162,.70)!important;
    background:linear-gradient(180deg,rgba(255,255,255,1),rgba(248,251,250,.94))!important;
    box-shadow:0 14px 34px rgba(0,0,0,.26),0 0 0 4px rgba(212,175,55,.08), inset 0 1px 0 rgba(255,255,255,.96)!important;
    outline:none!important;
  }
  .legalia-header-scope .brand-logo-img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-height:22px!important;
    object-fit:contain!important;
    object-position:center center!important;
  }
  
  


  /* AJUSTE DEFINITIVO HEADER RESPONSIVE DESKTOP
     - El logo ya actua como Inicio, por eso se oculta el enlace Inicio en escritorio.
     - En escritorio se recupera el telefono como enlace compacto.
     - WhatsApp queda dentro del menu movil para evitar saltos a dos lineas. */
  @media(min-width:1100px){
    .legalia-header-scope .site-header{
      flex-wrap:nowrap!important;
      gap:12px!important;
      min-height:66px!important;
      padding-top:10px!important;
      padding-bottom:10px!important;
      padding-left:clamp(16px,3vw,42px)!important;
      padding-right:clamp(16px,3vw,42px)!important;
      overflow:visible!important;
    }
    
    
    .legalia-header-scope .main-nav{
      flex:1 1 auto!important;
      min-width:0!important;
      justify-content:center!important;
      gap:2px!important;
      overflow:visible!important;
    }
    .legalia-header-scope .nav-home{
      display:none!important;
    }
    .legalia-header-scope .nav-link,
    .legalia-header-scope .nav-dropdown-toggle{
      min-height:38px!important;
      padding:8px 9px!important;
      font-size:12.9px!important;
      letter-spacing:-.01em!important;
    }
    .legalia-header-scope .nav-dropdown-toggle::after{
      width:6px!important;
      height:6px!important;
      margin-left:6px!important;
    }
    .legalia-header-scope .header-actions{
      flex:0 0 auto!important;
      gap:6px!important;
      min-width:max-content!important;
    }
    
    .legalia-header-scope .header-actions .header-wa{
      display:none!important;
    }
    
  }
  @media(max-width:1099px){
    .legalia-header-scope .nav-home{
      display:flex!important;
    }
    .legalia-header-scope .header-actions .phone,
    .legalia-header-scope .header-actions .header-wa{
      display:flex!important;
    }
  }
  @media(min-width:1100px) and (max-width:1180px){
    .legalia-header-scope .nav-link,
    .legalia-header-scope .nav-dropdown-toggle{
      padding-left:7px!important;
      padding-right:7px!important;
      font-size:12.5px!important;
    }
    .legalia-header-scope .header-actions .phone{
      padding-left:8px!important;
      padding-right:8px!important;
      font-size:12.2px!important;
    }
    .legalia-header-scope .header-cta{
      padding-left:10px!important;
      padding-right:10px!important;
      font-size:12.2px!important;
    }
  }

/* Header gestionado por grupos - 2026-05-10 */
.legalia-header-scope .nav-flyout-section{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:6px 0 8px;
  border-top:1px solid rgba(255,255,255,.08);
}
.legalia-header-scope .nav-flyout-section:first-child{border-top:0;padding-top:0;}
.legalia-header-scope .nav-flyout-heading{
  margin:4px 2px 5px;
  color:rgba(245,226,162,.88);
  font-size:10.5px;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}
@media(min-width:1100px){
  
  .legalia-header-scope .nav-item--zones .nav-flyout-grid,
  .legalia-header-scope .nav-item--services .nav-flyout-grid,
  .legalia-header-scope .nav-item--types .nav-flyout-grid,
  .legalia-header-scope .nav-item--resources .nav-flyout-grid{
    gap:4px!important;
  }
}
@media(max-width:1099px){
  .legalia-header-scope .nav-flyout-section{
    padding:8px 0;
  }
  .legalia-header-scope .nav-flyout-heading{
    margin:5px 8px 6px;
  }
}

/* Ajuste mobile compacto header - 2026-05-10
   Evita que CSS global de la home convierta el header en columna. */
@media(max-width:1099px){
  .legalia-header-scope .site-header{
    position:sticky!important;
    top:0!important;
    z-index:10000!important;
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    min-height:58px!important;
    padding:8px 16px!important;
    background:radial-gradient(circle at 18% 0%,rgba(31,179,131,.12),transparent 30%),linear-gradient(180deg,rgba(7,17,14,.98) 0%,rgba(3,10,8,.98) 100%)!important;
  }
  .legalia-header-scope .brand.brand-logo{
    order:1!important;
    margin:0!important;
    width:112px!important;
    max-width:112px!important;
    min-height:34px!important;
    padding:3px 8px!important;
    align-self:center!important;
  }
  .legalia-header-scope .brand-logo-img{
    max-height:18px!important;
  }
  .legalia-header-scope .mobile-nav-toggle{
    order:2!important;
    display:block!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    margin:0!important;
    border-radius:14px!important;
    align-self:center!important;
  }
  .legalia-header-scope .main-nav{
    order:3!important;
    flex:0 0 100%!important;
    width:100%!important;
    margin-top:6px!important;
    padding-top:10px!important;
  }
  .legalia-header-scope .header-actions{
    order:4!important;
    flex:0 0 100%!important;
    width:100%!important;
  }
}



/* Cabecera Legalia: regla única limpia */
html body .legalia-header-scope,
html body .legalia-header-scope::before,
html body .legalia-header-scope::after{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body .legalia-header-scope > header.site-header,
html body header.site-header[data-legalia-site-header]{
  background:rgba(3,10,8,.30)!important;
  background-color:rgba(3,10,8,.30)!important;
  background-image:none!important;
  border-bottom:1px solid rgba(255,255,255,.06)!important;
  box-shadow:none!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  transition:background-color .25s ease,box-shadow .25s ease,backdrop-filter .25s ease,border-color .25s ease!important;
}
html body .legalia-header-scope > header.site-header.is-scrolled,
html body .legalia-header-scope > header.site-header.nav-open,
html body header.site-header[data-legalia-site-header].is-scrolled,
html body header.site-header[data-legalia-site-header].nav-open{
  background:rgba(3,10,8,.88)!important;
  background-color:rgba(3,10,8,.88)!important;
  background-image:none!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
html body .legalia-header-scope > header.site-header::before,
html body .legalia-header-scope > header.site-header::after,
html body header.site-header[data-legalia-site-header]::before,
html body header.site-header[data-legalia-site-header]::after{
  content:none!important;
  display:none!important;
  opacity:0!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}


/* DARK HEADER FIX 2026-05-14
   Fuerza el header oscuro para que no aparezca una franja clara en paginas nuevas. */
html,body{margin:0!important;background:#030a08!important;}

.legalia-header-scope .site-header{
  background:radial-gradient(circle at 18% 0%,rgba(31,179,131,.16),transparent 32%),linear-gradient(180deg,rgba(7,17,14,.99) 0%,rgba(3,10,8,.99) 100%)!important;
  border-bottom:1px solid rgba(245,226,162,.13)!important;
  box-shadow:0 14px 38px rgba(0,0,0,.22)!important;
  color:#f7fbf9!important;
}
.legalia-header-scope .nav-link,
.legalia-header-scope .nav-dropdown-toggle{
  color:rgba(247,251,249,.80)!important;
}
.legalia-header-scope .nav-link:hover,
.legalia-header-scope .nav-dropdown-toggle:hover,
.legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle,
.legalia-header-scope .nav-item.open>.nav-dropdown-toggle{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
}

/* FIX 2026-06-06: menú hamburguesa móvil robusto */
@media(max-width:760px){
  html.legalia-nav-open,
  body.legalia-nav-open{overflow:hidden!important;}
  
  .legalia-header-scope .site-header{
    position:fixed!important;top:0!important;left:0!important;right:0!important;transform:none!important;
    width:100%!important;max-width:none!important;height:auto!important;min-height:68px!important;
    padding:calc(env(safe-area-inset-top,0px) + 10px) 14px 10px!important;
    border-radius:0 0 20px 20px!important;background:rgba(7,26,19,.985)!important;
    border:0!important;border-bottom:1px solid rgba(245,226,162,.14)!important;
    box-shadow:0 14px 34px rgba(0,0,0,.24)!important;display:flex!important;
    align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px!important;
    overflow:visible!important;z-index:99991!important;
  }
  .legalia-header-scope .site-header.nav-open{align-items:center!important;max-height:calc(100dvh - 8px)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;background:rgba(7,26,19,.995)!important;}
  .legalia-header-scope .brand.brand-logo,.legalia-header-scope .brand{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;flex:0 1 auto!important;width:auto!important;max-width:calc(100% - 58px)!important;min-height:42px!important;margin:0!important;padding:0 15px!important;border-radius:999px!important;background:#f6f4ed!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .legalia-header-scope .brand-logo-img{width:92px!important;max-width:92px!important;max-height:24px!important;height:auto!important;filter:none!important;}
  .legalia-header-scope .mobile-nav-toggle{position:relative!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;margin:0!important;padding:0!important;border-radius:14px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important;cursor:pointer!important;z-index:99993!important;pointer-events:auto!important;touch-action:manipulation!important;}
  .legalia-header-scope .mobile-nav-toggle span,.legalia-header-scope .mobile-nav-toggle::before,.legalia-header-scope .mobile-nav-toggle::after{display:block!important;width:22px!important;height:2px!important;margin:4px auto!important;border-radius:10px!important;background:#fff!important;transition:transform .2s ease,opacity .2s ease!important;}
  .legalia-header-scope .main-nav,.legalia-header-scope .header-actions{position:static!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;display:none!important;flex:0 0 100%!important;width:100%!important;margin:0!important;z-index:auto!important;}
  .legalia-header-scope .site-header.nav-open .main-nav,.legalia-header-scope .site-header.nav-open .header-actions{display:flex!important;}
  .legalia-header-scope .main-nav{order:3!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;padding:12px 0 0!important;border-top:1px solid rgba(255,255,255,.10)!important;}
  .legalia-header-scope .nav-item,.legalia-header-scope .nav-link,.legalia-header-scope .nav-dropdown-toggle{width:100%!important;}
  .legalia-header-scope .nav-link,.legalia-header-scope .nav-dropdown-toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:46px!important;padding:0 14px!important;border-radius:14px!important;background:rgba(255,255,255,.065)!important;color:#fff!important;font-size:14px!important;font-weight:850!important;white-space:normal!important;text-align:left!important;}
  .legalia-header-scope .nav-flyout{position:static!important;display:none!important;width:100%!important;padding-top:7px!important;transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
  .legalia-header-scope .nav-item.open .nav-flyout{display:block!important;}
  
  .legalia-header-scope .nav-flyout a{white-space:normal!important;}
  .legalia-header-scope .header-actions{order:4!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:10px 0 2px!important;border-top:1px solid rgba(255,255,255,.08)!important;background:transparent!important;border-radius:0!important;}
  .legalia-header-scope .header-actions .phone,.legalia-header-scope .header-actions .header-wa,.legalia-header-scope .header-actions .header-cta{display:flex!important;width:100%!important;min-height:46px!important;justify-content:center!important;text-align:center!important;border-radius:13px!important;}
}


/* SOURCE FIX 2026-07-01: header bar solid very dark green, no translucent gray over hero */
@media (min-width:1100px){
  html body .legalia-header-scope > header.site-header,
  html body header.site-header[data-legalia-site-header],
  html body .legalia-header-scope > header.site-header.is-scrolled,
  html body .legalia-header-scope > header.site-header.nav-open,
  html body header.site-header[data-legalia-site-header].is-scrolled,
  html body header.site-header[data-legalia-site-header].nav-open{
    background:#030a08!important;
    background-color:#030a08!important;
    background-image:linear-gradient(180deg,#04100c 0%,#030a08 100%)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    border-bottom:1px solid rgba(245,226,162,.10)!important;
    box-shadow:0 14px 34px rgba(0,0,0,.24)!important;
  }
}

/* v29 simplified header for the four main PPC landings */
.legalia-header-scope .site-header.site-header--ppc{justify-content:space-between!important;flex-wrap:nowrap!important}
.legalia-header-scope .site-header.site-header--ppc .header-actions{display:flex!important;width:auto!important;flex:0 0 auto!important;order:initial!important}

@media(max-width:1099px){
  html body .legalia-header-scope .site-header.site-header--ppc{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;min-height:64px!important;max-height:none!important;padding:9px 13px!important;overflow:visible!important}
  html body .legalia-header-scope .site-header.site-header--ppc .brand.brand-logo{position:static!important;transform:none!important;flex:0 0 auto!important;max-width:none!important;min-height:40px!important;padding:0 13px!important;margin:0!important}
  html body .legalia-header-scope .site-header.site-header--ppc .brand-logo-img{width:92px!important;max-width:92px!important;max-height:24px!important}
  html body .legalia-header-scope .site-header.site-header--ppc .header-actions{position:static!important;display:flex!important;flex:0 0 auto!important;width:auto!important;order:initial!important;flex-direction:row!important;align-items:center!important;gap:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
  html body .legalia-header-scope .site-header.site-header--ppc .header-actions .phone{display:none!important}
  html body .legalia-header-scope .site-header.site-header--ppc .header-actions .header-wa{display:inline-flex!important;width:auto!important;min-height:42px!important;padding:9px 12px!important;border-radius:999px!important;font-size:12.5px!important}
}
@media(max-width:440px){
  html body .legalia-header-scope .site-header.site-header--ppc .header-actions .header-wa{font-size:0!important;padding:9px 11px!important}
}

/* ========================================================================
   LEGALIA HEADER · YAPILY-STYLE TRANSPARENT OVERLAY FINAL · 2026-08-17
   Breakpoint unificado 2026-08-29: movil/tablet <=980px, escritorio >=981px
   ======================================================================== */
html body .legalia-header-scope{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:99990!important;
  width:100%!important;
  background:transparent!important;
  pointer-events:none!important;
}
html body .legalia-header-scope .skip-link,
html body .legalia-header-scope > header.site-header{pointer-events:auto!important;}

@media (min-width:1100px){
  html body .legalia-header-scope > header.site-header,
  html body header.site-header[data-legalia-site-header]{
    position:relative!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    min-height:80px!important;
    padding:15px clamp(30px,3.2vw,54px)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:22px!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    border-bottom:1px solid transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    transition:background-color .24s ease,backdrop-filter .24s ease,-webkit-backdrop-filter .24s ease,border-color .24s ease,box-shadow .24s ease!important;
  }

  html body .legalia-header-scope > header.site-header.is-scrolled,
  html body header.site-header[data-legalia-site-header].is-scrolled{
    background:rgba(6,74,71,.75)!important;
    background-color:rgba(6,74,71,.75)!important;
    background-image:none!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 16px 38px rgba(0,0,0,.14)!important;
    backdrop-filter:blur(14px) saturate(1.08)!important;
    -webkit-backdrop-filter:blur(14px) saturate(1.08)!important;
  }

  /* La cápsula central flota sobre el hero: no hay barra oscura detrás. */
  html body .legalia-header-scope .main-nav{
    width:max-content!important;
    flex:0 1 auto!important;
    margin:0 auto!important;
    padding:6px!important;
    gap:2px!important;
    border-radius:999px!important;
    background:rgba(91,131,128,.31)!important;
    border:1px solid rgba(255,255,255,.065)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 8px 22px rgba(0,0,0,.05)!important;
    backdrop-filter:blur(10px)!important;
    -webkit-backdrop-filter:blur(10px)!important;
  }
  html body .legalia-header-scope .nav-link,
  html body .legalia-header-scope .nav-dropdown-toggle{
    min-height:42px!important;
    padding:0 15px!important;
    color:rgba(248,253,251,.89)!important;
    background:transparent!important;
    font-size:13.5px!important;
    font-weight:760!important;
    border-radius:999px!important;
  }
  html body .legalia-header-scope .nav-link:hover,
  html body .legalia-header-scope .nav-link:focus-visible,
  html body .legalia-header-scope .nav-dropdown-toggle:hover,
  html body .legalia-header-scope .nav-dropdown-toggle:focus-visible,
  html body .legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle,
  html body .legalia-header-scope .nav-item.open>.nav-dropdown-toggle{
    background:rgba(255,255,255,.085)!important;
    color:#fff!important;
    transform:none!important;
  }

  html body .legalia-header-scope .brand.brand-logo{
    width:138px!important;
    max-width:138px!important;
    min-height:44px!important;
    padding:5px 12px!important;
    border-radius:999px!important;
    background:rgba(250,250,247,.97)!important;
    border:1px solid rgba(255,255,255,.40)!important;
    box-shadow:0 10px 25px rgba(0,0,0,.065)!important;
  }
  html body .legalia-header-scope .brand-logo-img{max-height:23px!important;}

  html body .legalia-header-scope .header-actions{gap:10px!important;}
  html body .legalia-header-scope .header-actions .phone{
    display:inline-flex!important;
    min-height:44px!important;
    padding:0 16px!important;
    border-radius:999px!important;
    color:#f6fbf9!important;
    background:rgba(91,131,128,.24)!important;
    border:1px solid rgba(255,255,255,.065)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
    font-size:13px!important;
  }
  html body .legalia-header-scope .header-actions .header-cta{
    min-height:44px!important;
    padding:0 21px!important;
    border-radius:999px!important;
    color:#052d22!important;
    background:linear-gradient(180deg,#dfff34 0%,#caff12 100%)!important;
    border:1px solid rgba(215,255,54,.60)!important;
    box-shadow:0 12px 28px rgba(173,224,13,.16)!important;
    font-size:13px!important;
  }
  html body .legalia-header-scope .header-actions .header-cta:hover,
  html body .legalia-header-scope .header-actions .header-cta:focus-visible{
    transform:translateY(-1px)!important;
    box-shadow:0 16px 32px rgba(173,224,13,.23)!important;
  }
}

@media (max-width:1099px){
  html body .legalia-header-scope > header.site-header,
  html body header.site-header[data-legalia-site-header]{
    position:relative!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  html body .legalia-header-scope > header.site-header.is-scrolled,
  html body header.site-header[data-legalia-site-header].is-scrolled{
    background:rgba(6,74,71,.75)!important;
    background-color:rgba(6,74,71,.75)!important;
    border-bottom:1px solid rgba(255,255,255,.08)!important;
    box-shadow:0 14px 32px rgba(0,0,0,.13)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }
  html body .legalia-header-scope > header.site-header.nav-open,
  html body header.site-header[data-legalia-site-header].nav-open{
    background:rgba(5,49,46,.96)!important;
    background-color:rgba(5,49,46,.96)!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }
}


/* v89: no marcar Servicios en la home y quitar la barrita/underline de los desplegables */
html body .legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle::before,
html body .legalia-header-scope .nav-item.open>.nav-dropdown-toggle::before{
  content:none!important;
  display:none!important;
}


/* v90: unificar definitivamente el header de la home con el resto */
html body .legalia-header-scope .nav-dropdown-toggle::after{
  content:""!important;
  width:7px!important;
  height:7px!important;
  margin-left:8px!important;
  border:0!important;
  border-right:2px solid currentColor!important;
  border-bottom:2px solid currentColor!important;
  font-size:0!important;
  line-height:0!important;
  transform:translateY(-2px) rotate(45deg)!important;
}
html body .legalia-header-scope .nav-item.open>.nav-dropdown-toggle::after{
  transform:translateY(1px) rotate(225deg)!important;
}
html body .legalia-header-scope .nav-item.is-current>.nav-dropdown-toggle::before,
html body .legalia-header-scope .nav-item.open>.nav-dropdown-toggle::before{
  content:none!important;
  display:none!important;
}

/* 5D — cierre del estado tablet del header.
   Entre 761 y 1099 algunas reglas legacy reactivaban las acciones aunque el menu estuviera cerrado. */
@media (max-width:1099px){
  html body .legalia-header-scope .site-header:not(.nav-open) .main-nav,
  html body .legalia-header-scope .site-header:not(.nav-open) .header-actions{
    display:none!important;
  }
}

/* /assets/css/header-flyouts-home-v79.css */
/*
 * Legalia — desplegables globales del header
 * Replica el lenguaje visual del header de la home en cualquier pagina.
 * Deliberadamente limitado a .legalia-header-scope para no alterar el contenido.
 */
@media (min-width:981px){
  .legalia-header-scope .nav-flyout{
    top:calc(100% + 14px)!important;
    left:50%!important;
    width:auto!important;
    min-width:min(760px,calc(100vw - 50px))!important;
    max-width:min(920px,calc(100vw - 40px))!important;
    padding-top:0!important;
    transform:translateX(-50%) translateY(8px)!important;
  }

  .legalia-header-scope .nav-item.open .nav-flyout,
  .legalia-header-scope .nav-item:hover .nav-flyout,
  .legalia-header-scope .nav-item:focus-within .nav-flyout{
    transform:translateX(-50%) translateY(0)!important;
  }

  .legalia-header-scope .nav-item--company .nav-flyout,
  .legalia-header-scope .nav-item--services .nav-flyout,
  .legalia-header-scope .nav-item--types .nav-flyout,
  .legalia-header-scope .nav-item--zones .nav-flyout,
  .legalia-header-scope .nav-item--resources .nav-flyout{
    left:50%!important;
    width:auto!important;
    min-width:min(760px,calc(100vw - 50px))!important;
    transform:translateX(-50%) translateY(8px)!important;
  }

  .legalia-header-scope .nav-item--company.open .nav-flyout,
  .legalia-header-scope .nav-item--services.open .nav-flyout,
  .legalia-header-scope .nav-item--types.open .nav-flyout,
  .legalia-header-scope .nav-item--zones.open .nav-flyout,
  .legalia-header-scope .nav-item--resources.open .nav-flyout,
  .legalia-header-scope .nav-item--company:hover .nav-flyout,
  .legalia-header-scope .nav-item--services:hover .nav-flyout,
  .legalia-header-scope .nav-item--types:hover .nav-flyout,
  .legalia-header-scope .nav-item--zones:hover .nav-flyout,
  .legalia-header-scope .nav-item--resources:hover .nav-flyout,
  .legalia-header-scope .nav-item--company:focus-within .nav-flyout,
  .legalia-header-scope .nav-item--services:focus-within .nav-flyout,
  .legalia-header-scope .nav-item--types:focus-within .nav-flyout,
  .legalia-header-scope .nav-item--zones:focus-within .nav-flyout,
  .legalia-header-scope .nav-item--resources:focus-within .nav-flyout{
    transform:translateX(-50%) translateY(0)!important;
  }

  .legalia-header-scope .nav-flyout-box{
    padding:20px!important;
    border-radius:26px!important;
    border:1px solid rgba(255,255,255,.11)!important;
    background:linear-gradient(180deg,rgba(7,45,43,.97) 0%,rgba(6,29,28,.97) 100%)!important;
    box-shadow:0 26px 60px rgba(0,0,0,.32)!important;
    backdrop-filter:blur(14px)!important;
    -webkit-backdrop-filter:blur(14px)!important;
  }

  .legalia-header-scope .nav-flyout-title{
    margin:0 0 14px!important;
    padding:0!important;
    color:#c8ff24!important;
    font-size:11px!important;
    font-weight:850!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
  }

  .legalia-header-scope .nav-flyout-grid{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
    gap:16px!important;
  }

  .legalia-header-scope .nav-flyout-section{
    display:grid!important;
    align-content:start!important;
    gap:6px!important;
    padding:0!important;
    border:0!important;
  }

  .legalia-header-scope .nav-flyout-heading{
    margin:0 0 6px!important;
    color:#f8fbfb!important;
    font-size:12px!important;
    font-weight:800!important;
    line-height:1.25!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
  }

  .legalia-header-scope .nav-flyout a{
    display:block!important;
    width:100%!important;
    padding:10px 12px!important;
    border-radius:14px!important;
    color:rgba(243,251,251,.82)!important;
    background:transparent!important;
    text-decoration:none!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1.35!important;
    transition:background .18s ease,color .18s ease,transform .18s ease!important;
  }

  .legalia-header-scope .nav-flyout a::before{
    content:none!important;
    display:none!important;
  }

  .legalia-header-scope .nav-flyout a:hover,
  .legalia-header-scope .nav-flyout a:focus-visible{
    background:rgba(255,255,255,.06)!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
    outline:none!important;
  }

  .legalia-header-scope .nav-flyout-note{
    display:block!important;
    margin-top:4px!important;
    color:rgba(209,223,223,.58)!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1.35!important;
  }
}

/* En movil mantenemos el comportamiento acordeon del header compartido. */
@media (max-width:980px){
  .legalia-header-scope .nav-flyout{
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    padding-top:8px!important;
    transform:none!important;
  }
  .legalia-header-scope .nav-item.open .nav-flyout,
  .legalia-header-scope .nav-item:focus-within .nav-flyout{
    transform:none!important;
  }
  .legalia-header-scope .nav-flyout-box{
    padding:12px!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.03)!important;
    border:1px solid rgba(255,255,255,.08)!important;
    box-shadow:none!important;
  }
  .legalia-header-scope .nav-flyout-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
}

/* /assets/css/lg-editorial-shell.css */
/* ==========================================================================
   Legalia · Estilo editorial común (fase 4, octubre 2026)
   Cabecera, pie y tipografía de toda la web, alineados con la home nueva.
   Se carga en todas las páginas desde html-output-optimizer.php, antes de
   lg-fixes.css. Usa selectores con "html body" e !important porque las hojas
   antiguas de cada página también usan !important.
   ========================================================================== */
:root{
  --ed-paper:#f5f3ee; --ed-paper-2:#efece4; --ed-ink:#14211b; --ed-muted:#4f574f;
  --ed-rule:#d9d4c7; --ed-green:#1e5b41; --ed-green-dark:#123d2b; --ed-mint:#9fd0b5;
  --ed-serif:"Newsreader",Georgia,"Times New Roman",serif;
  --ed-sans:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

/* ---------- Tipografía general ---------- */
html body{font-family:var(--ed-sans)}
html body main h1,html body main h2,html body main h3,
html body #contenido h1,html body #contenido h2,html body #contenido h3{
  font-family:var(--ed-serif)!important;font-weight:500!important;letter-spacing:-.015em!important;
}
html body main h1,html body #contenido h1{line-height:1.06!important}
html body main p,html body main li,html body main td,html body main th,html body main label,html body main input,html body main textarea,html body main select,html body main button,html body main a{
  font-family:var(--ed-sans)
}

/* ---------- Cabecera ---------- */
html body .legalia-header-scope{background:var(--ed-ink)!important;box-shadow:none!important;border-bottom:1px solid #22332a!important}
html body .legalia-header-scope .site-header{
  background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;
  -webkit-backdrop-filter:none!important;backdrop-filter:none!important;
}
html body .legalia-header-scope .site-header a.brand.brand-logo,html body .legalia-header-scope .site-header a.brand{
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;
  display:inline-flex!important;align-items:center!important;text-decoration:none!important;min-height:44px
}
html body .legalia-header-scope .ed-brand{display:flex!important;flex-direction:column!important;line-height:1.02!important;background:transparent!important}
html body .legalia-header-scope .ed-brand__name{font-family:var(--ed-serif)!important;font-weight:600!important;font-size:28px!important;color:#f5f3ee!important;letter-spacing:-.01em!important;line-height:1!important}
html body .legalia-header-scope .ed-brand__tag{font-family:var(--ed-sans)!important;font-size:11px!important;font-weight:600!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:var(--ed-mint)!important;margin-top:3px!important;white-space:nowrap}
html body .site-header .main-nav{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .site-header .nav-link,html body .site-header .nav-dropdown-toggle{
  font-family:var(--ed-sans)!important;font-weight:600!important;font-size:15px!important;color:#e6ece8!important;
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important
}
html body .site-header .nav-link:hover,html body .site-header .nav-dropdown-toggle:hover,
html body .site-header .is-current > .nav-dropdown-toggle,html body .site-header .nav-link.is-current{color:#ffffff!important;text-decoration:underline!important;text-underline-offset:6px!important;text-decoration-color:var(--ed-mint)!important}
/* Desplegables */
html body .site-header .nav-flyout-box{background:var(--ed-paper)!important;border:1px solid var(--ed-rule)!important;border-radius:4px!important;box-shadow:0 18px 40px rgba(0,0,0,.18)!important}
html body .site-header .nav-flyout-title{font-family:var(--ed-serif)!important;font-weight:500!important;color:var(--ed-ink)!important}
html body .site-header .nav-flyout-heading{color:var(--ed-muted)!important;font-family:var(--ed-sans)!important;letter-spacing:.08em!important}
html body .site-header .nav-flyout a{color:var(--ed-ink)!important;background:transparent!important;border-radius:0!important}
html body .site-header .nav-flyout a:hover{color:var(--ed-green)!important;background:var(--ed-paper-2)!important}
html body .site-header .nav-flyout-note{color:var(--ed-muted)!important}
/* Botones de contacto */
html body .site-header .header-wa{display:none!important}
html body .legalia-header-scope .site-header .header-actions a.header-cta,html body .legalia-header-scope .site-header .header-actions a.phone{
  background:transparent!important;color:#f5f3ee!important;border:1.5px solid rgba(245,243,238,.55)!important;border-radius:4px!important;
  box-shadow:none!important;font-family:var(--ed-sans)!important;font-weight:700!important
}
html body .legalia-header-scope .site-header .header-actions a.header-cta:hover,html body .legalia-header-scope .site-header .header-actions a.phone:hover{background:#f5f3ee!important;color:var(--ed-ink)!important}
html body .legalia-header-scope .mobile-nav-toggle{background:transparent!important;border:1px solid rgba(245,243,238,.35)!important;border-radius:4px!important;box-shadow:none!important}
/* Menú móvil abierto */
@media (max-width:1180px){
  html body .site-header.nav-open .main-nav,html body .site-header .main-nav.is-open{background:var(--ed-ink)!important}
  html body .site-header .main-nav .nav-link,html body .site-header .main-nav .nav-dropdown-toggle{background:transparent!important;border-bottom:1px solid #2c3d34!important;border-radius:0!important}
  html body .legalia-header-scope .ed-brand__name{font-size:25px!important}
}

/* ---------- Pie ---------- */
html body .ed-foot{background:var(--ed-ink)!important;color:#c9d3cc!important;font-family:var(--ed-sans)!important;border:0!important;padding:0!important;margin:0!important}
.ed-foot *{box-sizing:border-box}
.ed-foot__inner{max-width:1240px;margin:0 auto;padding:64px 40px 28px}
.ed-foot__top{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;padding-bottom:40px;border-bottom:1px solid #2c3d34}
.ed-foot__logo{margin:0 0 12px;font-family:var(--ed-serif);font-size:34px;font-weight:600;color:#f5f3ee}
.ed-foot__text{margin:0;font-size:16px;line-height:1.6;color:#c9d3cc;max-width:560px}
.ed-foot__label{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ed-mint)}
html body .ed-foot__phone{display:inline-block;font-family:var(--ed-serif);font-size:40px;color:#f5f3ee!important;text-decoration:none!important;margin-bottom:6px}
html body .ed-foot__phone:hover{color:var(--ed-mint)!important}
.ed-foot__small{margin:0;font-size:15px}
.ed-foot__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;padding:36px 0;border-bottom:1px solid #2c3d34}
.ed-foot__h{margin:0 0 12px;font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ed-mint)}
.ed-foot__col ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
html body .ed-foot a{color:#e6ece8!important;text-decoration:none!important}
html body .ed-foot a:hover{color:#ffffff!important;text-decoration:underline!important}
.ed-foot__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding-top:20px;font-size:13.5px;color:#9fb0a6}
.ed-foot__bottom p{margin:0;max-width:640px}
.ed-foot__legal{display:flex;flex-wrap:wrap;gap:16px;align-items:center}
html body .ed-foot .lg-cookie-settings-link{background:none!important;border:0!important;padding:0!important;color:#e6ece8!important;font:inherit!important;text-decoration:underline!important;cursor:pointer}
@media (max-width:900px){
  .ed-foot__inner{padding:48px 18px 24px}
  .ed-foot__top{grid-template-columns:minmax(0,1fr);gap:28px}
  .ed-foot__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  html body .ed-foot__phone{font-size:34px}
}

/* ---------- Burbuja de WhatsApp en escritorio: más sobria ---------- */
html body .lg-floating-whatsapp-ainara{background:var(--ed-ink)!important;border:1px solid #2c3d34!important;box-shadow:0 12px 28px rgba(0,0,0,.22)!important}
html body .lg-floating-whatsapp-ainara:before,html body .lg-floating-whatsapp-ainara:after{display:none!important}

/* ---------- Formulario rápido (todas las páginas): versión editorial ---------- */
html body .lg-quick{background:#f5f3ee!important}
html body .lg-quick__card{border-radius:4px!important;box-shadow:none!important;border:1px solid #d9d4c7!important;background:#ffffff!important}
html body .lg-quick__title{font-family:var(--ed-serif)!important;font-weight:500!important}
html body .lg-quick__btn{border-radius:4px!important;background:#1e5b41!important}
html body .lg-quick__btn:hover{background:#123d2b!important}
html body .lg-quick__field input,html body .lg-quick__field textarea{border-radius:3px!important}
html body .lg-quick__points li{padding-left:18px!important}
html body .lg-quick__points li::before{width:7px!important;height:7px!important;top:8px!important;border-radius:99px!important;background:#d9532b!important;background-image:none!important}

/* ---------- Franja de datos bajo la cabecera de las fichas ---------- */
html body .lg-home-trust-strip{background:#f5f3ee!important;border-top:1px solid #d9d4c7!important;border-bottom:1px solid #d9d4c7!important}
html body .lg-home-trust-strip *{box-shadow:none!important}
html body .lg-home-trust-strip [class*="icon"],html body .lg-home-trust-strip [class*="badge"]{background:#14211b!important;color:#f5f3ee!important;border-radius:3px!important}
html body .lg-home-trust-strip strong,html body .lg-home-trust-strip b{font-family:var(--ed-serif)!important;font-weight:500!important;color:#14211b!important}

/* ---------- Tablas ---------- */
html body .lg-table-wrap{border-radius:0!important;box-shadow:none!important;background:transparent!important}

/* ---------- Bloque "Contenido revisado" ---------- */
html body .legalia-review-block{background:#14211b!important;background-image:none!important}
html body .legalia-review-card{background:transparent!important;border:0!important;border-top:1px solid #3b4a42!important;border-radius:0!important;box-shadow:none!important}
html body .legalia-review-kicker{background:transparent!important;border:0!important;padding:0!important;color:#9fd0b5!important;letter-spacing:.12em!important}
html body .legalia-review-block h2,html body .legalia-review-block h3{font-family:var(--ed-serif)!important;font-weight:500!important;color:#f5f3ee!important}
html body .legalia-review-block a{color:#f5f3ee!important;text-decoration:underline!important}

/* Bloque "Contenido revisado": tarjetas planas */
html body .legalia-review-block [class*="card"],html body .legalia-review-block [class*="author"],html body .legalia-review-block [class*="source"] a,html body .legalia-review-block li a{border-radius:0!important;box-shadow:none!important}
html body .legalia-review-block .legalia-review-meta > *,html body .legalia-review-block .legalia-review-source-links a{background:transparent!important;border:0!important;border-top:1px solid #3b4a42!important;border-radius:0!important}
html body .legalia-review-block [style*="gradient"],html body .legalia-review-block hr{background:#3b4a42!important}
html body .legalia-review-card{border-image:none!important}
html body .legalia-review-block .legalia-review-meta > *{padding:12px 0!important}

/* Pie: blindaje frente a hojas antiguas de algunas páginas (centrado, mayúsculas grandes) */
html body footer.ed-foot,html body footer.ed-foot *{text-align:left!important}
html body footer.ed-foot .ed-foot__h{font-family:var(--ed-sans)!important;font-size:13px!important;font-weight:700!important;letter-spacing:.1em!important;color:var(--ed-mint)!important;line-height:1.3!important}
html body footer.ed-foot .ed-foot__logo{font-family:var(--ed-serif)!important;font-size:34px!important;font-weight:600!important;color:#f5f3ee!important}
html body footer.ed-foot li,html body footer.ed-foot li a{font-family:var(--ed-sans)!important;font-size:15px!important;font-weight:400!important}
html body footer.ed-foot .ed-foot__bottom p{font-size:13.5px!important;font-weight:400!important;color:#9fb0a6!important}
html body footer.ed-foot .ed-foot__phone{font-family:var(--ed-serif)!important;font-weight:400!important}

/* ---------- Bloques "Dudas habituales" y "Revisión gratuita del expediente" (objection-blocks.php) ---------- */
html body :is(.legalia-objections,.legalia-conversion-block){background:#efece4!important;background-image:none!important;border-top:1px solid #d9d4c7!important;border-bottom:0!important;color:#14211b!important}
html body :is(.legalia-objections,.legalia-conversion-block)::before,html body :is(.legalia-objections,.legalia-conversion-block)::after{display:none!important}
html body :is(.legalia-objections-head,.legalia-conversion-head){text-align:left!important;margin-left:0!important;max-width:760px!important}
html body :is(.legalia-objections-kicker,.legalia-conversion-kicker){background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;color:#1e5b41!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
html body :is(.legalia-objections-kicker,.legalia-conversion-kicker)::before{display:none!important}
html body :is(.legalia-objections,.legalia-conversion-block) h2{font-family:var(--ed-serif)!important;font-weight:500!important;color:#14211b!important;letter-spacing:-.015em!important}
html body :is(.legalia-objections,.legalia-conversion-block) h3{font-family:var(--ed-serif)!important;font-weight:500!important;color:#14211b!important}
html body :is(.legalia-objections,.legalia-conversion-block) :is(p,li,span){color:#33402f!important}
html body :is(.legalia-objection-card,.legalia-conversion-card){background:transparent!important;background-image:none!important;border:0!important;border-top:1px solid #14211b!important;border-radius:0!important;box-shadow:none!important;padding:22px 0 0!important}
html body :is(.legalia-doc-list,.legalia-step-list) li{background:transparent!important;border:0!important;border-bottom:1px solid #d9d4c7!important;border-radius:0!important;box-shadow:none!important;padding:10px 0 10px 22px!important;position:relative;font-weight:500!important}
html body .legalia-doc-list{grid-template-columns:minmax(0,1fr)!important}
html body .legalia-doc-list li::before{content:""!important;position:absolute!important;left:0!important;top:calc(10px + .55em)!important;width:8px!important;height:8px!important;border-radius:99px!important;background:#d9532b!important;border:0!important;box-shadow:none!important;font-size:0!important}
html body .legalia-step-list li::before{background:transparent!important;color:#1e5b41!important;border:0!important;box-shadow:none!important;font-family:var(--ed-serif)!important;font-weight:600!important;position:absolute!important;left:0!important;top:9px!important;width:auto!important;height:auto!important}
html body .legalia-objections-cta,html body .legalia-conversion-note{background:#14211b!important;background-image:none!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
html body .legalia-objections-cta :is(strong,span),html body .legalia-conversion-note,html body .legalia-conversion-note strong{color:#f5f3ee!important}
html body .legalia-objections-cta span{color:#c9d3cc!important}
html body .legalia-objections-cta a,html body .legalia-conversion-btn.gold{background:#f5f3ee!important;color:#14211b!important;border-radius:4px!important;box-shadow:none!important;background-image:none!important;border:0!important}
html body .legalia-conversion-btn.gold{background:#1e5b41!important;color:#fff!important}
html body .legalia-conversion-btn.ghost{color:#14211b!important;background:transparent!important;border:1.5px solid #14211b!important;border-radius:4px!important}
html body .legalia-conversion-actions{justify-content:flex-start!important}
html body .legalia-objections .legalia-objections-cta strong,html body .legalia-conversion-block .legalia-conversion-note strong{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important}
html body .legalia-objections .legalia-objections-cta span,html body .legalia-conversion-block .legalia-conversion-note{color:#c9d3cc!important;-webkit-text-fill-color:#c9d3cc!important}
html body .legalia-conversion-block .legalia-conversion-btn.gold{color:#fff!important;-webkit-text-fill-color:#fff!important}
html body .legalia-objections .legalia-objections-cta a{color:#14211b!important;-webkit-text-fill-color:#14211b!important}

/* /assets/css/lg-ed-global.css */
/* ==========================================================================
   Legalia · Capa editorial para las páginas con plantilla propia
   (guías, blog, tasaciones, institucionales). html-output-optimizer.php marca
   <html data-lg-ed>, la sección de cabecera con data-lg-hero y pasa la foto en
   --ed-photo. Las hojas antiguas usan !important; aquí se reescriben con más
   especificidad. No se carga en la home, las fichas (qh-) ni las zonas.
   ========================================================================== */
html[data-lg-ed] body{background:#f5f3ee!important}
html[data-lg-ed],html[data-lg-ed][data-lg-ed] body main,html[data-lg-ed][data-lg-ed] body main[class]{background:#f5f3ee!important;background-image:none!important;color:#14211b!important}

/* ---------- Cabecera con fotografía ---------- */
html[data-lg-ed] body main [data-lg-hero]{
  position:relative!important;isolation:isolate;overflow:hidden!important;
  background:#0d1712 var(--ed-photo,url("/assets/img/legalia-propietario-finca-obra-publica.webp")) center/cover no-repeat!important;
  padding-top:112px!important;padding-bottom:88px!important;min-height:0!important;border:0!important;box-shadow:none!important;color:#fff!important
}
html[data-lg-ed] body main [data-lg-hero]::before{content:""!important;position:absolute!important;inset:0!important;z-index:-1!important;display:block!important;opacity:1!important;filter:none!important;transform:none!important;-webkit-mask-image:none!important;mask-image:none!important;background-size:100% 100%!important;
  background:linear-gradient(90deg,rgba(9,17,13,.95) 0%,rgba(9,17,13,.86) 50%,rgba(9,17,13,.55) 100%)!important;animation:none!important}
html[data-lg-ed] body main [data-lg-hero]::after{display:none!important}
/* Fondos y decoraciones antiguas dentro de la cabecera */
html[data-lg-ed] body main [data-lg-hero] :is([class*="-bg"],[class*="tech-notes"],[class*="tech-corner"],[class*="glow"],[class*="orb"],[class*="particles"],[class*="grain"],canvas,video){display:none!important}
html[data-lg-ed] body main [data-lg-hero] *{text-shadow:none!important}
html[data-lg-ed] body main [data-lg-hero] h1{font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;letter-spacing:-.015em!important;line-height:1.05!important;
  font-size:clamp(36px,4.3vw,62px)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;max-width:20ch;opacity:1!important;transform:none!important}
html[data-lg-ed] body main [data-lg-hero] h1 *{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;font:inherit!important;font-style:italic!important;display:inline!important}
html[data-lg-ed] body main [data-lg-hero] :is(p,li,span,small,dd,dt){color:#dfe7e2!important;-webkit-text-fill-color:#dfe7e2!important;opacity:1!important;transform:none!important}
html[data-lg-ed] body main [data-lg-hero] strong,html[data-lg-ed] body main [data-lg-hero] b{color:#fff!important;-webkit-text-fill-color:#fff!important}
html[data-lg-ed] body main [data-lg-hero] [data-hero-reveal]{opacity:1!important;transform:none!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="kicker"],[class*="eyebrow"],[class*="badge"],[class*="tag"]:not([class*="stage"])){
  background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;
  color:#bfe3cf!important;-webkit-text-fill-color:#bfe3cf!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="kicker"],[class*="eyebrow"],[class*="badge"])::before{display:none!important}
/* Píldoras y chips de la cabecera: texto con punto */
html[data-lg-ed] body main [data-lg-hero] :is([class*="chip"],[class*="pill"],[class*="trust"] > *,[class*="proof"] > *):not(a){
  background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0 0 0 14px!important;position:relative;color:#e6ece8!important;font-weight:600!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="chip"],[class*="pill"],[class*="trust"] > *,[class*="proof"] > *):not(a)::before{content:""!important;position:absolute!important;left:0!important;top:50%!important;width:6px!important;height:6px!important;margin-top:-3px!important;border-radius:99px!important;background:#ff7a4d!important;display:block!important;border:0!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="chip"],[class*="pill"],[class*="trust"] > *,[class*="proof"] > *) svg{display:none!important}
/* Tarjetas laterales de la cabecera: ficha de papel */
html[data-lg-ed] body main [data-lg-hero] :is([class*="card"],[class*="panel"],[class*="visual"],[class*="box"],[class*="stage"]):not([class*="chip"]):not(:has(h1)):not(:is([class*="card"],[class*="panel"],[class*="visual"],[class*="box"],[class*="stage"]) *){
  background:#f5f3ee!important;background-image:none!important;border:0!important;border-radius:4px!important;box-shadow:0 30px 70px rgba(0,0,0,.35)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:1!important;transform:none!important;animation:none!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="card"],[class*="panel"],[class*="visual"],[class*="box"],[class*="stage"]):not([class*="chip"]):not(:has(h1)) :is(*){
  color:#14211b!important;-webkit-text-fill-color:#14211b!important;background-color:transparent!important;background-image:none!important;border-color:#d9d4c7!important;box-shadow:none!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="card"],[class*="panel"],[class*="visual"],[class*="box"],[class*="stage"]):not(:has(h1)) :is(h2,h3,h4){font-family:"Newsreader",Georgia,serif!important;font-weight:500!important}
html[data-lg-ed] body main [data-lg-hero] :is([class*="card"],[class*="panel"],[class*="visual"],[class*="box"],[class*="stage"]):not(:has(h1)) :is(p,li,small,span){color:#33402f!important;-webkit-text-fill-color:#33402f!important}

/* ---------- Botones (toda la página) ---------- */
html[data-lg-ed] body main a:is([class*="btn"],[class*="button"],[class*="cta"]):not([class*="lg-dock"]),html[data-lg-ed] body main button:is([class*="btn"],[type=submit]){
  border-radius:4px!important;box-shadow:none!important;transform:none!important;background-image:none!important;font-family:"Public Sans",system-ui,sans-serif!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important}
html[data-lg-ed] body main a:is([class*="btn"],[class*="button"]):not([class*="ghost"]):not([class*="secondary"]):not([class*="outline"]):not([class*="link"]):not([class*="wa"]),
html[data-lg-ed] body main button[type=submit]{background:#1e5b41!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1.5px solid #1e5b41!important}
html[data-lg-ed] body main a:is([class*="btn"],[class*="button"]):is([class*="ghost"],[class*="secondary"],[class*="outline"],[class*="wa"]){background:transparent!important;color:#14211b!important;-webkit-text-fill-color:#14211b!important;border:1.5px solid #14211b!important}
html[data-lg-ed] body main [data-lg-hero] a:is([class*="btn"],[class*="button"]):is([class*="ghost"],[class*="secondary"],[class*="outline"],[class*="wa"]){color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:rgba(255,255,255,.55)!important}
html[data-lg-ed] body main a:is([class*="btn"],[class*="button"]) svg{display:none!important}

/* ---------- Secciones del cuerpo: papel y tinta ---------- */
html[data-lg-ed][data-lg-ed][data-lg-ed] body main section:where(:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block):not(.legalia-objections):not(.legalia-conversion-block)){
  background:#f5f3ee!important;background-image:none!important;color:#14211b!important;border-color:#d9d4c7!important;box-shadow:none!important}
html[data-lg-ed][data-lg-ed][data-lg-ed] body main section:where(:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block):not(.legalia-objections):not(.legalia-conversion-block)):nth-of-type(even){background:#efece4!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block)::before,html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block)::after{display:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) :is(h2,h3,h4,summary,th,strong,b,dt,label){color:#14211b!important;-webkit-text-fill-color:#14211b!important;background:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) :is(p,li,td,dd,small,figcaption,blockquote){color:#33402f!important;-webkit-text-fill-color:#33402f!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) span:not([class*="kicker"]):not([class*="eyebrow"]):not([class*="num"]){color:inherit!important;-webkit-text-fill-color:currentColor!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(h2){font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;letter-spacing:-.015em!important;line-height:1.08!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(h3,h4){font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;letter-spacing:-.005em!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) a:not([class*="btn"]):not([class*="button"]):not([class*="cta"]){color:#1e5b41!important;-webkit-text-fill-color:#1e5b41!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="kicker"],[class*="eyebrow"],[class*="badge"],[class*="label"]:not(label)){
  background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;box-shadow:none!important;
  color:#1e5b41!important;-webkit-text-fill-color:#1e5b41!important;font-size:12.5px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="kicker"],[class*="eyebrow"],[class*="badge"])::before{display:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="head"],[class*="title"]){text-align:left!important}

/* Tarjetas, paneles y cajas: sin caja, línea superior fina */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) :is([class*="card"],[class*="panel"],[class*="box"]:not([class*="checkbox"]),[class*="item"],[class*="tile"],[class*="step"]:not([class*="steps"]),[class*="concept"],[class*="situation"]:not([class*="grid"]),[class*="mini"],[class*="note"],[class*="callout"],[class*="alert"],[class*="quote"],[class*="highlight"],[class*="feature"]):not(:is(form,input,select,textarea,label,button,a[class*="btn"])){
  background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.legalia-review-block) :is([class*="card"],[class*="panel"],[class*="concept"],[class*="situation"]:not([class*="grid"]),[class*="step"]:not([class*="steps"]):not([class*="num"])):not(:is([class*="card"],[class*="panel"],[class*="concept"],[class*="step"]) *):not(:is(form,a[class*="btn"])){
  border-top:1px solid #14211b!important;padding:20px 0 6px!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="card"],[class*="panel"],[class*="box"],[class*="item"],[class*="step"])::before{background-image:none!important;box-shadow:none!important}
/* Números de pasos */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="num"],[class*="index"]):not(input){background:transparent!important;border:0!important;box-shadow:none!important;color:#1e5b41!important;-webkit-text-fill-color:#1e5b41!important;font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;border-radius:0!important}
/* Iconos decorativos de las tarjetas */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="icon"]:not([class*="whatsapp"])){background:transparent!important;box-shadow:none!important;border:0!important;color:#1e5b41!important}
/* Imágenes ilustrativas antiguas: sin marcos redondeados */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) img{border-radius:2px!important;box-shadow:none!important}

/* Listas con check: punto naranja */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(ul[class*="check"],ul[class*="list"],ul[class*="points"]) > li{position:relative!important;padding-left:22px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:block!important;grid-template-columns:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(ul[class*="check"],ul[class*="list"],ul[class*="points"]) > li::before{content:""!important;position:absolute!important;left:0!important;top:.62em!important;width:8px!important;height:8px!important;border-radius:99px!important;background:#d9532b!important;background-image:none!important;border:0!important;box-shadow:none!important;font-size:0!important;color:transparent!important;transform:none!important;margin:0!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(ul[class*="check"],ul[class*="list"],ul[class*="points"]) > li > svg:first-child{display:none!important}

/* Tablas */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="table"]:not(table):not(tr):not(td)){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) table{background:transparent!important;border-collapse:collapse!important;border:0!important;border-top:2px solid #14211b!important;border-radius:0!important;box-shadow:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) th{background:transparent!important;color:#4f574f!important;-webkit-text-fill-color:#4f574f!important;border:0!important;border-bottom:1px solid #14211b!important;font-family:"Public Sans",system-ui,sans-serif!important;font-weight:700!important;font-size:13px!important;letter-spacing:.06em!important;text-transform:uppercase}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) td{background:transparent!important;border:0!important;border-bottom:1px solid #d9d4c7!important}

/* Preguntas frecuentes */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) details{background:transparent!important;border:0!important;border-bottom:1px solid #d9d4c7!important;border-radius:0!important;box-shadow:none!important;padding:16px 0!important;margin:0!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) summary{font-family:"Newsreader",Georgia,serif!important;font-weight:500!important;font-size:20px!important}

/* Formularios completos de las guías: bloque tinta */
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])){background:#14211b!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is(h2,h3,strong,b,label,summary){color:#f5f3ee!important;-webkit-text-fill-color:#f5f3ee!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is(p,li,small,span,td){color:#c9d3cc!important;-webkit-text-fill-color:#c9d3cc!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is([class*="kicker"],[class*="eyebrow"]){color:#9fd0b5!important;-webkit-text-fill-color:#9fd0b5!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) a:not([class*="btn"]){color:#f5f3ee!important;-webkit-text-fill-color:#f5f3ee!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick) form[action*="lead-handler"]{background:#1b2b23!important;background-image:none!important;border:1px solid #2c3d34!important;border-radius:4px!important;box-shadow:none!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is([class*="formbox"],[class*="form-box"],[class*="form-card"]){background:#1b2b23!important;border:1px solid #2c3d34!important;border-radius:4px!important;padding:24px!important}
html[data-lg-ed] body main form[action*="lead-handler"] :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:#f5f3ee!important;color:#14211b!important;-webkit-text-fill-color:#14211b!important;border:1px solid #c9c3b4!important;border-radius:3px!important;box-shadow:none!important}
html[data-lg-ed] body main section:not(.lg-quick):not(:has(.lg-quick)) form[action*="lead-handler"] button[type=submit]{background:#f5f3ee!important;color:#14211b!important;-webkit-text-fill-color:#14211b!important;border-color:#f5f3ee!important}

@media (max-width:900px){
  html[data-lg-ed] body main [data-lg-hero]{padding-top:88px!important;padding-bottom:52px!important}
  html[data-lg-ed] body main [data-lg-hero]::before{background:linear-gradient(180deg,rgba(9,17,13,.84) 0%,rgba(9,17,13,.94) 100%)!important}
  html[data-lg-ed] body main [data-lg-hero] h1{font-size:clamp(32px,9vw,44px)!important}
}

/* ---------- Ajustes tras revisión (1) ---------- */
html[data-lg-ed] body main [data-lg-hero]::before{background:linear-gradient(90deg,rgba(9,17,13,.96) 0%,rgba(9,17,13,.9) 52%,rgba(9,17,13,.62) 100%)!important}
/* Cualquier bloque interior del cuerpo pierde su fondo propio (oscuros, blancos, degradados) */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) :is(div,article,aside,ul,ol,li,figure,blockquote,header,footer,nav,span):not(form):not(form *):not([class*="btn"]):not([class*="icon"]){
  background-color:transparent!important;background-image:none!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) :is(div,article,aside):not(form *):not([class*="btn"]){border-radius:0!important}
/* Todo el texto del cuerpo en tinta (colores claros o dorados antiguos fuera) */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) *:not(a):not(button):not(input):not(select):not(textarea):not(option){color:#33402f!important;-webkit-text-fill-color:#33402f!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) :is(h2,h3,h4,h5,strong,b,summary,th,dt,label,em){color:#14211b!important;-webkit-text-fill-color:#14211b!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) :is([class*="kicker"],[class*="eyebrow"],[class*="num"]:not(input)){color:#1e5b41!important;-webkit-text-fill-color:#1e5b41!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) h2 :is(strong,b,span,em){font-weight:inherit!important;font-family:inherit!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):not(.legalia-review-block) h2 :is(strong,b,em){font-style:italic!important}
/* Encabezados de sección alineados a la izquierda (sin bloques centrados) */
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is(h2,h2 + p,[class*="head"] p,[class*="intro"] p){text-align:left!important;margin-left:0!important}
html[data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)) :is([class*="head"],[class*="intro"]){margin-left:0!important;text-align:left!important}
/* Bloques con formulario: el contenedor exterior en tinta */
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) *:not(a):not(button):not(input):not(select):not(textarea):not(option){color:#c9d3cc!important;-webkit-text-fill-color:#c9d3cc!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is(h2,h3,h4,strong,b,label,em){color:#f5f3ee!important;-webkit-text-fill-color:#f5f3ee!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is([class*="kicker"],[class*="eyebrow"]){color:#9fd0b5!important;-webkit-text-fill-color:#9fd0b5!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) form *{background-color:transparent}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) form :is(input,select,textarea){color:#14211b!important;-webkit-text-fill-color:#14211b!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) a[class*="btn"]{background:#f5f3ee!important;color:#14211b!important;-webkit-text-fill-color:#14211b!important;border-color:#f5f3ee!important}
html[data-lg-ed][data-lg-ed] body main section:not([data-lg-hero]):not(:has([data-lg-hero],.lg-quick)):not(.lg-quick):has(form[action*="lead-handler"]):not(:has(section form[action*="lead-handler"])) :is(ul[class*="check"],ul[class*="list"],ul[class*="points"]) > li::before{background:#ff7a4d!important}

html[data-lg-ed] body main [data-lg-hero] *{opacity:1!important;animation:none!important}
html[data-lg-ed] body main [data-lg-hero] [hidden]{display:none!important}
html[data-lg-ed] body main section :is(a,span,strong){white-space:normal!important;overflow-wrap:anywhere;max-width:100%}

