/* =========================================================
   TERRA NOBLE · Estilos
   Paleta y tipografías en las variables de :root.
   Cambiá los colores acá y se actualiza toda la página.
   ========================================================= */

:root {
  --bg: #07130f;            /* fondo general */
  --bg-2: #0b1d17;          /* fondo alternativo */
  --surface: #0f2a21;       /* tarjetas oscuras */
  --green: #1f5a3c;         /* verde principal */
  --green-2: #2c7350;       /* verde claro */
  --olive: #6d7a3c;         /* verde oliva */
  --gold: #e8c35a;          /* dorado */
  --gold-2: #f3d98c;        /* dorado claro */
  --text: #eef3ee;
  --muted: #a9b8ae;
  --line: rgba(255, 255, 255, .08);

  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --container: 1180px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 15.5px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

::selection { background: var(--gold); color: var(--bg); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.section { padding: 110px 0; position: relative; }
.section-tight { padding: 40px 0; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; }
em { font-style: italic; color: var(--gold); }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 14px; }
.section-title.left { text-align: left; }
.section-sub { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold); color: #1a1a0e; box-shadow: 0 10px 30px rgba(232, 195, 90, .25); }
.btn-gold:hover { background: var(--gold-2); box-shadow: 0 14px 34px rgba(232, 195, 90, .38); }

/* brillo que cruza el botón dorado */
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }

.btn-outline { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; padding-right: 8px; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.btn-sm { padding-right: 20px; }
.btn-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--bg);
  display: grid; place-items: center;
  transition: background .35s, transform .35s var(--ease);
}
.btn-outline:hover .btn-icon { background: var(--gold); transform: rotate(-45deg); }

.btn-dark { background: var(--bg); color: #fff; }
.btn-dark:hover { background: var(--green); }
.btn-outline-dark { border: 1.5px solid var(--bg); color: var(--bg); }
.btn-outline-dark:hover { background: var(--bg); color: #fff; }

.btn-text { color: var(--muted); font-size: .85rem; margin-top: 12px; text-decoration: underline; width: 100%; }
.btn-text:hover { color: var(--gold); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .06);
  transition: background .3s, transform .3s;
}
.icon-btn:hover { background: var(--gold); color: var(--bg); transform: rotate(90deg); }

/* ---------- Pantalla de carga ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 14px;
  font-family: var(--font-title); font-size: 1.4rem; letter-spacing: .08em;
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader-pot { width: 70px; animation: bob 1.4s ease-in-out infinite; }
.preloader.hidden { opacity: 0; visibility: hidden; }

@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: padding .4s var(--ease);
}
/* el fondo con blur va en un pseudo-elemento para no romper el menú móvil */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: rgba(7, 19, 15, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  opacity: 0; transition: opacity .4s;
}
.header.scrolled { padding: 12px 0; }
.header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); font-size: 1.55rem; font-weight: 600; }
.logo em { font-style: normal; color: var(--gold); margin-left: 2px; }
.logo-icon { width: 34px; height: 34px; color: var(--gold); transition: transform .5s var(--ease); }
.logo:hover .logo-icon { transform: rotate(-12deg) scale(1.08); }

