/* Home v3: foto a pantalla completa, banda del test y tiles de color.
   Se apoya en las variables de home-nuevo.css (--hn-*). */
.hx-hero { position: relative; min-height: calc(100svh - 128px); display: flex; align-items: center; overflow: hidden; background: var(--hn-green-ink, #1a3e39); color: #FCF5E5; }
.hx-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hx-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,14,.72) 0%, rgba(20,16,14,.42) 42%, rgba(20,16,14,0) 70%); }
.hx-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 56px var(--hn-pad, 32px); display: flex; flex-direction: column; gap: 20px; }
.hx-hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F4B9A3; }
.hx-hero h1 { margin: 0; max-width: 680px; font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: clamp(52px, 7.4vw, 104px); line-height: .92; letter-spacing: -.03em; color: #FCF5E5; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hx-hero h1 em { font-style: italic; font-weight: 400; color: #F4B9A3; }
.hx-hero p { margin: 0; max-width: 460px; font-size: 18px; line-height: 1.5; color: #FCF5E5; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hx-hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hx-hero__link { color: #FCF5E5; font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 5px; }

.hx-test { padding: 72px 0; background: #F8D9C9; }
.hx-test__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; }
.hx-test__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.hx-test__copy h2 { margin: 0; font-family: var(--font-display, Georgia, serif); font-weight: 600; font-size: clamp(40px, 5vw, 60px); line-height: .95; }
.hx-test__copy h2 em { font-style: italic; font-weight: 400; color: #9E2A5F; }
.hx-test__copy p { margin: 0; font-size: 17px; line-height: 1.5; }
.hx-test__card { padding: 26px; border-radius: 28px; background: #FCF5E5; color: #1D1D1D; text-decoration: none; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; transition: transform .2s ease; }
.hx-test__card:hover { transform: translateY(-4px); }
.hx-test__card img { width: 140px; height: 140px; object-fit: contain; margin-bottom: 8px; }
.hx-test__card strong { font-family: var(--font-display, Georgia, serif); font-size: 28px; line-height: 1.05; }
.hx-test__card span { font-size: 15px; line-height: 1.45; }
.hx-test__card--tranqui { background: #CDE9DA; }
.hx-test__card--picante { background: #F4B9A3; }

/* Vinitos sueltos: cada tarjeta con su fondo de color */
.hn-shop-grid .hn-wine > span { border-radius: 24px; }
.hn-shop-grid .hn-wine:nth-child(4n+1) > span { background: #CDE9DA; }
.hn-shop-grid .hn-wine:nth-child(4n+2) > span { background: #F8D9C9; }
.hn-shop-grid .hn-wine:nth-child(4n+3) > span { background: #F3E6C4; }
.hn-shop-grid .hn-wine:nth-child(4n+4) > span { background: #F4B9A3; }

@media (max-width: 800px) {
  .hx-hero { min-height: calc(100svh - 110px); align-items: flex-end; }
  .hx-hero::after { background: linear-gradient(180deg, rgba(20,16,14,.15) 0%, rgba(20,16,14,.35) 40%, rgba(20,16,14,.8) 100%); }
  .hx-hero__img { object-position: 30% center; }
  .hx-hero__inner { padding: 32px 18px 40px; gap: 14px; }
  .hx-hero p { font-size: 16px; }
  .hx-test { padding: 48px 0; }
  .hx-test__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hx-test__copy { grid-column: 1 / -1; margin-bottom: 8px; }
  .hx-test__card { padding: 18px; border-radius: 22px; }
  .hx-test__card img { width: 96px; height: 96px; }
  .hx-test__card strong { font-size: 22px; }
  .hx-test__card span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .hx-test__card { transition: none; } }
