/* ═══════════════════════════════════════════════════
   AMAYA V2 — JOYERÍA ARTESANAL
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  --cream:      #FAF8F4;
  --bone:       #F4F0E8;
  --sand:       #E8DDD0;
  --taupe:      #C9B99A;
  --bark:       #9E8570;
  --earth:      #6B5744;
  --charcoal:   #2C2520;
  --text:       #3A3229;
  --muted:      #7A6B5E;
  --gold:       #C9A96E;
  --gold-lt:    #E0C48A;
  --gold-pale:  #F5EDD8;
  --border:     rgba(180,160,130,0.22);
  --white-a10:  rgba(255,255,255,0.10);
  --white-a40:  rgba(255,255,255,0.40);

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Jost', sans-serif;

  --nav-h: 68px;
  --ann-h: 36px;
  --r:     4px;
  --r-lg:  10px;
  --ease:  cubic-bezier(0.25,0.46,0.45,0.94);
  --t:     0.38s var(--ease);
  --t-f:   0.2s ease;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); background: var(--cream); color: var(--text); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--ff-display); font-weight: 400; line-height: 1.12; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.05rem; font-weight: 500; }
h5 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
em { font-style: italic; color: var(--gold); }
p  { font-size: 0.88rem; color: var(--muted); }

.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.9rem;
}
.section-title { color: var(--text); margin-bottom: 0.9rem; }
.section-desc  { max-width: 440px; }
.section-header { text-align: center; padding: 0 1.5rem; margin-bottom: 3.5rem; }
.section-header .section-desc { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--ff-body); font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.17em; text-transform: uppercase;
  border-radius: var(--r); transition: all var(--t-f); cursor: pointer;
}
.btn--primary  { background: var(--charcoal); color: var(--cream); border: 1px solid var(--charcoal); }
.btn--primary:hover { background: var(--earth); border-color: var(--earth); }
.btn--ghost-dark { background: transparent; color: var(--text); border: 1px solid var(--taupe); }
.btn--ghost-dark:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.btn--outline  { background: transparent; color: var(--text); border: 1px solid var(--taupe); }
.btn--outline:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

/* ── REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════════════════════════ */
.announcement-bar {
  height: var(--ann-h);
  background: var(--charcoal);
  overflow: hidden;
  display: flex; align-items: center;
  position: sticky; top: 0; z-index: 300;
}
.announcement-bar__track {
  display: flex; gap: 3.5rem; white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.announcement-bar__track span {
  font-size: 0.66rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sand); flex-shrink: 0;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════ */
.navbar {
  position: sticky; top: var(--ann-h); z-index: 200;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.5rem; height: var(--nav-h);
  background: rgba(250,248,244,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-f);
}
.navbar.scrolled { box-shadow: 0 2px 28px rgba(60,40,20,0.09); }

.navbar__left  { display: flex; align-items: center; }
.navbar__right { display: flex; align-items: center; justify-content: flex-end; gap: 1.1rem; }

.navbar__links { display: flex; gap: 2rem; }
.navbar__links a {
  font-size: 0.7rem; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); position: relative; transition: color var(--t-f);
}
.navbar__links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--t-f);
}
.navbar__links a:hover { color: var(--gold); }
.navbar__links a:hover::after { width: 100%; }

.navbar__logo  { text-align: center; }
.logo-text     { font-family: var(--ff-display); font-size: 1.85rem; font-weight: 500; letter-spacing: 0.1em; color: var(--text); display: block; line-height: 1; }
.logo-sub      { font-size: 0.5rem; font-weight: 300; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); display: block; }

.nav-icon {
  display: flex; align-items: center; position: relative;
  color: var(--text); transition: color var(--t-f);
}
.nav-icon:hover { color: var(--gold); }
.cart-count {
  position: absolute; top: -7px; right: -9px;
  background: var(--gold); color: white;
  font-size: 0.52rem; font-weight: 500;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease);
}
.cart-count.bump { transform: scale(1.5); }

