/* ==========================================================================
   ALR Creative · Estilos
   Vanilla CSS, sin build. Tokens de marca tomados del logo (#6F1E24).
   Paleta: vino de marca + marfil, con rosado empolvado y casi-negro como apoyo.
   ========================================================================== */

:root {
  --bg: #FAF7F3;            /* marfil / blanco hueso cálido */
  --surface: #FFFFFF;
  --surface-2: #F2ECE6;
  --ink: #0E1216;           /* casi negro del wordmark */
  --ink-2: #4B5056;
  --ink-deep: #14171B;
  --line: #E3DBD3;
  --accent: #6F1E24;        /* vino de marca, sampleado del logo */
  --accent-bright: #8E2A32; /* vino más luminoso, solo para degradados */
  --accent-deep: #561519;
  --accent-tint: #EFE2DF;
  --blush: #F4DEDA;         /* rosado empolvado derivado del vino */
  --blush-2: #E9C6BF;

  --grad-wine: radial-gradient(120% 140% at 85% 0%, var(--accent-bright) 0%, var(--accent) 45%, var(--accent-deep) 100%);

  --f-display: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif;
  --f-label: "Montserrat", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, min(9vw, 12vh), 112px);

  --shadow-wine: 0 18px 40px -22px rgba(86, 21, 25, 0.45);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --dur-reveal: 600ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Patrón sutil de isotipos (estrella/flecha) para fondos de banda */
.pattern { position: relative; isolation: isolate; }
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/brand/isotipo-blanco.png") 12px 12px / 46px auto repeat;
  opacity: 0.032;
  -webkit-mask-image: linear-gradient(115deg, transparent 10%, #000 60%);
  mask-image: linear-gradient(115deg, transparent 10%, #000 60%);
}

/* ---------- Tipografía ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.label::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

.h2 {
  font-family: var(--f-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(2.3rem, min(4.9vw, 8.4vh), 3.9rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: var(--accent); }

.lead { color: var(--ink-2); max-width: 60ch; margin-top: 14px; text-wrap: pretty; }

.section { padding-block: var(--section-y); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon .fill { fill: currentColor; stroke: none; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border-radius: 10px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  --btn-bg: var(--accent);
  box-shadow: var(--shadow-wine);
}
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--accent); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.5); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 0.94rem; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--accent-deep); }
  .btn--ghost:hover { background: var(--ink); color: #fff; }
  .btn--light:hover { background: var(--blush); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .header { background: rgba(250, 247, 243, 0.84); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); }
  }
}
.header.is-condensed { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(86, 21, 25, 0.35); }

.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__brand { display: block; flex: none; }
.header__logo { width: 96px; height: auto; }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 0.97rem; color: var(--ink);
  padding-block: 6px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1.5px no-repeat;
  transition: background-size 220ms var(--ease-out), color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--accent); background-size: 100% 1.5px; }
}

.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .header__logo { width: 80px; }
  .header__actions { margin-left: auto; }

  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; background: transparent; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease-out); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 18px 30px -24px rgba(14, 18, 22, 0.4);
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav a { padding-block: 14px; font-size: 1.1rem; border-bottom: 1px solid var(--line); background: none; }
  .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) { .hide-sm { display: none; } }

/* ---------- Hero ---------- */
.hero {
  --hero-avail: calc(var(--hero-h, 100svh) - var(--header-h));
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(233, 198, 191, 0.55) 0%, rgba(233, 198, 191, 0) 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(244, 222, 218, 0.6) 0%, rgba(244, 222, 218, 0) 70%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  height: clamp(440px, calc(var(--hero-avail) - 2.5rem), 660px);
  padding-block: clamp(14px, calc(var(--hero-h, 100vh) * 0.028), 34px);
}
.hero__copy { max-width: 640px; }
.hero__title {
  font-family: var(--f-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: clamp(2.6rem, min(4.8vw, 9vh), 4.3rem);
  line-height: 0.92;
  letter-spacing: 0.002em;
  text-wrap: balance;
}
.accent { color: var(--accent); }
.hero__title .accent {
  background: linear-gradient(var(--blush-2), var(--blush-2)) 0 88% / 100% 0.22em no-repeat;
  padding-inline: 0.04em;
}
.hero__sub { margin-top: clamp(14px, calc(var(--hero-h, 100vh) * 0.022), 22px); font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-2); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, calc(var(--hero-h, 100vh) * 0.034), 32px); }

