*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:#152c28;background:#fbfaf6;font:16px/1.6 "Segoe UI",Arial,sans-serif}a{color:inherit;text-decoration:none}button,select,textarea,input{font:inherit}button,summary{cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ec9f26;outline-offset:3px}header{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(5vw,20px);background:#fbfaf6;box-shadow:0 1px 0 #193b3225}.brand,.links,nav{display:flex;align-items:center;gap:24px}.brand{gap:10px;font-weight:700;font-size:13px;line-height:1.15}.brand img{width:56px;height:46px;object-fit:contain}nav details{position:relative}nav details div{position:absolute;top:100%;width:245px;padding:10px;background:white;box-shadow:0 10px 20px #0002}nav details a{display:block;padding:8px}nav a:hover,.textlink:hover{text-decoration:underline}.btn{display:inline-flex;justify-content:center;align-items:center;border:0;background:#f2b249;color:#17251f;padding:12px 21px;font-weight:700;border-radius:3px}.btn:hover{background:#ffca78}.hamb{display:none}.hero{position:relative;min-height:min(760px,84svh);isolation:isolate;color:white;background:#152c28;display:grid;align-items:center;overflow:hidden}.films,.films img,.hero:after{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.films img{object-fit:cover;object-position:50% 44%;opacity:0;transition:opacity 1.2s,transform 7s;transform:scale(1)}.films img.on{opacity:1;transform:scale(1.055)}.hero:after{content:"";background:linear-gradient(90deg,#091d1af2 0%,#0a201bbb 40%,#0c231c25 85%),linear-gradient(0deg,#07170f80,transparent 30%);z-index:-1}.hero-inner,.wrap{width:min(1160px,88%);margin:auto}.hero-inner{padding:70px 0 105px}.hero-inner>p:not(.eyebrow){max-width:460px;font-size:18px}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:750;margin:0 0 18px}.hero .eyebrow,.contact .eyebrow{color:#f5cb85}h1,h2,h3{line-height:1.03;letter-spacing:-.045em;margin:0}h1{font-size:clamp(48px,6.8vw,100px);animation:enter .85s ease both}h1 em{color:#fac779;font:italic 1em Georgia}.links{flex-wrap:wrap}.links a:last-child,.textlink{font-weight:650}.filmnav{position:absolute;bottom:26px;right:6%;display:flex;align-items:center;gap:10px;font-size:13px}.filmnav button{color:white;background:#102622b5;border:1px solid #fff8;border-radius:50%;height:38px;width:38px}.filmnav span{min-width:100px;text-align:center}.wrap{padding:clamp(52px,6vw,88px) 0}.split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8%}h2{font-size:clamp(36px,4.2vw,64px)}figure{margin:0}figure img,.gallery img,dialog img{width:100%;display:block;object-fit:cover}figure img{aspect-ratio:1.7}figcaption{font-size:12px;color:#56655d;margin-top:6px}.services{background:#e9ede6}.grid,.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px}.card,.tile{text-align:left;border:0;color:inherit;overflow:hidden}.card{background:#fff;padding:24px;display:flex;flex-direction:column;gap:14px;align-items:flex-start;box-shadow:inset 0 3px #466c5e}.card h3,.tile h3{font-size:23px}.card span{font-size:14px}.card b{margin-top:auto;color:#295445}.tile{background:#142a24;color:white;padding:0}.tile img{aspect-ratio:4/3;transition:transform .5s}.tile:hover img{transform:scale(1.045)}.tile h3{padding:18px}.contact{background:#173d33;color:white}form{display:grid;gap:14px}label{display:grid;gap:4px;font-weight:600}input,select,textarea{width:100%;padding:11px;border:1px solid #adbbb4;border-radius:3px;background:white;color:#172820}footer{background:#10251e;color:white}address{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:24px 0;font-style:normal}footer .wrap{padding-block:45px}.wa{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;position:fixed;right:16px;bottom:16px;background:#157846;color:white;z-index:4;box-shadow:0 4px 20px #0004}.wa svg{width:31px}dialog{padding:0;border:0;width:min(550px,90vw);max-height:85svh;overflow:auto;color:#18352b}dialog img{max-height:30vh}dialog div{padding:24px}dialog h2{font-size:34px}dialog::backdrop{background:#081911c9}#close{float:right;margin:10px;border:0;padding:6px 12px}.arrive{animation:enter .65s ease both}@keyframes enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}@media(max-width:900px){.grid,.gallery{grid-template-columns:1fr 1fr}}@media(max-width:720px){header{padding:9px 4%;gap:8px}.hamb{display:block;margin-left:auto;background:none;border:0}.brand img{width:40px}.brand span{font-size:11px}header .btn{padding:8px 12px;font-size:13px}nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fbfaf6;padding:20px;box-shadow:0 10px 20px #0002}nav.open{display:grid;gap:12px}nav details div{position:static;box-shadow:none;width:auto}.split{grid-template-columns:1fr;gap:26px}.hero-inner{padding:58px 0 94px}.filmnav{right:auto;left:6%}.grid,.gallery{gap:10px}.card{padding:16px}.card h3,.tile h3{font-size:19px}.hero:after{background:linear-gradient(90deg,#091d1af0,#0b1c1882)}.links{gap:14px}.links a{font-size:14px}}@media(max-width:390px){.grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.films img.on{transform:none}}
:root{--navy:#061f3a;--orange:#ff9418}body{background:#fff;color:var(--navy)}header{background:#fff}.utility,.band{background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:5px max(6vw,18px);gap:12px}.utility{position:relative;font-size:13px}.utility div,.footbrand{display:flex;align-items:center;gap:12px}.social{border:1px solid #ffffff66;background:transparent;color:white;border-radius:50%;height:28px;width:28px;display:grid;place-items:center;padding:4px}.social svg{fill:none;stroke:currentColor;stroke-width:2}.social b{font:700 21px/1 Arial}.utility output{position:absolute;right:5vw;top:100%;background:#102c46;color:white;z-index:9;padding:8px 16px;border-radius:4px}.btn{background:var(--orange);color:#071b30}.hero{background:var(--navy)}#sitefilm{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.hero:after{background:linear-gradient(90deg,#03172ded,#05192f93 48%,#00182b19)}.hero em,.hero .eyebrow,.contact .eyebrow{color:#ffb45a}.hero-inner>.eyebrow,.hero-inner>.links,.hero-inner>p{animation:enter .85s both}.hero-inner>.links{animation-delay:.22s}.stats,.values{display:grid;text-align:center}.stats{grid-template-columns:repeat(3,1fr);max-width:1000px;margin:auto;padding:42px 16px}.stats div{display:grid;border-right:1px solid #c9d4dd}.stats div:last-child{border:none}.stats strong{font-size:clamp(35px,5vw,68px);line-height:1.1;color:var(--navy)}.band{justify-content:center;gap:30px;padding:16px;background:#0b3255}.band a{border:1px solid #fff8;border-radius:3px;padding:7px 14px}.vista{position:relative;isolation:isolate;overflow:hidden;text-align:center;padding:90px 20px;color:white}.vista .back{position:absolute;inset:-60px 0;z-index:-1;background:linear-gradient(#061b31a8,#061b31c7),url('img/interior.webp') center/cover;transform:translateY(var(--shift,0px))}.vista em{color:#ffbc67;font-family:Georgia}.reasons,.services,#obras{text-align:center}.values{grid-template-columns:repeat(4,1fr);gap:24px;margin-top:38px}.values article{padding:22px 12px;border-top:3px solid var(--orange)}.values p{font-size:15px}.services{background:#f1f4f7}.grid{justify-items:center}.card{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:100%;max-width:235px;aspect-ratio:1;border-radius:50%;padding:18px;color:white;background:#12334e;box-shadow:none;text-align:center;border:4px solid white;outline:1px solid #becbd5}.card:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#041e38b5,#041e38d4),var(--photo) center/cover;transition:transform .5s}.card:hover:before,.card:focus-visible:before{transform:scale(1.1)}.card:nth-child(1){--photo:url('img/obra.jpg')}.card:nth-child(2){--photo:url('img/drywall.webp')}.card:nth-child(3){--photo:url('img/equipo.webp')}.card:nth-child(4){--photo:url('img/piscina.webp')}.card h3{font-size:clamp(16px,2vw,24px)}.card b{color:#ffc88a;margin:0;font-size:12px}.tile{position:relative;aspect-ratio:3/4;background:var(--navy)}.tile img{height:100%;width:100%;aspect-ratio:auto}.tile h3{position:absolute;inset:auto 0 0;color:white;background:linear-gradient(transparent,#061d35ef);padding:55px 12px 17px;text-align:left;z-index:1;transition:bottom .4s,background .4s}.tile:after{content:"";position:absolute;inset:0;background:#031b368c;opacity:0;transition:opacity .4s}.tile:hover:after,.tile:focus-visible:after{opacity:1}.tile:hover h3,.tile:focus-visible h3{bottom:30%;background:transparent}.contact{background:linear-gradient(100deg,#072440f5,#0d3458eb),url('img/equipo.webp') center/cover}.footbrand img{width:74px;background:#fff;padding:7px;border-radius:5px}.footbrand p{margin:1px 0}footer{background:#061b31;border-bottom:5px solid var(--orange)}.wa{animation:whats 2.4s infinite}@keyframes whats{0%,100%{box-shadow:0 0 0 0 #18a86466}75%{box-shadow:0 0 0 13px #18a86400}}@media(max-width:720px){.values{grid-template-columns:repeat(2,1fr);gap:12px}.stats{font-size:12px}.band{gap:12px;font-size:14px}.grid{grid-template-columns:1fr 1fr}.card{padding:12px}.filmnav{left:auto;right:20px}.tile h3{font-size:16px}.utility{font-size:11px}.vista{padding-block:66px}}@media(prefers-reduced-motion:reduce){.vista .back{transform:none}}
.hero{position:relative;display:block;min-height:0}.mast{position:relative;z-index:5;color:#fff;background:linear-gradient(#041b32bc,#041b3233)}.mast header,.mast .utility{position:relative;background:transparent;color:white;box-shadow:none;width:min(1320px,92%);margin:auto;padding:12px 0}.mast .utility{border-bottom:1px solid #ffffff40;font-size:12px;padding:7px 0}.mast header{border-bottom:1px solid #ffffff38}.mast .brand img{width:66px;height:53px;background:#fffffff0;padding:4px;border-radius:5px}.mast nav details div{background:#0c2943;color:#fff}.mast .hamb{color:#fff}.hero-inner{padding-block:clamp(58px,7vw,112px) clamp(84px,9vw,140px)}.hero:after{background:linear-gradient(90deg,#041b32dc,#041b3266 60%,#041b322a)}#nosotros{gap:clamp(28px,5vw,72px);align-items:stretch}#nosotros>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}#nosotros .eyebrow{color:#7d4b08;border-left:3px solid var(--orange);padding-left:10px}#nosotros h2{font-size:clamp(36px,4vw,60px)}#nosotros figure{position:relative;min-height:320px;overflow:hidden;border-radius:5px}#nosotros figure img{position:absolute;inset:0;height:100%;object-position:center 40%}#nosotros figcaption{position:absolute;bottom:0;width:100%;padding:30px 18px 13px;color:white;background:linear-gradient(transparent,#081d35cd)}.vista .back{background-image:linear-gradient(90deg,#061c31db,#061c3188 55%,#061c3152),url('plano-obra.jpg');background-position:center 59%}.vista{padding-block:clamp(78px,8vw,130px);overflow:hidden}.footgrid{display:grid;grid-template-columns:1fr 1fr 1.25fr;align-items:start;gap:clamp(22px,4vw,64px)}.footgrid h3{font-size:18px;letter-spacing:0;margin-bottom:16px}.footbrand{margin-bottom:24px}.footgrid address{display:grid;gap:14px;margin:0}.footgrid address a{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:center;font-size:14px}.footgrid address svg{color:#ffad49;width:22px}.footgrid small{display:block;color:#b8c9d6}.socialrow{display:flex;gap:10px}.footgrid .social{width:36px;height:36px}.footgrid iframe{border:0;border-radius:5px;width:100%;height:180px;background:#d8e2e8}.maplink,.footnotice{font-size:13px}.footend{border-top:1px solid #ffffff30;padding:15px 6% 23px;display:flex;gap:24px;justify-content:space-between;font-size:13px}.footend a:last-child{margin-right:44px}@media(max-width:720px){.mast nav{color:white;background:#09263e;z-index:8}.mast .brand img{height:40px;width:52px}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:last-child{grid-column:1/-1}#nosotros figure{min-height:240px}.mast .utility{font-size:10px}}@media(max-width:480px){.footgrid{grid-template-columns:1fr}.footgrid>div:last-child{grid-column:auto}.footend{font-size:12px}}
.wrap,.hero-inner{width:min(1480px,90%)}.contact .split{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(40px,8vw,140px)}.contact .split>div>p:last-child{max-width:40ch}.quote{background:#fbfcfe;color:#102a43;padding:clamp(20px,3vw,42px);display:grid;grid-template-columns:1fr 1fr;gap:20px;border-radius:10px;box-shadow:0 16px 40px #00172d33;border-top:4px solid #ff9418;text-align:left}.quote h3,.quote .wide,.quote-end{grid-column:1/-1}.quote h3{font-size:26px;letter-spacing:-.035em}.quote label{min-width:0;font-size:14px;gap:7px}.quote input,.quote select,.quote textarea{min-width:0;font:400 16px/1.4 "Segoe UI",sans-serif;border:1px solid #bdcad7;border-radius:5px;color:#122a40}.quote :is(input,select,textarea):focus{outline:2px solid #295f83;outline-offset:2px}.quote textarea{min-height:106px;resize:vertical}.quote-end{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;border-top:1px solid #dfe6ed;padding-top:18px}.quote-end small{color:#4d6172}.footgrid{grid-template-columns:.85fr 1fr 1.35fr;gap:clamp(25px,5vw,90px)}.map-frame{border-radius:7px;overflow:hidden;border:2px solid #476178;box-shadow:0 4px 13px #0002;transition:border-color .25s,box-shadow .25s}.map-frame iframe{display:block;border-radius:0;height:210px}.map-frame:focus-within{border-color:#ffad49}@media(hover:hover){.map-frame:hover{border-color:#ffad49;box-shadow:0 0 0 3px #ffad4929,0 6px 24px #0003}}.reveal.arrive{animation:reveal-once .45s ease-out backwards}@keyframes reveal-once{from{transform:translateY(8px)}to{transform:none}}@media(max-width:820px){.contact .split{grid-template-columns:1fr;gap:24px}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:last-child{grid-column:1/-1}}@media(max-width:550px){.quote,.footgrid{grid-template-columns:1fr}.quote-end .btn{width:100%}.wrap,.hero-inner{width:90%}}@media(prefers-reduced-motion:reduce){.reveal.arrive{animation:none}}
.mast header{display:grid;grid-template-columns:minmax(76px,1fr) auto minmax(190px,1fr);column-gap:24px;align-items:center;padding-block:14px}.mast .brand{justify-self:start}.mast #nav{position:static;transform:none;gap:clamp(16px,2.4vw,38px)}.mast header .utility{width:auto;margin:0;padding:0;border:0;justify-self:end}.utility output{white-space:nowrap}.hero-inner h1{font-size:clamp(48px,6.4vw,90px);line-height:1.09;letter-spacing:-.04em}.hero-inner h1 em{line-height:1.12}.hero-inner .links{margin-top:clamp(28px,3vw,46px);gap:clamp(20px,2.6vw,40px);align-items:center}.hero-inner .links>a{display:inline-flex;align-items:center;min-height:48px}.hero-inner .links>a:last-child{padding-inline:4px}@media(max-width:850px){.mast header{grid-template-columns:auto 1fr auto;gap:14px}.mast .hamb{display:block;grid-column:3;grid-row:1;margin:0}.mast header .utility{grid-column:2;grid-row:1}.mast #nav{display:none;position:absolute;top:100%;left:0;right:0;padding:18px;background:#09263e}.mast #nav.open{display:grid}.mast #nav details div{position:static}.hero-inner{padding-top:clamp(48px,10vw,84px)}}@media(max-width:410px){.mast header{gap:8px}.mast header .utility div{gap:7px}.hero-inner .links{gap:16px}.hero-inner h1{font-size:clamp(40px,10.7vw,48px)}}
.wa{width:56px;height:56px;right:clamp(16px,2vw,30px);bottom:max(20px,env(safe-area-inset-bottom));background:#128451;color:white;border:1px solid #ffffffc4;box-shadow:0 4px 14px #071d3029;animation:none;isolation:isolate}.wa svg{display:block;width:30px;height:34px}.wa::before{content:"";position:absolute;inset:-1px;border:1px solid #15996380;border-radius:inherit;pointer-events:none;animation:wa-ring 3.4s ease-out infinite}.wa:hover,.wa:focus-visible{background:#096b43;box-shadow:0 6px 18px #102b3438}@keyframes wa-ring{0%,35%{opacity:0;transform:scale(1)}42%{opacity:.65}85%,100%{opacity:0;transform:scale(1.22)}}@media(prefers-reduced-motion:reduce){.wa::before{animation:none;opacity:0}}
/* Touch layouts and short landscape screens */
@media (max-width:1024px){
  .mast .utility .social{width:40px;height:40px;padding:9px}
  .mast .utility a,.mast .hamb{display:inline-flex;align-items:center;min-height:44px}
  .mast .hamb{display:none}
  .wrap,.hero-inner{width:min(92%,1480px)}
  .hero-inner .links a,.maplink,.footend a{min-height:44px;align-items:center;display:inline-flex}
  .grid,.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tile{aspect-ratio:5/4}
  .split>*,.quote>*,.footgrid>*{min-width:0}
  .footgrid address span{overflow-wrap:anywhere}
  dialog{max-height:85dvh;overscroll-behavior:contain}
  #close{min-height:44px}
}
@media (max-width:850px){
  .mast .hamb{display:inline-flex}
  .mast #nav.open{max-height:min(54dvh,350px);overflow-y:auto;overscroll-behavior:contain;gap:0;padding:8px 16px}
  .mast #nav.open :is(a,summary){padding:9px 6px;min-height:44px}
  .mast #nav.open details div{width:100%;padding:0 10px}
  .mast header .utility div{gap:5px}
}
@media (max-width:550px){
  .mast header{width:94%;gap:6px}
  .mast .utility .social{width:36px;height:44px;border-radius:0;border:none}
  .mast .utility a{font-size:12px;white-space:nowrap}
  .mast .utility output{right:0;white-space:normal;width:160px}
  .hero-inner h1{font-size:clamp(34px,10.4vw,54px)}
  .hero-inner .links{gap:10px 22px}
  .values,.gallery,.grid{gap:12px}
  .card h3{font-size:clamp(14px,4vw,19px);overflow-wrap:break-word}
  .card{padding:10px;gap:7px}
  .tile h3{line-height:1.16;padding:32px 9px 12px}
  .quote input,.quote select,.quote textarea{font-size:16px}
  .quote-end .btn{min-height:48px}
  .footend{padding-bottom:80px}
  .wa{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}
}
@media (max-height:520px) and (orientation:landscape){
  .hero-inner{padding-block:32px 40px}
  .hero-inner h1{font-size:clamp(38px,6vw,58px)}
  .hero-inner .links{margin-top:18px}
}
#inicio #sitefilm{z-index:0;pointer-events:none}#inicio::after{z-index:1;pointer-events:none}#inicio .hero-inner{position:relative;z-index:2}#film-start:not([hidden]){display:inline-flex;align-items:center;min-height:44px;margin-top:16px;padding:8px 16px;border:1px solid #ffffffa0;border-radius:5px;color:white;background:#092640dd}#film-start[hidden]{display:none}#film-status:not(:empty){display:block;margin-top:8px;color:white}
.hero-inner .hero-actions{display:flex;gap:12px;align-items:stretch}
.hero-inner .hero-actions>a{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:50px;padding:11px 19px;border:1px solid transparent;border-radius:9px;font-size:15px;font-weight:650;line-height:1.25;text-decoration:none;transition:background .18s,border-color .18s}
.hero-actions svg{flex:none;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hero-inner .hero-actions>a:first-child{background:#ff991d;color:#071e35}
.hero-inner .hero-actions>a:last-child{background:rgba(7,30,52,.74);border-color:#ffffff80;color:white}
@media(hover:hover){.hero-inner .hero-actions>a:first-child:hover{background:#ffaf47}.hero-inner .hero-actions>a:last-child:hover{border-color:white;background:#0d314f}}
@media(max-width:550px){.hero-inner .hero-actions{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:9px;max-width:410px}.hero-inner .hero-actions>a{gap:6px;padding:10px 8px;font-size:14px}.hero-actions svg{width:16px;height:16px}}
@media(max-width:359px){.hero-inner .hero-actions{grid-template-columns:1fr}.hero-inner .hero-actions>a{justify-content:space-between;padding-inline:16px}}

/* Brochure corporativo: sectores y catálogo completo */
.sectors{background:#f1f4f7}.sector-intro{display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:40px}.sector-intro p:last-child{max-width:48ch}.sector-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:36px}.sector-grid article{padding:24px;background:white;border-radius:8px;border-bottom:2px solid #ff9418}.sector-grid span{font-size:12px;color:#956014;letter-spacing:.12em}.sector-grid h3{font-size:23px;margin-top:12px;letter-spacing:-.025em}.brochure{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:36px;margin-top:36px;border-top:1px solid #ced8e0}.brochure h3{font-size:26px}.brochure p{margin-bottom:0}.brochure .btn{flex-shrink:0}.services .grid{row-gap:32px}.card:nth-child(5){--photo:url('img/pintura.webp')}.card:nth-child(6),.card:nth-child(7){--photo:url('img/obra.jpg')}.card:nth-child(8){--photo:url('img/interior.webp')}dialog{border-radius:12px;width:min(680px,92vw);color:var(--navy)}dialog h2{font-size:clamp(26px,4vw,36px);line-height:1.1}#detailList{padding-left:22px;display:grid;gap:10px;margin:20px 0 28px;font-size:15px}#detailList[hidden]{display:none}#detailList li::marker{color:#a65b00}#close{border-radius:6px;background:#eef3f7;color:var(--navy);min-height:44px}.legal{font-size:13px;color:#c7d5e1}.mast nav details div{max-height:65vh;overflow:auto;width:280px}@media(max-width:720px){.sector-intro{grid-template-columns:1fr;gap:12px}.sector-grid{grid-template-columns:1fr 1fr;gap:12px}.sector-grid article{padding:18px}.sector-grid h3{font-size:20px}.brochure{align-items:flex-start;flex-direction:column}.brochure .btn{width:100%}}@media(max-width:360px){.sector-grid{grid-template-columns:1fr}}

/* Fichas visuales del folleto */
dialog{position:fixed;width:min(940px,94vw);padding:28px;border-radius:16px;max-height:88dvh;box-shadow:0 24px 90px #00142855}dialog[open]{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}dialog .detail-visual{margin:36px 0 0;position:sticky;top:0;background:#f0f4f7;border-radius:12px;overflow:hidden}dialog #detailImg{display:block;width:100%;height:260px;max-height:none;aspect-ratio:1;object-fit:cover}dialog .detail-visual figcaption{padding:12px 14px;margin:0;background:#edf2f6;color:#4f6374;font-size:12px}dialog .detail-content{padding:36px 0 0;min-width:0}dialog .eyebrow{color:#a15b08;margin-bottom:12px}dialog h2{font-size:30px;line-height:1.14}dialog #detailBody{font-size:15px;color:#4c6072}dialog #detailList{list-style:none;padding:0;gap:0;margin:20px 0 24px}dialog #detailList li{position:relative;padding:11px 0 11px 18px;border-top:1px solid #e1e7ec;font-size:14px;line-height:1.5}dialog #detailList li:before{content:'';position:absolute;left:0;top:20px;width:5px;height:5px;border-radius:50%;background:#e68b20}dialog #ask{width:100%;border-radius:7px;font-size:14px}dialog #close{position:absolute;right:16px;top:12px;margin:0;float:none;z-index:2;padding:7px 12px;background:#edf2f6;color:#17354e;border:1px solid #d8e2ea}dialog .detail-visual figcaption[hidden]{display:none}@media(max-width:650px){dialog{padding:20px;max-height:90dvh}dialog[open]{grid-template-columns:1fr;gap:20px}dialog .detail-visual{position:static;margin-top:40px}dialog #detailImg{height:180px;object-position:center 40%}dialog .detail-content{padding:0}dialog h2{font-size:27px}dialog .detail-visual figcaption{padding:8px 12px}}

/* Sectores fotográficos y acciones equilibradas */
.hero-inner .hero-actions>a,.hero-inner .hero-actions>a:last-child{justify-content:center;text-align:center;padding:14px 24px;min-width:174px}.hero-inner .hero-actions>a:first-child{min-width:220px}.sector-intro{display:block;text-align:center;max-width:960px;margin:0 auto 42px}.sector-intro h2{font-size:clamp(34px,4vw,56px);line-height:1.08;letter-spacing:-.04em}.sector-grid{gap:24px;margin-top:0}.sector-card{position:relative;isolation:isolate;width:100%;aspect-ratio:4/3;overflow:hidden;border:0;border-radius:14px;padding:0;background:#102e47;color:white;text-align:left;box-shadow:0 8px 22px #09264212}.sector-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.3,1)}.sector-shade{position:absolute;inset:0;background:linear-gradient(180deg,#03152800 10%,#03152855 45%,#031528ee 100%)}.sector-copy{position:absolute;inset:auto 26px 22px;display:grid;gap:8px}.sector-copy h3{margin:0;color:white;font-size:clamp(24px,2.1vw,32px);letter-spacing:-.025em}.sector-copy>span{font-size:14px;color:#eef3f7}.sector-copy .sector-more{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff50;padding-top:12px;margin-top:8px;font-size:12px;font-weight:650;color:#fff}.sector-more b{width:28px;height:28px;border:1px solid #ffffff70;display:grid;place-items:center;border-radius:50%;font-size:21px;font-weight:400;transition:background .2s,transform .3s}.sector-card:focus-visible{outline:3px solid #e78b1d;outline-offset:5px}.brochure{padding:28px 32px;border:1px solid #dbe3eb;border-radius:12px;background:white;gap:30px}.brochure h3{font-size:24px}.brochure p{font-size:14px;color:#52687b}.brochure .btn{border-radius:7px}.services .wrap>h2{margin-bottom:44px}dialog .detail-visual{background:#eef2f5}dialog #detailImg{height:290px;object-fit:cover}dialog #detailCaption{font-size:11px;color:#526779}.footgrid address{gap:22px}@media(hover:hover){.sector-card:hover>img,.sector-card:focus-visible>img{transform:scale(1.055)}.sector-card:hover .sector-more b{background:#ff9418;border-color:#ff9418;color:#102e47;transform:rotate(90deg)}}@media(max-width:1024px){.sector-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.sector-copy{inset:auto 20px 18px}}@media(max-width:650px){dialog #detailImg{height:200px}.sector-copy h3{font-size:25px}.hero-inner .hero-actions>a,.hero-inner .hero-actions>a:first-child,.hero-inner .hero-actions>a:last-child{min-width:0;padding:13px 10px}.sector-grid{grid-template-columns:1fr}.sector-card{aspect-ratio:5/4;max-height:340px}.sector-intro{margin-bottom:28px}.brochure{padding:24px}.brochure .btn{width:100%}}@media(prefers-reduced-motion:reduce){.sector-card>img,.sector-more b{transition:none!important;transform:none!important}}
.sector-card span{letter-spacing:normal}
.sector-copy .sector-more{gap:16px;min-height:48px}.sector-more b{flex:0 0 32px;width:32px;height:32px;line-height:1;padding:0;transform:none!important}.sector-more b svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.sector-card:hover .sector-more b{transform:none}

/* Fichas cómodas en dispositivos táctiles, con cierre siempre accesible. */
html:has(dialog[open]){overflow:hidden}
dialog{overscroll-behavior:contain;scrollbar-gutter:stable}
dialog[open]{row-gap:18px}
dialog #close{position:sticky;grid-column:1/-1;justify-self:end;top:0;right:auto;margin:0;min-width:82px;min-height:44px;box-shadow:0 0 0 8px white;z-index:4}
dialog .detail-visual{margin:0;top:62px}
dialog .detail-content{padding:0}
dialog #ask{min-height:48px;line-height:1.35;white-space:normal}
dialog h2,dialog li{overflow-wrap:anywhere}
.sector-more b{flex-shrink:0}
@media(max-width:720px){dialog[open]{grid-template-columns:minmax(0,1fr)}dialog .detail-visual{position:static;margin:0}dialog #detailImg{height:190px}dialog{padding:18px;width:94vw;max-height:90dvh}dialog .detail-content{padding:0}.footgrid address a{min-height:44px}.card{min-width:0}}
@media(max-height:500px){dialog #detailImg{height:140px}dialog{max-height:94dvh}}
