/* UI-V3 HOME (David: ideas/home.png, HOME-SPEC.md). Page-scoped (v2h-*). Sizes taken from the mock at 1366: a 1200px content
   column, a ~420px hero, a white points strip, the catalogue on light grey, a navy-tiled sawmill band. */
.v2-site .v2h{background:var(--ast-surface)}
/* T1 CONTAINER-TOKEN: the home's sections in the one web frame (.v2-container, 1440), as the header; no 1200px column. */
.v2-site .v2h h2{margin:0;font-size:var(--ast-h2);font-weight:800;line-height:1.15;letter-spacing:-.03em;color:var(--ast-text);text-wrap:balance}
/* DS-PRIMITIVES (DESIGN-AUDIT P1-2): the eyebrow is the shared .v2-eyebrow (base.css; --red too); the home keeps its own spacing and size. */
.v2-site .v2h-eyebrow{margin:0 0 .6rem}
.v2-site .v2h-how-copy .v2-eyebrow--red{color:var(--ast-red-text)} /* A11Y-P1 (David, option a): on the page grey #e4002b is 4.44:1 */

/* 1. Hero: the real yard, a dark gradient on the left, the copy on it. */
.v2-site .v2h-hero-img{object-position:80% 18%}
.v2-site .v2h-hero .v2h-eyebrow{color:var(--ast-white);opacity:1} /* P2-FAM3 */
.v2-site .v2h-hero h1 .v2h-red{color:var(--ast-red)}
.v2-site .v2h-nowrap{white-space:nowrap}

/* 2. Points strip: four items between thin dividers. */
.v2-site .v2h-usps{background:var(--ast-surface);border-bottom:1px solid var(--ast-border)}
.v2-site .v2h-usps ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 auto;padding:0;list-style:none}
.v2-site .v2h-usps li{display:flex;align-items:center;gap:.9rem;padding:.85rem var(--ast-space-4);min-width:0}
.v2-site .v2h-usps li+li{border-left:1px solid var(--ast-border)}
.v2-site .v2h-usps i{flex:none;font-size:1.65rem;color:var(--ast-red);width:2rem;text-align:center}
.v2-site .v2h-usps span{display:grid;gap:.15rem;font-size:var(--ast-text-meta);color:var(--ast-muted)}
.v2-site .v2h-usps strong{font-size:var(--ast-text-sm);font-weight:700;color:var(--ast-text)}

/* 3–5. Catalogue and "how to buy" on light grey. */
.v2-site .v2h-catalogue{background:var(--ast-bg);padding-block:1.4rem 1.2rem}
.v2-site .v2h-products-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--ast-space-4) var(--ast-space-8);margin-bottom:1.1rem}
.v2-site .v2h-products-head p{margin:.35rem 0 0;color:var(--ast-text);opacity:.8}
.v2-site .v2h-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ast-space-5)}
.v2-site .v2h-section{margin-top:var(--ast-space-6)}
.v2-site .v2h-section:focus{outline:0} /* the tabs' keyboard target (home-tabs.js), not a control */
.v2-site .v2h-section>h3{margin:0 0 .8rem;font-size:1.4rem;letter-spacing:-.02em}
.v2-site #nuestros-productos,.v2-site #maderas,.v2-site #derivados,.v2-site #preguntas-frecuentes{scroll-margin-top:1rem}
.v2-site .v2h-vat-note{margin:var(--ast-space-3) 0 0;font-size:var(--ast-text-xs);color:var(--ast-muted)}

.v2-site .v2h-how{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:var(--ast-space-8);align-items:center;margin-top:1.6rem;padding:1.2rem 1.6rem;border:1px solid var(--ast-border);border-radius:var(--ast-radius);background:var(--ast-bg)}
.v2-site .v2h-how-copy h2{font-size:1.45rem}
.v2-site .v2h-how-copy p:last-child{margin:var(--ast-space-2) 0 0;color:var(--ast-text);opacity:.85;line-height:1.45;font-size:var(--ast-text-sm)}
.v2-site .v2h-how .v2-steps{padding:0 0 0 var(--ast-space-8);border-left:1px solid var(--ast-border)}