.hero__media { position: relative; height: 100%; min-height: 0; padding: 0 18px 18px 0; }
.hero__media::before {
  content: ""; position: absolute; right: 0; bottom: 0; top: 18px; left: 18px;
  border-radius: var(--radius); background: var(--grad-wine);
}

.hero__media picture { position: relative; display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; border-radius: var(--radius); box-shadow: 0 24px 48px -30px rgba(14, 18, 22, 0.5); }

@media (max-width: 859px) {
  .hero__inner { grid-template-columns: 1fr; height: auto; gap: 26px; padding-block: 28px 20px; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .hero__ctas .btn { flex: 1 1 200px; }
  .hero__media { height: clamp(220px, calc(var(--hero-h, 100svh) * 0.36), 360px); padding: 0 12px 12px 0; }
  .hero__media::before { top: 12px; left: 12px; }
  .hero__media img { object-position: 50% 45%; }
}

/* Entrada del hero: una sola vez al cargar */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > *,
  .js .hero__media { animation: rise 600ms var(--ease-out) both; }
  .js .hero__copy > :nth-child(2) { animation-delay: 60ms; }
  .js .hero__copy > :nth-child(3) { animation-delay: 120ms; }
  .js .hero__copy > :nth-child(4) { animation-delay: 180ms; }
  .js .hero__media { animation-name: fade; animation-delay: 80ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fade { from { opacity: 0; transform: scale(0.985); } }

.hero-sentinel { height: 1px; }

/* ---------- Barra de valor ---------- */
.values { background: var(--grad-wine); color: #fff; }
.values__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.values__list li {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 18px; font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.values__list li + li { border-left: 1px solid rgba(255, 255, 255, 0.16); }
.star { width: 16px; height: 16px; flex: none; fill: var(--blush-2); }
@media (min-width: 860px) { .values__list li:first-child { padding-left: 0; } }
@media (max-width: 859px) {
  .values__list { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .values__list li { padding: 16px var(--gutter); font-size: 0.95rem; }
  .values__list li:nth-child(odd) { border-left: 0; }
  .values__list li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

/* ---------- Catálogo ---------- */
.chips {
  display: flex; gap: 8px; margin-bottom: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 42px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: 0.94rem; cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-wine); }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-active):hover { border-color: var(--accent); color: var(--accent); } }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.grid .product { transition: opacity 180ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease; }
.grid.is-switching .product { opacity: 0; transform: translateY(8px); }
.product[hidden] { display: none; }

.product {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.product__media { position: relative; aspect-ratio: 4 / 4.4; max-height: 70vh; overflow: hidden; background: var(--blush); }
.product__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform 400ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(86, 21, 25, 0.45); border-color: var(--blush-2); }
  .product:hover .product__media img { transform: scale(1.04); }
}

.ph { width: 100%; height: 100%; }
.ph--tint { background: linear-gradient(160deg, var(--blush) 0%, var(--blush-2) 100%); }
.ph--tint2 { background: linear-gradient(160deg, var(--surface-2) 0%, var(--blush) 100%); }
.ph--tint3 { background: linear-gradient(160deg, var(--blush-2) 0%, #D9AEA6 100%); }

.product__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.product__name { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.product__price { font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--accent); line-height: 1.25; }
.product__price--quote { font-family: var(--f-body); font-stretch: 100%; font-weight: 500; font-size: 0.9rem; color: var(--ink-2); }
.product__desc { font-size: 0.93rem; line-height: 1.5; color: var(--ink-2); }
.product__tiers { font-size: 0.86rem; color: var(--ink); line-height: 1.45; }
.product__tiers li::before { content: "+ "; color: var(--accent); font-weight: 700; }
.product__cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-top: 8px;
  font-weight: 700; color: var(--accent); text-decoration: none;
}
.product__cta::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es clicable */
.product__cta .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .product:hover .product__cta .icon { transform: translateX(4px); } }

@media (max-width: 639px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product__body { padding: 12px 12px 10px; gap: 4px; }
  .product__name { font-size: 0.95rem; }
  .product__price { font-size: 1rem; }
  .product__price--quote { font-size: 0.78rem; }
  .product__desc { font-size: 0.85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .product__tiers { font-size: 0.78rem; }
}

/* ---------- Para tu negocio (bento sobre banda oscura) ---------- */
.business { background: var(--ink-deep); color: #fff; }
.business .label { color: var(--blush-2); }
.business .h2 em { color: var(--blush-2); }
.business .lead { color: rgba(255, 255, 255, 0.72); }
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr;
  grid-template-rows: repeat(2, clamp(220px, 34vh, 300px));
  gap: clamp(12px, 1.6vw, 18px);
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius); display: flex; align-items: flex-end; isolation: isolate; }
.tile h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 0.98; }
.tile p { margin-top: 8px; font-size: 0.97rem; line-height: 1.5; max-width: 42ch; }
.tile__body { position: relative; padding: clamp(18px, 2.4vw, 28px); }

.tile--wide { grid-column: 1 / 3; }
.tile--brand { grid-column: 3; grid-row: 1 / 3; background: var(--grad-wine); color: #fff; }
.tile--photo { color: #fff; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease-out); }
.tile--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(14, 18, 22, 0.85) 0%, rgba(14, 18, 22, 0.45) 45%, rgba(14, 18, 22, 0) 75%);
}
@media (hover: hover) and (pointer: fine) { .tile--photo:hover img { transform: scale(1.03); } }
.tile--photo p { color: rgba(255, 255, 255, 0.9); }
.tile--blush { background: linear-gradient(160deg, var(--blush) 0%, var(--blush-2) 100%); color: var(--ink); }
.tile--blush h3 { color: var(--accent-deep); }
.tile--blush p { color: #3D3236; }
.tile--brand p { color: rgba(255, 255, 255, 0.86); }
.tile__mark { position: absolute; right: -18%; top: 8%; width: 92%; opacity: 0.12; pointer-events: none; }

.business__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: clamp(24px, 3vw, 36px); }
.business__cta p { color: rgba(255, 255, 255, 0.72); }
.business :focus-visible { outline-color: var(--blush-2); }

@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile { min-height: 230px; }
  .tile--wide { grid-column: 1 / -1; }
  .tile--brand { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
}
@media (max-width: 599px) {
  .bento { grid-template-columns: 1fr; }
  .tile--brand { order: 3; }
}

/* ---------- Cómo funciona ---------- */
.process .h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 22px); counter-reset: step; }
.step {
  position: relative; counter-increment: step;
  padding: 22px 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--grad-wine); color: #fff;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.3rem;
  box-shadow: var(--shadow-wine);
}
/* conector entre pasos */
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 41px; right: calc(clamp(14px, 2vw, 22px) * -1); width: clamp(14px, 2vw, 22px); height: 2px;
  background: var(--blush-2);
}
.step h3 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.95rem; line-height: 1; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 0.98rem; }
.step:last-child { background: var(--blush); border-color: var(--blush-2); }

