/* ============================================================
   MONERÍAS LASER — Design System & Styles
   ============================================================ */

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

:root {
  /* Color Palette — Dirección A: Taller Editorial */
  --cream:        #F6F4EF;
  --cream-2:      #EDE9E0;
  --cream-3:      #E0DBD0;
  --espresso:     #1A0C04;
  --espresso-75:  rgba(26, 12, 4, 0.75);
  --espresso-10:  rgba(26, 12, 4, 0.1);
  --amber:        #3D5A3E;
  --amber-light:  #5A7D5B;
  --amber-pale:   #D6E4D4;
  --teal:         #1A6B6B;
  --teal-light:   #2D9494;
  --rose:         #B86A6A;
  --wood:         #8B6340;
  --wood-dark:    #5C3D1E;
  --white:        #FFFFFF;

  /* Typography — Inspirada en talla artesanal */
  --f-display: 'Marcellus', Georgia, serif;
  --f-body:    'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --f-hand:    'Caveat', cursive;

  /* Layout */
  --nav-h:  72px;
  --max-w:  1360px;
  --pad-x:  clamp(1.25rem, 5vw, 5rem);

  /* Motion Physics Tokens */
  --ease:             cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:          cubic-bezier(0.65, 0, 0.35, 1);
  --ease-wood-drop:   cubic-bezier(0.25, 1, 0.33, 1);
  --ease-wood-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
  --ease-layer-stack: cubic-bezier(0.16, 1, 0.3, 1);

  --dur-instant: 150ms;
  --dur-fast:    300ms;
  --dur-normal:  650ms;
  --dur-slow:    1100ms;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--cream);
  color: var(--espresso);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

section[id], footer[id] {
  scroll-margin-top: calc(var(--nav-h) + 1.25rem);
}

::selection {
  background: rgba(61, 90, 62, 0.18);
  color: var(--espresso);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

/* --- PAGE LOADER --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s var(--ease-wood-drop), visibility 0.65s;
}
.page-loader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.page-loader__logo {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--espresso);
}
.page-loader__logo em { font-style: italic; color: var(--amber); }
.page-loader__bar {
  width: 120px;
  height: 2px;
  background: var(--cream-3);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.page-loader__bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  background: var(--amber);
  animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* --- SCROLL REVEAL (LAYER STACKING PHYSICS) --- */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity var(--dur-normal) var(--ease-wood-drop), transform var(--dur-normal) var(--ease-wood-drop);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, opacity 0.25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--sm { padding: 0.65rem 1.4rem; font-size: 0.82rem; }

.btn--primary { background: var(--espresso); color: var(--cream); }
.btn--primary:hover { background: var(--amber); }
.btn--ghost { background: transparent; color: var(--espresso); font-weight: 400; padding: 0; border-radius: 0; border-bottom: 1px solid currentColor; }
.btn--ghost:hover { transform: none; box-shadow: none; color: var(--amber); border-color: var(--amber); }
/* WhatsApp: color de marca (espresso) con icono en verde — solo en configurador */
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1EBE5D; }
/* WhatsApp primario en sección pedido — color de marca */
.btn--whatsapp-primary { background: var(--espresso); color: var(--cream); }
.btn--whatsapp-primary:hover { background: var(--amber); }
.btn--whatsapp-primary svg { color: #25D366; }
.btn--instagram { background: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%); color: #fff; }
.btn--outline { background: transparent; color: var(--espresso); border: 1.5px solid var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--cream); }

/* Links de contacto secundarios (Instagram y Email bajo el botón WA) */
.order__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}
.order__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.6;
  transition: opacity 0.2s;
  color: var(--espresso);
}
.order__link:hover { opacity: 1; color: var(--amber); }
.order__link-sep { opacity: 0.25; font-size: 1.1rem; }

