@font-face{font-family:Alef;src:url('assets/alef.woff2') format('woff2');font-display:swap}
*{box-sizing:border-box}
body{margin:0;background:#eee;color:#251a31;font-family:Alef,system-ui,sans-serif}
.ancho{width:min(1150px,calc(100% - 72px));margin-inline:auto}
header{position:absolute;top:20px;left:max(36px,calc((100% - 1150px)/2));z-index:1}
header img{display:block;width:180px;height:auto}
.portada{display:grid;align-items:center;min-height:clamp(480px,82svh,820px);padding-block:110px 55px;background:linear-gradient(90deg,#0008,transparent 75%),url('assets/portada.jpg') right center/cover no-repeat;color:white}
h1,h2,p{margin:0}
h1{max-width:12em;font-size:clamp(2.6rem,4.5vw,4.3rem);font-weight:400;line-height:1.07;text-shadow:0 2px 8px #0008}
.historia{padding-block:38px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.historia img{display:block;width:100%;height:clamp(300px,42vw,510px);object-fit:contain}
h2{font-family:system-ui,sans-serif;font-weight:900;line-height:1.12;letter-spacing:-.035em;font-size:clamp(2rem,4.2vw,3.35rem);max-width:14ch;margin-bottom:24px}
p{font-size:clamp(1.04rem,1.5vw,1.2rem);line-height:1.6;color:#403b44}
p+p{margin-top:14px}
footer{padding:24px 80px;text-align:center;background:#251a31;color:white}
.contacto{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#157b44;color:white;box-shadow:0 3px 12px #0004}
.contacto:hover{background:#0d6234}
a:focus-visible{outline:3px solid white;outline-offset:2px;box-shadow:0 0 0 6px #251a31}
@media(max-width:650px){
  .ancho{width:calc(100% - 40px)}
  header{left:20px;top:16px}
  header img{width:135px}
  .portada{align-items:end;min-height:clamp(430px,74svh,640px);padding-bottom:42px;background-image:linear-gradient(0deg,#000b,transparent 55%),url('assets/portada.jpg');background-position:75% center}
  h1{max-width:10ch}
  .historia{grid-template-columns:1fr;gap:24px;padding-bottom:65px}
  .historia img{height:320px}
}
