/* ============================================================
   CASA BELFORTE — Sistema de diseño v2
   Estética: estudio de diseño · vino + crema + carbón cálido
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta (sin azul) */
  --cream:     #F6F1E9;   /* fondo base cálido */
  --cream-2:   #FBF8F2;   /* superficies claras */
  --white:     #FFFFFF;
  --sand:      #E7DECF;
  --sand-deep: #D8CCB8;
  --wine:      #8E2B32;   /* bordó de la marca (acento) */
  --wine-deep: #71212A;
  --wine-soft: rgba(142, 43, 50, .10);
  --ink:       #2A2420;   /* carbón cálido: títulos y secciones oscuras */
  --ink-soft:  #534B43;   /* texto */
  --ink-mute:  #8C8175;   /* texto atenuado */
  --line:      rgba(42, 36, 32, .14);
  --line-soft: rgba(42, 36, 32, .08);

  /* Tipografía */
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-sans:    "Inter", "Manrope", system-ui, -apple-system, sans-serif;

  /* Escala fluida (reducida) */
  --step--1: clamp(.76rem, .73rem + .12vw, .82rem);
  --step-0:  clamp(.94rem, .91rem + .14vw, 1.02rem);
  --step-1:  clamp(1.08rem, 1.02rem + .28vw, 1.25rem);
  --step-2:  clamp(1.3rem, 1.16rem + .6vw, 1.7rem);
  --step-3:  clamp(1.7rem, 1.45rem + 1.1vw, 2.5rem);
  --step-4:  clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem);
  --step-5:  clamp(2.5rem, 1.9rem + 2.9vw, 4.3rem);

  /* Espaciado */
  --gap:      clamp(1rem, 2vw, 1.5rem);
  --section:  clamp(3.8rem, 7vw, 7rem);
  --pad:      clamp(1.1rem, 5vw, 4.5rem);
  --max:      1200px;
  --max-wide: 1360px;

  /* Radios (menos redondeados) */
  --r-btn:  6px;
  --r-card: 12px;
  --r-img:  18px;

  /* Motion */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  /* Header */
  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
.hero__img, .split__media, .gcard__img, .scard, .product__img,
.band__bg, .phero__bg, .feat-img {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream-2) 55%, var(--sand-deep) 100%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}

::selection { background: var(--wine); color: var(--cream); }

/* ---------- 3. Utilidades ---------- */
.wrap { width: min(100% - 2.2rem, var(--max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2.2rem, var(--max-wide)); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::after {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--center { justify-content: center; }
.muted { color: var(--ink-mute); }
.italic { font-style: italic; }
.wine { color: var(--wine); }

/* ---------- 4. Botones (rectangulares) ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--r-btn);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .03em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(42,36,32,.18); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--wine { --bg: var(--wine); --fg: #fff; }
.btn--wine:hover { background: var(--wine-deep); }
.btn--dark { --bg: var(--ink); --fg: var(--cream); }
.btn--dark:hover { background: #1c1814; }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); border: 1px solid rgba(246,241,233,.4); }
.btn--ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn--wa { --bg: #1FA855; --fg: #fff; }
.btn--wa:hover { background: #178043; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }
.btn__ic { width: 1.4em; height: 1.4em; display: grid; place-items: center; border-radius: 50%; }

/* Link con flecha */
.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--step--1);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--wine);
}
.arrow-link svg { width: 1.05em; transition: transform .35s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- 5. Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(246,241,233,.82);
  backdrop-filter: blur(12px);
  transition: box-shadow .4s var(--ease), height .4s var(--ease), background .4s var(--ease);
}
.header.is-stuck { box-shadow: 0 1px 0 var(--line); height: 68px; background: rgba(246,241,233,.94); }
.header__inner {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}

/* Brand lockup */
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__mark { width: 40px; flex: 0 0 40px; }
.brand__mark svg { width: 100%; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 600;
  letter-spacing: .04em; color: var(--ink);
}
.brand__tag {
  font-size: .56rem; letter-spacing: .3em;
  color: var(--wine); margin-top: 4px; font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.7rem; }
.nav__link {
  font-size: .85rem; font-weight: 500;
  letter-spacing: .01em; color: var(--ink-soft);
  position: relative; padding: .4rem 0;
  transition: color .35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--wine);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--wine); }