/* --- PILLS --- */
.pill {
  display: inline-block;
  background: var(--cream-2);
  border: 1px solid var(--cream-3);
  color: var(--espresso);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1rem var(--pad-x);
  transition: background 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
}
.nav.is-scrolled {
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--espresso-10), 0 4px 24px rgba(26,12,4,0.06);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}
.nav__logo {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav__logo-main { color: var(--espresso); }
.nav__logo-accent { color: var(--amber); font-style: italic; font-size: 1.2rem; margin-left: 0.15rem; }
.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__link { font-size: 0.875rem; font-weight: 400; opacity: 0.65; transition: opacity 0.2s; }
.nav__link:hover { opacity: 1; }
.nav__cta {
  background: var(--espresso);
  color: var(--cream);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), transform 0.25s;
}
.nav__cta:hover { background: var(--amber); transform: translateY(-1px); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 600;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--espresso);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s;
}
.nav.is-menu-open .nav__hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-menu-open .nav__hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-menu-open .nav__hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease), visibility 0.5s;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--espresso);
  opacity: 0.5;
}
.mobile-menu__link {
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--espresso);
  transition: color 0.2s;
}
.mobile-menu__link:hover { color: var(--amber); }
.mobile-menu__cta {
  background: var(--espresso);
  color: var(--cream);
  padding: 1rem 3rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1rem;
}
.mobile-menu__overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 480;
  background: rgba(26,12,4,0.5);
}
.mobile-menu__overlay.is-visible { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: clamp(540px, 82vh, 760px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.5rem) var(--pad-x) 2.5rem;
  position: relative;
}

.hero__content--anim { animation: heroSlideIn 1s var(--ease) both; }
.hero__media--anim { animation: heroFadeIn 1.2s var(--ease) 0.2s both; }
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.25rem, 5.5vw, 5.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--espresso);
}
.hero__title em { font-style: italic; color: var(--amber); }
.hero__subtitle {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 44ch;
  opacity: 0.65;
  margin-bottom: 1.75rem;
}
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }

.hero__image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1600 / 636;
  box-shadow: 0 24px 60px rgba(26,12,4,0.14);
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  will-change: transform;
}
.hero__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 76px;
  height: 76px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.hero__badge-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
}
.hero__badge-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.hero__tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(26,12,4,0.85);
  color: var(--cream);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--espresso), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.15; transform: scaleY(0.5) translateY(-12px); }
  50%       { opacity: 0.5;  transform: scaleY(1)   translateY(0); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--espresso);
  color: var(--cream);
  overflow: hidden;
  padding: 0.9rem 0;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.marquee__inner { display: flex; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: marqueeScroll 50s linear infinite;
  padding-right: 1.75rem;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__sep { color: var(--amber-light); font-size: 0.8rem; flex-shrink: 0; opacity: 0.8; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { padding: clamp(4rem, 8vw, 9rem) var(--pad-x); }
.statement__inner { max-width: 840px; margin: 0 auto; text-align: center; }
.statement__text {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--espresso);
}
.statement__text strong { font-weight: 700; color: var(--amber); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--cream-2);
  padding: clamp(3rem, 6vw, 6rem) var(--pad-x);
  border-top: 1px solid var(--cream-3);
  border-bottom: 1px solid var(--cream-3);
}
.stats__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--cream-3);
}
.stat__number {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.stat__label {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  font-family: var(--f-body);
  margin-bottom: 0.25rem;
}
.stat__sub {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* Stat con valor decimal no animable (ej: 2,1 cm) */
.stat__number--decimal {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  letter-spacing: -0.01em;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: clamp(4rem, 8vw, 9rem) 0; }
.gallery__header {
  max-width: var(--max-w);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  padding: 0 var(--pad-x);
}
.gallery__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.gallery__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.gallery__title em { font-style: italic; color: var(--amber); }
.gallery__subtitle { opacity: 0.55; font-size: 0.95rem; }

.gallery__viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0 0 1rem;
}

.gallery__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: galleryScroll 42s linear infinite;
  will-change: transform;
}

.gallery__track:hover {
  animation-play-state: paused;
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.625rem));
  }
}

