/* =========================================================================
   give. — estilos
   Paleta y tipografías del manual de marca: Playfair Display + DM Sans
   ========================================================================= */
:root {
  --cream: #FAF7F2;
  --cream-2: #F4EDE4;
  --nude: #E7D0CC;
  --taupe: #C9B8A7;
  --mocha: #8C6F5A;
  --espresso: #2F231B;
  --espresso-2: #46352A;
  --oro: #B89564;
  --blanco: #FFFFFF;
  --texto-suave: #6B5A4D;
  --linea: rgba(47, 35, 27, .10);
  --linea-fuerte: rgba(47, 35, 27, .22);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radio: 16px;
  --radio-sm: 10px;
  --sombra: 0 24px 50px -28px rgba(47, 35, 27, .45);
  --sombra-suave: 0 10px 30px -18px rgba(47, 35, 27, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --seccion: clamp(64px, 9vw, 120px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--espresso);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin: 0 0 .45em; letter-spacing: -.015em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--mocha); }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-wa { stroke: none; }
::selection { background: var(--nude); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--mocha); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--mocha); font-weight: 600; margin-bottom: 16px; }
.centro { text-align: center; margin-top: 40px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
.btn-oscuro { background: var(--espresso); color: var(--cream); }
.btn-oscuro:hover { background: var(--espresso-2); }
.btn-borde { border-color: var(--linea-fuerte); color: var(--espresso); }
.btn-borde:hover { border-color: var(--espresso); background: var(--espresso); color: var(--cream); }
.btn-claro { background: var(--cream); color: var(--espresso); }
.btn-claro:hover { background: var(--blanco); }
.btn-bloque { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--espresso); color: var(--cream-2); text-align: center; padding: 9px 16px; }
.topbar p { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.topbar-sep { margin: 0 12px; color: var(--oro); }

/* ---------- Encabezado ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.con-sombra { border-color: var(--linea); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo img { height: 38px; width: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0 auto; font-size: 14px; letter-spacing: .04em; }
.nav a { position: relative; padding: 6px 0; color: var(--texto-suave); transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--espresso); }
.nav a:hover::after { transform: scaleX(1); }
.header-acciones { display: flex; align-items: center; gap: 10px; }
.icono-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--linea); transition: border-color .2s, background .2s; }
.icono-btn:hover { border-color: var(--espresso); }
.btn-chat {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--espresso); color: var(--cream);
  font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500;
  transition: background .3s;
}
.btn-chat svg { width: 17px; height: 17px; color: var(--oro); }
.btn-chat:hover { background: var(--espresso-2); }

/* Menú hamburguesa (celular) */
.menu-btn { display: none; width: 42px; height: 42px; margin-left: -10px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--espresso); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.menu-movil {
  display: flex; flex-direction: column; padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--linea); background: var(--cream);
  animation: bajar .35s var(--ease);
}
.menu-movil[hidden] { display: none; }
.menu-movil > a { font-family: var(--serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--linea); }
.menu-movil-redes { display: flex; gap: 12px; margin-top: 22px; }
.menu-movil-redes a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 999px; border: 1px solid var(--linea-fuerte); font-size: 14px; }
@keyframes bajar { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Portada ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(56px, 9vw, 128px); margin-bottom: 28px; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 460px; color: var(--texto-suave); margin-bottom: 36px; }
.hero-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-datos { list-style: none; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 44px; }
.hero-datos li { display: flex; flex-direction: column; line-height: 1.2; }
.hero-datos strong { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; }
.hero-datos span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mocha); margin-top: 6px; }
.hero-visual { position: relative; }
.hero-foto { border-radius: 999px 999px var(--radio) var(--radio); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sombra); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-etiqueta {
  position: absolute; left: clamp(-36px, -3vw, -12px); bottom: 48px;
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: rgba(250, 247, 242, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 10px 22px 10px 10px; border-radius: 16px; box-shadow: var(--sombra-suave);
  transition: transform .35s var(--ease);
}
.hero-etiqueta:hover { transform: translateY(-3px); }
.hero-etiqueta img { width: 56px; height: 72px; object-fit: cover; border-radius: 10px; }
.hero-etiqueta span { display: flex; flex-direction: column; line-height: 1.3; }
.hero-etiqueta small { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--oro); font-weight: 700; }
.hero-etiqueta strong { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.hero-etiqueta em { font-style: normal; font-size: 13px; color: var(--mocha); }

/* ---------- Cinta ---------- */
.cinta { border-block: 1px solid var(--linea); overflow: hidden; padding: 18px 0; background: var(--cream-2); }
.cinta-pista { display: flex; align-items: center; gap: 36px; width: max-content; animation: cinta 34s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); white-space: nowrap; }
.cinta-pista i { font-style: normal; font-size: 12px; color: var(--oro); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: var(--seccion) 0; }
.seccion-suave { background: var(--cream-2); }
.titulo-seccion { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 4vw, 52px); }
.titulo-seccion h2 { font-size: clamp(34px, 4.6vw, 58px); }
.titulo-seccion p:last-child { color: var(--texto-suave); margin-bottom: 0; }