/* Search bar */
.search-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 100%;
  background: var(--cream); display: flex; align-items: center;
  padding: 0 2.5rem; gap: 1rem;
  opacity: 0; pointer-events: none; transform: translateY(-100%);
  transition: all 0.3s ease; z-index: 10;
}
.search-bar.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.search-bar input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--ff-display); font-size: 1.3rem; color: var(--text);
}
.search-bar input::placeholder { color: var(--taupe); }
.search-bar button { color: var(--muted); transition: color var(--t-f); }
.search-bar button:hover { color: var(--text); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1px; background: var(--text); transition: all var(--t-f); }
.hamburger.open span:first-child { transform: rotate(45deg) translate(4px,4px); }
.hamburger.open span:last-child  { transform: rotate(-45deg) translate(4px,-4px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed;
  top: calc(var(--ann-h) + var(--nav-h));
  left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 2rem; z-index: 190;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: all var(--t-f);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-menu nav  { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu nav a { font-family: var(--ff-display); font-size: 1.5rem; color: var(--text); padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }

/* ════════════════════════════════════════════════════
   CART DRAWER
════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(44,37,32,0.4);
  z-index: 400; opacity: 0; pointer-events: none;
  transition: opacity var(--t-f);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 95vw;
  background: var(--cream); z-index: 500;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  box-shadow: -8px 0 40px rgba(60,40,20,0.15);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--border);
}
.cart-drawer__header h3 { font-family: var(--ff-display); font-size: 1.4rem; }
.cart-drawer__close { color: var(--muted); transition: color var(--t-f); }
.cart-drawer__close:hover { color: var(--text); }

.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }

.cart-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; min-height: 200px; text-align: center; color: var(--taupe);
}
.cart-empty p { font-size: 0.9rem; color: var(--text); }
.cart-empty span { font-size: 0.8rem; }

.cart-item {
  display: flex; gap: 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.cart-item__img {
  width: 64px; height: 64px; border-radius: var(--r);
  overflow: hidden; flex-shrink: 0; background: var(--bone);
}
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; }
.cart-item__info h5 { font-family: var(--ff-display); font-size: 1rem; font-weight: 500; margin-bottom: 0.15rem; }
.cart-item__info p  { font-size: 0.78rem; }
.cart-item__price   { font-family: var(--ff-display); font-size: 1rem; }
.cart-item__remove  { color: var(--taupe); transition: color var(--t-f); font-size: 0.75rem; margin-left: 0.5rem; }
.cart-item__remove:hover { color: #c0392b; }

.cart-drawer__footer {
  padding: 1.2rem 1.6rem 2rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total span  { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cart-total strong { font-family: var(--ff-display); font-size: 1.5rem; }
.cart-checkout { text-align: center; justify-content: center; }
.cart-note { font-size: 0.68rem; text-align: center; color: var(--bark); letter-spacing: 0.05em; }

/* ════════════════════════════════════════════════════
   HERO — SPLIT SCREEN
════════════════════════════════════════════════════ */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--ann-h) - var(--nav-h));
  overflow: hidden;
}

.hero__left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4.5rem 6rem 5.5rem;
  background: var(--cream);
}
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero__title   { margin-bottom: 1.4rem; }
.hero__subtitle {
  font-size: 0.95rem; color: var(--muted); max-width: 360px;
  margin-bottom: 2.5rem; line-height: 1.9;
}
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__trust   { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.trust-item    { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--bark); }
.trust-item svg { color: var(--gold); flex-shrink: 0; }

.hero__right {
  position: relative; background: var(--bone); overflow: hidden;
}
.hero__photo-main {
  position: absolute; inset: 0;
}
.hero__photo-main img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}