.gallery__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  width: 440px;
  height: 310px;
  flex-shrink: 0;
  background: var(--cream-2);
  box-shadow: 0 4px 20px rgba(26,12,4,0.06);
  transition: box-shadow 0.4s var(--ease);
  scroll-snap-align: start;
}
.gallery__card--tall { width: 480px; height: 320px; }
.gallery__card:hover { box-shadow: 0 16px 48px rgba(26,12,4,0.14); }

.gallery__card-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.gallery__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.gallery__card:hover .gallery__card-img img { transform: scale(1.06); }

.gallery__card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.25rem 1.25rem;
  background: linear-gradient(transparent, rgba(26,12,4,0.85));
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}
.gallery__card:hover .gallery__card-info { opacity: 1; transform: translateY(0); }
.gallery__card-name {
  display: block;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.gallery__card-theme {
  display: block;
  font-size: 0.72rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.gallery__hint {
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  padding: 0 var(--pad-x);
}

/* ============================================================
   DEPTH & 3D LAYER EXPANDER
   ============================================================ */
.depth {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(4rem, 8vw, 9rem) var(--pad-x);
}
.depth__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.depth__image {
  position: relative;
  border-radius: 24px;
}
.depth__float-1, .depth__float-2 {
  position: absolute;
  background: var(--amber);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 700;
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  z-index: 30;
}
.depth__float-1 { top: 1.5rem; left: 1.5rem; }
.depth__float-2 { bottom: 1.5rem; right: 1.5rem; }

.depth__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}
.depth__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}
.depth__title em { font-style: italic; color: var(--amber); }
.depth__text {
  opacity: 0.7;
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.depth__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.depth .pill {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--cream);
}

/* --- 3D LAYER STAGE & STACK --- */
.layer-3d-stage {
  perspective: 1200px;
  perspective-origin: 50% 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at center, #2C180C 0%, #1A0C04 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  touch-action: pan-y;
}

.layer-3d-card {
  position: relative;
  width: 78%;
  height: 78%;
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease);
}

.l3d-layer {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(212, 169, 106, 0.25);
  background: rgba(26, 12, 4, 0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s, opacity 0.4s;
  backface-visibility: hidden;
}

.l3d-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.85;
}

.l3d-layer--1 { background: var(--wood-dark); transform: translateZ(0px); }
.l3d-layer--2 { background: rgba(196, 113, 31, 0.35); transform: translateZ(0px); }
.l3d-layer--3 { background: rgba(45, 148, 148, 0.35); transform: translateZ(0px); }
.l3d-layer--4 { background: rgba(184, 106, 106, 0.35); transform: translateZ(0px); }
.l3d-layer--5 { background: rgba(212, 169, 106, 0.35); transform: translateZ(0px); }
.l3d-layer--6 { background: rgba(26, 12, 4, 0.75); transform: translateZ(0px); }
.l3d-layer--7 { background: transparent; transform: translateZ(0px); border-color: var(--amber); }

.l3d-tag {
  position: relative;
  z-index: 5;
  background: var(--espresso-75);
  color: var(--amber-pale);
  backdrop-filter: blur(6px);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.layer-3d-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,12,4,0.85);
  color: var(--cream);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.72rem;
  pointer-events: none;
  z-index: 20;
}

.layer-slider-control {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}
.layer-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.layer-slider-label strong { color: var(--amber-light); }
.layer-slider-control input[type="range"] {
  width: 100%;
  accent-color: var(--amber);
  cursor: pointer;
  height: 6px;
  border-radius: 3px;
}

.layer-inspector {
  margin: 1.75rem 0;
  padding: 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}
.layer-inspector__label {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.layer-inspector__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.layer-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cream);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--f-body);
  cursor: pointer;
  transition: all 0.25s;
}
.layer-tab.active, .layer-tab:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}
.layer-inspector__desc {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.5;
  background: rgba(0,0,0,0.25);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--amber);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-x);
  background: var(--cream-2);
  border-top: 1px solid var(--cream-3);
}
.process__inner { max-width: var(--max-w); margin: 0 auto; }
.process__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 6rem); }
.process__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.process__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.process__title em { font-style: italic; color: var(--amber); }