/* ---------- Filtros ---------- */
.filtros-barra { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--linea); }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  border: 1px solid var(--linea); border-radius: 999px; font-size: 13px; letter-spacing: .03em; color: var(--texto-suave);
  transition: border-color .2s, background .2s, color .2s;
}
.filtro i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.filtro:hover { border-color: var(--espresso); color: var(--espresso); }
.filtro.activo { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.filtros-total { margin: 0; font-size: 13px; color: var(--mocha); white-space: nowrap; }

/* ---------- Productos ---------- */
.grid-productos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px); }
.producto { display: flex; flex-direction: column; cursor: pointer; animation: aparecer .6s var(--ease) both; }
@keyframes aparecer { from { opacity: 0; transform: translateY(16px); } }
.foto-fondo { background: var(--cream-2); }
.producto-foto { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radio); overflow: hidden; margin-bottom: 16px; }
.producto-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.producto-foto img.alterna { opacity: 0; }
.producto:hover .producto-foto img { transform: scale(1.035); }
.producto:hover .producto-foto img.alterna { opacity: 1; }
.insignia { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--espresso); color: var(--cream); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; }
.producto-ver {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 999px;
  background: rgba(250, 247, 242, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.producto:hover .producto-ver, .producto:focus-visible .producto-ver { opacity: 1; transform: none; }
.producto-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.producto h3 { font-size: clamp(17px, 1.5vw, 21px); margin: 0 0 3px; }
.producto-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mocha); }
.producto-precio { font-size: 14px; font-weight: 600; margin-top: 4px; }
.puntos { display: flex; gap: 6px; margin-top: 10px; }
.punto { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.punto.actual { box-shadow: 0 0 0 1.5px var(--cream), 0 0 0 2.5px var(--espresso); }
.producto-chat {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--linea-fuerte); color: var(--espresso); transition: background .25s, color .25s, border-color .25s;
}
.producto-chat svg { width: 17px; height: 17px; }
.producto-chat:hover { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.vacio { grid-column: 1 / -1; text-align: center; color: var(--mocha); padding: 40px 0; }

/* ---------- Colecciones (carrusel) ---------- */
.colecciones { padding: var(--seccion) 0; background: var(--espresso); color: var(--cream); overflow: hidden; }
.colecciones .kicker { color: var(--oro); }
.colecciones h2 { font-size: clamp(34px, 4.6vw, 58px); margin: 0; }
.colecciones h2 em { color: var(--taupe); }
.colecciones-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.carrusel-flechas { display: flex; gap: 10px; }
.flecha { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(250, 247, 242, .25); display: grid; place-items: center; color: var(--cream); transition: background .25s, border-color .25s, opacity .25s; }
.flecha:hover { background: var(--cream); color: var(--espresso); border-color: var(--cream); }
.flecha:disabled { opacity: .3; pointer-events: none; }
.carrusel {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0 max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 8px;
  scroll-padding-left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none;
}
.carrusel::-webkit-scrollbar { display: none; }
.coleccion { flex: 0 0 auto; scroll-snap-align: start; width: clamp(280px, 44vw, 600px); cursor: pointer; text-align: left; color: inherit; }
.coleccion.vertical { width: clamp(220px, 26vw, 360px); }
.coleccion-foto { border-radius: var(--radio); overflow: hidden; height: clamp(250px, 32vw, 440px); background: var(--cream-2); }
.coleccion-foto img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease); }
.coleccion:hover .coleccion-foto img { transform: scale(1.04); }
.coleccion-pie { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; }
.coleccion-pie strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(19px, 1.8vw, 24px); }
.coleccion-pie small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.coleccion-pie .puntos { margin-top: 0; }
.coleccion-pie .punto { box-shadow: 0 0 0 1px rgba(250, 247, 242, .35); }

