@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(/fuentes/Inter-Regular.woff) format("woff")}
@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(/fuentes/Inter-Medium.woff) format("woff")}
@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(/fuentes/Inter-SemiBold.woff) format("woff")}
@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(/fuentes/Inter-Bold.woff) format("woff")}
@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(/fuentes/Inter-ExtraBold.woff) format("woff")}
@font-face{font-family:"Inter Display";font-style:normal;font-weight:600;font-display:swap;src:url(/fuentes/InterDisplay-SemiBold.woff) format("woff")}
@font-face{font-family:"Inter Display";font-style:normal;font-weight:800 900;font-display:swap;src:url(/fuentes/InterDisplay-Black.woff) format("woff")}

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0}
section[id]{scroll-margin-top:8px}
a{color:#fbbf24}
a:hover{color:#fde68a}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}
input:focus,select:focus,textarea:focus{border-color:#15803d!important}
button[disabled]{opacity:.6;cursor:wait!important}
img{max-width:100%}

/* Ajustes para móvil */
@media (max-width:640px){
  #inicio > div:first-child{gap:6px 12px!important;padding-top:14px!important}
  #inicio > div:first-child > a:first-child > span:first-child{width:46px!important;height:46px!important}
  #inicio > div:first-child > a:first-child > span:first-child img{width:38px!important;height:33px!important}
  #inicio > div:first-child > a:first-child span span:first-child{font-size:17px!important}
  #inicio > div:first-child > a:first-child span span:last-child{font-size:8.5px!important;letter-spacing:1.8px!important}
  #inicio > div:first-child > a[href^="tel:"]{margin-left:auto;min-height:44px!important;padding:0 14px!important;font-size:15px!important}
  #inicio nav{order:3;flex-basis:100%!important;justify-content:space-between!important;gap:0 10px!important;font-size:14px!important}
  #inicio > div:last-child > div{font-size:15px!important;gap:6px 14px!important;padding:16px 24px!important}
  #trabajos figure{flex-basis:100%!important}
  #trabajos a[href="#contacto"] > div{background:linear-gradient(180deg,rgba(6,24,52,.62) 0%,rgba(6,24,52,.25) 60%,rgba(0,0,0,0) 85%)}
  #inicio > div:nth-child(2){padding-top:36px!important;padding-bottom:56px!important}
  .hero-foto{padding:0 0 26px 22px!important}
  .hero-img{height:320px!important}
  .hero-sello{width:84px!important;height:84px!important;padding:12px!important;right:-6px!important;top:-12px!important}
  .hero-etiqueta{left:36px!important;bottom:40px!important;font-size:13px!important}
  #contacto form{padding:22px!important}
  #contacto a[href^="tel:"]{font-size:24px!important;min-height:64px!important}
  #trabajos figure img{height:260px!important}
  #trabajos a[href="#contacto"]{min-height:360px!important}
  #trabajos a[href="#contacto"] > div{padding:28px 24px!important;min-height:360px!important}
}

/* Páginas legales */
.legal{font-family:Inter,system-ui,sans-serif;color:#1f2a22;background:#ffffff;line-height:1.65;font-size:17px}
.legal header{background:#0b1a11}
.legal header div{max-width:860px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.legal header a{color:#ffffff;text-decoration:none;font-weight:700;display:inline-flex;align-items:center;gap:12px;min-height:48px}
.legal header a.volver{color:#fbbf24}
.legal main{max-width:860px;margin:0 auto;padding:44px 24px 72px}
.legal h1{font-family:"Inter Display",Inter,sans-serif;font-weight:900;font-size:clamp(34px,6vw,52px);line-height:1.05;margin:0 0 8px;color:#0b1a11}
.legal h2{font-family:"Inter Display",Inter,sans-serif;font-weight:800;font-size:23px;margin:36px 0 8px;color:#0b1a11}
.legal p,.legal li{margin:0 0 12px}
.legal a{color:#15803d;font-weight:600}
.legal table{border-collapse:collapse;width:100%;margin:8px 0 16px;font-size:15px}
.legal th,.legal td{border:1px solid #d4ddd6;padding:10px 12px;text-align:left;vertical-align:top}
.legal th{background:#f1f6f2}
.legal .fecha{color:#56655a;font-size:15px;margin-bottom:28px}
.legal footer{background:#0a0a0a;color:#a8a8a8;font-size:13px}
.legal footer div{max-width:860px;margin:0 auto;padding:22px 24px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}
.legal footer a{color:#d4d4d4;font-weight:400}