/* Burger */
.burger { display: none; width: 42px; height: 42px; position: relative; z-index: 110; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero (texto + imagen) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(120% 90% at 85% 0%, #FBF7F0 0%, rgba(251,247,240,0) 55%),
    linear-gradient(180deg, var(--cream) 0%, #F1E9DC 100%);
  overflow: hidden;
}
.hero__inner {
  width: min(100% - 2rem, var(--max-wide)); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title { font-size: var(--step-5); margin: 1.1rem 0 1.2rem; font-weight: 500; }
.hero__title .italic { color: var(--wine); }
.hero__sub { max-width: 42ch; font-size: var(--step-1); color: var(--ink-soft); margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__img { border-radius: var(--r-img); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: 0 30px 60px -25px rgba(42,36,32,.4); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }

/* ---------- 7. Feature strip ---------- */
.fstrip-wrap { width: min(100% - 2rem, var(--max-wide)); margin: -2.2rem auto 0; position: relative; z-index: 5; }
.fstrip {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  box-shadow: 0 24px 50px -28px rgba(42,36,32,.4);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: clamp(1.3rem, 2.4vw, 2.1rem);
}
.fitem { display: flex; gap: .9rem; padding: .4rem clamp(1rem, 2vw, 1.7rem); }
.fitem + .fitem { border-left: 1px solid var(--line-soft); }
.fitem__ic { flex: 0 0 34px; color: var(--wine); }
.fitem__ic svg { width: 30px; height: 30px; }
.fitem h3 { font-family: var(--font-sans); font-weight: 700; font-size: var(--step-0); color: var(--ink); margin-bottom: .25rem; }
.fitem p { font-size: var(--step--1); color: var(--ink-mute); line-height: 1.45; }

/* ---------- 8. Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__img img { transform: none !important; }
}

/* ---------- 9. Section heading ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(1.8rem, 3.5vw, 3rem); }
.sec-head__title { font-size: var(--step-3); max-width: 16ch; margin-top: .7rem; }
.sec-head p { max-width: 38ch; }

/* ---------- 10. Soluciones / Service cards ---------- */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.scard {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 3/3.6; color: var(--cream); display: block;
}
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,36,32,0) 35%, rgba(33,27,23,.88) 100%); }
.scard:hover img { transform: scale(1.06); }
.scard__body { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.scard__title { color: var(--cream); font-size: var(--step-2); line-height: 1.1; }
.scard__title small { display: block; font-family: var(--font-sans); font-size: var(--step--1); font-weight: 500; letter-spacing: .08em; color: rgba(246,241,233,.75); margin-bottom: .4rem; text-transform: uppercase; }
.scard__arrow { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--wine); display: grid; place-items: center; transition: background .35s var(--ease), transform .35s var(--ease); }
.scard:hover .scard__arrow { background: var(--wine-deep); transform: rotate(-8deg); }
.scard__arrow svg { width: 1.3rem; color: #fff; }

/* ---------- 11. Split (Nosotros) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }
.split__media { border-radius: var(--r-img); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.split__body h2 { font-size: var(--step-3); margin: .8rem 0 1.1rem; }
.split__body p + p { margin-top: .9rem; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 3.5vw, 3rem); margin-top: 2rem; }
.stat__num { font-family: var(--font-display); font-size: var(--step-3); color: var(--wine); line-height: 1; }
.stat__lbl { font-size: var(--step--1); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); margin-top: .35rem; }

/* ---------- 11b. Pasos destacados (Lo que nos distingue) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.step {
  position: relative; background: var(--cream-2);
  border: 1px solid var(--line-soft); border-radius: var(--r-card);
  padding: 2rem 1.5rem 1.6rem; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s var(--ease);
}
.step::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease) calc(var(--d, 0s) + .15s);
}
.step.is-in::before { transform: scaleX(1); }
.step:hover { transform: translateY(-6px); box-shadow: 0 22px 46px -24px rgba(42,36,32,.5); background: var(--white); }
.step__n {
  font-family: var(--font-display); font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  line-height: 1; color: var(--wine); display: block; margin-bottom: .6rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- 11c. Headlines animados ---------- */
/* Palabra rotativa */
.rotator { display: inline-block; color: var(--wine); font-style: italic; }
.rotator__word { display: inline-block; transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft), filter .85s var(--ease-soft); }
.rotator.is-swapping .rotator__word { opacity: 0; transform: translateY(-.2em); filter: blur(7px); }
@media (prefers-reduced-motion: reduce) { .rotator__word { transition: none; } }

/* Resaltado tipo marcador que se dibuja al aparecer */
.hl {
  background-image: linear-gradient(transparent 58%, rgba(142,43,50,.24) 0);
  background-repeat: no-repeat; background-position: 0 .08em;
  background-size: 0% 100%; padding: 0 .04em;
  transition: background-size .9s var(--ease) .35s;
}
[data-reveal].is-in .hl, .hl.is-in { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) { .hl { background-size: 100% 100% !important; transition: none; } }

/* Subrayado del eyebrow que crece */
[data-reveal].is-in .eyebrow::after, .eyebrow.is-in::after { animation: lineGrow .7s var(--ease) .2s both; }
@keyframes lineGrow { from { width: 0; opacity: 0; } to { width: 34px; opacity: .5; } }

/* ---------- 12. Galería horizontal anclada (carrusel disruptivo) ---------- */
.gallery { position: relative; background: var(--ink); color: var(--cream); }
.gallery__sticky { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.gallery__track { display: flex; gap: clamp(1rem, 2.5vw, 2rem); padding-inline: var(--pad); will-change: transform; }
.gallery__intro { flex: 0 0 auto; width: min(80vw, 400px); align-self: center; padding-right: 1.5rem; }
.gallery__intro h2 { color: var(--cream); font-size: var(--step-3); margin-bottom: .9rem; }
.gallery__intro p { color: rgba(246,241,233,.7); }
.gcard { flex: 0 0 auto; width: clamp(260px, 32vw, 420px); }
.gcard__img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3/4; }
.gcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.gcard:hover .gcard__img img { transform: scale(1.06); }
.gcard__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: .9rem; gap: 1rem; }
.gcard__meta h3 { color: var(--cream); font-size: var(--step-1); }
.gcard__meta span { color: var(--wine); font-size: var(--step--1); letter-spacing: .1em; }
.gallery__hint { position: absolute; bottom: 1.3rem; left: var(--pad); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(246,241,233,.5); display: flex; align-items: center; gap: .6rem; }
.gallery--static .gallery__sticky { position: static; height: auto; padding-block: var(--section); }
.gallery--static .gallery__track { flex-direction: column; gap: 1.6rem; padding-inline: var(--pad); }
.gallery--static .gallery__intro { width: 100%; padding-right: 0; margin-bottom: .4rem; }
.gallery--static .gcard { width: 100%; }
.gallery--static .gallery__hint { display: none; }