/* ---------- Destacado ---------- */
.banner { padding: var(--seccion) 0; }
.banner-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.banner-foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sombra); }
.banner-foto img { width: 100%; height: 100%; object-fit: cover; }
.banner h2 { font-size: clamp(36px, 4.8vw, 62px); }
.banner p { color: var(--texto-suave); max-width: 470px; }
.banner-colores { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px; }
.banner-colores button { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 10px; border: 1px solid var(--linea-fuerte); border-radius: 999px; font-size: 14px; transition: border-color .2s, background .2s; }
.banner-colores button::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.banner-colores button:hover { border-color: var(--espresso); background: var(--blanco); }
.banner .btn-claro { background: var(--espresso); color: var(--cream); }
.banner .btn-claro:hover { background: var(--espresso-2); }

/* ---------- Nosotros ---------- */
.nosotros-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.nosotros-in h2 { font-size: clamp(38px, 5vw, 66px); }
.texto-grande { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; }
.nosotros-texto p:not(.texto-grande) { color: var(--texto-suave); }
.pilares { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden; }
.pilares li { background: var(--cream); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 6px; }
.pilares svg { width: 28px; height: 28px; color: var(--oro); margin-bottom: 10px; stroke-width: 1.2; }
.pilares strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.pilares span { font-size: 14px; color: var(--texto-suave); }

/* ---------- Pasos ---------- */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.pasos li { padding: clamp(26px, 3vw, 40px); border-radius: var(--radio); background: var(--cream); border: 1px solid var(--linea); }
.pasos span { display: block; font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--oro); line-height: 1; margin-bottom: 22px; }
.pasos strong { font-family: var(--serif); font-size: 22px; font-weight: 400; display: block; margin-bottom: 8px; }
.pasos p { color: var(--texto-suave); margin: 0; font-size: 15px; }