/* 6. Sawmill band: the photo fading to white on the left, navy tiles on the right. */
.v2-site .v2h-mill{position:relative;isolation:isolate;overflow:hidden;background:var(--ast-surface)}
.v2-site .v2h-mill-img{position:absolute;inset:0 0 0 30%;z-index:-2;width:70%;height:100%;object-fit:cover;object-position:50% 60%}
.v2-site .v2h-mill::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--ast-surface) 0%,var(--ast-surface) 32%,rgb(255 255 255 / .82) 40%,rgb(255 255 255 / 0) 62%)}
.v2-site .v2h-mill-inner{display:flex;align-items:center;justify-content:space-between;gap:var(--ast-space-8);padding-block:1.9rem}
.v2-site .v2h-mill-copy{max-width:31rem}
.v2-site .v2h-mill-copy p:not(.v2h-eyebrow){margin:.55rem 0 .95rem;line-height:1.42;font-size:var(--ast-text-sm);color:var(--ast-text)}
.v2-site .v2h-tiles{display:grid;gap:var(--ast-space-2);width:min(15.5rem,100%);margin:0;padding:0;list-style:none}
.v2-site .v2h-tiles li{display:flex;align-items:center;gap:.9rem;padding:.6rem var(--ast-space-4);border-radius:var(--ast-radius-sm);background:rgb(17 21 34 / .88);color:var(--ast-white);box-shadow:0 6px 18px rgb(0 0 0 / .18)}
.v2-site .v2h-tiles i{flex:none;width:1.6rem;font-size:1.35rem;text-align:center}
.v2-site .v2h-tiles span{display:grid;font-size:var(--ast-text-meta);color:var(--ast-on-dark)}
.v2-site .v2h-tiles strong{font-size:var(--ast-text-sm);font-weight:700;color:var(--ast-white)}

/* 7. Quality and trust. */
.v2-site .v2h-trust{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:var(--ast-space-10);align-items:center;padding-block:1.4rem .6rem}
.v2-site .v2h-trust p:not(.v2h-eyebrow){margin:.45rem 0 0;line-height:1.42;font-size:var(--ast-text-sm);color:var(--ast-text);opacity:.9}
.v2-site .v2h-trust-img{width:100%;height:auto;aspect-ratio:2.35/1;object-fit:cover;border-radius:var(--ast-radius)}

/* 8. FAQ: two columns of native disclosures. */
.v2-site .v2h-faq{padding-block:1.2rem 1.6rem}

/* The footer follows the FAQ directly (no grey gap), as in the mock. */
.v2-site .v2-main:has(.v2h)+.v2-footer{margin-top:0}

/* HOME-SHIPPING-USP (David «Franja 2×2 bajo 1200 px», measured): the strip goes 2×2 below 1310 px, the narrowest width at which
   «Envíos a España y Portugal» fits on one line in 4 columns in es, gl, pt and en (pt is the longest). */
@media(max-width:1309px){
.v2-site .v2h-usps ul{grid-template-columns:repeat(2,minmax(0,1fr))}
.v2-site .v2h-usps li:nth-child(3){border-left:0}
.v2-site .v2h-usps li:nth-child(n+3){border-top:1px solid var(--ast-border)}
}
@media(max-width:991px){
.v2-site .v2h-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.v2-site .v2h-how{grid-template-columns:minmax(0,1fr)}
.v2-site .v2h-how .v2-steps{padding:var(--ast-space-6) 0 0;border-left:0;border-top:1px solid var(--ast-border)}
.v2-site .v2h-trust{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:767px){
/* MOBILE-POLISH-1 (David, 2026-11-13: «ocupa demasiado para la portada. Yo lo pondría en una»): one point per view, swiped, with
   dots (base.css .v2-carousel--phone); no dividers. */
.v2-site .v2h-usps li{padding:.9rem 0}
.v2-site .v2h-usps li:nth-child(n){border:0}
.v2-site .v2h-grid{gap:.85rem}
.v2-site .v2h-how{padding:var(--ast-space-5)}
.v2-site .v2h-mill-img{inset:0;width:100%;height:16rem;bottom:auto}
.v2-site .v2h-mill::before{background:linear-gradient(180deg,rgb(255 255 255 / 0) 0,rgb(255 255 255 / 0) 9rem,var(--ast-surface) 16rem)}
.v2-site .v2h-mill-inner{flex-direction:column;align-items:stretch;padding-top:11rem}
.v2-site .v2h-tiles{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
}