.process__steps { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 6rem); }
.process__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
}
.process__step--flip .process__step-visual { order: 2; }
.process__step--flip .process__step-body { order: 1; }

.process__step-visual {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  max-height: 480px;
  box-shadow: 0 12px 40px rgba(26,12,4,0.1);
  width: 100%;
}

.process__step-visual--reel {
  aspect-ratio: 9/16;
  max-width: 320px;
  max-height: 560px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(26,12,4,0.15);
}

.process__step-visual img,
.process__step-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }

.process__step-num {
  display: block;
  font-family: var(--f-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  font-variant-numeric: lining-nums;
}
.process__step-title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.875rem;
}
.process__step-text { opacity: 0.65; line-height: 1.75; font-size: 0.95rem; }

/* ============================================================
   THEMES
   ============================================================ */
.themes { padding: clamp(4rem, 8vw, 9rem) var(--pad-x); }
.themes__inner { max-width: var(--max-w); margin: 0 auto; }
.themes__header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.themes__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.themes__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.themes__title em { font-style: italic; color: var(--amber); }
.themes__subtitle { opacity: 0.55; font-size: 0.95rem; }

.themes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.theme-card {
  background: var(--cream-2);
  border: 1px solid var(--cream-3);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.theme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(26,12,4,0.1);
  border-color: var(--amber-pale);
}
.theme-card--dark {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
}
.theme-card--dark:hover { border-color: var(--amber); }
.theme-card__icon { font-size: 2.25rem; margin-bottom: 1rem; }
.theme-card h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.theme-card p { font-size: 0.82rem; opacity: 0.55; line-height: 1.5; }

/* ============================================================
   CONFIGURATOR / SIMULADOR INTERACTIVO
   ============================================================ */
.configurator {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-x);
  background: var(--cream);
}
.configurator__inner { max-width: var(--max-w); margin: 0 auto; }
.configurator__header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.configurator__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.configurator__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.configurator__title em { font-style: italic; color: var(--amber); }
.configurator__subtitle { opacity: 0.6; font-size: 0.95rem; }

.configurator__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}
.configurator__form {
  background: var(--cream-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 24px;
  border: 1px solid var(--cream-3);
  box-shadow: 0 10px 30px rgba(26,12,4,0.05);
}
.config-group { margin-bottom: 1.75rem; }
.config-group:last-child { margin-bottom: 0; }
.config-label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--espresso);
}
.config-options { display: flex; gap: 0.75rem; }
.config-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--cream-3);
  background: var(--cream);
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
}
.config-btn.active, .config-btn:hover {
  border-color: var(--espresso);
  background: var(--espresso);
  color: var(--cream);
}
.config-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 1.5px solid var(--cream-3);
  background: var(--cream);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.25s;
}
.config-input:focus { border-color: var(--amber); }

.config-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Campo libre de temáticas */
.config-theme-hint {
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  opacity: 0.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.config-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.suggestion-tag {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--f-body);
  cursor: pointer;
  transition: all 0.2s;
  color: var(--espresso);
  opacity: 0.7;
}
.suggestion-tag:hover {
  background: var(--amber-pale);
  border-color: var(--amber);
  color: var(--espresso);
  opacity: 1;
}
.chip {
  background: var(--cream);
  border: 1.5px solid var(--cream-3);
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-family: var(--f-body);
  cursor: pointer;
  transition: all 0.25s;
}
.chip.active, .chip:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: white;
}
.chip.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
/* Hint de max 3 temáticas */
.config-chips-hint {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--amber);
  font-style: italic;
  min-height: 1.2em;
}

.config-colors { display: flex; flex-direction: column; gap: 0.5rem; }
.color-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--cream-3);
  background: var(--cream);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 0.85rem;
  transition: all 0.25s;
}
.color-chip::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
}
.color-chip.active, .color-chip:hover {
  border-color: var(--amber);
  background: var(--amber-pale);
  font-weight: 500;
}