.hero__photo-float {
  position: absolute; bottom: 2.5rem; left: -1.5rem; z-index: 4;
  background: var(--cream); border-radius: var(--r-lg);
  overflow: hidden; width: 160px;
  box-shadow: 0 12px 40px rgba(60,40,20,0.2);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease 0.6s, transform 0.7s ease 0.6s;
}
.hero__photo-float.visible { opacity: 1; transform: translateY(0); }
.hero__photo-float img { width: 100%; aspect-ratio: 1/1; }
.hero__float-label {
  padding: 0.7rem 0.8rem; display: flex; flex-direction: column; gap: 0.1rem;
}
.hero__float-label strong { font-family: var(--ff-display); font-size: 0.95rem; }
.hero__float-label span   { font-size: 0.68rem; color: var(--gold); }

.deco-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.18); pointer-events: none;
}
.deco-ring--1 { width: 60vw; height: 60vw; top: -25%; right: -25%; }
.deco-ring--2 { width: 42vw; height: 42vw; top: -15%; right: -12%; }

/* ════════════════════════════════════════════════════
   RIBBON
════════════════════════════════════════════════════ */
.ribbon { background: var(--charcoal); overflow: hidden; padding: 13px 0; }
.ribbon__track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 26s linear infinite;
}
.ribbon__track span { font-size: 0.66rem; font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); flex-shrink: 0; }

/* ════════════════════════════════════════════════════
   COLECCIONES
════════════════════════════════════════════════════ */
.colecciones { padding: 8rem 4rem; max-width: 1280px; margin: 0 auto; }

.colecciones-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}

.col-card { display: flex; flex-direction: column; gap: 1.3rem; }

.col-card__img {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 3/4;
  cursor: pointer;
}
.col-card--featured .col-card__img { aspect-ratio: 3/4.5; }

.col-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.7s var(--ease);
}
.col-card:hover .col-card__img img { transform: scale(1.04); }

.col-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,37,32,0.7) 0%, transparent 60%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.8rem;
  opacity: 0; transition: opacity var(--t-f);
}
.col-card:hover .col-card__overlay { opacity: 1; }

.col-card__btn {
  display: inline-block; padding: 0.65rem 1.5rem;
  background: var(--cream); color: var(--text);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--r);
  transform: translateY(8px); transition: all var(--t-f);
}
.col-card:hover .col-card__btn { transform: translateY(0); }

.col-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: white;
  font-size: 0.58rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 2px;
}

.col-card__info { padding: 0 0.3rem; }
.col-num { font-size: 0.58rem; letter-spacing: 0.2em; color: var(--taupe); display: block; margin-bottom: 0.3rem; }
.col-card__info h3 { margin-bottom: 0.5rem; }
.col-card__info p  { font-size: 0.84rem; margin-bottom: 1rem; line-height: 1.65; }

.col-swatches { display: flex; gap: 0.4rem; align-items: center; }
.swatch {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* ════════════════════════════════════════════════════
   EDITORIAL BREAK
════════════════════════════════════════════════════ */
.editorial-break {
  position: relative; overflow: hidden;
  height: clamp(340px, 55vw, 640px);
}
.editorial-break img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: transform 0.8s var(--ease);
}
.editorial-break:hover img { transform: scale(1.025); }
.editorial-break::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(44,37,32,0.65) 0%, rgba(44,37,32,0.2) 60%, transparent 100%);
}
.editorial-break__text {
  position: absolute; left: 5%; top: 50%; transform: translateY(-50%);
  z-index: 2; max-width: 440px;
}
.editorial-break__text .section-eyebrow { color: var(--gold-lt); }
.editorial-break__text h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 3rem); }
.editorial-break__text h2 em { color: var(--gold-lt); }

/* ════════════════════════════════════════════════════
   USOS — INTERACTIVO
════════════════════════════════════════════════════ */
.usos {
  padding: 8rem 4rem;
  background: var(--bone);
  overflow: hidden;
}

.usos-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; max-width: 1100px; margin: 0 auto;
  align-items: center;
}

.usos-tabs { display: flex; flex-direction: column; gap: 0; }