/* ---------- 13. Banda del local (ancho completo) ---------- */
.band { position: relative; color: var(--cream); overflow: hidden; width: 100vw; margin-inline: calc(50% - 50vw); padding-block: clamp(3.6rem, 8vw, 7rem); }
.band__bg { position: absolute; inset: 0; z-index: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(33,27,23,.9), rgba(33,27,23,.5)); }
.band > .wrap { position: relative; z-index: 2; }
.band h2 { color: var(--cream); font-size: var(--step-3); max-width: 16ch; }
.band p { color: rgba(246,241,233,.85); max-width: 44ch; margin: 1rem 0 1.8rem; }

/* ---------- 13b. Bloque profesionales (claro, ancho completo) ---------- */
.proband { background: var(--sand); width: 100vw; margin-inline: calc(50% - 50vw); padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.proband__inner { display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; }
.proband__copy { max-width: 54ch; }
.proband__copy h2 { font-size: var(--step-3); margin: .7rem 0 .8rem; }
.proband__copy p { color: var(--ink-soft); }
.proband .btn { flex: 0 0 auto; }
@media (max-width: 760px) { .proband__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- 14. Page hero (internas) ---------- */
.phero { position: relative; padding-top: calc(var(--header-h) + clamp(2.5rem,6vw,5rem)); padding-bottom: clamp(2.5rem,5vw,4.5rem); color: var(--cream); overflow: hidden; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(33,27,23,.55), rgba(33,27,23,.78)); }
.phero__breadcrumb { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: rgba(246,241,233,.7); margin-bottom: .9rem; }
.phero__breadcrumb a:hover { color: var(--cream); }
.phero h1 { color: var(--cream); font-size: var(--step-4); max-width: 18ch; }
.phero p { color: rgba(246,241,233,.85); max-width: 50ch; margin-top: 1rem; font-size: var(--step-1); }

/* ---------- 15. Grid / carrusel de productos (internas) ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
.product-carousel { position: relative; }
.product-carousel__controls { position: absolute; inset: clamp(8rem, 17vw, 13.5rem) -1.1rem auto; z-index: 4; display: flex; justify-content: space-between; pointer-events: none; }
.product-carousel__btn { width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(42,36,32,.68); color: var(--white); display: grid; place-items: center; cursor: pointer; pointer-events: auto; box-shadow: 0 16px 34px -18px rgba(42,36,32,.7); backdrop-filter: blur(8px); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.product-carousel__btn:hover { background: var(--wine); color: var(--white); border-color: var(--wine); transform: translateY(-2px); }
.product-carousel__btn svg { width: 18px; height: 18px; }
.products--carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: .25rem; padding: .2rem .25rem 1.1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.products--carousel::-webkit-scrollbar { display: none; }
.products--carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.products--carousel .product { flex: 0 0 clamp(280px, 31vw, 390px); scroll-snap-align: start; min-height: 100%; }
.products--carousel .product.is-active { box-shadow: 0 24px 50px -24px rgba(42,36,32,.48); }
.product-carousel__meta { display: grid; grid-template-columns: auto minmax(120px, 1fr) auto; align-items: center; gap: 1.1rem; margin: .5rem auto 0; width: min(100%, 620px); color: var(--ink); }
.product-carousel__count { font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.product-carousel__count--total { color: var(--ink-mute); }
.product-carousel__progress { height: 1px; background: var(--line); overflow: hidden; }
.product-carousel__progress span { display: block; height: 100%; width: 0%; background: var(--wine); transition: width .35s var(--ease); }
.product-carousel__thumbs { display: flex; justify-content: center; gap: .45rem; margin-top: 1.15rem; overflow: hidden; }
.product-carousel__thumb { width: 46px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 6px; overflow: hidden; background: var(--sand); opacity: .58; transition: opacity .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.product-carousel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-carousel__thumb.is-active { opacity: 1; border-color: var(--wine); transform: translateY(-2px); }
.product { background: var(--white); border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; }
.product:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -22px rgba(42,36,32,.4); }
.product__img { aspect-ratio: 4/3; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__body { padding: 1.35rem 1.45rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product__tag { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); font-weight: 700; }
.product h3 { font-size: var(--step-1); margin: .5rem 0 .6rem; }
.product p { font-size: var(--step--1); flex: 1; color: var(--ink-soft); }
.product__cta { margin-top: 1.1rem; }
@media (max-width: 640px) {
  .product-carousel__controls { inset: clamp(7rem, 42vw, 10rem) .55rem auto; }
  .product-carousel__btn { width: 46px; height: 46px; }
  .products--carousel .product { flex-basis: min(86vw, 360px); }
  .product-carousel__meta { width: 100%; grid-template-columns: auto 1fr auto; gap: .75rem; }
  .product-carousel__thumb { width: 38px; height: 30px; }
}

/* ---------- 16. Contacto / Ubicación ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: stretch; }
.contact-grid .map { aspect-ratio: auto; min-height: 420px; }
.info-list { display: grid; gap: 1.3rem; margin-top: 1.8rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.info__ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--wine-soft); display: grid; place-items: center; color: var(--wine); }
.info__ic svg { width: 1.15rem; }
.info h4 { font-family: var(--font-sans); font-weight: 700; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .25rem; }
.info a, .info p { font-size: var(--step-0); color: var(--ink); }
.info a:hover { color: var(--wine); }
.map { border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; box-shadow: 0 16px 40px -22px rgba(42,36,32,.4); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.04); }

/* ---------- 17. WhatsApp flotante ---------- */
.wa-float { position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 90; display: inline-flex; align-items: center; gap: .6rem; background: #1FA855; color: #fff; padding: .8rem 1.2rem; border-radius: 100px; box-shadow: 0 12px 28px rgba(31,168,85,.4); font-weight: 600; font-size: var(--step--1); transform: translateY(120%); opacity: 0; transition: transform .55s var(--ease), opacity .55s var(--ease), box-shadow .35s var(--ease); }
.wa-float.is-vis { transform: none; opacity: 1; }
.wa-float:hover { box-shadow: 0 16px 36px rgba(31,168,85,.55); transform: translateY(-3px); }
.wa-float svg { width: 1.35rem; height: 1.35rem; }
@media (max-width: 540px) { .wa-float__txt { display: none; } .wa-float { padding: .95rem; } }

/* ---------- 18. CTA final (ancho completo, con imagen de fondo) ---------- */
.cta-final { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); width: 100vw; margin-inline: calc(50% - 50vw); padding-block: clamp(4rem, 9vw, 8rem); padding-inline: var(--pad); text-align: center; }
.cta-final__bg { position: absolute; inset: 0; z-index: 0; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(33,27,23,.84), rgba(33,27,23,.93)); }
.cta-final > .wrap { position: relative; z-index: 2; }
.cta-final h2 { color: var(--cream); font-size: var(--step-4); max-width: 20ch; margin-inline: auto; }
.cta-final p { color: rgba(246,241,233,.8); max-width: 44ch; margin: 1rem auto 1.9rem; }
.cta-final .hero__cta { justify-content: center; }

