@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--yellow:#f6c62e;--ink:#20221e;--paper:#f4f3ed}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:85px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}header{height:98px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;background:var(--paper);position:relative;z-index:5}.brand{display:flex;align-items:center;gap:10px;line-height:1}.brand-icon{background:var(--yellow);font-size:38px;padding:8px 5px;transform:skew(-8deg)}.brand small{font-size:10px;letter-spacing:3px;display:block;font-weight:700;margin-bottom:4px}.brand strong{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:34px;letter-spacing:1px}.dot{color:#c89600}nav{display:flex;gap:30px;font-size:13px}nav a:hover{border-bottom:1px solid}header .contact-top{padding:14px 18px;border:1px solid #ccc;font-size:12px;font-weight:700}.contact-top span{margin-left:20px}.menu{display:none}.hero{height:min(820px,calc(100svh - 98px));min-height:630px;position:relative;color:white;overflow:hidden}.hero>img{width:100%;height:100%;object-fit:cover;object-position:center 58%}.shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(13,19,15,.86),rgba(13,19,15,.32) 52%,rgba(13,19,15,.02)),linear-gradient(0deg,rgba(0,0,0,.45),transparent 40%)}.hero-content{position:absolute;top:10%;left:7%;right:5%}.eyebrow{font-size:11px;letter-spacing:2.4px;font-weight:700;display:flex;align-items:center;gap:10px}.eyebrow>span{width:7px;height:7px;background:var(--yellow);border-radius:100%}h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif}h1{font-size:clamp(72px,7.7vw,120px);font-weight:700;line-height:.94;letter-spacing:-1px;margin:30px 0}em{font-style:normal;color:var(--yellow)}.hero-copy{font-size:15px;line-height:1.7;color:#eeeee8;margin:25px 0}.button{display:inline-flex;background:var(--yellow);color:var(--ink);padding:19px 23px;gap:40px;font-size:12px;font-weight:700}.button:hover{background:white}.hero-bottom{position:absolute;bottom:30px;left:7%;right:7%;display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px}.vertical{position:absolute;right:22px;top:38%;writing-mode:vertical-rl;font-size:9px;letter-spacing:4px}.ticker{display:flex;justify-content:space-around;align-items:center;gap:30px;overflow:hidden;white-space:nowrap;background:var(--yellow);padding:22px 0;font-family:'Barlow Condensed',Impact,sans-serif;font-size:23px;font-weight:700}.ticker b{font-size:28px}.section{padding:100px 7%}.intro{display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center}.dark{color:#62685a}h2{font-size:clamp(48px,5vw,76px);line-height:1.02;letter-spacing:-.6px;margin:24px 0}h2 em{color:#92967e}.intro-copy{font-size:15px;line-height:1.9}.intro-copy p:first-child{font-size:20px;line-height:1.6}.text-link{display:inline-block;font-size:12px;font-weight:700;border-bottom:1px solid #92967e;padding-bottom:9px;margin-top:15px}.machine-photo{height:560px;margin:0 7%;overflow:hidden}.machine-photo img{height:100%;width:100%;object-fit:cover;object-position:center 62%}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:45px}.section-head h2{margin-bottom:0}.section-head>p{font-size:13px;line-height:1.8;color:#6a6d62}.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.work-card img{width:100%;height:350px;object-fit:cover;transition:transform .4s}.work-card:hover img{transform:translateY(-6px)}.work-card small{font-size:9px;letter-spacing:1.5px;color:#686c60;display:block;margin-top:24px}.work-card h3{font-size:27px;margin:12px 0}.work-card h3 span{float:right;color:#878b79}.gallery{background:var(--ink);color:var(--paper)}.gallery h2 em{color:var(--yellow)}.gallery .eyebrow{color:#c2c7b4}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button{border:1px solid #5c6054;background:transparent;color:#e4e5dc;padding:10px 15px;font-size:11px}.filters .active{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.photo-grid button{padding:0;border:0;background:#35382f;position:relative;height:300px;overflow:hidden}.photo-grid .wide{grid-column:span 2}.photo-grid img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.photo-grid button:hover img{transform:scale(1.04)}.photo-grid span{position:absolute;right:15px;bottom:15px;background:var(--yellow);color:var(--ink);padding:9px 14px}.photo-grid [hidden]{display:none}.contact{background:var(--yellow)}.contact h2{font-size:clamp(50px,6vw,88px)}.contact h2 em{color:#746524}.contact-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid #b99b31;margin-top:45px;padding-top:28px}.contact-bottom p{font-size:14px;line-height:1.8}.contact-placeholder{font-size:14px;line-height:1.8}.contact-placeholder small{font-size:11px;color:#665920}.big-arrow{font-size:85px;line-height:1}footer{background:var(--ink);color:var(--paper);padding:45px 7%;display:flex;justify-content:space-between;align-items:center;gap:25px}footer p{font-size:10px;line-height:1.8;color:#b6baa9}footer>span,footer>a:last-child{font-size:10px;color:#b6baa9}dialog{border:0;padding:0;background:#151713;max-width:94vw;max-height:94svh;color:white}dialog::backdrop{background:#000d}dialog>img{display:block;max-width:90vw;max-height:80svh;object-fit:contain}dialog>p{padding:0 20px;font-size:12px}.close{position:absolute;top:10px;right:10px;background:var(--yellow);border:0;font-size:28px;width:42px;height:42px}a:focus-visible,button:focus-visible{outline:3px solid #d88908;outline-offset:5px}
@media(min-width:1600px){.hero-content{top:13%}.hero{height:850px}}
@media(max-width:800px){header{height:80px;padding:0 6%}.brand strong{font-size:28px}.brand small{font-size:8px}.brand-icon{font-size:29px}header .contact-top{display:none}.menu{display:block;border:0;background:none;font-size:25px}nav{display:none;position:absolute;top:80px;left:0;right:0;background:var(--paper);padding:25px 6%;flex-direction:column}nav.open{display:flex}.hero{height:760px;min-height:650px;max-height:calc(100svh - 80px)}.hero>img{object-position:59% center}.shade{background:linear-gradient(90deg,#10180fbd,#10180f30),linear-gradient(0deg,#0008,transparent)}h1{font-size:78px}.hero-content{top:8%}.hero-copy{font-size:13px}.hero-bottom{font-size:8px;letter-spacing:1px}.hero-bottom>a{display:none}.ticker{justify-content:flex-start;font-size:18px;padding:15px 20px}.section{padding:65px 7%}.intro{grid-template-columns:1fr;gap:15px}.intro-copy p:first-child{font-size:18px}.machine-photo{height:380px;margin:0}.section-head{display:block;margin-bottom:30px}.section-head>p{margin-top:25px}.work-grid{grid-template-columns:1fr;gap:35px}.work-card img{height:350px}.work-card small{margin-top:15px}.work-card h3{margin-bottom:0}.filters{margin-top:25px}.photo-grid{grid-template-columns:repeat(2,1fr);gap:10px}.photo-grid button{height:220px}.photo-grid .wide{grid-column:span 2}.contact-bottom{flex-wrap:wrap}.big-arrow{font-size:60px}footer{flex-wrap:wrap;padding:40px 7%}footer .brand{width:100%}footer>span{width:55%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Fotografías de trabajos */
button.work-card{display:block;text-align:left;padding:0;border:0;background:transparent;color:inherit;min-width:0}
.work-image{position:relative;overflow:hidden;background:#ddd}
.work-card .work-image img{display:block;aspect-ratio:4/3;height:auto;object-fit:cover}
.work-card:hover .work-image img{transform:scale(1.035)}
.expand-mark{position:absolute;right:14px;bottom:14px;padding:10px 15px;background:var(--yellow);color:var(--ink)}
.work-caption{padding:17px 0 8px}
.work-caption h3{font-size:25px;margin:0 0 9px}
.work-caption>span{font-size:11px;color:#686c60}
.work-grid{row-gap:32px}
@media(max-width:800px){.work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.work-caption h3{font-size:22px}.expand-mark{padding:7px 11px;right:9px;bottom:9px}}
@media(max-width:520px){.work-grid{grid-template-columns:1fr}.work-caption h3{font-size:27px}}
/* Logotipo original de la empresa */
header{height:152px;background:#fff}
.brand{display:inline-flex;flex-shrink:0}
.brand-logo{display:block;width:116px;height:132px;object-fit:contain}
footer .brand{background:#fff;padding:10px 15px;width:auto;border-radius:2px}
footer .brand-logo{width:124px;height:140px}
html{scroll-padding-top:30px}
.hero{height:min(820px,calc(100svh - 152px))}
@media(max-width:800px){header{height:128px}header .brand-logo{width:94px;height:110px}nav{top:128px;background:white}.hero{max-height:calc(100svh - 128px)}footer .brand{width:auto}}
.work-film{margin:0 0 55px}
.work-film-player{position:relative;background:#161a15;overflow:hidden}
.work-film video{display:block;width:100%;height:auto;max-height:72svh;aspect-ratio:854/480;object-fit:contain}
.film-play{position:absolute;inset:0;border:0;display:flex;align-items:center;justify-content:center;gap:20px;background:linear-gradient(0deg,#10180f66,#10180f0d);color:white;font-size:18px;font-weight:700;text-align:left}
.film-play[hidden]{display:none}
.film-play-icon{display:grid;place-items:center;width:76px;height:76px;border-radius:50%;background:var(--yellow);color:var(--ink);font-size:25px;padding-left:4px;transition:transform .2s}
.film-play:hover .film-play-icon{transform:scale(1.08)}
.film-play small{display:block;font-size:11px;letter-spacing:1px;font-weight:400;margin-top:8px}
.work-film figcaption{display:flex;justify-content:space-between;gap:15px;padding-top:16px;font-size:10px;letter-spacing:1.5px;color:#62685a}
@media(max-width:520px){.film-play{gap:13px;font-size:14px}.film-play-icon{width:54px;height:54px;font-size:19px}.film-play small{font-size:10px}.work-film figcaption{font-size:8px;letter-spacing:1px}.work-film{margin-bottom:35px}}

/* Nueva colección completa */
.hero>img{object-position:67% center}
.work-grid{display:block;columns:3;column-gap:20px}
button.work-card{width:100%;break-inside:avoid;margin:0 0 20px;position:relative}
.work-card .work-image img{aspect-ratio:auto;height:auto;width:100%;object-fit:contain}
.work-card[hidden]{display:none}
.more-photos{text-align:center;margin-top:25px}
.photo-count{font-size:12px;color:#62685a;margin-bottom:20px}
.more-button{border:0;margin:auto}
.more-button[hidden]{display:none}
.lightbox-nav{display:flex;justify-content:center;gap:15px;padding:0 20px 18px}
.lightbox-nav button{background:var(--yellow);border:0;width:55px;height:40px;font-size:22px}
dialog>p{text-align:center}
.track-divider{height:230px;position:relative;overflow:hidden;margin-top:70px;background:#8d6b43;isolation:isolate}
.track-soil{position:absolute;inset:0;background:linear-gradient(#75543633,#39271755),url('assets/mejoradas/foto-64.webp') center 96%/cover;filter:saturate(.6)}
.track-divider:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#33251933,transparent 30%,#33251933);pointer-events:none}
.track-pair{position:absolute;width:170%;left:-30%;top:45%;display:flex;flex-direction:column;gap:58px;transform:rotate(-12deg)}
.track-lane{height:63px;background:repeating-linear-gradient(90deg,transparent 0 9px,#281b13a6 9px 22px,transparent 22px 27px);border-top:5px solid #32211666;border-bottom:5px solid #32211666;box-shadow:0 3px 5px #23180e55,inset 0 2px 4px #20150c66;filter:drop-shadow(1px 2px 1px #c39e6b88);opacity:.8}
@media(max-width:800px){.work-grid{columns:2;column-gap:14px}.track-divider{height:170px;margin-top:45px}.hero>img{object-position:72% center}button.work-card{margin-bottom:14px}}
@media(max-width:520px){.work-grid{columns:2;column-gap:10px}.work-card .expand-mark{font-size:12px;padding:5px 9px;right:6px;bottom:6px}button.work-card{margin-bottom:10px}.track-pair{gap:42px}.track-lane{height:48px}.track-divider{height:150px}.hero>img{object-position:70% center}}

/* Adaptación móvil y contacto */
html,body{max-width:100%;overflow-x:clip}
img,video{max-width:100%}
header>*{min-width:0}
.whatsapp-header{display:inline-flex;align-items:center;gap:9px}
.whatsapp-header svg{width:23px;height:23px;flex:none}
header .whatsapp-header span{margin:0}
.contact-details{display:flex;flex-direction:column;gap:16px;min-width:0}
.whatsapp-contact{display:flex;align-items:center;gap:15px;background:var(--ink);color:white;padding:19px 23px;border-radius:3px}
.whatsapp-contact svg{width:32px;height:32px;flex:none}
.whatsapp-contact small{display:block;font-size:22px;font-weight:700;margin-top:5px}
.whatsapp-contact>span:last-child{margin-left:15px}
.phone-link{font-size:12px;text-decoration:underline;text-underline-offset:4px}
.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:20;display:flex;align-items:center;gap:10px;background:#236b43;color:#fff;padding:14px 20px;border-radius:50px;box-shadow:0 5px 20px #0003;font-size:13px;font-weight:700}
.whatsapp-float svg{width:27px;height:27px;flex:none}
.whatsapp-float:hover{background:#185633}
.intro,.work,.contact{position:relative;isolation:isolate}
.intro:before,.work:before,.contact:before{content:'';position:absolute;pointer-events:none;z-index:-1;background:url('assets/huellas-oruga.svg') center/contain no-repeat;width:210px;height:700px;transform:rotate(-28deg);opacity:.12}
.intro:before{right:5%;top:-135px}
.work:before{right:7%;top:-85px;width:145px;height:480px;opacity:.1;transform:rotate(24deg)}
.contact:before{right:12%;top:-190px;width:240px;height:800px;opacity:.17}
.intro,.contact{overflow:hidden}
dialog{width:min(1000px,94vw);max-height:92dvh}
dialog>img{width:100%;height:auto;max-height:70dvh;margin:auto}
.close,.lightbox-nav button{min-width:44px;min-height:44px}
@media(max-width:800px){
header{height:94px;padding:8px 5%;gap:14px}
header .brand-logo{width:66px;height:76px}
header .whatsapp-header{display:inline-flex;padding:10px 13px;margin-left:auto;font-size:12px;min-height:44px;border:1px solid #d9ddd3}
.menu{min-width:44px;min-height:44px;padding:8px}
nav{top:94px;padding:20px 6%;gap:0;box-shadow:0 12px 18px #0001}
nav a{padding:14px 0}
.hero{height:auto;min-height:0;max-height:none;display:block}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-position:68% center}
.hero-content{position:relative;top:auto;left:auto;right:auto;padding:52px 6% 80px;min-height:550px}
.hero h1{font-size:clamp(45px,10.8vw,76px);line-height:1.02;margin:26px 0;letter-spacing:-.5px}
.hero .eyebrow{font-size:9px;letter-spacing:1.5px;line-height:1.5}
.hero-copy{font-size:14px;line-height:1.7;margin:23px 0}
.hero .button{padding:17px 20px;gap:25px;min-height:48px}
.hero-bottom{bottom:24px;left:6%;right:6%;letter-spacing:1.2px;font-size:8px}
.vertical{display:none}
.shade{background:linear-gradient(90deg,#10180fdf,#10180f55),linear-gradient(0deg,#0006,transparent)}
.section{padding:58px 6%}
h2{font-size:clamp(39px,8.5vw,60px);line-height:1.06}
.contact h2{font-size:clamp(39px,8.5vw,60px)}
.intro-copy{font-size:14px;line-height:1.8}
.intro-copy p:first-child{font-size:18px}
.machine-photo{height:auto;margin:0 6%}
.machine-photo img{display:block;width:100%;height:auto;object-fit:contain}
.work-film video{width:100%;height:auto;max-height:none}
.work-film figcaption{flex-wrap:wrap;line-height:1.6;gap:7px;font-size:9px;letter-spacing:.9px}
.work-grid{columns:2;column-gap:12px}
button.work-card{margin-bottom:12px}
.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-grid button{height:auto;aspect-ratio:1/1;min-width:0}
.photo-grid .wide{aspect-ratio:16/9}
.filters button{min-height:44px;padding:11px 14px}
.contact-bottom{display:flex;flex-direction:column;align-items:stretch;margin-top:30px;padding-top:20px;gap:18px}
.contact-details{width:100%}
.whatsapp-contact{padding:17px;gap:12px;font-size:13px}
.whatsapp-contact small{font-size:23px}
.phone-link{font-size:12px;line-height:1.7}
.big-arrow{display:none}
footer{padding:35px 6% 110px;align-items:center;gap:22px}
footer>span{width:auto}
footer .brand-logo{width:85px;height:96px}
footer p{font-size:11px}
.whatsapp-float{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:12px 16px}
.intro:before{right:-90px;top:25px;opacity:.09}
.work:before{right:-50px;top:0;width:120px;opacity:.08}
.contact:before{right:-60px;top:40px;width:150px;opacity:.12}
}
@media(max-width:360px){
header{gap:8px}
header .whatsapp-header{padding:9px}
.hero-content{padding-top:38px;min-height:510px}
.hero h1{font-size:43px}
.film-play{gap:9px;font-size:12px}
.film-play-icon{width:44px;height:44px;font-size:16px}
.film-play small{font-size:9px}
}
.machine-photo img{object-position:center 57%}

/* Pisadas de acero sobre tierra: bordes rotos, textura y desvanecimiento */
.intro:before,.work:before,.contact:before{background-image:url('assets/huellas-oruga.svg?v=2');height:850px;width:220px}
.intro:before{opacity:.22;top:-180px;right:7%;transform:rotate(-25deg)}
.work:before{opacity:.19;top:-150px;right:4%;height:640px;width:170px;transform:rotate(22deg)}
.contact:before{opacity:.28;top:-190px;right:12%;height:1000px;width:260px}
@media(max-width:800px){
.intro:before{right:-65px;top:-90px;opacity:.15;width:180px}
.work:before{right:-50px;top:-45px;opacity:.16;width:140px;height:620px}
.contact:before{right:-30px;top:0;opacity:.2;width:170px;height:720px}
}
.hero>img{object-position:55% 58%}@media(max-width:800px){.hero>img{object-position:51% center}}
.machine-photo{height:auto;overflow:visible}.machine-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
.hero>img{object-position:67% 58%}.intro:before,.work:before,.contact:before{background-image:url("assets/huellas-oruga.svg?v=3")}.intro:before{opacity:.42}.work:before{opacity:.38}.contact:before{opacity:.49}@media(max-width:800px){.hero>img{object-position:70% center}.intro:before{opacity:.31}.work:before{opacity:.3}.contact:before{opacity:.38}}