.uso-tab {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.6rem 1.4rem; border-radius: var(--r);
  text-align: left; cursor: pointer;
  border-left: 2px solid transparent;
  transition: all var(--t-f);
  background: transparent;
}
.uso-tab:hover { background: rgba(201,169,110,0.08); }
.uso-tab.active {
  background: var(--cream);
  border-left-color: var(--gold);
  box-shadow: 0 4px 20px rgba(60,40,20,0.07);
}

.uso-tab__num {
  font-family: var(--ff-display); font-size: 1.1rem;
  color: var(--taupe); flex-shrink: 0;
  transition: color var(--t-f);
}
.uso-tab.active .uso-tab__num { color: var(--gold); }

.uso-tab div strong {
  display: block; font-family: var(--ff-display);
  font-size: 1.1rem; color: var(--text); margin-bottom: 0.3rem;
}
.uso-tab div p { font-size: 0.83rem; line-height: 1.65; }

.usos-photos {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 3/4;
}

.uso-photo {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.5s ease;
}
.uso-photo.active { opacity: 1; }
.uso-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.uso-photo__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem;
  background: linear-gradient(to top, rgba(44,37,32,0.75) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 0.2rem;
}
.uso-photo__label strong { font-family: var(--ff-display); font-size: 1.2rem; color: var(--cream); }
.uso-photo__label span   { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--gold-lt); }

/* ════════════════════════════════════════════════════
   CATÁLOGO
════════════════════════════════════════════════════ */
.catalogo { padding: 8rem 4rem; max-width: 1280px; margin: 0 auto; }

.catalog-filters {
  display: flex; justify-content: center; gap: 0.5rem;
  flex-wrap: wrap; margin-bottom: 3.5rem;
}
.filter-btn {
  padding: 0.5rem 1.3rem;
  font-family: var(--ff-body); font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border);
  border-radius: 50px; transition: all var(--t-f); background: transparent;
}
.filter-btn:hover, .filter-btn.active { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.6rem;
}

.product-card { display: flex; flex-direction: column; gap: 1rem; }

.product-card__img {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; aspect-ratio: 3/4; cursor: pointer;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

.product-card__img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,37,32,0.35) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--t-f);
}
.product-card:hover .product-card__img::after { opacity: 1; }

.product-card__badge {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 3;
  background: var(--charcoal); color: var(--cream);
  font-size: 0.58rem; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 2px;
}
.product-card__badge--limit { background: var(--bark); }
.product-card__badge--fav   { background: var(--gold); }

.product-card__actions {
  position: absolute; bottom: 0.9rem; right: 0.9rem; z-index: 3;
  display: flex; flex-direction: column; gap: 0.4rem;
  opacity: 0; transform: translateX(6px);
  transition: all var(--t-f);
}
.product-card:hover .product-card__actions { opacity: 1; transform: translateX(0); }

.quick-add, .quick-wish {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(250,248,244,0.94);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: all var(--t-f);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.quick-add:hover  { background: var(--charcoal); color: var(--cream); }
.quick-wish:hover { background: var(--gold); color: white; }
.quick-wish.wished svg { fill: var(--gold); stroke: var(--gold); }

.product-card__info { padding: 0 0.2rem; }
.product-cat { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.25rem; }
.product-card__info h4 { font-family: var(--ff-display); font-size: 1.1rem; color: var(--text); margin-bottom: 0.2rem; }
.product-desc { font-size: 0.76rem; margin-bottom: 0.6rem; }

.product-bottom { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--ff-display); font-size: 1.1rem; color: var(--text); }
.price small { font-family: var(--ff-body); font-size: 0.65rem; color: var(--muted); font-weight: 300; }
.btn-detail {
  font-family: var(--ff-body); font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 1px;
  border-bottom: 1px solid var(--border); transition: all var(--t-f);
}
.btn-detail:hover { color: var(--gold); border-color: var(--gold); }

