@font-face{font-family:'Oswald';src:url('../fonts/oswald-300.woff2') format('woff2');font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:'Oswald';src:url('../fonts/oswald-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Oswald';src:url('../fonts/oswald-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Oswald';src:url('../fonts/oswald-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Oswald';src:url('../fonts/oswald-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo';src:url('../fonts/archivo-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo';src:url('../fonts/archivo-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo';src:url('../fonts/archivo-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Archivo';src:url('../fonts/archivo-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Libre Caslon Text';src:url('../fonts/librecaslon-400.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Libre Caslon Text';src:url('../fonts/librecaslon-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
/* TERRA · Línea premium de PEDREGAL — hoja de estilos del sitio */
:root{--navy:#14234B;--navy-deep:#0E1A3A;--copper:#B4602C;--copper-ink:#9C5530;--caliza:#D9D3C6;--off:#F5F3EF;--ink:#1E2A44}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:#F5F3EF}
*{box-sizing:border-box}
a{color:#14234B}a:hover{color:#9C5530}
.wrap{max-width:1240px;margin:0 auto;padding-left:40px;padding-right:40px}
.split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.g5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
@media (max-width:980px){.g5{grid-template-columns:repeat(2,minmax(0,1fr))}}
.navlink{font-family:Archivo,sans-serif;font-weight:600;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:#14234B;text-decoration:none;padding:14px 4px;border-bottom:2px solid transparent}
.navlink:hover{color:#9C5530;border-bottom-color:#9C5530}
.tile:hover img{transform:scale(1.04)}
.tile img{transition:transform .42s cubic-bezier(.22,.61,.36,1)}
.btn:hover{filter:brightness(1.08)}
.collage{clip-path:polygon(0 0,100% 0,84% 100%,0 100%)}
@keyframes kb{0%{transform:scale(1.02) translate(0,0)}100%{transform:scale(1.14) translate(-2.5%,-1.5%)}}
@keyframes rise{0%{opacity:0;transform:translateY(28px)}100%{opacity:1;transform:none}}
@keyframes pan{0%{transform:scale(1.15) translateX(-3%)}100%{transform:scale(1.15) translateX(3%)}}
@keyframes pop{0%{opacity:0;transform:scale(.96)}100%{opacity:1;transform:none}}
@keyframes glow{0%,100%{width:120px}50%{width:200px}}
.kb{animation:kb 22s cubic-bezier(.22,.61,.36,1) infinite alternate;transform-origin:60% 50%}
.rise>*{opacity:0;animation:rise .9s cubic-bezier(.22,.61,.36,1) forwards}
.rise>*:nth-child(1){animation-delay:.15s}.rise>*:nth-child(2){animation-delay:.35s}.rise>*:nth-child(3){animation-delay:.6s}.rise>*:nth-child(4){animation-delay:.8s}.rise>*:nth-child(5){animation-delay:1s}
.pan{animation:pan 30s ease-in-out infinite alternate}
.pop{opacity:0;animation:pop .8s cubic-bezier(.22,.61,.36,1) forwards}
.pop:nth-child(1){animation-delay:.1s}.pop:nth-child(2){animation-delay:.2s}.pop:nth-child(3){animation-delay:.3s}.pop:nth-child(4){animation-delay:.4s}.pop:nth-child(5){animation-delay:.5s}.pop:nth-child(6){animation-delay:.6s}.pop:nth-child(7){animation-delay:.7s}.pop:nth-child(8){animation-delay:.8s}
.pop span{transition:background .3s,color .3s}.pop:hover span{background:#B4602C;color:#FBF6F0}
.btn{transition:transform .2s,filter .2s}.btn:hover{transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.kb,.pan{animation:none}.rise>*,.pop{animation:none;opacity:1}}
@media (max-width:980px){
.split{grid-template-columns:minmax(0,1fr);gap:36px}
.g4{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(2,minmax(0,1fr))}
.collage{clip-path:none}
.hide-md{display:none}
}
@media (max-width:600px){
.wrap{padding-left:16px;padding-right:16px}
.g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}
.h-xl{font-size:44px !important}
.h-lg{font-size:40px !important}
.navbar{flex-wrap:wrap}
}

/* Pestañas de producto */
.tab{font-family:Oswald,sans-serif;font-weight:400;font-size:17px;letter-spacing:.08em;text-transform:uppercase;padding:12px 22px;min-height:48px;background:transparent;color:#14234B;border:1px solid rgba(20,35,75,.35);cursor:pointer;transition:background .2s,color .2s}
.tab:hover{border-color:#14234B}
.tab[aria-selected="true"]{font-weight:500;background:#14234B;color:#D9D3C6;border-color:#14234B}
.tab:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(180,96,44,.6);outline-offset:2px}
.tabpanel[hidden]{display:none !important}
.tabpanel{animation:rise .5s cubic-bezier(.22,.61,.36,1)}
/* Menú móvil */
.menu-btn{display:none;flex-direction:column;justify-content:center;gap:5px;width:48px;height:48px;padding:12px;background:transparent;border:1px solid rgba(20,35,75,.3);cursor:pointer}
.menu-btn span{display:block;height:2px;background:#14234B;transition:transform .25s,opacity .25s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
@media (max-width:860px){
.navbar{flex-wrap:wrap;min-height:72px !important}
.menu-btn{display:inline-flex}
.btn-cta{display:none !important}
.mainnav{display:none !important;width:100%;flex-direction:column;align-items:flex-start !important;gap:0 !important;padding-bottom:12px}
.mainnav.open{display:flex !important}
.mainnav .navlink{width:100%;border-bottom:1px solid rgba(20,35,75,.08)}
}
/* Formulario */
.form-msg{font-size:14px;color:#3A4258;margin:0}
.form-msg.err{color:#A33A2E}
