/* Portada según la estructura del documento "encompass lighting.docx" (2026-09-15):
   hero, colecciones, destacados, bloque comercial, por qué Encompass, temporadas y cierre. */
.home{--h-cream:#f6f3ee;--h-ink:#1d1d1b;--h-muted:#64615b;--h-line:#e2ddd3;background:var(--h-cream);color:var(--h-ink)}
.home h1,.home h2,.home h3{color:var(--h-ink);margin:0}
.home h1,.home h2{font-weight:300;letter-spacing:-.025em}
.h-eyebrow{font-size:12px;letter-spacing:.32em;text-transform:uppercase;color:var(--h-muted);margin:0 0 18px}
.h-wrap{width:min(1320px,92vw);margin:0 auto}
.h-section{padding:clamp(64px,9vw,120px) 0}
.h-btn{display:inline-flex;align-items:center;gap:14px;background:var(--h-ink);color:#fff;padding:17px 30px;font-size:15px;text-decoration:none;border:1px solid var(--h-ink);transition:background .2s,color .2s;width:max-content}
.h-btn svg,.h-link svg{width:20px;height:20px;flex:none}
.h-btn:hover{background:transparent;color:var(--h-ink)}
.h-btn.light{background:transparent;color:#fff;border-color:#fff}
.h-btn.light:hover{background:#fff;color:var(--h-ink)}
.h-link{display:inline-flex;align-items:center;gap:12px;font-size:12.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--h-ink);text-decoration:none}
.h-head{display:flex;justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:44px;flex-wrap:wrap}
.h-head h2{font-size:clamp(34px,4.6vw,64px);line-height:1.04}
.h-head p{margin:14px 0 0;font-size:18px;line-height:1.5;color:var(--h-muted);max-width:52ch}

/* 1 · hero: foto a todo el ancho, texto sobre la zona clara de la izquierda */
.h-hero{position:relative;display:flex;align-items:center;min-height:min(86vh,780px);background:var(--h-cream);overflow:hidden}
.h-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;padding:72px 0 72px max(4vw,calc((100vw - 1320px)/2));max-width:calc(640px + max(4vw,calc((100vw - 1320px)/2)))}
.h-hero h1{font-size:clamp(48px,6.2vw,94px);line-height:.98;margin-bottom:26px}
.h-hero-copy>p:not(.h-eyebrow){font-size:clamp(17px,1.5vw,21px);line-height:1.5;color:#3d3a35;max-width:31ch;margin:0 0 38px}
.h-hero-media{position:absolute;inset:0}
.h-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% center}
.h-hero-media::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,243,238,.94) 0%,rgba(246,243,238,.82) 28%,rgba(246,243,238,.35) 48%,rgba(246,243,238,0) 64%);z-index:1}