/* ════════════════════════════════════════════════════
   PRODUCT MODAL
════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(44,37,32,0.5);
  z-index: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.product-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  width: min(920px, 94vw);
  max-height: 90vh; overflow-y: auto;
  background: var(--cream); border-radius: var(--r-lg);
  z-index: 700; opacity: 0; pointer-events: none;
  transition: all 0.35s var(--ease);
  box-shadow: 0 30px 80px rgba(44,37,32,0.25);
}
.product-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bone); display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all var(--t-f);
}
.modal-close:hover { background: var(--charcoal); color: var(--cream); }

.product-modal__inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }

.product-modal__img { border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden; }
.product-modal__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.product-modal__info {
  padding: 2.8rem 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.modal-price {
  font-family: var(--ff-display); font-size: 1.8rem; color: var(--text);
}
.modal-desc { font-size: 0.88rem; line-height: 1.8; color: var(--muted); }

.modal-colors { display: flex; gap: 0.5rem; align-items: center; }
.modal-colors::before { content: 'Colores:'; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); margin-right: 0.3rem; }
.modal-swatch {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.08); cursor: pointer;
  transition: transform var(--t-f);
}
.modal-swatch:hover { transform: scale(1.2); }

.modal-usos { background: var(--bone); border-radius: var(--r); padding: 1rem; }
.modal-usos__title { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; font-family: var(--ff-body); }
.modal-usos__tags  { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.modal-usos__tags span {
  font-size: 0.7rem; color: var(--text);
  background: var(--cream); border: 1px solid var(--border);
  padding: 0.25rem 0.65rem; border-radius: 50px;
}

.modal-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.modal-add-cart { flex: 1; justify-content: center; }
.modal-wish     { padding: 0.8rem; }
.modal-note     { font-size: 0.68rem; color: var(--bark); letter-spacing: 0.06em; }

/* ════════════════════════════════════════════════════
   ESENCIA
════════════════════════════════════════════════════ */
.esencia {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 680px; overflow: hidden;
}

.esencia__visual {
  position: relative; background: var(--bone); min-height: 580px;
}
.esencia__photo {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
}
.esencia__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.esencia__photo--main  { top: 5%; left: 8%; width: 62%; aspect-ratio: 3/4; box-shadow: 0 20px 60px rgba(60,40,20,0.18); z-index: 2; }
.esencia__photo--accent { bottom: 6%; right: 4%; width: 42%; aspect-ratio: 1/1.2; box-shadow: 0 12px 40px rgba(60,40,20,0.14); z-index: 3; }

.esencia__badge {
  position: absolute; top: 50%; right: 9%; transform: translateY(-50%);
  z-index: 4; background: var(--charcoal); color: var(--cream);
  padding: 1.3rem; border-radius: var(--r); text-align: center;
  display: flex; flex-direction: column; gap: 0.2rem; min-width: 86px;
}
.esencia__badge span   { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
.esencia__badge strong { font-family: var(--ff-display); font-size: 2.1rem; color: var(--cream); line-height: 1; }

.esencia__text {
  background: var(--bone); padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.esencia__body { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.9; }
.esencia__stats { display: flex; gap: 2.5rem; margin: 1.8rem 0 2.5rem; padding: 1.8rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--ff-display); font-size: 2.1rem; color: var(--text); line-height: 1; margin-bottom: 0.25rem; }
.stat span   { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ════════════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════════════ */
.testimonios { padding: 8rem 4rem; overflow: hidden; }

.testimonios-slider { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; }
.testimonios-track  { display: flex; gap: 1.5rem; transition: transform 0.55s var(--ease); }

.testi-card {
  flex: 0 0 calc(33.333% - 1rem);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bone);
  display: flex; flex-direction: column;
}
.testi-card__photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 20%; }
.testi-card__body  { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }

.stars { font-size: 0.82rem; color: var(--gold); letter-spacing: 0.1em; }
.testi-card blockquote {
  font-family: var(--ff-display); font-style: italic;
  font-size: 1rem; color: var(--text); line-height: 1.65; flex: 1;
}
.testi-card footer { display: flex; align-items: center; gap: 0.5rem; margin-top: auto; }
.testi-card footer strong { font-family: var(--ff-display); font-size: 0.95rem; display: block; }
.testi-card footer span   { font-size: 0.7rem; color: var(--muted); }