/* ---------- 19. Footer ---------- */
.footer { background: var(--ink); color: rgba(246,241,233,.7); padding-block: clamp(2.8rem,5vw,4.5rem) 1.8rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(246,241,233,.12); }
.footer__brand .brand__name { color: var(--cream); font-size: 1.5rem; }
.footer__brand .brand__tag { color: var(--wine); }
.footer__brand p { margin-top: .9rem; max-width: 32ch; font-size: var(--step--1); }
.footer h4 { font-family: var(--font-sans); font-weight: 700; color: var(--cream); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .65rem; font-size: var(--step--1); }
.footer__links a:hover { color: var(--cream); }
.footer__socials { display: flex; gap: .7rem; margin-top: 1rem; }
.footer__socials a { width: 40px; height: 40px; border: 1px solid rgba(246,241,233,.2); border-radius: 50%; display: grid; place-items: center; transition: background .35s var(--ease), color .35s; }
.footer__socials a:hover { background: var(--wine); color: var(--cream); border-color: var(--wine); }
.footer__socials svg { width: 1.05rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .76rem; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero__img { aspect-ratio: 16/11; }
  .fstrip { grid-template-columns: 1fr 1fr; gap: .5rem 0; }
  .fitem:nth-child(odd) { border-left: none; }
  .fitem:nth-child(n+3) { border-top: 1px solid var(--line-soft); padding-top: 1.2rem; }
  .scards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--rev { direction: ltr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; z-index: 150;
    background: var(--cream); flex-direction: column; justify-content: center;
    gap: 1.4rem; padding: 5rem 1.5rem 2.5rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .45s var(--ease);
  }
  body.nav-open .nav { transform: none; }
  .nav__list { flex-direction: column; text-align: center; gap: 1.7rem; }
  .nav__link { font-size: var(--step-4); font-family: var(--font-display); color: var(--ink); }
  .nav .btn { margin-top: 1.2rem; font-size: var(--step-0); padding: 1.05rem 2rem; }
  .burger { display: block; z-index: 160; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .hero { padding-bottom: clamp(1.5rem, 4vw, 2.2rem); }
  .hero__inner { gap: 1.9rem; }
  .hero__img { aspect-ratio: 4/3.3; }
  /* Barra de features: sin solape, con más aire */
  .fstrip-wrap { margin-top: 1.4rem; }
  .fstrip { grid-template-columns: 1fr; padding: .7rem 1.4rem; }
  .fitem { border-left: none !important; padding: 1.25rem .2rem; gap: 1.1rem; }
  .fitem + .fitem { border-top: 1px solid var(--line-soft); }
  .scards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