/* ---------- Instagram ---------- */
.ig-usuario { border-bottom: 1px solid var(--taupe); transition: color .2s, border-color .2s; }
.ig-usuario:hover { color: var(--mocha); border-color: var(--mocha); }
.grid-ig { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.grid-ig a { position: relative; aspect-ratio: 1; border-radius: var(--radio-sm); overflow: hidden; background: var(--cream-2); }
.grid-ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.grid-ig a::after { content: ''; position: absolute; inset: 0; background: rgba(47, 35, 27, 0); transition: background .4s; }
.grid-ig a:hover img { transform: scale(1.06); }
.grid-ig a:hover::after { background: rgba(47, 35, 27, .15); }

/* ---------- Contacto ---------- */
.contacto { background: var(--nude); padding: var(--seccion) 0; }
.contacto-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.contacto h2 { font-size: clamp(36px, 4.8vw, 60px); }
.contacto p { color: var(--texto-suave); max-width: 420px; }
.contacto-tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tarjeta { background: var(--cream); border-radius: var(--radio); padding: 22px; display: flex; gap: 14px; align-items: flex-start; transition: transform .3s var(--ease), box-shadow .3s var(--ease); min-width: 0; }
a.tarjeta:hover { transform: translateY(-3px); box-shadow: var(--sombra-suave); }
.tarjeta svg { color: var(--mocha); margin-top: 3px; }
.tarjeta div { min-width: 0; }
.tarjeta small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mocha); margin-bottom: 2px; }
.tarjeta strong { font-weight: 500; font-size: 15px; overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.footer { background: var(--espresso); color: var(--cream); padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer img { height: 44px; width: auto; }
.footer-frase { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--taupe); margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { opacity: .8; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; }
.footer-copy { font-size: 12px; opacity: .5; margin: 12px 0 0; }

/* ---------- Botón flotante de chat ---------- */
.chat-flotante {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; gap: 0; height: 58px; padding: 4px; border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  box-shadow: 0 18px 36px -14px rgba(47, 35, 27, .6), inset 0 0 0 1px rgba(184, 149, 100, .45);
  transition: gap .4s var(--ease), padding .4s var(--ease), transform .3s var(--ease);
}
.chat-flotante-texto {
  max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  transition: max-width .45s var(--ease), opacity .3s var(--ease), padding .45s var(--ease);
}
.chat-flotante-icono { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 247, 242, .06); }
.chat-flotante-icono svg { width: 22px; height: 22px; color: var(--oro); }
.chat-flotante:hover, .chat-flotante.mostrar-texto { padding-left: 22px; gap: 12px; }
.chat-flotante:hover .chat-flotante-texto, .chat-flotante.mostrar-texto .chat-flotante-texto { max-width: 200px; opacity: 1; }
.chat-flotante:active { transform: scale(.97); }

/* Aviso "WhatsApp muy pronto" */
.aviso {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  width: min(440px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px;
  background: var(--cream); border: 1px solid var(--linea); border-radius: 16px;
  padding: 14px 14px 14px 18px; box-shadow: 0 24px 48px -20px rgba(47, 35, 27, .5);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.aviso.visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.aviso > div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.aviso strong { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.aviso span { font-size: 13px; color: var(--texto-suave); }
.aviso .btn { min-height: 40px; padding: 0 16px; font-size: 12px; }
.aviso-cerrar { font-size: 22px; line-height: 1; padding: 4px 6px; color: var(--mocha); }

/* ---------- Ventana de producto ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-fondo { position: absolute; inset: 0; background: rgba(28, 20, 15, .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fundido .3s ease; }
.modal-caja {
  position: relative; width: 100%; max-width: 1040px; max-height: calc(100dvh - 48px);
  overflow: auto; overscroll-behavior: contain; background: var(--cream); border-radius: 24px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); animation: subir .4s var(--ease);
}
@keyframes fundido { from { opacity: 0; } }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } }
.modal-cerrar { position: absolute; top: 14px; right: 14px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; box-shadow: var(--sombra-suave); }
.modal-galeria { padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.modal-foto { position: relative; border-radius: var(--radio); overflow: hidden; aspect-ratio: 3 / 4; }
.modal-foto img { width: 100%; height: 100%; object-fit: contain; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(250, 247, 242, .9); display: grid; place-items: center; box-shadow: var(--sombra-suave); opacity: 0; transition: opacity .25s; }
.modal-nav.ant { left: 12px; }
.modal-nav.sig { right: 12px; }
.modal-foto:hover .modal-nav { opacity: 1; }
.modal-contador { position: absolute; left: 14px; bottom: 12px; font-size: 12px; letter-spacing: .1em; background: rgba(250, 247, 242, .85); padding: 4px 10px; border-radius: 999px; }
.modal-miniaturas { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.modal-miniaturas::-webkit-scrollbar { display: none; }
.modal-miniaturas button { flex: 0 0 62px; height: 78px; border-radius: 10px; overflow: hidden; opacity: .55; outline: 1px solid transparent; outline-offset: 1px; transition: opacity .2s, outline-color .2s; }
.modal-miniaturas button.activa { opacity: 1; outline-color: var(--espresso); }
.modal-miniaturas img { width: 100%; height: 100%; object-fit: contain; }
.modal-info { padding: 52px 40px 32px 18px; display: flex; flex-direction: column; min-width: 0; }
.modal-info h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 8px; }
.modal-precio { font-size: 15px; font-weight: 500; color: var(--mocha); }
.modal-desc { color: var(--texto-suave); font-size: 15px; }
.modal-bloque { margin-bottom: 22px; }
.etiqueta { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.etiqueta small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--mocha); font-size: 13px; }
#modal-color-nombre { color: var(--espresso); font-weight: 500; }
.modal-colores { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-colores .color { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--linea); background: var(--blanco); font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.modal-colores .color::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.modal-colores .color:hover { border-color: var(--linea-fuerte); }
.modal-colores .color.activa { border-color: var(--espresso); box-shadow: inset 0 0 0 1px var(--espresso); }
.tallas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.talla { height: 46px; border-radius: 10px; border: 1px solid var(--linea); background: var(--blanco); font-weight: 500; transition: all .15s; }
.talla:hover { border-color: var(--espresso); }
.talla.activa { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.modal-acciones { display: grid; gap: 10px; margin-top: 6px; }
.modal-acciones .ico-wa { color: var(--oro); }
.modal-nota { font-size: 13px; color: var(--mocha); text-align: center; margin: 14px 0 0; }
body.sin-scroll { overflow: hidden; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .grid-productos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .header-in { gap: 8px; }
  .logo { margin: 0 auto; }
  .logo img { height: 34px; }
  .btn-chat span { display: none; }
  .btn-chat { width: 42px; padding: 0; justify-content: center; }
  .icono-btn { display: none; }
  .banner-in, .nosotros-in, .contacto-in { grid-template-columns: minmax(0, 1fr); }
  .banner-foto { max-width: 520px; margin: 0 auto; width: 100%; }
  .grid-ig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modal { padding: 16px; }
  .modal-caja { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .modal-info { padding: 6px 24px 28px; }
  .modal-galeria { padding: 14px 14px 6px; }
  .modal-nav { opacity: 1; }
}

@media (max-width: 720px) {
  .grid-productos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filtros-barra { flex-direction: column; align-items: stretch; gap: 10px; border-bottom: 0; padding-bottom: 0; }
  .filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; }
  .filtros::-webkit-scrollbar { display: none; }
  .filtro { flex-shrink: 0; }
  .filtros-total { text-align: left; }
  .pasos { grid-template-columns: minmax(0, 1fr); }
  .colecciones-cab { align-items: flex-start; }
  .carrusel-flechas { display: none; }
  .coleccion { width: 82vw; }
  .coleccion.vertical { width: 62vw; }
  .coleccion-foto { height: 64vw; }
  .coleccion.vertical .coleccion-foto { height: 64vw; }
  .contacto-tarjetas { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .topbar p { font-size: 10px; letter-spacing: .14em; }
  .topbar-extra, .topbar-extra2 { display: none; }
  .producto-foto { margin-bottom: 12px; border-radius: 12px; }
  .producto-ver { display: none; }
  .producto-chat { width: 34px; height: 34px; }
  .producto-chat svg { width: 15px; height: 15px; }
  .producto-meta { font-size: 10.5px; letter-spacing: .04em; }
  .puntos { gap: 5px; margin-top: 8px; }
  .punto { width: 10px; height: 10px; }
  .insignia { top: 8px; left: 8px; font-size: 9px; padding: 5px 9px; }
  .pilares li { padding: 20px 16px; }
  .pilares strong { font-size: 18px; }
  .pilares span { font-size: 13px; }
  .grid-ig { gap: 6px; }
  .modal { padding: 0; align-items: end; }
  .modal-caja { border-radius: 22px 22px 0 0; max-height: 94dvh; }
  .modal-cerrar { top: 10px; right: 10px; width: 40px; height: 40px; }
  .modal-foto { aspect-ratio: 1 / 1; }
  .modal-info { padding: 4px 18px calc(20px + env(safe-area-inset-bottom)); }
  .modal-acciones { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--cream) 18%); padding-top: 14px; margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .tallas { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .talla { height: 42px; }
  .chat-flotante { height: 54px; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .chat-flotante-icono { width: 46px; height: 46px; }
  .aviso { bottom: calc(84px + env(safe-area-inset-bottom)); gap: 10px; padding: 12px 10px 12px 14px; }
  .aviso strong { font-size: 16px; }
}

@media (max-width: 359px) {
  .grid-productos { gap: 22px 10px; }
  .producto h3 { font-size: 15px; }
  .producto-chat { display: none; }
  .tallas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1600px) {
  .contenedor { max-width: 1400px; }
  .carrusel { padding-left: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); scroll-padding-left: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); }
}

@media (hover: none) {
  .producto-ver { display: none; }
  .producto:hover .producto-foto img { transform: none; }
  .producto:hover .producto-foto img.alterna { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

[hidden] { display: none !important; }

/* =========================================================================
   Portada (hero) — responsive
   ========================================================================= */
/* La foto nunca es más alta que la pantalla */
.hero-visual { justify-self: end; width: min(100%, calc((100svh - var(--header-h) - 120px) * .8), 560px); }
.hero-foto { width: 100%; }

/* Tablet: dos columnas más compactas */
@media (max-width: 1100px) and (min-width: 721px) {
  .hero { padding: 36px 0 72px; }
  .hero-in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 36px; }
  .hero h1 { font-size: clamp(54px, 8.4vw, 92px); margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-botones { margin-bottom: 34px; }
  .hero-botones .btn { padding: 0 22px; }
  .hero-datos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; padding-top: 20px; }
  .hero-datos strong { font-size: 26px; }
  .hero-datos span { font-size: 10.5px; letter-spacing: .05em; }
  .hero-visual { width: min(100%, calc((100svh - var(--header-h) - 100px) * .8)); }
  .hero-etiqueta { left: -18px; bottom: 32px; padding: 8px 16px 8px 8px; gap: 10px; }
  .hero-etiqueta img { width: 46px; height: 60px; }
  .hero-etiqueta strong { font-size: 16px; }
  .hero-etiqueta em { font-size: 12px; }
}

/* Celular: primero el mensaje, luego la foto */
@media (max-width: 720px) {
  .hero { padding: 28px 0 64px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-texto { text-align: center; }
  .hero .kicker { font-size: 10px; letter-spacing: .24em; margin-bottom: 14px; }
  .hero h1 { font-size: clamp(48px, 14.5vw, 76px); margin-bottom: 16px; }
  .hero-sub { font-size: 15.5px; line-height: 1.6; max-width: 400px; margin: 0 auto 26px; }
  .hero-botones { justify-content: center; gap: 10px; margin-bottom: 0; }
  .hero-botones .btn { flex: 1 1 0; min-width: 0; max-width: 220px; padding: 0 14px; min-height: 48px; font-size: 12.5px; }
  .hero-datos { display: none; }
  .hero-visual { justify-self: center; width: min(100%, 420px, calc((100svh - var(--header-h)) * .62)); }
  .hero-foto { border-radius: 999px 999px 14px 14px; }
  .hero-etiqueta { left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; padding: 8px 16px 8px 8px; gap: 10px; }
  .hero-etiqueta:hover { transform: translateX(-50%) translateY(-2px); }
  .hero-etiqueta img { width: 44px; height: 58px; border-radius: 8px; }
  .hero-etiqueta strong { font-size: 16px; }
  .hero-etiqueta em { font-size: 12px; }
  .hero-datos-movil { display: grid; }
}

/* Celular pequeño */
@media (max-width: 359px) {
  .hero h1 { font-size: 44px; }
  .hero-botones { flex-direction: column; align-items: stretch; }
  .hero-botones .btn { max-width: none; flex: none; }
}

/* Celular acostado (poca altura): dos columnas */
@media (max-height: 520px) and (min-width: 560px) and (orientation: landscape) {
  .hero { padding: 20px 0 40px; }
  .hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .hero-texto { text-align: left; }
  .hero h1 { font-size: clamp(40px, 7vw, 60px); }
  .hero-sub { margin-left: 0; }
  .hero-botones { justify-content: flex-start; }
  .hero-datos { display: none; }
  .hero-visual { width: min(100%, calc((100svh - var(--header-h) - 40px) * .8)); justify-self: end; }
  .hero-etiqueta { display: none; }
}