.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 2rem; }
.slider-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  color: var(--text); transition: all var(--t-f);
}
.slider-btn:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.slider-dots { display: flex; gap: 0.4rem; }
.slider-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sand); border: none; cursor: pointer; transition: all var(--t-f); }
.slider-dot.active { background: var(--gold); width: 18px; border-radius: 3px; }

/* ════════════════════════════════════════════════════
   FRASE DE MARCA
════════════════════════════════════════════════════ */
.frase-marca { padding: 8rem 4rem; background: var(--charcoal); text-align: center; }
.frase-marca__inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.frase-ornament { font-size: 1.3rem; color: var(--gold); display: block; }
.frase-marca h2 { font-size: clamp(1.5rem, 3.5vw, 2.6rem); color: var(--cream); font-weight: 300; line-height: 1.35; }
.frase-marca h2 em { color: var(--gold-lt); }
.frase-marca p  { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); }

/* ════════════════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════════════════ */
.newsletter { padding: 7rem 4rem; background: var(--gold-pale); text-align: center; border-top: 1px solid rgba(201,169,110,0.3); }
.newsletter__inner { max-width: 520px; margin: 0 auto; }
.newsletter__inner h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: 0.7rem; }
.newsletter__inner p  { margin-bottom: 2rem; line-height: 1.8; }
.newsletter__form {
  display: flex; max-width: 400px; margin: 0 auto 0.8rem;
  border: 1px solid var(--taupe); border-radius: var(--r);
  overflow: hidden; background: var(--cream);
}
.newsletter__form input { flex: 1; padding: 0.85rem 1.1rem; font-family: var(--ff-body); font-size: 0.85rem; border: none; outline: none; background: transparent; }
.newsletter__form input::placeholder { color: var(--taupe); }
.newsletter__form .btn { border-radius: 0; }
.newsletter__note { font-size: 0.67rem; letter-spacing: 0.1em; color: var(--bark); }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.footer { background: var(--charcoal); color: var(--sand); }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding: 5rem 4rem 3rem; border-bottom: 1px solid rgba(255,255,255,0.06);
  max-width: 1280px; margin: 0 auto;
}
.footer__logo       { margin-bottom: 1.1rem; }
.footer__logo .logo-text { color: var(--cream); }
.footer__logo .logo-sub  { color: var(--gold); }
.footer__tagline { font-size: 0.8rem; color: rgba(220,210,195,0.6); line-height: 1.8; margin-bottom: 1.6rem; max-width: 260px; }
.footer__social  { display: flex; gap: 0.9rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--sand); transition: all var(--t-f);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__col h5 { color: var(--cream); margin-bottom: 1.1rem; letter-spacing: 0.18em; font-size: 0.66rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col li a, .footer__col li span { font-size: 0.8rem; color: rgba(220,210,195,0.55); transition: color var(--t-f); }
.footer__col li a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 4rem; max-width: 1280px; margin: 0 auto;
}
.footer__bottom p { font-size: 0.7rem; color: rgba(220,210,195,0.35); }
.footer__legal { display: flex; gap: 1.3rem; }
.footer__legal a { font-size: 0.7rem; color: rgba(220,210,195,0.35); transition: color var(--t-f); }
.footer__legal a:hover { color: var(--gold); }