.preview-card {
  background: var(--espresso);
  color: var(--cream);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(26,12,4,0.2);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.preview-card__badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--amber-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.preview-card__label { font-size: 0.78rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.08em; }
.preview-card__title {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
}
.preview-card__meta { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.88rem; opacity: 0.85; margin-bottom: 1.5rem; }
.preview-card__meta strong { color: var(--amber-light); font-weight: 500; }
.preview-card__guarantee {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}
.btn--full { width: 100%; justify-content: center; }

/* Nombre en serif grande en la preview del configurador */
.preview-name-display {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--amber-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  min-height: 1.2em;
  margin: 0.75rem 0 1rem;
  text-align: center;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: opacity 0.15s;
}

/* ============================================================
   REVIEWS / SOCIAL PROOF
   ============================================================ */
.reviews {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-x);
  background: var(--cream-2);
  border-top: 1px solid var(--cream-3);
}
.reviews__inner { max-width: var(--max-w); margin: 0 auto; }
.reviews__header { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.reviews__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.reviews__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.reviews__title em { font-style: italic; color: var(--amber); }
.reviews__subtitle { opacity: 0.55; font-size: 0.95rem; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 24px rgba(26,12,4,0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,12,4,0.09);
}
.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.review-card__stars { color: var(--amber); font-size: 0.9rem; letter-spacing: 2px; }
.review-card__tag {
  background: var(--cream-2);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.review-card__text {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.review-card__author strong { display: block; font-size: 0.92rem; color: var(--espresso); }
.review-card__author span { display: block; font-size: 0.75rem; opacity: 0.45; margin-top: 0.15rem; }

/* Audio Testimonial Player Card */
.review-card--audio {
  border-color: rgba(37, 211, 102, 0.25);
  background: linear-gradient(180deg, #FAFAF7 0%, #F5F3ED 100%);
}
.review-card__tag--audio {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  font-weight: 600;
}
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #E7F5EC;
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
}
.audio-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.audio-play-btn:hover {
  transform: scale(1.06);
  background: #20BA5A;
}
.audio-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.audio-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(18, 140, 126, 0.2);
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.audio-progress-fill {
  width: 0%;
  height: 100%;
  background: #128C7E;
  border-radius: 100px;
  transition: width 0.1s linear;
}
.audio-time {
  font-size: 0.72rem;
  color: #075E54;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.review-card__text--audio {
  margin-bottom: 0.75rem;
  font-style: italic;
}
.transcript-details {
  margin-bottom: 1.25rem;
  border-top: 1px dashed rgba(26, 12, 4, 0.1);
  padding-top: 0.6rem;
}
.transcript-summary {
  font-size: 0.78rem;
  color: var(--amber-light);
  cursor: pointer;
  font-weight: 500;
  user-select: none;
}
.transcript-summary:hover {
  color: var(--espresso);
}
.transcript-text {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.75;
  margin-top: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--cream-2);
  border-radius: 8px;
}

/* ============================================================
   ORDER
   ============================================================ */
.order {
  padding: clamp(4rem, 8vw, 9rem) var(--pad-x);
  background: var(--cream-2);
  border-top: 1px solid var(--cream-3);
}
.order__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}
.order__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 1rem;
}
.order__title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.order__title em { font-style: italic; color: var(--amber); }
.order__desc { opacity: 0.65; line-height: 1.75; max-width: 46ch; margin-bottom: 2rem; font-size: 0.97rem; }

.order__steps { margin-bottom: 2.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.order__step-mini {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.9rem;
  opacity: 0.75;
}
.order__step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
}
.order__buttons { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.order__img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}
.order__img-wrap img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(26,12,4,0.15);
}
.order__quote {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--cream);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 40px rgba(26,12,4,0.12);
  max-width: 270px;
  font-family: var(--f-hand);
  font-size: 1.05rem;
  color: var(--espresso);
  line-height: 1.5;
  transform: rotate(-2.5deg);
  border: 1px solid var(--cream-3);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(4rem, 8vw, 9rem) var(--pad-x); }