@media (max-width: 859px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 519px) {
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 18px; }
  .step::before { grid-row: 1 / 3; margin: 0; }
  .step p { margin-top: 4px; }
}

/* ---------- Historia ---------- */
.story {
  position: relative; overflow: hidden;
  background:
    radial-gradient(50% 70% at 100% 100%, rgba(233, 198, 191, 0.65) 0%, rgba(233, 198, 191, 0) 70%),
    var(--blush);
}
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story__copy .h2 { margin-bottom: 22px; }
.story__copy p:not(.label):not(.story__sign) { color: #43393C; max-width: 58ch; }
.story__copy p + p { margin-top: 14px; }
.story__sign {
  margin-top: 26px !important;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.02; color: var(--accent);
}
.story__media { position: relative; padding-bottom: 12%; }
.story__img { border-radius: var(--radius); object-fit: cover; }
.story__img--main { width: 86%; margin-left: auto; aspect-ratio: 4 / 3.3; max-height: 62vh; box-shadow: 0 28px 50px -30px rgba(86, 21, 25, 0.6); }
.story__img--alt {
  position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 4 / 5;
  border: 6px solid var(--blush); border-radius: calc(var(--radius) + 6px);
  transform: rotate(-4deg);
  box-shadow: 0 20px 40px -24px rgba(14, 18, 22, 0.5);
}
@media (max-width: 859px) {
  .story__inner { grid-template-columns: 1fr; }
  .story__media { padding-bottom: 16%; }
}

/* ---------- Reseñas ---------- */
.reviews .h2 { margin-bottom: clamp(28px, 4vw, 44px); }
.reviews__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 22px); }
.review {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.review::before {
  content: "“"; position: absolute; right: 18px; top: -18px;
  font-family: var(--f-display); font-weight: 800; font-size: 9rem; line-height: 1;
  color: var(--blush); pointer-events: none;
}
.review > * { position: relative; }
.review__stars svg { width: 96px; height: 19px; fill: var(--accent); }
.review blockquote p { font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__avatar {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
  background: var(--grad-wine); color: #fff; font-weight: 700;
}
.review__name { font-weight: 700; font-size: 0.98rem; }

/* Acento: una tarjeta en vino para romper la cuadrícula */
.review:first-child { background: var(--grad-wine); border-color: transparent; color: #fff; }
.review:first-child::before { color: rgba(255, 255, 255, 0.1); }
.review:first-child .review__stars svg { fill: var(--blush-2); }
.review:first-child .review__avatar { background: #fff; color: var(--accent); }

@media (max-width: 759px) {
  .reviews__list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
}

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-wine); color: #fff; padding-block: clamp(56px, min(8vw, 11vh), 96px); isolation: isolate; }
.cta-band__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-band__title {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800;
  font-size: clamp(2.8rem, min(6vw, 10.5vh), 4.8rem); line-height: 0.92; max-width: 14ch; text-wrap: balance;
}
.cta-band__copy > p { margin-top: 16px; max-width: 46ch; color: rgba(255, 255, 255, 0.88); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.cta-band__info { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.cta-band__info dt { font-family: var(--f-label); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--blush-2); }
.cta-band__info dd { margin-top: 4px; font-weight: 600; }
.cta-band__media img {
  width: 100%; aspect-ratio: 16 / 9; max-height: 62vh; object-fit: cover; object-position: 40% 50%;
  border-radius: var(--radius); border: 6px solid rgba(255, 255, 255, 0.95);
  transform: rotate(1.5deg);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.cta-band :focus-visible { outline-color: #fff; }
@media (max-width: 859px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__media img { transform: rotate(1deg); }
}

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); padding-top: clamp(44px, 6vw, 72px); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer__brand img { width: 120px; }
.footer__brand p { margin-top: 16px; color: var(--ink-2); max-width: 38ch; font-size: 0.97rem; }
.footer__title { font-family: var(--f-label); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; font-weight: 500; }
.footer__note { margin-top: 10px; font-size: 0.92rem; color: var(--ink-2); line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--accent); } }
.footer__base { margin-top: 36px; padding-block: 0 28px; font-size: 0.88rem; color: var(--ink-2); }
.footer__base p { border-top: 1px solid var(--line); padding-top: 20px; }
.footer__base a { margin-left: 8px; }
@media (max-width: 759px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ---------- Página legal ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px) var(--section-y); }
.legal__inner { max-width: 760px; }
.legal h1 { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 0.95; }
.legal__date { margin-top: 12px; color: var(--ink-2); font-size: 0.95rem; }
.legal h2 { margin-top: 36px; font-size: 1.25rem; font-weight: 700; color: var(--accent-deep); }
.legal p, .legal li { margin-top: 12px; color: #2F3439; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal ul li::marker { color: var(--accent); }
.legal a { color: var(--accent); }
.legal__back { margin-top: 40px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 859px) { :root { --dur-reveal: 450ms; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 200ms ease; }
  .grid .product, .product__media img, .tile--photo img { transition: none; }
}