/* ════════════════════════════════════════════════════
   WHATSAPP FLOAT
════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 800;
  background: #25D366; color: white;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.2rem; border-radius: 50px;
  box-shadow: 0 6px 28px rgba(37,211,102,0.35);
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em;
  transition: all var(--t-f);
  transform: translateY(80px); opacity: 0;
}
.whatsapp-float.visible { transform: translateY(0); opacity: 1; }
.whatsapp-float:hover { background: #1da855; box-shadow: 0 8px 36px rgba(37,211,102,0.45); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════
   TOAST
════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 5.5rem; left: 50%; z-index: 900;
  transform: translateX(-50%) translateY(60px);
  background: var(--charcoal); color: var(--cream);
  padding: 0.85rem 1.6rem; border-radius: 50px;
  font-size: 0.76rem; letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 30px rgba(44,37,32,0.28);
  opacity: 0; transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast svg { color: var(--gold); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .colecciones-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__left { padding: 5rem 2.5rem 3rem; }
  .hero__right { min-height: 60vw; }
  .hero__photo-float { left: 1rem; }
  .esencia { grid-template-columns: 1fr; }
  .esencia__visual { min-height: 420px; }
  .esencia__text { padding: 4rem 2.5rem; }
  .usos-layout { grid-template-columns: 1fr; gap: 2rem; }
  .usos-photos { aspect-ratio: 4/3; }
  .product-modal__inner { grid-template-columns: 1fr; }
  .product-modal__img { border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16/9; }
  .testi-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; --ann-h: 32px; }
  .navbar { padding: 0 1.2rem; }
  .navbar__links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero__left { padding: 4rem 1.5rem 2.5rem; }
  .colecciones { padding: 5rem 1.5rem; }
  .colecciones-grid { grid-template-columns: 1fr; }
  .usos { padding: 5rem 1.5rem; }
  .catalogo { padding: 5rem 1.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .testimonios { padding: 5rem 1.5rem; }
  .testi-card { flex: 0 0 85vw; }
  .frase-marca { padding: 5rem 1.5rem; }
  .newsletter { padding: 5rem 1.5rem; }
  .newsletter__form { flex-direction: column; border: none; background: none; }
  .newsletter__form input { border: 1px solid var(--taupe); border-radius: var(--r); background: var(--cream); }
  .newsletter__form .btn { border-radius: var(--r); justify-content: center; }
  .footer__top { grid-template-columns: 1fr; padding: 4rem 1.5rem 2rem; }
  .footer__brand { grid-column: span 1; }
  .footer__bottom { flex-direction: column; gap: 0.7rem; padding: 1.3rem 1.5rem; text-align: center; }
  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; }
  .cart-drawer { width: 100%; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(2.6rem, 11vw, 3.5rem); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .editorial-break__text h2 { font-size: 1.5rem; }
}

/* ════════════════════════════════════════════════════
   LIFESTYLE GALLERY — 6 fotos en grid 2x3
════════════════════════════════════════════════════ */
.lifestyle-gallery { background: var(--bone); padding-bottom: 7rem; }

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 6px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.lg-cell {
  overflow: hidden;
  border-radius: var(--r);
  position: relative;
  cursor: pointer;
}
.lg-cell img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.7s var(--ease);
  display: block;
}
.lg-cell:hover img { transform: scale(1.05); }

/* Tall cell spans 2 rows */
.lg-cell--tall {
  grid-row: span 2;
}
.lg-cell--tall img { min-height: 568px; }

@media (max-width: 900px) {
  .lifestyle-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem;
  }
  .lg-cell--tall { grid-row: span 1; }
  .lg-cell--tall img { min-height: 280px; }
}
@media (max-width: 600px) {
  .lifestyle-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .lg-cell img { min-height: 180px; }
}


/* ════════════════════════════════════════════════════
   TESTIMONIOS
════════════════════════════════════════════════════ */
.testimonios {
  padding: 8rem 4rem;
  background: var(--bone);
  overflow: hidden;
}

.testimonios-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonios-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonio-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.stars {
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.testimonio-card blockquote {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

.testimonio-card footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testi-avatar--1 { background: linear-gradient(135deg, #C4A882, #9E7855); }
.testi-avatar--2 { background: linear-gradient(135deg, #B8C898, #6A8048); }
.testi-avatar--3 { background: linear-gradient(135deg, #D4C0A8, #A08070); }
.testi-avatar--4 { background: linear-gradient(135deg, #C8B8D8, #8870A0); }

.testimonio-card footer div strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}
.testimonio-card footer div span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition-fast);
}
.slider-btn:hover {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.slider-dot.active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}