.faq__inner { max-width: 760px; margin: 0 auto; }
.faq__title {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  text-align: center;
}
.faq__list { border-top: 1px solid var(--espresso-10); }
.faq__item {
  border-bottom: 1px solid var(--espresso-10);
}
.faq__question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--espresso);
  transition: color 0.2s;
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+';
  font-family: var(--f-body);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
  line-height: 1;
}
details[open] > .faq__question { color: var(--amber); }
details[open] > .faq__question::after { transform: rotate(45deg); }
.faq__answer {
  padding-bottom: 1.5rem;
  animation: faqOpen 0.35s var(--ease);
}
details[open].faq__item {
  border-left: 2.5px solid var(--amber);
  padding-left: 0.85rem;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq__answer p { opacity: 0.65; line-height: 1.75; font-size: 0.95rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(3rem, 5vw, 5rem) var(--pad-x);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
}
.footer__logo {
  display: block;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.footer__logo em { font-style: italic; color: var(--amber); }
.footer__tagline { font-size: 0.82rem; opacity: 0.35; }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { font-size: 0.85rem; opacity: 0.45; transition: opacity 0.2s; }
.footer__links a:hover { opacity: 1; }
.footer__copy { font-size: 0.75rem; opacity: 0.25; text-align: right; }

/* ============================================================
   WHATSAPP FLOATING DIRECT BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: scale(1.1);
  background: #20BA5A;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus .whatsapp-float__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .themes__grid { grid-template-columns: repeat(2, 1fr); }
  .configurator__grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer__links { justify-content: center; }
  .footer__copy { text-align: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 2.5rem;
    gap: 1.75rem;
  }
  .hero__content--anim { order: 1; }
  .hero__media--anim { order: 2; }
  .hero__subtitle { max-width: none; margin-bottom: 1.5rem; }
  .hero__image-wrap {
    aspect-ratio: 1600 / 636;
    max-height: none;
    border-radius: 16px;
  }
  .hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
  }
  .hero__scroll { display: none; }

  .depth__inner { grid-template-columns: 1fr; }
  .depth__image { aspect-ratio: 3/2; }

  .process__step { grid-template-columns: 1fr; gap: 1.5rem; }
  .process__step--flip .process__step-visual { order: 1; }
  .process__step--flip .process__step-body { order: 2; }
  .process__step-visual--reel { max-width: 290px; aspect-ratio: 9/16; border-radius: 20px; }
  .process__step-num { font-size: 3.5rem; margin-bottom: 0.5rem; }

  .order__inner { grid-template-columns: 1fr; gap: 0; }
  .order__visual { display: none; }
  .order__buttons { flex-direction: column; }
  .order__buttons .btn--whatsapp-primary { width: 100%; justify-content: center; }
  .order__links { justify-content: center; }

  .gallery__card { width: 310px; height: 230px; }
  .gallery__card--tall { width: 340px; height: 240px; }

  /* Configurator Mobile Fixes */
  .configurator {
    padding: clamp(2.5rem, 6vw, 4rem) 0.75rem;
    overflow-x: hidden;
  }
  .configurator__inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .configurator__grid {
    grid-template-columns: 100%;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .configurator__grid > * {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .configurator__form {
    padding: 1.25rem 0.85rem;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .config-group {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .config-options {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
  }
  .config-btn {
    padding: 0.75rem 0.4rem;
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
  .config-input {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.9rem;
  }
  .config-suggestions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .suggestion-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    white-space: normal;
    word-break: break-word;
  }
  .color-chip {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
  }
  .color-chip span {
    white-space: normal;
    word-break: break-word;
  }
  .preview-card {
    position: static;
    top: auto;
    padding: 1.25rem 1rem;
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .preview-card__title {
    font-size: 1.4rem;
    word-break: break-word;
  }
  .btn--full, .btn--whatsapp {
    white-space: normal !important;
    text-align: center;
    line-height: 1.3;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    word-break: break-word;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .themes__grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none; }
  .mobile-menu__link { font-size: 2rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}