.nav-menu {
  display: flex; gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-link {
  padding: 8px 16px; border-radius: 999px;
  font-size: .88rem; color: #dfe7e1;
  transition: background .3s, color .3s;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { background: rgba(255, 255, 255, .1); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.cart-toggle {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line);
  transition: background .3s, transform .3s;
}
.cart-toggle svg { width: 22px; height: 22px; }
.cart-toggle:hover { background: var(--green); transform: translateY(-2px); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: var(--bg);
  font-size: .7rem; font-weight: 600;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::after {
  /* degradado inferior para fundir con la sección siguiente */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 19, 15, .1) 0%, rgba(7, 19, 15, .2) 60%, var(--bg) 100%);
}
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 50% 38%, rgba(44, 115, 80, .55), transparent 70%),
    radial-gradient(35% 40% at 15% 20%, rgba(109, 122, 60, .35), transparent 70%),
    radial-gradient(35% 40% at 88% 30%, rgba(31, 90, 60, .45), transparent 70%);
}
.leaf { position: absolute; color: var(--green); opacity: .55; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); will-change: transform; }
.leaf-1 { width: 220px; left: -40px; top: 12%; transform: rotate(-25deg); color: #1d4a33; }
.leaf-2 { width: 260px; right: -60px; top: 5%; transform: rotate(30deg) scaleX(-1); color: #245a3d; }
.leaf-3 { width: 160px; left: 8%; bottom: 4%; transform: rotate(-60deg); color: #3a5a2a; opacity: .4; }
.leaf-4 { width: 190px; right: 6%; bottom: 0; transform: rotate(55deg); color: #1a4430; opacity: .5; }

.particles span {
  position: absolute; bottom: -10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  10% { opacity: .7; }
  100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

.hero-content { max-width: 820px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 600; letter-spacing: -.01em; }
.hero-title .line-break { display: block; }
.brush { width: min(300px, 70%); height: 22px; margin: 16px auto 22px; }
.brush path { stroke-dasharray: 320; stroke-dashoffset: 320; }
.brush.visible path { animation: draw 1.3s .4s var(--ease) forwards; }
.brush.visible path + path { animation-delay: .7s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-text { color: #cfdbd3; max-width: 580px; margin: 0 auto 36px; }
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px; }

.hero-contact { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.hero-contact small { display: block; color: var(--muted); font-size: .78rem; }
.hero-contact strong { font-weight: 500; font-size: .92rem; }
.hero-contact-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  position: relative;
}
.hero-contact-icon svg { width: 24px; height: 24px; }
.hero-contact-icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green-2);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, .4);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Tarjeta destacada ---------- */
.feature-card {
  display: grid; grid-template-columns: 1fr 1.1fr;
  background: linear-gradient(135deg, #1f5a3c, #184a31);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
  min-height: 300px;
  margin-top: -40px;
}
.feature-left { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.rating-pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: #fff; color: #222; font-size: .8rem; font-weight: 500;
  padding: 5px 14px; border-radius: 999px;
}
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-pill .stars { color: #e0a800; }
.feature-quote { color: #dbe7df; font-size: .98rem; max-width: 420px; }
.feature-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.feature-author small { display: block; color: var(--muted); font-size: .78rem; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--bg);
  display: grid; place-items: center;
  font-weight: 600; font-size: .9rem;
  border: 3px solid rgba(255, 255, 255, .25);
  flex-shrink: 0;
}

.feature-right { position: relative; min-height: 300px; }
.feature-circle {
  position: absolute; right: 0; bottom: 0;
  width: 70%; aspect-ratio: 1;
  max-height: 100%;
  background: var(--olive);
  border-radius: 100% 0 var(--radius) 0 / 100% 0 var(--radius) 0;
}
.feature-pot {
  position: absolute; right: 12%; bottom: 24px;
  width: min(210px, 50%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .5);
  border: 4px solid rgba(255, 255, 255, .12);
  transform: rotate(3deg);
  transition: transform .6s var(--ease);
}
.feature-pot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.feature-card:hover .feature-pot { transform: rotate(0) translateY(-10px) scale(1.03); }

.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .78rem; white-space: nowrap;
  animation: float 5s ease-in-out infinite;
  z-index: 2;
}
.chip i { width: 16px; height: 16px; border-radius: 50%; background: #fff; position: relative; }
.chip i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--green); }
.chip-1 { left: 4%; top: 30%; }
.chip-2 { left: 10%; bottom: 16%; animation-delay: -1.6s; }
.chip-3 { right: 4%; top: 12%; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Quién soy ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-img {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3.4;
  background: linear-gradient(160deg, #2c4a36, #14301f);
  position: relative;
  box-shadow: var(--shadow);
}
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 1s var(--ease); }
.about-media:hover .about-img img { transform: scale(1.05); }
.about-illustration { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 0 6% 8%; }
.about-illustration img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.location-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #222; padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 500;
}
.location-tag svg { width: 15px; height: 15px; color: var(--gold); }

.exp-badge {
  position: absolute; right: -24px; bottom: -34px; z-index: 2;
  background: var(--green); padding: 20px 24px;
  border-radius: 18px; border: 6px solid var(--bg);
  min-width: 150px;
  animation: float 6s ease-in-out infinite;
}
.exp-badge strong { font-family: var(--font-title); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; }
.exp-badge small { display: block; font-size: .82rem; color: #dbe7df; margin: 6px 0 8px; }
.exp-badge svg { width: 80px; height: 8px; }

.about-text p { color: var(--muted); margin-bottom: 16px; }
.about-text p strong { color: var(--text); }
.about-list { margin: 26px 0 34px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; }
.about-list span {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: rgba(232, 195, 90, .15); color: var(--gold);
  display: grid; place-items: center; font-size: .8rem;
}

/* ---------- Más vendidas ---------- */
.bestsellers { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 24px; align-items: start; }
.best {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 3.5; cursor: pointer;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.best.main { aspect-ratio: 3 / 3.3; }
.best-media { position: absolute; inset: 0; transition: transform .9s var(--ease); }
.best-media img { width: 100%; height: 100%; object-fit: cover; }
.best:hover .best-media { transform: scale(1.07); }
.best::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, transparent 30%, rgba(5, 15, 11, .55) 55%, rgba(5, 15, 11, .95) 100%);
  pointer-events: none;
}
.best-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.best-top .rating-pill { font-size: .72rem; }
.plus-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--bg); font-size: 1.3rem; line-height: 1;
  display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.plus-btn:hover { background: var(--gold); transform: rotate(90deg); }
.best-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; text-align: center; }
.best-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.best-info p { font-size: .85rem; color: #cfdbd3; }
.best-info .price { font-size: 1rem; display: block; margin-top: 6px; }
.best:not(.main) .best-info p { display: none; }
.best:not(.main) .best-info h3 { font-size: 1.45rem; }
.best.main .best-info {
  left: 12%; right: 12%; bottom: 18px;
  background: rgba(109, 122, 60, .92);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  transform: translateY(20px);
  transition: transform .5s var(--ease);
}
.best.main:hover .best-info { transform: translateY(0); }

/* ---------- Cinta dorada ---------- */
.marquee { background: var(--gold); color: var(--bg); overflow: hidden; padding: 22px 0; transform: rotate(-1.2deg); margin: 40px -10px; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; padding: 0 30px; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Catálogo ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding: 14px; margin-bottom: 18px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
}
.search { position: relative; flex: 1 1 220px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; padding: 12px 16px 12px 44px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 999px;
  outline: none; transition: border-color .3s, background .3s;
}
.search input:focus { border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.search input::placeholder { color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 9px 18px; border-radius: 999px; font-size: .86rem;
  border: 1px solid var(--line); color: #dbe7df;
  transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--gold); color: var(--gold); }
.filter.active { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 500; }

.selects { display: flex; gap: 8px; }
.selects select {
  appearance: none; -webkit-appearance: none;
  padding: 10px 38px 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23e8c35a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  border: 1px solid var(--line); font-size: .86rem; cursor: pointer; outline: none;
}
.selects select:focus { border-color: var(--gold); }
.selects option { background: var(--bg-2); }

.results-count { color: var(--muted); font-size: .85rem; margin: 0 6px 22px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
  animation: cardIn .6s var(--ease) both;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(232, 195, 90, .35); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }

.card-media {
  position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; cursor: pointer;
  background: radial-gradient(80% 70% at 50% 40%, #24533b, #0f2a21);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-media .pot-svg { position: absolute; inset: 12% 18% 6%; width: auto; height: auto; transition: transform .8s var(--ease); }
.card:hover .card-media img,
.card:hover .card-media .pot-svg { transform: scale(1.08); }
/* segunda foto: aparece al pasar el mouse */
.card-media .img-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.card:hover .card-media .img-alt { opacity: 1; }
.card-media .img-alt + .quick-view::before { content: "2 fotos · "; }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 12px; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: var(--gold); color: var(--bg);
}
.badge.nuevo { background: #fff; }
.badge.ultimas { background: #d9674e; color: #fff; }

.quick-view {
  position: absolute; left: 50%; bottom: 16px; z-index: 2;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(7, 19, 15, .85); backdrop-filter: blur(6px);
  font-size: .8rem; white-space: nowrap;
  transition: opacity .4s, transform .4s var(--ease);
}
.card:hover .quick-view { opacity: 1; transform: translate(-50%, 0); }

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card-title { font-size: 1.25rem; margin: 4px 0 6px; }
.card-desc { color: var(--muted); font-size: .86rem; flex: 1; }
.card-colors { display: flex; gap: 6px; margin: 14px 0; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-title); font-size: 1.35rem; color: var(--gold); font-weight: 600; }
.price small { font-family: var(--font-body); font-size: .75rem; color: var(--muted); font-weight: 400; }

.add-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--green); font-size: .84rem; font-weight: 500;
  transition: background .3s, transform .3s var(--ease);
}
.add-btn:hover { background: var(--gold); color: var(--bg); transform: translateY(-2px); }
.add-btn.added { background: var(--gold); color: var(--bg); }

.empty { text-align: center; padding: 60px 0; color: var(--muted); display: grid; justify-items: center; gap: 16px; }
.empty[hidden] { display: none; }
.load-more-wrap { text-align: center; margin-top: 40px; }
.load-more-wrap .btn[hidden] { display: none; }

/* ---------- Beneficios ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  padding: 36px 26px 30px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(180deg, #0f2a21, #0b211a);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--green), #173f2c);
  opacity: 0; transition: opacity .5s;
}
.service > * { position: relative; }
.service:hover { transform: translateY(-8px); border-color: rgba(232, 195, 90, .3); }
.service:hover::before { opacity: 1; }
.service-icon { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--gold); transition: transform .6s var(--ease); }
.service:hover .service-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.service h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.service:hover p { color: #dbe7df; }
.link-more { font-size: .85rem; color: var(--gold); display: inline-flex; gap: 6px; }
.link-more span { transition: transform .3s; }
.link-more:hover span { transform: translateX(5px); }

/* ---------- Números ---------- */
.stats {
  display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; align-items: center;
  padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.stat strong { font-family: var(--font-title); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); font-weight: 500; display: block; line-height: 1.1; }
.stat small { color: var(--muted); font-size: .85rem; }

/* ---------- Cómo comprar ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%;
  border-top: 2px dashed rgba(232, 195, 90, .3);
}
.step { text-align: center; padding: 0 10px; position: relative; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--gold); color: var(--gold);
  font-family: var(--font-title); font-size: 1.3rem; font-weight: 600;
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.step:hover .step-num { background: var(--gold); color: var(--bg); transform: scale(1.1); }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Testimonios ---------- */
.slider { max-width: 760px; margin: 0 auto; overflow: hidden; }
.slides { display: flex; transition: transform .7s var(--ease); }
.testimonial {
  flex: 0 0 100%; text-align: center; padding: 44px 40px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.testimonial .stars { font-size: 1.1rem; margin-bottom: 16px; }
.testimonial blockquote { font-family: var(--font-title); font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-style: italic; line-height: 1.5; margin-bottom: 26px; }
.testimonial figcaption { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.testimonial figcaption small { display: block; color: var(--muted); font-size: .8rem; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
}
.slider-btn:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); transition: width .4s var(--ease), background .4s; }
.dots button.active { width: 28px; background: var(--gold); }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.faq-intro p { color: var(--muted); margin-bottom: 28px; }
.accordion { display: grid; gap: 12px; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .3s; }
.acc-item[open] { border-color: rgba(232, 195, 90, .35); }
.acc-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px; position: relative;
  font-weight: 500;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(232, 195, 90, .15); color: var(--gold); font-size: 1.2rem;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.acc-item[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--bg); }
.acc-item p { padding: 0 24px 22px; color: var(--muted); font-size: .92rem; animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- CTA Instagram ---------- */
.cta {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
  background: var(--gold); color: var(--bg);
  border-radius: 30px; padding: 56px; overflow: hidden; position: relative;
}
.cta::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); left: -120px; bottom: -200px;
}
.cta > * { position: relative; }
.cta .eyebrow { color: var(--bg); }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta h2 em { color: var(--green); }
.cta p { margin-bottom: 28px; color: #3a3a24; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; transform: rotate(4deg); }
.cta-grid a { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--green); position: relative; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cta-grid a:nth-child(even) { transform: translateY(18px); }
.cta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cta-grid .pot-svg { position: absolute; inset: 12%; width: auto; height: auto; }
.cta-grid a:hover img { transform: scale(1.1); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 30px; border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-size: 1.15rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; color: var(--muted); font-size: .9rem; }
.footer ul a:hover { color: var(--gold); }
.footer-desc { color: var(--muted); font-size: .9rem; margin-top: 14px; }
.newsletter { display: flex; margin-top: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 8px 14px; }
.newsletter button { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--bg); font-weight: 600; transition: transform .3s; }
.newsletter button:hover { transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Carrito ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.overlay.show { opacity: 1; visibility: visible; }

.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(420px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.cart.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.5rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeDown .4s var(--ease); }
.cart-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--surface); position: relative; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .pot-svg { position: absolute; inset: 10%; width: auto; height: auto; }
.cart-item h4 { font-family: var(--font-body); font-size: .92rem; font-weight: 500; }
.cart-item .price { font-size: 1rem; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .85rem; }
.cart-qty button { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cart-qty button:hover { background: var(--gold); color: var(--bg); }
.cart-remove { color: var(--muted); font-size: .8rem; }
.cart-remove:hover { color: #e67a62; }
.cart-empty { flex: 1; display: none; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.cart.is-empty .cart-empty { display: grid; }
.cart.is-empty .cart-items,
.cart.is-empty .cart-foot { display: none; }
.cart-foot { padding: 24px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.cart-total strong { font-family: var(--font-title); font-size: 1.6rem; color: var(--gold); }
.cart-note { color: var(--muted); font-size: .8rem; margin-bottom: 18px; }

/* ---------- Modal de producto ---------- */
.modal {
  position: fixed; inset: 0; z-index: 220;
  display: grid; place-items: center; padding: 20px;
  background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.modal.show { opacity: 1; visibility: visible; }
.modal-box {
  width: min(900px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 26px;
  position: relative;
  transform: translateY(30px) scale(.96); transition: transform .5s var(--ease);
}
.modal.show .modal-box { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 3; }
.modal-media { position: relative; min-height: 380px; background: radial-gradient(80% 70% at 50% 40%, #24533b, #0f2a21); }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media .pot-svg { position: absolute; inset: 14% 18%; width: auto; height: auto; }
.modal-media > img.fade-in { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.03); } }
.modal-thumbs { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; }
.modal-thumbs button {
  width: 58px; height: 58px; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .5); opacity: .75;
  transition: opacity .3s, border-color .3s, transform .3s var(--ease);
}
.modal-thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.modal-thumbs button.active { border-color: var(--gold); opacity: 1; }
.modal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 40px 36px; }
.modal-info h3 { font-size: 2rem; margin-bottom: 6px; }
.modal-desc { color: var(--muted); margin: 14px 0 18px; font-size: .93rem; }
.modal-specs { display: grid; gap: 8px; font-size: .88rem; margin-bottom: 18px; }
.modal-specs li { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.modal-specs span { color: var(--muted); }
.modal-colors { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .85rem; color: var(--muted); }
.modal-colors .swatch { width: 22px; height: 22px; }
.modal-buy { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-buy .price { font-size: 1.9rem; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; font-size: 1.1rem; transition: background .3s; }
.qty button:hover { background: rgba(255, 255, 255, .1); }
.qty span { min-width: 28px; text-align: center; font-weight: 500; }

/* ---------- Aviso, WhatsApp flotante, volver arriba ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 300;
  transform: translate(-50%, 120px);
  background: var(--gold); color: var(--bg); font-weight: 500; font-size: .9rem;
  padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }

.to-top {
  position: fixed; right: 30px; bottom: 94px; z-index: 150;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--bg); }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.from-left { transform: translateX(-60px); }
.reveal.from-right { transform: translateX(60px); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats-title { grid-column: 1 / -1; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .hide-mobile { display: none; }
  .burger { display: block; }
  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: -1;
    width: min(300px, 80%);
    flex-direction: column; gap: 6px;
    padding: 100px 24px 24px;
    border-radius: 0; border: 0; border-left: 1px solid var(--line);
    background: rgba(7, 19, 15, .98);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: -20px 0 40px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    transition: transform .5s var(--ease);
  }
  .nav-menu.open { transform: none; }
  .nav-link { font-size: 1.05rem; padding: 12px 18px; }

  .feature-card { grid-template-columns: 1fr; }
  .feature-right { min-height: 340px; }
  .about, .faq-wrap { grid-template-columns: 1fr; gap: 70px; }
  .exp-badge { right: 10px; }
  .bestsellers { grid-template-columns: 1fr 1fr; }
  .bestsellers .best.main { grid-column: 1 / -1; order: -1; aspect-ratio: 16 / 12; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-media { min-height: 300px; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .hero-actions { flex-direction: column; gap: 20px; }
  .feature-left { padding: 30px 24px; }
  .chip-1 { left: 3%; top: 10%; }
  .chip-2 { left: 3%; bottom: 10%; }
  .chip-3 { display: none; }
  .feature-pot { right: 8%; }
  .bestsellers { grid-template-columns: 1fr; }
  .bestsellers .best.main { aspect-ratio: 3 / 3.3; }
  .toolbar { border-radius: 18px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .selects { width: 100%; }
  .selects select { flex: 1; min-width: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card-body { padding: 14px; }
  .card-title { font-size: 1.05rem; }
  .card-desc, .card-colors, .quick-view { display: none; }
  .card-foot { flex-direction: column; align-items: stretch; margin-top: 10px; }
  .add-btn { justify-content: center; }
  .price { font-size: 1.15rem; }
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonial { padding: 32px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-info { padding: 28px 22px; }
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .to-top { right: 21px; bottom: 80px; }
}

/* Respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