/* página de colecciones: banner con la foto del equipo */
.catalog-banner{height:clamp(200px,26vw,360px);overflow:hidden;background:#f3efe8}
.catalog-banner img{width:100%;height:100%;object-fit:cover;object-position:right 60%}

/* 2 · colecciones */
.h-collections{background:#fff}
.h-col-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:26px 18px}
.h-col{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.h-col-img{aspect-ratio:1/1;background:#f3f1ec;overflow:hidden}
.h-col-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.h-col:hover .h-col-img img{transform:scale(1.04)}
.h-col h3{font-size:16.5px;font-weight:500;letter-spacing:-.01em;line-height:1.3;margin:16px 0 5px}
.h-col>span{font-size:13px;color:var(--h-muted)}

/* 3 · destacados */
.h-arrows{display:flex;gap:12px}
.h-arrows button{width:52px;height:52px;border-radius:50%;border:1px solid var(--h-ink);background:transparent;color:var(--h-ink);display:grid;place-items:center;cursor:pointer;transition:background .2s,color .2s}
.h-arrows button:last-child,.h-arrows button:hover{background:var(--h-ink);color:#fff}
.h-arrows svg{width:20px;height:20px}
.h-featured-row{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 5 * 18px) / 6);gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.h-featured-row::-webkit-scrollbar{display:none}
.h-feat{scroll-snap-align:start;background:#fff;text-decoration:none;color:inherit;display:flex;flex-direction:column}
.h-feat-img{aspect-ratio:3/4;overflow:hidden;background:#fff}
.h-feat-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.h-feat:hover .h-feat-img img{transform:scale(1.04)}
.h-feat h3{font-size:12.5px;letter-spacing:.18em;text-transform:uppercase;font-weight:500;line-height:1.55;margin:22px 20px 14px;min-height:3.1em}
.h-feat>span{display:inline-flex;align-items:center;gap:10px;font-size:14px;margin:auto 20px 24px}
.h-feat>span svg{width:18px;height:18px}
.h-foot{display:flex;justify-content:flex-end;border-top:1px solid var(--h-line);margin-top:44px;padding-top:26px}

/* 4 · bloque comercial */
.h-commercial{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fff}
.h-commercial-media{position:relative;min-height:600px}
.h-commercial-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h-commercial-copy{padding:clamp(56px,7vw,110px) clamp(28px,6vw,96px);display:flex;flex-direction:column;justify-content:center}
.h-commercial-copy h2{font-size:clamp(34px,4.2vw,60px);line-height:1.04;margin-bottom:24px}
.h-commercial-copy>p:not(.h-eyebrow){font-size:18px;line-height:1.6;color:var(--h-muted);max-width:44ch;margin:0 0 38px}

/* 5 · por qué Encompass: texto e íconos a la izquierda, foto a la derecha */
.h-why{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);background:var(--h-cream)}
.h-why-copy{padding:clamp(56px,7vw,110px) clamp(28px,5vw,72px) clamp(56px,7vw,110px) max(4vw,calc((100vw - 1320px)/2))}
.h-why-media{position:relative;min-height:560px}
.h-why-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.h-why .h-head{margin-bottom:36px}
.h-why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--h-line)}
.h-why-grid article{padding:44px 36px 8px 0;border-right:1px solid var(--h-line)}
.h-why-grid article+article{padding-left:36px}
.h-why-grid article:last-child{border-right:0}
.h-icon{width:64px;height:64px;border-radius:50%;background:#ebe7df;display:grid;place-items:center;margin-bottom:24px}
.h-icon svg{width:28px;height:28px}
.h-why-grid h3{font-size:13.5px;letter-spacing:.2em;text-transform:uppercase;font-weight:600;margin:0 0 10px}
.h-why-grid p{font-size:16px;line-height:1.55;color:var(--h-muted);margin:0;max-width:32ch}

/* 6 · temporadas */
.h-seasons{background:#fff}
.h-seasons .h-head{flex-direction:column;align-items:center;text-align:center}
.h-season-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.h-season{position:relative;aspect-ratio:3/4;overflow:hidden;color:#fff;text-decoration:none;display:block;background:#222}
.h-season img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.h-season:hover img{transform:scale(1.05)}
.h-season::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 52%,rgba(0,0,0,.6))}
.h-season span{position:absolute;left:26px;right:26px;bottom:24px;z-index:1;display:flex;justify-content:space-between;align-items:center;font-size:clamp(20px,2vw,28px);font-weight:300}
.h-season span svg{width:30px;height:30px;flex:none}

/* 7 · cierre */
.h-cta{position:relative;background:#11100e;color:#fff;overflow:hidden}
.h-cta>img{position:absolute;top:0;right:0;width:62%;height:100%;object-fit:cover}
.h-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#11100e 38%,rgba(17,16,14,.55) 62%,rgba(17,16,14,.12));z-index:1}
.h-cta .h-wrap{position:relative;z-index:2;padding:clamp(90px,11vw,160px) 0}
.h-cta .h-eyebrow{color:rgba(255,255,255,.72)}
.h-cta h2{color:#fff;font-size:clamp(38px,5vw,72px);line-height:1.02;max-width:15ch;margin-bottom:22px}
.h-cta p:not(.h-eyebrow){font-size:19px;color:rgba(255,255,255,.85);margin:0 0 38px}

@media(max-width:1100px){
  .h-col-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .h-featured-row{grid-auto-columns:calc((100% - 2 * 18px) / 3)}
  .h-season-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .h-hero{flex-direction:column;align-items:stretch;min-height:0}
  .h-hero-media{position:relative;inset:auto;height:64vw}
  .h-hero-media img{object-position:62% center}
  .h-hero-media::before{inset:auto 0 0 0;height:34%;background:linear-gradient(0deg,var(--h-cream),rgba(246,243,238,0))}
  .h-hero-copy{padding:26px 5vw 56px;max-width:none}
  .h-why{grid-template-columns:1fr}
  .h-why-copy{padding:56px 5vw}
  .h-why-media{min-height:0;height:72vw}
  .h-col-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
  .h-featured-row{grid-auto-columns:74%}
  .h-arrows{display:none}
  .h-commercial{grid-template-columns:1fr}
  .h-commercial-media{min-height:0;height:100vw}
  .h-why-grid{grid-template-columns:1fr}
  .h-why-grid article,.h-why-grid article+article{padding:30px 0;border-right:0;border-bottom:1px solid var(--h-line)}
  .h-season-grid{gap:10px}
  .h-season span{left:14px;right:14px;bottom:14px}
  .h-cta>img{width:100%;opacity:.5}
  .h-cta::before{background:linear-gradient(90deg,rgba(17,16,14,.88),rgba(17,16,14,.5))}
}
@media(prefers-reduced-motion:reduce){.h-featured-row{scroll-behavior:auto}.h-col-img img,.h-feat-img img,.h-season img{transition:none}}
