/* =====================================================================
   ULTRAPAC CLONE — Estilos personalizados
   Estética: minimalista premium, tipografía mixta sans + serif italic,
   blancos crema, acentos verde-oliva, animaciones tipo SaaS premium.
   ===================================================================== */

:root {
  --bg-cream:     #F4F6F9;     /* fondo claro limpio */
  --bg-white:     #ffffff;
  --bg-dark:      #023047;     /* azul marino Guardian */
  --bg-darker:    #011828;     /* azul marino profundo */
  --text-primary: #023047;     /* navy como color de texto */
  --text-muted:   #5A7D8C;
  --text-light:   #ffffff;
  --accent:       #F5B82E;     /* amarillo dorado Guardian */
  --accent-2:     #D4A017;     /* dorado oscuro para forms */
  --border:       rgba(2,48,71,0.10);
  --border-light: rgba(255,255,255,0.12);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.83, 0, 0.17, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text-primary);
  background-color: var(--bg-cream);
  background-image:
    radial-gradient(ellipse 900px 700px at 95% 4%,  rgba(245,184,46,0.38) 0%, transparent 58%),
    radial-gradient(ellipse 800px 650px at 4%  12%, rgba(56,142,200,0.32) 0%, transparent 58%),
    radial-gradient(ellipse 700px 580px at 88% 30%, rgba(56,142,200,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 750px 620px at 8%  46%, rgba(245,184,46,0.28) 0%, transparent 58%),
    radial-gradient(ellipse 800px 660px at 92% 62%, rgba(245,184,46,0.30) 0%, transparent 58%),
    radial-gradient(ellipse 700px 580px at 6%  76%, rgba(56,142,200,0.26) 0%, transparent 58%),
    radial-gradient(ellipse 750px 620px at 90% 90%, rgba(56,142,200,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 650px 550px at 10% 96%, rgba(245,184,46,0.24) 0%, transparent 58%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* ====================== PAGE LOADER ====================== */
.page-loader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-text { color: var(--text-light); font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
.loader-bar { width: 200px; height: 1px; background: rgba(255,255,255,0.15); overflow: hidden; }
.loader-bar-fill { height: 100%; width: 0; background: var(--text-light); animation: loaderFill 1.5s var(--ease-out) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ====================== NAVBAR ====================== */
.navbar-custom {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), backdrop-filter 0.4s;
}
.navbar-custom.scrolled {
  background: rgba(244, 246, 249, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.navbar-brand-custom { text-decoration: none; }
.navbar-logo {
  height: 30px;
  width: auto;
  display: block;
}
.nav-links { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--text-primary);
  font-size: 14px; font-weight: 500;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }
.lang-switch {
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
  font-size: 13px; color: var(--text-primary);
}
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--text-primary); color: var(--bg-cream);
  border-radius: 999px; text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.btn-pill:hover { background: var(--accent); color: var(--bg-cream); transform: translateY(-1px); }

.hamburger { background: none; border: none; display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--text-primary); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-5px); }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-cream); border-top: 1px solid var(--border);
  padding: 24px;
  display: none; flex-direction: column; gap: 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-primary); text-decoration: none; font-size: 18px; }

/* ====================== HERO ====================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  display: flex; align-items: center;
  padding-top: 80px;
}
.hero-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 600px 500px at 78% 55%, rgba(245,184,46,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 500px 420px at 12% 25%, rgba(56,142,200,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 30% 85%, rgba(2,48,71,0.08), transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.hero-image-wrapper {
  position: absolute; right: -5%; top: 50%;
  transform: translateY(-50%);
  width: 60%; max-width: 900px;
  pointer-events: none;
  z-index: 1;
}
.hero-image-placeholder { width: 100%; aspect-ratio: 1/1; }
.hero-image { width: 100%; height: auto; }

/* Placeholder 3D producto (decorativo, mientras no tengas tu PNG) */
.placeholder-3d-product {
  position: relative;
  width: 70%; aspect-ratio: 3/4; margin: 0 auto;
  perspective: 1000px;
  animation: floatProd 6s ease-in-out infinite;
}
.prod-face {
  position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #034f73, #023047);
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), inset 0 1px 0 rgba(245,184,46,0.3);
}
.prod-face.back { transform: translateZ(-20px) rotate(2deg); opacity: 0.7; }
.prod-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  border-radius: 12px;
  animation: shine 3s linear infinite;
}
@keyframes floatProd { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-20px) rotate(1deg); } }
@keyframes shine { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.hero-text { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: revealUp 1.1s var(--ease-out) forwards;
  animation-delay: 0.4s;
}
.hero-title .line:nth-child(2) .line-inner { animation-delay: 0.55s; }
.hero-title .line:nth-child(3) .line-inner { animation-delay: 0.70s; }
@keyframes revealUp { to { transform: translateY(0); } }

.hero-subtitle {
  font-size: 18px; line-height: 1.5;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 40px;
}
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  background: var(--text-primary); color: var(--bg-cream);
  border: none;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), background 0.3s, gap 0.3s;
}
.btn-primary-custom:hover { background: var(--accent); color: var(--bg-cream); transform: translateY(-2px); gap: 18px; }
.btn-primary-custom i { transition: transform 0.3s var(--ease-out); }
.btn-primary-custom:hover i { transform: translateX(4px); }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-line { width: 1px; height: 50px; background: var(--text-muted); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--text-primary); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* =================================================================
   HERO V6 — Brand Campaign / Cinematic Editorial
   ================================================================= */

/* ── Base ── */
.hero-v6 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f8f7f3;
  overflow: hidden;
  isolation: isolate;
}

/* ── Background warm studio lighting ── */
.hv6-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 72% 60% at 68% 44%, rgba(245,184,46,0.055) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(255,255,255,0.70) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 8%,  rgba(245,184,46,0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

/* ── Vignette ── */
.hv6-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 110% 100% at 50% 50%, transparent 42%, rgba(0,0,0,0.048) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Grain ── */
.hv6-grain {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.038;
  pointer-events: none;
  z-index: 3;
}

/* ── Cursor reactive light ── */
.hv6-cursor-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

/* ── Left column: text ── */
.hv6-left {
  position: relative;
  z-index: 20;
  width: 44%;
  min-width: 380px;
  padding-left: 6%;
  padding-top: 100px;
  padding-bottom: 80px;
}

/* ── Eyebrow ── */
.hv6-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  opacity: 0;
  animation: hv6FadeUp 0.7s var(--ease-out) 0.05s forwards;
}
.hv6-ew-bar {
  display: block;
  width: 28px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.hv6-ew-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Title curtain reveal ── */
.hv6-title {
  font-size: clamp(52px, 5.5vw, 92px);
  font-weight: 700;
  line-height: 1.00;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin: 0 0 32px;
  font-family: var(--font-sans);
}
.hv6-tl {
  display: block;
  overflow: hidden;
  line-height: 1.08;
}
.hv6-tl--indent {
  padding-left: 7%;
}
.hv6-ti {
  display: block;
  transform: translateY(115%);
  animation: hv6SlideUp 0.82s var(--ease-out) var(--d, 0s) forwards;
}
.hv6-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

/* ── Divider rule ── */
.hv6-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--accent) 0%, rgba(245,184,46,0.0) 100%);
  margin-bottom: 28px;
  animation: hv6RuleExpand 0.9s var(--ease-out) var(--d, 0s) forwards;
  opacity: 0;
}

/* ── Subtitle ── */
.hv6-sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  opacity: 0;
  animation: hv6FadeUp 0.7s var(--ease-out) var(--d, 0s) forwards;
}

/* ── Actions ── */
.hv6-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
  opacity: 0;
  animation: hv6FadeUp 0.7s var(--ease-out) var(--d, 0s) forwards;
}

/* Primary CTA */
.hv6-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: #ffffff;
  text-decoration: none;
  border-radius: 100px;
  padding: 13px 20px 13px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.22s ease, box-shadow 0.22s ease;
  will-change: transform;
}
.hv6-cta:hover {
  background: #111;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(2,48,71,0.22);
}
.hv6-cta-text { line-height: 1; }
.hv6-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.14);
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.2s, transform 0.3s var(--ease-out);
}
.hv6-cta:hover .hv6-cta-arrow {
  background: var(--accent);
  transform: rotate(-42deg);
}

/* Ghost link */
.hv6-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(90,125,140,0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hv6-link:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* Social proof */
.hv6-proof {
  font-size: 12px;
  font-weight: 400;
  color: rgba(90,125,140,0.70);
  letter-spacing: -0.01em;
  margin: 0;
  opacity: 0;
  animation: hv6FadeUp 0.7s var(--ease-out) var(--d, 0s) forwards;
}
.hv6-proof-dash { margin-right: 6px; color: var(--accent); }

/* ─────────────────────────────────────────
   PRODUCTO WRAPPERS  (3-capa sin conflictos)
   .hv6-prod  → position absolute + entrance
   .hv6-pf    → float idle (CSS animation)
   .hv6-pp    → parallax JS translate
   ───────────────────────────────────────── */
.hv6-prod {
  position: absolute;
  opacity: 0;
  animation: hv6ProdIn 1.1s var(--ease-out) var(--d, 0.4s) forwards;
  will-change: opacity, transform;
}
.hv6-pf {
  will-change: transform;
}
.hv6-pp {
  will-change: transform;
  position: relative;
}

/* ── Pouch (hero product) ── */
.hv6-pouch {
  left: 35%;
  top: 2%;
  width: min(52%, 660px);
  z-index: 10;
}
.hv6-pf {
  transform: rotate(-4.5deg);
}
.hv6-pouch .hv6-pf {
  animation: hv6HeroFloat 5.8s ease-in-out infinite;
  transform-origin: 55% 55%;
}

/* ── Tubo (bottom-right, dissolves bottom) ── */
.hv6-tubo {
  right: -2%;
  bottom: 0%;
  width: clamp(100px, 13vw, 190px);
  z-index: 8;
}
.hv6-pf--tubo {
  animation: hv6FloatB 7.2s ease-in-out infinite;
}

/* ── Caja (top-right, dissolves right) ── */
.hv6-caja {
  right: -1%;
  top: 8%;
  width: clamp(120px, 15vw, 220px);
  z-index: 7;
}
.hv6-pf--caja {
  animation: hv6FloatC 8.4s ease-in-out infinite;
}

/* ── Sachet (very subtle, depth) ── */
.hv6-sachet {
  right: 16%;
  bottom: 6%;
  width: clamp(80px, 9vw, 130px);
  z-index: 6;
}
.hv6-pf--sachet {
  animation: hv6FloatD 9.6s ease-in-out infinite;
}

/* ── Images ── */
.hv6-img {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Hero pouch: mix-blend-mode eliminates white background */
.hv6-img--hero {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 50px 100px rgba(0,0,0,0.14)) drop-shadow(0 20px 40px rgba(0,0,0,0.10));
}

/* Atmospheric tubo */
.hv6-img--tubo {
  filter: blur(1.8px);
  opacity: 0.52;
  mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 30%, transparent 90%);
}

/* Atmospheric caja */
.hv6-img--caja {
  filter: blur(1.0px);
  opacity: 0.72;
  mask-image: linear-gradient(to right, black 0%, black 35%, transparent 88%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 35%, transparent 88%);
}

/* Atmospheric sachet */
.hv6-img--sachet {
  filter: blur(2.8px);
  opacity: 0.42;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 78%);
}

/* ── Editorial annotation ── */
.hv6-ann {
  position: absolute;
  bottom: 8%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.hv6-ann-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  line-height: 1;
}
.hv6-ann-bar {
  display: block;
  width: 18px;
  height: 1px;
  background: rgba(2,48,71,0.25);
  flex-shrink: 0;
}
.hv6-ann-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(2,48,71,0.45);
}

/* ── Glassmorphism badge ── */
.hv6-badge {
  position: absolute;
  top: 10%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 100px;
  padding: 7px 13px 7px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  white-space: nowrap;
}
.hv6-badge .bi {
  font-size: 13px;
  color: var(--accent);
}

/* ─────────────────────────────────────────
   KEYFRAMES
   ───────────────────────────────────────── */
@keyframes hv6SlideUp {
  to { transform: translateY(0); }
}
@keyframes hv6FadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hv6RuleExpand {
  from { width: 0; opacity: 0; }
  to   { width: 68px; opacity: 1; }
}
@keyframes hv6ProdIn {
  from { opacity: 0; transform: scale(0.88) translateY(48px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes hv6HeroFloat {
  0%   { transform: rotate(-4.5deg) translateY(0px); }
  30%  { transform: rotate(-3.2deg) translateY(-14px); }
  65%  { transform: rotate(-5.1deg) translateY(-7px); }
  100% { transform: rotate(-4.5deg) translateY(0px); }
}
@keyframes hv6FloatB {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  45%      { transform: translateY(-10px) rotate(1.2deg); }
}
@keyframes hv6FloatC {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  55%      { transform: translateY(-8px) rotate(-1.5deg); }
}
@keyframes hv6FloatD {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .hv6-left { width: 48%; padding-left: 5%; }
  .hv6-pouch { left: 40%; width: 50%; }
}

@media (max-width: 860px) {
  .hero-v6 { flex-direction: column; align-items: flex-start; min-height: 100svh; }
  .hv6-left {
    width: 100%;
    min-width: unset;
    padding: 120px 6% 0;
  }
  .hv6-pouch {
    position: relative;
    left: auto; top: auto;
    width: 80%;
    margin: 0 auto;
    margin-top: -40px;
  }
  .hv6-tubo, .hv6-caja, .hv6-sachet { display: none; }
  .hv6-title { font-size: clamp(42px, 10vw, 66px); }
}

@media (max-width: 540px) {
  .hv6-left { padding: 100px 5% 0; }
  .hv6-title { font-size: clamp(36px, 11vw, 54px); }
  .hv6-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hv6-pouch { width: 92%; }
}

/* =================================================================
   HERO V5 — Premium Editorial / Cinematic
   ================================================================= */
.hero-v5 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f9f9f8; /* off-white más cálido que blanco puro */
  overflow: hidden;
}

/* Grain noise — SVG filter */
.hv5-noise {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  opacity: 0.042;
}

/* Radial lights atmosféricos */
.hv5-ambient {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 850px 700px at 78% 38%, rgba(245,184,46,0.09)  0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 14% 72%, rgba(2,48,71,0.055)    0%, transparent 58%),
    radial-gradient(ellipse 500px 420px at 52% 8%,  rgba(190,210,240,0.06) 0%, transparent 55%);
}

/* ── LEFT: texto ── */
.hv5-left {
  position: relative; z-index: 4;
  width: 44%;
  min-width: 380px;
  padding: 0 0 0 5.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 90px; /* navbar offset */
}

/* Eyebrow */
.hv5-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 34px;
  opacity: 0;
  animation: hv5Fade 0.7s ease 0.04s forwards;
}
.hv5-ew-bar {
  display: block; width: 28px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.hv5-ew-text {
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--text-muted);
}

/* Headline: curtain reveal */
.hv5-title {
  font-size: clamp(50px, 5.8vw, 86px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 38px;
  color: var(--text-primary);
}
.hv5-clip { display: block; overflow: hidden; padding-bottom: 0.055em; }
.hv5-clip-in {
  display: block;
  transform: translateY(110%);
  animation: hv5SlideUp 1s cubic-bezier(0.16,1,0.3,1) var(--d,.22s) forwards;
}
.hv5-serif { font-family: 'Instrument Serif', serif; font-style: italic; }

/* Línea que se expande */
.hv5-rule {
  width: 0; height: 1px;
  background: #d4d4d8;
  margin: 0 0 28px;
  opacity: 0;
  animation: hv5RuleExpand 1.1s cubic-bezier(0.16,1,0.3,1) var(--d,.78s) forwards;
}
@keyframes hv5RuleExpand { to { width: 60px; opacity: 1; } }

/* Subtítulo */
.hv5-sub {
  font-size: 16px; line-height: 1.68;
  color: var(--text-muted);
  max-width: 340px;
  margin: 0 0 40px;
  opacity: 0;
  animation: hv5FadeUp 0.85s cubic-bezier(0.16,1,0.3,1) var(--d,.92s) forwards;
}

/* CTAs */
.hv5-actions {
  display: flex; align-items: center; gap: 26px;
  margin-bottom: 54px;
  opacity: 0;
  animation: hv5FadeUp 0.85s cubic-bezier(0.16,1,0.3,1) var(--d,1.08s) forwards;
}

/* Botón magnético */
.hv5-cta {
  display: inline-flex; align-items: center; gap: 0;
  padding: 14px 10px 14px 26px;
  background: var(--text-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  text-decoration: none;
  will-change: transform;
  transition: background 0.3s ease;
}
.hv5-cta:hover { background: #111e2e; color: #fff; }
.hv5-cta-label { flex-shrink: 0; }
.hv5-cta-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  margin-left: 14px; flex-shrink: 0;
  transition: background 0.3s ease, transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.hv5-cta:hover .hv5-cta-icon {
  background: var(--accent);
  transform: rotate(-42deg) scale(1.08);
}
.hv5-cta:hover .hv5-cta-icon i { color: var(--text-primary); }

.hv5-ghost-link {
  font-size: 14px; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.hv5-ghost-link:hover { color: var(--text-primary); }

/* Stats */
.hv5-stats {
  display: flex; align-items: center; gap: 0;
  opacity: 0;
  animation: hv5FadeUp 0.85s cubic-bezier(0.16,1,0.3,1) var(--d,1.28s) forwards;
}
.hv5-stat { padding-right: 22px; }
.hv5-stat-n {
  display: block;
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hv5-stat-l {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.hv5-stat-div { width: 1px; height: 30px; background: var(--border); margin: 0 22px 0 0; }

/* ── RIGHT: Composición editorial de productos ── */
.hv5-right {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 59%;
  z-index: 2;
  pointer-events: none;
}
.hv5-right .hv5-prod { pointer-events: auto; }

/* Glow estático detrás de los productos */
.hv5-prod-glow {
  position: absolute;
  width: 550px; height: 550px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,46,0.11) 0%, transparent 65%);
  top: 42%; left: 44%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Cursor glow (JS lo posiciona) */
.hv5-cursor-glow {
  position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,46,0.09) 0%, transparent 68%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform, left, top;
}

/* Base de cada producto */
.hv5-prod {
  position: absolute;
  opacity: 0;
  transform: scale(0.88) translateY(36px);
  animation: hv5ProdIn 1.4s cubic-bezier(0.16,1,0.3,1) var(--d,.32s) forwards;
}
.hv5-pfloat { display: block; will-change: transform; }
.hv5-ppar   { display: block; will-change: transform; }

/* Imagen wrapper */
.hv5-pimg {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.11), 0 4px 14px rgba(0,0,0,0.07);
}
.hv5-pimg img {
  width: 100%; height: auto; display: block;
  user-select: none; -webkit-user-drag: none;
}
/* Depth of field — los más lejos se ven levemente borrosos */
.hv5-pimg--sharp  { /* nada, perfectamente nítido — es el héroe */ }
.hv5-pimg--blur1  { filter: blur(0.6px);  opacity: 0.88; }
.hv5-pimg--blur2  { filter: blur(1.2px);  opacity: 0.72; }
.hv5-pimg--blur3  { filter: blur(1.8px);  opacity: 0.65; }

/* ── Posición y float de cada producto ── */

/* P1: Pouch — héroe, centro, más grande */
.hv5-p1 { width: 38%; left: 20%; top: 10%; z-index: 10; }
.hv5-p1 .hv5-pimg { box-shadow: 0 48px 100px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08); }
.hv5-p1 .hv5-pfloat { animation: hv5f1 6.8s ease-in-out 1.8s infinite; }

/* P2: Tubo — arriba izquierda, capa trasera */
.hv5-p2 { width: 22%; left: 2%; top: 6%; z-index: 5; }
.hv5-p2 .hv5-pfloat { animation: hv5f2 5.9s ease-in-out 2.0s infinite; }

/* P3: Caja — derecha media, capa media */
.hv5-p3 { width: 28%; right: 2%; top: 26%; z-index: 7; }
.hv5-p3 .hv5-pfloat { animation: hv5f3 7.4s ease-in-out 2.2s infinite; }

/* P4: Sachet — abajo izquierda, más atrás */
.hv5-p4 { width: 21%; left: 3%; bottom: 12%; z-index: 5; }
.hv5-p4 .hv5-pfloat { animation: hv5f4 6.2s ease-in-out 2.4s infinite; }

/* Float keyframes (únicos por producto, evita sincronía) */
@keyframes hv5f1 { 0%,100%{transform:translateY(0)    rotate(-1.5deg)} 50%{transform:translateY(-22px) rotate(1deg)}    }
@keyframes hv5f2 { 0%,100%{transform:translateY(0)    rotate(5.5deg)}  50%{transform:translateY(-15px) rotate(3.5deg)}  }
@keyframes hv5f3 { 0%,100%{transform:translateY(0)    rotate(3deg)}    50%{transform:translateY(-19px) rotate(0.5deg)}  }
@keyframes hv5f4 { 0%,100%{transform:translateY(0)    rotate(-4.5deg)} 50%{transform:translateY(-12px) rotate(-2deg)}   }

/* Badge flotante sobre el producto héroe */
.hv5-pbadge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
  white-space: nowrap;
  pointer-events: none;
}
.hv5-pbadge i { color: var(--accent); font-size: 12px; }
.hv5-pbadge--tr { top: -14px; right: -8%; }

/* Keyframes globales V5 */
@keyframes hv5ProdIn  { to { opacity:1; transform:scale(1) translateY(0); } }
@keyframes hv5SlideUp { to { transform: translateY(0); } }
@keyframes hv5Fade    { to { opacity: 1; } }
@keyframes hv5FadeUp  {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0);    }
}

/* Responsive */
@media (max-width: 1199px) {
  .hv5-p2, .hv5-p4 { display: none; }
  .hv5-p1 { width: 44%; left: 14%; }
  .hv5-p3 { width: 30%; }
}
@media (max-width: 991px) {
  .hero-v5 { flex-direction: column; min-height: 100svh; }
  .hv5-left { width: 100%; min-width: 0; padding: 110px 24px 32px; }
  .hv5-right { position: relative; width: 100%; height: 48vw; min-height: 260px; }
  .hv5-p1 { width: 52%; left: 24%; top: 2%; }
  .hv5-p2, .hv5-p3, .hv5-p4 { display: none; }
}

/* ====================== HERO V4 — PREMIUM MINIMAL ====================== */
.hero-v4 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Gradiente ambiente — casi invisible, solo calidez */
.hero-v4::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 72% 10%, rgba(245,184,46,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 18% 85%, rgba(2,48,71,0.04) 0%, transparent 60%);
}

/* Top bar */
.hv4-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 112px 52px 0;
  position: relative; z-index: 2;
  opacity: 0;
  animation: hv4Fade 0.8s ease 0.05s forwards;
}
.hv4-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
}
.hv4-proof {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.hv4-proof-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  animation: hv4PulseDot 2.4s ease-in-out infinite;
}
@keyframes hv4PulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(245,184,46,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(245,184,46,0);  }
}

/* Centro */
.hv4-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 24px;
  position: relative; z-index: 2;
}

/* Headline: curtain reveal — el texto sube detrás de un overflow:hidden */
.hv4-title {
  font-size: clamp(54px, 8.5vw, 112px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 44px;
}
.hv4-clip {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hv4-clip-inner {
  display: block;
  transform: translateY(108%);
  animation: hv4SlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) var(--d, .3s) forwards;
}
.hv4-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}

/* Línea divisoria que se expande */
.hv4-divider-line {
  width: 0;
  height: 1px;
  background: #d4d4d8;
  margin: 0 auto 28px;
  animation: hv4Expand 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}
@keyframes hv4Expand { to { width: 72px; } }

.hv4-sub {
  font-size: 17px; line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 0 38px;
  opacity: 0;
  animation: hv4FadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}
.hv4-cta-wrap {
  opacity: 0;
  animation: hv4FadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.12s forwards;
}

/* Productos */
.hv4-products {
  display: flex;
  gap: 14px;
  justify-content: center;
  padding: 0 40px 110px;
  position: relative; z-index: 2;
}
.hv4-pcard {
  flex: 1;
  max-width: 196px;
  cursor: pointer;
  opacity: 0;
  animation: hv4ProdIn 1s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 1.1s) forwards;
}
.hv4-pcard-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.hv4-pcard:hover .hv4-pcard-img {
  transform: translateY(-12px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.11), 0 6px 18px rgba(0,0,0,0.06);
}
.hv4-pcard-img img {
  width: 100%; height: auto; display: block;
  user-select: none; -webkit-user-drag: none;
}
.hv4-pcard-name {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #a1a1aa;
  transition: color 0.3s ease;
}
.hv4-pcard:hover .hv4-pcard-name { color: var(--text-primary); }

/* Scroll indicator override para V4 */
.hero-v4 .scroll-indicator { left: 52px; transform: none; }

/* Keyframes */
@keyframes hv4SlideUp  { to { transform: translateY(0); } }
@keyframes hv4Fade     { to { opacity: 1; } }
@keyframes hv4FadeUp   { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes hv4ProdIn   { from { opacity:0; transform:translateY(28px); filter:blur(5px); } to { opacity:1; transform:translateY(0); filter:blur(0); } }

@media (max-width: 991px) {
  .hv4-topbar { padding: 100px 24px 0; flex-direction: column; align-items: flex-start; gap: 8px; }
  .hv4-products { flex-wrap: wrap; padding-bottom: 80px; }
  .hv4-pcard { max-width: calc(50% - 8px); }
  .hero-v4 .scroll-indicator { left: 50%; transform: translateX(-50%); }
}

/* ====================== NAVBAR: modo oscuro ====================== */
.navbar-custom.nav-on-dark:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.82); }
.navbar-custom.nav-on-dark:not(.scrolled) .nav-links a:hover { opacity: 1; color: var(--accent); }
.navbar-custom.nav-on-dark:not(.scrolled) .btn-pill { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.90); border: 1px solid rgba(255,255,255,0.22); }
.navbar-custom.nav-on-dark:not(.scrolled) .btn-pill:hover { background: var(--accent); color: var(--text-primary); border-color: var(--accent); }
.navbar-custom.nav-on-dark:not(.scrolled) .navbar-logo { filter: brightness(0) invert(1); }
.navbar-custom.nav-on-dark:not(.scrolled) .hamburger span { background: rgba(255,255,255,0.9); }

/* ====================== HERO V3 — CINEMATIC DARK ====================== */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: #070c1a;
  color: white;
  padding-top: 90px;
}

/* Glows de fondo */
.hv3-bg-top {
  position: absolute; top: 0; left: 0; right: 0; height: 60%;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(30,55,120,0.55), transparent 70%);
  pointer-events: none;
}
.hv3-bg-center {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 82% 35%, rgba(245,184,46,0.07), transparent 65%),
    radial-gradient(ellipse 400px 300px at 15% 40%, rgba(60,100,200,0.08), transparent 60%);
  pointer-events: none;
}

/* ---- Upper: texto ---- */
.hv3-upper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 48px;
  max-width: 820px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hv3-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
  animation: hv3FadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
.hv3-dash { opacity: 0.5; letter-spacing: 0; }

.hv3-title {
  font-size: clamp(50px, 7.5vw, 100px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: white;
  margin: 0 0 28px;
}
.hv3-line {
  display: block;
  opacity: 0;
  transform: translateY(48px);
  animation: hv3WordIn 1s cubic-bezier(0.16,1,0.3,1) var(--d,.3s) forwards;
}
.hv3-line--serif { font-family: 'Instrument Serif', serif; font-style: italic; color: rgba(255,255,255,0.9); }

.hv3-sub {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.45);
  max-width: 520px;
  margin: 0 0 36px;
  opacity: 0;
  animation: hv3FadeUp 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,.75s) forwards;
}

.hv3-ctas {
  display: flex; gap: 14px; align-items: center;
  opacity: 0;
  animation: hv3FadeUp 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,.95s) forwards;
}
.hv3-btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px;
  background: var(--accent);
  color: var(--text-primary);
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, gap 0.3s ease, box-shadow 0.3s ease;
}
.hv3-btn-primary:hover { transform: translateY(-2px); gap: 18px; box-shadow: 0 12px 36px rgba(245,184,46,0.35); color: var(--text-primary); }
.hv3-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  border-radius: 999px;
  font-size: 15px; font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hv3-btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: white; }

/* ---- Shelf: productos ---- */
.hv3-shelf {
  position: relative;
  width: 100%;
  padding: 0 32px 72px;
  z-index: 2;
}
.hv3-shelf-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 220px;
  background: radial-gradient(ellipse at center bottom, rgba(245,184,46,0.13) 0%, transparent 70%);
  pointer-events: none;
}

.hv3-prod-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
  max-width: 900px;
  margin: 0 auto;
}

.hv3-pcard {
  flex: 1;
  max-width: 200px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) translateY(var(--lift, 0px));
  animation: hv3ProdIn 1.1s cubic-bezier(0.16,1,0.3,1) var(--d,.35s) forwards;
  transition: transform 0.35s ease;
}
.hv3-pcard--featured { max-width: 230px; }

.hv3-pcard:hover { transform: translateY(calc(var(--lift, 0px) - 10px)); }

.hv3-pcard-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  transition: box-shadow 0.35s ease;
}
.hv3-pcard:hover .hv3-pcard-img {
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(245,184,46,0.12);
  border-color: rgba(245,184,46,0.2);
}
.hv3-pcard-img img {
  width: 100%; height: auto; display: block;
  user-select: none; -webkit-user-drag: none;
}
.hv3-pcard-label {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* Scroll indicator sobre dark */
.scroll-indicator--light { color: rgba(255,255,255,0.35); }
.scroll-line--light { background: rgba(255,255,255,0.25); }
.scroll-line--light::after { background: rgba(255,255,255,0.7); }

/* Keyframes */
@keyframes hv3WordIn  { to { opacity:1; transform:translateY(0); } }
@keyframes hv3FadeUp  { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes hv3ProdIn  { to { opacity:1; transform:translateY(var(--lift,0px)); } }

/* Responsive */
@media (max-width: 767px) {
  .hv3-prod-row { gap: 8px; }
  .hv3-pcard, .hv3-pcard--featured { max-width: none; }
  .hv3-title { font-size: clamp(42px, 10vw, 64px); }
}

/* ====================== HERO V2 — CENTRADO ATMOSFÉRICO ====================== */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 90px;
}

.hv2-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 600px at 85% 35%, rgba(245,184,46,0.18) 0%, transparent 62%),
    radial-gradient(ellipse 500px 450px at 12% 28%, rgba(2,48,71,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 600px 500px at 50% 110%, rgba(245,184,46,0.07), transparent 55%);
}

/* ---- Productos flotantes ---- */
.hv2-prod {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.hv2-prod img {
  width: 100%; height: auto; display: block;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18), 0 6px 18px rgba(0,0,0,0.10);
  user-select: none; -webkit-user-drag: none;
}

/* Posiciones */
.hv2-prod--1 { width: 270px; left: 1%;  top: 18%;    animation: hv2In 1.1s cubic-bezier(0.16,1,0.3,1) 0.7s forwards; }
.hv2-prod--2 { width: 196px; left: 8%;  bottom: 12%; animation: hv2In 1.1s cubic-bezier(0.16,1,0.3,1) 1.0s forwards; }
.hv2-prod--3 { width: 252px; right: 2%; top: 12%;    animation: hv2In 1.1s cubic-bezier(0.16,1,0.3,1) 0.5s forwards; }
.hv2-prod--4 { width: 232px; right: 0%; bottom: 10%; animation: hv2In 1.1s cubic-bezier(0.16,1,0.3,1) 1.2s forwards; }

@keyframes hv2In { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: translateY(0); } }

/* Float continuo en el inner (no pisa la opacidad del outer) */
.hv2-prod-inner { display: block; }
.hv2-prod--1 .hv2-prod-inner { animation: hv2f1 7.0s ease-in-out 1.8s infinite; }
.hv2-prod--2 .hv2-prod-inner { animation: hv2f2 8.5s ease-in-out 2.0s infinite; }
.hv2-prod--3 .hv2-prod-inner { animation: hv2f3 6.5s ease-in-out 1.5s infinite; }
.hv2-prod--4 .hv2-prod-inner { animation: hv2f4 7.8s ease-in-out 2.3s infinite; }

@keyframes hv2f1 { 0%,100%{transform:translateY(0)    rotate(-1.5deg)} 50%{transform:translateY(-18px) rotate(1deg)}   }
@keyframes hv2f2 { 0%,100%{transform:translateY(0)    rotate(2deg)   } 50%{transform:translateY(-13px) rotate(-1deg)} }
@keyframes hv2f3 { 0%,100%{transform:translateY(0)    rotate(1deg)   } 50%{transform:translateY(-16px) rotate(-2deg)} }
@keyframes hv2f4 { 0%,100%{transform:translateY(0)    rotate(-2deg)  } 50%{transform:translateY(-11px) rotate(1.5deg)}  }

/* ---- Centro ---- */
.hv2-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 660px;
  padding: 0 24px;
}

/* Badges */
.hv2-badges {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  opacity: 0;
  animation: hv2FadeUp 0.8s cubic-bezier(0.16,1,0.3,1) var(--d,0.1s) forwards;
}
.hv2-badge {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.hv2-badge-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* Título palabra por palabra */
.hv2-title {
  font-size: clamp(52px, 8.5vw, 112px);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 32px;
}
.hv2-line { display: block; }
.hv2-w {
  display: inline-block;
  opacity: 0;
  transform: translateY(56px);
  animation: hv2WordIn 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,0.3s) forwards;
}
.hv2-w--serif { font-style: italic; font-family: 'Instrument Serif', serif; }

@keyframes hv2WordIn { to { opacity:1; transform:translateY(0); } }

/* Sub y CTAs con fade-up genérico */
.hv2-sub, .hv2-ctas, .hv2-stats {
  opacity: 0;
  animation: hv2FadeUp 0.9s cubic-bezier(0.16,1,0.3,1) var(--d,1s) forwards;
}
@keyframes hv2FadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }

.hv2-sub {
  font-size: 17px; line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 36px;
}

/* CTAs */
.hv2-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  margin-bottom: 52px;
}
.hv2-link-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: gap 0.25s ease;
}
.hv2-link-ghost:hover { gap: 14px; }

/* Stats bar */
.hv2-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: 20px 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hv2-stat { text-align: center; padding: 0 28px; }
.hv2-stat-num {
  display: block;
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}
.hv2-stat-label {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted);
}
.hv2-stat-divider {
  width: 1px; height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Responsive: hide side products on smaller screens */
@media (max-width: 1199px) {
  .hv2-prod--2, .hv2-prod--4 { display: none; }
  .hv2-prod--1 { width: 210px; left: -2%; }
  .hv2-prod--3 { width: 210px; right: -2%; }
}
@media (max-width: 991px) {
  .hv2-prod { display: none; }
  .hv2-center { max-width: 100%; }
  .hv2-title { font-size: clamp(44px, 10vw, 72px); }
  .hv2-stats { flex-wrap: wrap; gap: 12px; }
  .hv2-stat-divider { display: none; }
}

/* ====================== HERO 3D CAROUSEL ====================== */
.hero-carousel-3d {
  position: relative;
  width: 100%;
  height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hc3d-track {
  position: relative;
  width: 100%;
  height: 530px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}

/* Sachet 15% más grande que el resto */
.hc3d-item[data-idx="2"] { width: 314px; }
/* Caja 10% más pequeña */
.hc3d-item[data-idx="1"] { width: 247px; }

.hc3d-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 274px;
  cursor: pointer;
  transform: translate(-50%, -50%) translateZ(-500px) scale(0.3);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.75s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.75s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.75s ease;
}

.hc3d-img-wrap {
  border-radius: 0;
  overflow: visible;
  background: none;
  transition: filter 0.75s ease;
  will-change: transform;
}

.hc3d-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.20)) drop-shadow(0 6px 16px rgba(0,0,0,0.12));
}

/* Estado activo — al frente, volando */
.hc3d-item.active {
  z-index: 10;
  transform: translate(-50%, -50%) rotateY(0deg) scale(1);
  opacity: 1;
  pointer-events: auto;
  filter: none;
  cursor: pointer;
}
.hc3d-item:hover .hc3d-img-wrap {
  transform: scale(1.12);
}
.hc3d-item .hc3d-img-wrap {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hc3d-item.active .hc3d-img-wrap img {
  animation: hcFly 4.8s ease-in-out infinite;
  filter: drop-shadow(0 50px 80px rgba(0,0,0,0.26)) drop-shadow(0 10px 24px rgba(0,0,0,0.14));
}

/* Sombra suelo */
.hc3d-item.active::after {
  content: '';
  position: absolute;
  bottom: -32px;
  left: 10%;
  width: 80%;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.16) 0%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
  animation: hcShadow 4.8s ease-in-out infinite;
}

/* Producto a la izquierda */
.hc3d-item.prev {
  z-index: 5;
  transform: translate(calc(-50% - 260px), -50%) translateZ(-140px) rotateY(42deg) scale(0.78);
  opacity: 0.55;
  pointer-events: auto;
  filter: brightness(0.65) blur(0.6px);
}

/* Producto a la derecha */
.hc3d-item.next {
  z-index: 5;
  transform: translate(calc(-50% + 260px), -50%) translateZ(-140px) rotateY(-42deg) scale(0.78);
  opacity: 0.55;
  pointer-events: auto;
  filter: brightness(0.65) blur(0.6px);
}

/* Producto oculto */
.hc3d-item.far {
  z-index: 1;
  transform: translate(-50%, -50%) translateZ(-500px) scale(0.3);
  opacity: 0;
  pointer-events: none;
}

@keyframes hcFly {
  0%   { transform: translateY(0px)   rotate(0deg)    rotateX(0deg)   scale(1); }
  18%  { transform: translateY(-22px) rotate(2.8deg)  rotateX(2deg)   scale(1.03); }
  40%  { transform: translateY(-32px) rotate(-1.5deg) rotateX(-1.5deg) scale(1.02); }
  60%  { transform: translateY(-18px) rotate(3.2deg)  rotateX(1.8deg) scale(1.04); }
  80%  { transform: translateY(-28px) rotate(-2deg)   rotateX(-2deg)  scale(1.01); }
  100% { transform: translateY(0px)   rotate(0deg)    rotateX(0deg)   scale(1); }
}
@keyframes hcShadow {
  0%,100% { transform: scaleX(1)    scaleY(1);    opacity: 0.9; }
  40%     { transform: scaleX(0.75) scaleY(0.6);  opacity: 0.4; }
  60%     { transform: scaleX(0.82) scaleY(0.7);  opacity: 0.5; }
}

/* Nombre del producto activo */
.hc3d-label-wrap {
  margin-top: 14px;
  height: 22px;
  text-align: center;
}
.hc3d-active-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Dots */
.hc3d-dots {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.hc3d-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: all 0.35s ease;
}
.hc3d-dot.active {
  width: 24px;
  background: var(--text-primary);
}

/* Flechas de navegación */
.hc3d-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 20;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hc3d-arrow:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.16);
}
.hc3d-arrow--prev { left: 0; }
.hc3d-arrow--next { right: 0; }

/* ====================== FRANJA FEATURES ====================== */
.features-strip {
  background: var(--text-primary);
  color: var(--text-light);
  padding: 32px 0;
}
.feature-item { display: flex; align-items: center; gap: 18px; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.feature-title { font-size: 16px; font-weight: 400; letter-spacing: -0.01em; }

/* ====================== ETIQUETAS DE SECCIÓN ====================== */
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.section-eyebrow.light { color: rgba(255,255,255,0.6); }
.section-title {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1; font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--text-primary);
}
.section-title-light {
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1; font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--text-light);
}
.section-lead {
  font-size: 18px; line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
}

/* ====================== PRODUCTOS ====================== */
.products-section { padding: 140px 0 100px; }
.products-hero-image { margin: 60px 0; }
.placeholder-img {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #034f73, #023047);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 13px;
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.placeholder-img::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,0.02) 20px, rgba(0,0,0,0.02) 21px);
}
.product-card {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  height: 100%;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease-out);
}
.product-card:hover { transform: translateY(-4px); }
.product-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-name {
  font-size: 32px; font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.product-desc {
  color: var(--text-muted);
  font-size: 15px; line-height: 1.6;
  flex: 1;
  margin: 0 0 24px;
}
.product-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-primary);
  text-decoration: none; font-size: 14px; font-weight: 500;
  transition: gap 0.3s var(--ease-out);
}
.product-link:hover { gap: 14px; color: var(--accent); }

/* ====================== SECCIÓN 3D ====================== */
.three-section {
  position: relative;
  height: 200vh;        /* La sección es alta para tener scroll-driven animation */
  background: var(--bg-darker);
  color: var(--text-light);
}
.three-canvas-container {
  position: sticky; top: 0;
  width: 100%; height: 100vh;
}
.three-canvas-container canvas { display: block; width: 100% !important; height: 100% !important; }

.three-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
}
.three-overlay > * { pointer-events: auto; }
.three-lead {
  font-size: 17px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
}
.frame-progress {
  position: sticky;
  bottom: 32px;
  margin: 0 auto;
  width: fit-content;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  z-index: 3;
}
.frame-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.15); border-radius: 2px; overflow: hidden; }
.frame-bar-fill { height: 100%; width: 0; background: var(--text-light); transition: width 0.1s linear; }
.frame-percent { color: rgba(255,255,255,0.7); min-width: 36px; text-align: right; }
.frame-label { color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }

/* ====================== PASOS ====================== */
.steps-section {
  padding: 140px 0;
}
.step-card {
  position: relative;
  padding: 60px 32px 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  height: 100%;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.step-num-bg {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 80px;
  color: var(--text-primary);
  opacity: 0.06;
  line-height: 1;
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.step-card:hover .step-num-bg { opacity: 0.15; transform: scale(1.05); }
.step-content { position: relative; z-index: 1; margin-top: 48px; }
.step-title { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 16px; }
.step-desc { color: var(--text-muted); line-height: 1.6; margin: 0; }
.big-quote {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.brand-inline { color: var(--text-primary); font-weight: 500; }

/* ====================== GALERÍA ====================== */
.gallery-section {
  padding: 100px 0 100px;
}
.video-mask-wrapper {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background: var(--text-primary);
  color: var(--text-light);
  overflow: hidden;
}
.video-mask-text {
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-mask-text span { display: block; }
.mask-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }

.gallery-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500; letter-spacing: -0.02em; margin: 0;
}
.nav-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.nav-arrow:hover { background: var(--text-primary); color: var(--bg-cream); transform: scale(1.05); }

.gallery-track {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0 24px;
  scroll-behavior: smooth;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.gallery-img-wrap { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-img-wrap:hover img { transform: scale(1.07); }
.gallery-name { display: block; margin-top: 16px; font-size: 16px; font-weight: 500; }

/* ── Gallery linked overlay ── */
.gallery-img-wrap--linked {
  display: block;
  text-decoration: none;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.gallery-img-wrap--linked img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery-img-wrap--linked:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,48,71,0);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background 0.4s ease;
}
.gallery-img-wrap--linked:hover .gallery-overlay { background: rgba(2,48,71,0.5); }
.gallery-overlay-btn {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.gallery-img-wrap--linked:hover .gallery-overlay-btn { opacity: 1; transform: translateY(0); }

/* ====================== MATERIALES & ACABADOS ====================== */
.materials-section, .finishes-section { padding: 120px 0; }
.material-card, .finish-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.material-card:hover, .finish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}
.material-img, .finish-img { aspect-ratio: 4/3; overflow: hidden; }
.material-name, .finish-name {
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.02em;
  padding: 24px 24px 8px;
  margin: 0;
}
.material-desc, .finish-desc {
  color: var(--text-muted);
  font-size: 14px; line-height: 1.6;
  padding: 0 24px 28px;
  margin: 0;
}
.finishes-section { background: var(--bg-white); }

/* ====================== FAQ ====================== */
.faq-section { padding: 120px 0; background: var(--bg-cream); }
.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
}
.faq-accordion .accordion-button {
  background: transparent;
  font-size: 22px; font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  padding: 28px 0;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--accent); background: transparent; }
.faq-accordion .accordion-body { padding: 0 0 28px; color: var(--text-muted); font-size: 16px; line-height: 1.6; }
.accordion-button::after { background-size: 18px; }

/* ====================== CONTACTO ====================== */
.contact-section { padding: 140px 0; background: var(--text-primary); color: var(--text-light); }
.contact-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500; line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.contact-lead {
  font-size: 18px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
}
.contact-form { margin-top: 60px; }
.form-required-note { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.form-required-note span, .form-label span { color: var(--accent-2); }

.form-group-block {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}
.form-group-title {
  font-size: 14px; letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.form-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: block;
}
.form-control-custom {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--text-light);
  font-size: 16px;
  padding: 12px 0;
  border-radius: 0;
  font-family: var(--font-sans);
  transition: border-color 0.3s;
}
.form-control-custom:focus {
  outline: none;
  border-bottom-color: var(--text-light);
}
select.form-control-custom { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 16px; padding-right: 32px; }
select.form-control-custom option { background: var(--text-primary); color: var(--text-light); }

textarea.form-control-custom { resize: vertical; min-height: 100px; border: 1px solid rgba(255,255,255,0.2); padding: 16px; border-radius: var(--radius-sm); }

.segment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.segment-option { cursor: pointer; }
.segment-option input { display: none; }
.segment-content {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: all 0.3s;
  height: 100%;
}
.segment-content i { font-size: 28px; color: var(--accent-2); }
.segment-option input:checked + .segment-content {
  border-color: var(--accent-2);
  background: rgba(201,166,107,0.06);
}

.checks-row { display: flex; flex-wrap: wrap; gap: 12px; }
.check-pill { cursor: pointer; }
.check-pill input { display: none; }
.check-pill span {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 13px;
  transition: all 0.3s;
}
.check-pill input:checked + span {
  background: var(--text-light);
  color: var(--text-primary);
  border-color: var(--text-light);
}

.form-tos { font-size: 12px; color: rgba(255,255,255,0.5); margin: 32px 0; }
.form-tos a { color: var(--accent-2); text-decoration: underline; }
.btn-submit { background: var(--text-light); color: var(--text-primary); }
.btn-submit:hover { background: var(--accent-2); color: var(--text-primary); }

/* ====================== FOOTER ====================== */
.site-footer { background: var(--bg-darker); color: var(--text-light); padding: 80px 0 40px; }
.footer-brand-row { padding-bottom: 60px; border-bottom: 1px solid var(--border-light); }
.footer-brand-logo {
  width: clamp(280px, 55vw, 640px);
  height: auto;
  display: block;
}
.footer-heading {
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--text-light); }

/* ====================== ANIMACIONES (reveals) ====================== */
.reveal-up, .reveal-scale {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-scale { transform: scale(0.96); }
.reveal-up.in-view, .reveal-scale.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.delay-1 { --delay: 0.1s; }
.delay-2 { --delay: 0.2s; }
.delay-3 { --delay: 0.3s; }
.delay-4 { --delay: 0.4s; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 991px) {
  .hero-image-wrapper { width: 80%; right: -15%; opacity: 0.35; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .gallery-item { flex: 0 0 260px; }
}
@media (max-width: 575px) {
  .hero-image-wrapper { display: none; }
  .footer-brand { font-size: 56px; }
}

/* ====================== PRODUCTS GRID (v2) ====================== */
.products-section {
  padding: 140px 0 100px;
  background-color: var(--bg-cream);
  background-image:
    radial-gradient(ellipse 680px 560px at 88% 20%, rgba(245,184,46,0.32) 0%, transparent 62%),
    radial-gradient(ellipse 600px 520px at 10% 75%, rgba(56,142,200,0.28) 0%, transparent 62%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.product-card-v2 {
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.product-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.10);
  color: var(--text-primary);
}
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(145deg, #034f73 0%, #023047 100%);
}
.product-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.product-placeholder-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(80px, 10vw, 140px);
  color: rgba(255,255,255,0.12);
  line-height: 1;
  user-select: none;
}
.product-badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.product-card-body {
  padding: 28px 32px 36px;
}
.product-card-name {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.product-card-short {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px;
}
.product-card-link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.product-card-v2:hover .product-card-link {
  gap: 12px;
  color: var(--accent);
}
@media (max-width: 767px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ====================== PROCESO — Sticky Scroll ====================== */
.process-section {
  padding: 0 0 100px;
}
.process-header  { padding: 80px 0 48px; }
.process-header-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 480px;
}

.process-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.process-sticky-col {
  position: sticky;
  top: 120px;
}
.process-sticky-img {
  height: calc(100vh - 200px);
  max-height: 680px;
  min-height: 420px;
  background: #080808;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* ── Vignette ── */
.pcin-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ── Image set layers ── */
.pcin-set {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.pcin-set.pcin-set--on { opacity: 1; }

/* ── Individual images (proc-img = usado en HTML) ── */
.pcin-img, .proc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 8s ease-out;
  will-change: opacity, transform;
}
.pcin-img.pcin-img--on,
.proc-img.proc-img--on {
  opacity: 1;
  transform: scale(1);
}

/* ── Floating step label ── */
.pcin-label {
  position: absolute;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
  pointer-events: none;
}
.pcin-label-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 11px;
  color: rgba(245,184,46,0.7);
  letter-spacing: 0.12em;
}
.pcin-label-txt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.process-steps-col { padding-top: 12px; }

.process-step {
  padding: 52px 0;
  border-top: 1px solid var(--border);
  opacity: 0.22;
  transition: opacity 0.55s var(--ease-out);
}
.process-step:last-of-type { border-bottom: 1px solid var(--border); }
.process-step.is-active { opacity: 1; }

.process-step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin: 0 0 20px;
}
.process-step-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--text-primary);
}
.process-step-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0;
}

.process-cta { padding-top: 56px; }
.process-cta-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .process-body {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* Ocultar columna sticky en mobile — los pasos son suficientes */
  .process-sticky-col { display: none; }
  .process-step { opacity: 1 !important; } /* todos visibles en mobile */
}

/* ====================== GALERÍA (actualizada) ====================== */
.gallery-mask-block {
  padding: 80px 0;
  text-align: center;
  background: #0a2540;
  color: #ffffff;
  overflow: hidden;
}
.gallery-mask-text {
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-mask-text span { display: block; }

/* ====================== PRODUCTO DETALLE (PDP) ====================== */
/* ===========================
   PDP — Product Detail Page
   =========================== */

.pdp-page { background: #FAFAF8; }

/* ── Hero ── */
.pdp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FAFAF8;
}
.pdp-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(245,184,46,0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(2,48,71,0.04), transparent 50%);
  pointer-events: none;
}
.pdp-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 0 0;
  position: relative; z-index: 2;
}
.pdp-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.pdp-back-link:hover { color: var(--text-primary); }
.pdp-counter {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.pdp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0 96px;
  position: relative; z-index: 2;
  flex: 1;
}
.pdp-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pdp-highlight-badge {
  display: inline-block;
  background: var(--accent);
  color: #1a1000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.pdp-title {
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 28px;
  color: var(--text-primary);
}
.pdp-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 440px;
  margin: 0 0 44px;
}

/* ── Visual card (right) ── */
.pdp-hero-right { position: relative; }
.pdp-visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 5/4;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #EEF2F6 0%, #E8EDF4 40%, #F0EDE8 100%);
  box-shadow: 0 32px 80px rgba(2,48,71,0.13), 0 4px 16px rgba(2,48,71,0.07);
}
/* Manchas de color decorativas en el fondo */
.pdp-visual-card::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 65%; height: 65%;
  background: radial-gradient(circle, rgba(245,184,46,0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.pdp-visual-card::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -10%;
  width: 55%; height: 55%;
  background: radial-gradient(circle, rgba(2,48,71,0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.pdp-visual-card-inner {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 24px 28px;
}
.pdp-visual-img {
  width: 80%; height: 92%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  filter: drop-shadow(0 24px 40px rgba(2,48,71,0.22)) drop-shadow(0 8px 16px rgba(2,48,71,0.12));
  animation: pdpFloat 5.5s ease-in-out infinite;
}
@keyframes pdpFloat {
  0%,100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
  35%      { transform: translateX(-50%) translateY(-18px) rotate(1deg); }
  70%      { transform: translateX(-50%) translateY(-8px) rotate(-0.6deg); }
}
.pdp-visual-glow {
  position: absolute;
  bottom: 2%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 22%;
  background: radial-gradient(ellipse, rgba(2,48,71,0.14) 0%, transparent 70%);
  filter: blur(18px);
  z-index: 2;
  animation: pdpGlowPulse 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pdpGlowPulse {
  0%,100% { opacity: 0.6; width: 60%; }
  35%      { opacity: 0.3; width: 52%; }
  70%      { opacity: 0.5; width: 56%; }
}
.pdp-visual-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px 28px;
  z-index: 4;
  pointer-events: none;
}
.pdp-visual-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  pointer-events: auto;
}
.pdp-visual-chip {
  background: rgba(2,48,71,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(2,48,71,0.14);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600;
  color: rgba(2,48,71,0.75);
  letter-spacing: 0.02em;
}
.pdp-visual-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(72px, 11vw, 150px);
  color: rgba(2,48,71,0.06);
  line-height: 1;
  align-self: flex-end;
  user-select: none;
}

/* ── Features ── */
.pdp-features-section {
  padding: 100px 0;
  background: #F2F1EE;
}
.pdp-section-header {
  max-width: 560px;
  margin-bottom: 60px;
}
.pdp-section-title {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 16px 0 0;
  color: var(--text-primary);
}
.pdp-section-title .serif-italic { color: var(--accent); }
.pdp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(2,48,71,0.08);
  box-shadow: 0 2px 12px rgba(2,48,71,0.06);
}
.pdp-feat-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 32px 28px;
  background: rgba(255,255,255,0.75);
  transition: background 0.25s;
}
.pdp-feat-item:hover { background: #fff; }
.pdp-feat-icon-wrap {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(245,184,46,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: #c8940d;
}
.pdp-feat-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 0;
  padding-top: 5px;
}

/* ── Applications ── */
.pdp-apps-section {
  padding: 100px 0;
  background: #FAFAF8;
}
.pdp-apps-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.pdp-apps-pills {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pdp-app-pill {
  display: inline-block;
  padding: 14px 28px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  color: var(--text-primary);
  background: #fff;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  cursor: default;
}
.pdp-app-pill:hover {
  background: var(--text-primary);
  color: var(--text-light);
  border-color: var(--text-primary);
}

/* ── CTA final ── */
.pdp-cta-section {
  padding: 140px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
.pdp-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(245,184,46,0.07), transparent);
  pointer-events: none;
}
.pdp-cta-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 24px;
  color: var(--text-light);
  position: relative;
}
.pdp-cta-title .serif-italic { color: rgba(245,184,46,0.90); }
.pdp-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 48px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .pdp-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 72px;
  }
  .pdp-visual-card { aspect-ratio: 16/9; max-height: 340px; }
  .pdp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-apps-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 576px) {
  .pdp-features-grid { grid-template-columns: 1fr; }
  .pdp-title { font-size: clamp(34px, 10vw, 52px); }
  .pdp-apps-inner { gap: 36px; }
}

/* ── PDP Variantes ── */
.pdp-variants-section {
  padding: 100px 0;
  background: #FAFAF8;
}
.pdp-variants-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.pdp-variant-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(2,48,71,0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  cursor: default;
}
.pdp-variant-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2,48,71,0.12);
}
.pdp-variant-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #F4F2EE;
}
.pdp-variant-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.4s var(--ease-out);
}
.pdp-variant-card:hover .pdp-variant-img img { transform: scale(1.06); }
.pdp-variant-label {
  font-size: 13px; font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  padding: 12px 10px;
  margin: 0;
}

/* ── PDP Acabados ── */
.pdp-finishes-section {
  padding: 100px 0;
  background: #F2F1EE;
}
.pdp-finishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}
.pdp-finish-card {
  transition: transform 0.3s var(--ease-out);
  cursor: default;
}
.pdp-finish-card:hover { transform: translateY(-5px); }
.pdp-finish-img {
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(2,48,71,0.07);
  margin-bottom: 10px;
}
.pdp-finish-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.pdp-finish-card:hover .pdp-finish-img img { transform: scale(1.08); }
.pdp-finish-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}

@media (max-width: 991px) {
  .pdp-variants-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .pdp-variants-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-finishes-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ====================== COTIZADOR NATIVO ====================== */

.cotizador-section {
  position: relative;
  padding: 65px 0 25px;
}
.cot-container {
  max-width: 960px;
  width: 100%;
  padding: 0 5%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Blobs de fondo — visibles sobre blanco */
.cot-blob { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.cot-blob-navy  {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(56,142,200,0.42) 0%, transparent 70%);
  top: -520px; left: -220px;
}
.cot-blob-yellow {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,184,46,0.42) 0%, transparent 70%);
  top: -400px; right: -100px;
}
.cot-blob-navy2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(56,142,200,0.28) 0%, transparent 70%);
  bottom: -100px; right: 18%;
}

/* Encabezado de sección */
.cot-section-header {
  text-align: center;
  margin-bottom: 48px;
  width: 100%;
}
.cotizador-section .section-eyebrow { color: var(--text-muted) !important; }
.cotizador-section .section-title-light { color: var(--text-primary); }
.cotizador-section .serif-italic { color: var(--text-primary); }
.cot-section-lead {
  font-size: 16px; line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px; margin: 16px auto 0;
}

/* Tarjeta */
.cot-card {
  background: #ffffff;
  border: 1px solid #e8e8e4;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  width: 100%;
}

/* Top bar */
.cot-topbar {
  display: flex; align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid #f0f0ee;
}
.cot-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  font-family: var(--font-sans); padding: 0;
  transition: color 0.2s;
  flex-shrink: 0; width: 80px;
}
.cot-back-btn:hover { color: var(--text-primary); }
.cot-counter {
  flex: 1; text-align: center;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.cot-topbar-gap { flex-shrink: 0; width: 80px; }

/* Barra de progreso */
.cot-progress-bar { height: 2px; background: #f0f0ee; }
.cot-progress-fill {
  height: 100%; width: 0%;
  background: var(--accent);
  transition: width 0.5s var(--ease-out);
}

/* Viewport y contenido dinámico */
.cot-viewport { padding: 40px 40px 36px; min-height: 320px; }
.cot-content { will-change: transform, opacity; }

/* Footer */
.cot-footer {
  display: flex; justify-content: flex-end;
  padding: 20px 40px 28px;
  border-top: 1px solid #f0f0ee;
}

/* Tipografía interna */
.cot-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.cot-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text-primary); margin: 0 0 14px;
}
.cot-lead {
  font-size: 15px; line-height: 1.6;
  color: var(--text-muted); margin: 0 0 28px; max-width: 480px;
}

/* Campo */
.cot-field { margin-bottom: 18px; }
.cot-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.cot-input {
  width: 100%; padding: 15px 18px;
  font-size: 16px; font-family: var(--font-sans); color: var(--text-primary);
  background: #f7f7f5;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.cot-input:focus {
  border-color: var(--text-primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(2,48,71,0.07);
}
.cot-input.cot-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}
.cot-textarea { min-height: 110px; resize: vertical; }

.cot-field-error {
  font-size: 12px; color: #ef4444; font-weight: 500;
  margin: 6px 0 0 2px; min-height: 18px;
}

/* Grid 2 cols */
.cot-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 575px) { .cot-grid-2 { grid-template-columns: 1fr; } }

/* Cards tipo empaque */
.cot-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 4px; }
@media (max-width: 575px) { .cot-cards-grid { grid-template-columns: 1fr; } }

.cot-option-card { cursor: pointer; display: block; user-select: none; }
.cot-card-inner {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: #f7f7f5; border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cot-option-card input:checked + .cot-card-inner {
  border-color: var(--accent);
  background: rgba(245,184,46,0.06);
  box-shadow: 0 0 0 4px rgba(245,184,46,0.12);
}
.cot-card-text { flex: 1; min-width: 0; }
.cot-card-icon { font-size: 22px; flex-shrink: 0; }
.cot-card-name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 0 0 2px; letter-spacing: -0.01em; }
.cot-card-desc { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.4; }
.cot-card-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: #e4e4e0; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: transparent;
  transition: background 0.2s, color 0.2s;
}
.cot-option-card input:checked + .cot-card-inner .cot-card-check {
  background: var(--accent); color: #fff;
}

/* Pills acabados */
.cot-pills-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.cot-pill {
  padding: 9px 18px;
  border: 1.5px solid #e4e4e0; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; user-select: none;
  transition: all 0.2s;
}
.cot-pill:hover { border-color: var(--text-primary); color: var(--text-primary); }
.cot-pill.cot-pill-selected {
  background: var(--text-primary); color: #fff; border-color: var(--text-primary);
}

/* File zone */
.cot-file-zone {
  background: #f7f7f5; border: 1.5px dashed #ddd;
  border-radius: var(--radius-md);
  transition: border-color 0.25s, background 0.25s;
  overflow: hidden;
}
.cot-file-zone.cot-file-drag { border-color: var(--text-primary); background: rgba(2,48,71,0.03); }
.cot-file-inner {
  padding: 28px; text-align: center; cursor: pointer;
}
.cot-file-inner i { font-size: 28px; color: var(--text-muted); display: block; margin-bottom: 10px; }
.cot-file-inner p { font-size: 14px; font-weight: 500; color: var(--text-primary); margin: 0 0 4px; }
.cot-file-inner span { font-size: 12px; color: var(--text-muted); }
.cot-file-selected {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  font-size: 14px; color: var(--text-primary); font-weight: 500;
}
.cot-file-selected i { color: var(--accent); font-size: 18px; }
.cot-file-selected span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cot-file-remove {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  font-size: 18px; padding: 2px 4px;
  transition: color 0.2s;
}
.cot-file-remove:hover { color: #ef4444; }

/* Acciones (botones) */
.cot-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 28px;
}
.cot-actions-end { justify-content: flex-end; }

.cot-btn-next {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border: none; border-radius: 999px;
  background: var(--text-primary); color: #fff;
  font-size: 15px; font-weight: 500; font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.3s, gap 0.3s var(--ease-out), transform 0.3s;
}
.cot-btn-next:hover { background: var(--accent); color: var(--text-primary); gap: 16px; transform: translateY(-1px); }

.cot-btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border: none; border-radius: 999px;
  background: transparent; color: var(--text-muted);
  font-size: 15px; font-weight: 500; font-family: var(--font-sans);
  cursor: pointer; transition: color 0.25s;
}
.cot-btn-back:hover { color: var(--text-primary); }

.cot-btn-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border: none; border-radius: 999px;
  background: var(--accent); color: var(--text-primary);
  font-size: 15px; font-weight: 600; font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.cot-btn-submit:hover { background: #e0a01e; transform: translateY(-1px); }
.cot-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.cot-disclaimer {
  font-size: 11px; text-align: center; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 20px;
}

/* Resumen */
.cot-summary {
  background: #f7f7f5; border-radius: var(--radius-md);
  padding: 20px 24px; margin-top: 20px;
  display: flex; flex-direction: column; gap: 0;
}
.cot-summary-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; padding: 10px 0;
  border-bottom: 1px solid #ebebeb; font-size: 14px;
}
.cot-summary-row:last-child { border-bottom: none; padding-bottom: 0; }
.cot-summary-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap; padding-top: 1px; flex-shrink: 0;
}
.cot-summary-value { color: var(--text-primary); font-weight: 500; text-align: right; }

/* Submit loading spin */
@keyframes cot-spin { to { transform: rotate(360deg); } }
.cot-spin { animation: cot-spin 0.8s linear infinite; display: inline-block; }
.cot-submit-loading { display: inline-flex; align-items: center; gap: 8px; }

/* Estado de éxito — overlay sobre la card */
.cot-success-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 28px; z-index: 10;
  padding: 40px; min-height: 480px;
}
.cot-success-inner { display: flex; flex-direction: column; align-items: center; position: relative; }

/* Checkmark SVG animado */
.cot-checkmark-wrap { position: relative; }
.cot-check-svg { width: 80px; height: 80px; }
.cot-check-circle {
  stroke: var(--accent); stroke-width: 4; fill: none;
  stroke-dasharray: 226; stroke-dashoffset: 226;
  transition: stroke-dashoffset 0.7s ease;
}
.cot-check-path {
  stroke: var(--text-primary); stroke-width: 5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 60; stroke-dashoffset: 60;
  transition: stroke-dashoffset 0.4s ease 0.55s;
}
.cot-checkmark-wrap.animate .cot-check-circle { stroke-dashoffset: 0; }
.cot-checkmark-wrap.animate .cot-check-path   { stroke-dashoffset: 0; }

/* Partículas */
.cot-particles-wrap { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.cot-particle {
  position: absolute;
  animation: cotParticle 1.1s var(--ease-out) forwards;
}
@keyframes cotParticle {
  0%   { transform: translate(0,0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; }
}

/* Responsive cotizador — mobile */
@media (max-width: 600px) {
  .cot-container { padding: 0 4%; }
}

/* Responsive mobile */
@media (max-width: 575px) {
  .cot-viewport { padding: 28px 20px 24px; }
  .cot-footer { padding: 16px 20px 24px; }
  .cot-topbar { padding: 14px 16px; }
  .cot-back-btn { width: 64px; font-size: 12px; }
  .cot-topbar-gap { width: 64px; }
  .cot-summary { padding: 16px 16px; }
}

/* ====================== CARDS DE EMPAQUE (Step 3 con imagen) ====================== */

.cot-pkg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 4px;
}
@media (max-width: 480px) { .cot-pkg-grid { grid-template-columns: 1fr; } }

/* Label wrapper */
.cot-pkg-card { display: block; cursor: pointer; user-select: none; }

/* Inner container */
.cot-pkg-inner {
  border: 1.5px solid #e8e8e5;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s var(--ease-out);
}
.cot-pkg-card:hover .cot-pkg-inner {
  border-color: #c0bfba;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.cot-pkg-card input:checked + .cot-pkg-inner {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.18), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* Área de imagen — aspect ratio 4:3 */
.cot-pkg-img {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Fondo neutro para fotos con fondo blanco */
.cot-pkg-img--bolsas,
.cot-pkg-img--sachets,
.cot-pkg-img--cajas,
.cot-pkg-img--tubos  { background: linear-gradient(145deg, #F2EEE8 0%, #EAE6DF 100%); }

/* Imagen real */
.cot-pkg-photo {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.cot-pkg-card:hover .cot-pkg-photo { transform: scale(1.05); }

/* Fallback sin foto (Asesoría) */
.cot-pkg-svg-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: #8a9bb0; font-size: 12px; font-weight: 500; letter-spacing: 0.05em;
}
.cot-pkg-svg-fallback i { font-size: 32px; color: #b0bec5; }

/* Placeholder visual (mientras no haya foto) */
.cot-pkg-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
}
.cot-pkg-ph-shape { display: block; border-radius: 8px; }

/* Bolsas Pouch — 3 bolsas de distintos tamaños */
.cot-pkg-ph-bag {
  background: rgba(255,255,255,0.13);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px;
}
.cot-pkg-ph-bag1 { width: 44px; height: 62px; transform: translateX(-6px) rotate(-4deg); }
.cot-pkg-ph-bag2 { width: 52px; height: 72px; z-index: 1; }
.cot-pkg-ph-bag3 { width: 40px; height: 56px; transform: translateX(6px) rotate(4deg); opacity: 0.7; }

/* Bolsas Mylar CR — 2 bolsas planas más oscuras */
.cot-pkg-ph-mylar {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 6px;
}
.cot-pkg-ph-mylar1 { width: 54px; height: 76px; transform: translateX(-8px) rotate(-3deg); }
.cot-pkg-ph-mylar2 { width: 54px; height: 76px; transform: translateX(8px) rotate(3deg);  opacity: 0.8; }

/* Tubos Screw-Cap — 3 tubos cilíndricos */
.cot-pkg-ph-tube {
  width: 22px;
  border-radius: 11px;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.cot-pkg-ph-tube1 { height: 64px; transform: translateY(4px) rotate(-3deg); }
.cot-pkg-ph-tube2 { height: 72px; z-index: 1; }
.cot-pkg-ph-tube3 { height: 58px; transform: translateY(8px) rotate(3deg); opacity: 0.75; }

/* Envases y Frascos — 2 frascos cilíndricos anchos */
.cot-pkg-ph-jar {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.cot-pkg-ph-jar1 {
  width: 52px; height: 58px;
  border-radius: 10px 10px 12px 12px;
  transform: translateX(-10px);
}
.cot-pkg-ph-jar2 {
  width: 44px; height: 52px;
  border-radius: 8px 8px 10px 10px;
  transform: translateX(8px) translateY(4px);
  opacity: 0.8;
}

/* Dot de check (esquina sup. derecha del área de imagen) */
.cot-pkg-check-dot {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: transparent;
  transition: background 0.22s, color 0.22s;
}
.cot-pkg-card input:checked + .cot-pkg-inner .cot-pkg-check-dot,
.cot-pkg-card.selected .cot-pkg-check-dot {
  background: var(--accent);
  color: var(--text-primary);
}

/* SVG illustration wrapper */
.cot-pkg-svg-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.cot-pkg-svg-wrap svg { width: 58%; height: 58%; }

/* Estado "ya agregado" */
.cot-pkg-done { opacity: 1; }
.cot-pkg-done-badge {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  background: rgba(245,184,46,0.92); color: var(--text-primary);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px;
  white-space: nowrap;
}

/* Área de texto */
.cot-pkg-info { padding: 14px 16px 16px; }
.cot-pkg-name {
  font-size: 14px; font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 3px; letter-spacing: -0.01em;
}
.cot-pkg-desc {
  font-size: 12px; color: var(--text-muted);
  margin: 0; line-height: 1.4;
}

/* ── Pkg card selected state (via JS class) ── */
.cot-pkg-card.selected .cot-pkg-inner {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.18), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ── Opciones (radio cards) ── */
.cot-opt-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 4px;
}
.cot-opt-compact { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
@media (max-width: 575px) {
  .cot-opt-grid   { grid-template-columns: 1fr; }
  .cot-opt-compact { grid-template-columns: repeat(2, 1fr); }
}

.cot-opt-card {
  position: relative; cursor: pointer; user-select: none;
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 36px 12px 14px;
  background: #f7f7f5; border: 1.5px solid #e8e8e5;
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.cot-opt-card:hover { border-color: #c8c8c3; background: #f2f2f0; }
.cot-opt-card.selected {
  border-color: var(--accent);
  background: rgba(245,184,46,0.06);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.15);
}
.cot-opt-label { font-size: 13px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.cot-opt-desc  { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.cot-opt-check {
  position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #e4e4e0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent;
  transition: background 0.2s, color 0.2s;
}
.cot-opt-card.selected .cot-opt-check { background: var(--accent); color: var(--text-primary); }

/* ── Checkbox pills ── */
.cot-cpills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.cot-cpill {
  padding: 8px 16px;
  border: 1.5px solid #e4e4e0; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  cursor: pointer; user-select: none;
  transition: all 0.2s;
}
.cot-cpill:hover { border-color: var(--text-primary); color: var(--text-primary); }
.cot-cpill.selected { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

/* ── Image option grid ── */
.cot-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 4px;
}
@media (max-width: 575px) {
  .cot-img-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.cot-img-card {
  position: relative; cursor: pointer; user-select: none;
  display: flex; flex-direction: column;
  background: #f7f7f5; border: 1.5px solid #e8e8e5;
  border-radius: 16px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cot-img-card:hover { border-color: #c8c8c3; transform: translateY(-2px); }
.cot-img-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.18);
}

.cot-img-thumb {
  position: relative;
  width: 100%; aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.cot-img-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.35s ease;
}
.cot-img-card:hover .cot-img-thumb img { transform: scale(1.05); }

.cot-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #f0f0ec; color: #bbb; font-size: 28px;
}

.cot-img-check {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid #e0e0dc;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cot-img-card.selected .cot-img-check {
  background: var(--accent); color: var(--text-primary);
  border-color: var(--accent);
}

.cot-img-info {
  padding: 8px 10px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.cot-img-label {
  font-size: 12px; font-weight: 600;
  color: var(--text-primary); line-height: 1.3;
}
.cot-img-desc {
  font-size: 10px; color: var(--text-muted); line-height: 1.4;
}

/* ── Size cards ── */
.cot-size-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px; margin-bottom: 4px;
}
.cot-size-card {
  cursor: pointer; user-select: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 10px;
  background: #f7f7f5; border: 1.5px solid #e8e8e5;
  border-radius: 14px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.cot-size-card:hover { border-color: #c8c8c3; }
.cot-size-card.selected {
  border-color: var(--accent);
  background: rgba(245,184,46,0.06);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.15);
}
.cot-size-lbl { font-size: 15px; font-weight: 700; color: var(--text-primary); }
.cot-size-sub { font-size: 10px; color: var(--text-muted); line-height: 1.3; }

/* ── Cantidad cards ── */
.cot-qty-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px; margin-bottom: 4px;
}
.cot-qty-card {
  cursor: pointer; user-select: none;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 10px;
  background: #f7f7f5; border: 1.5px solid #e8e8e5;
  border-radius: 14px; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.cot-qty-card:hover { border-color: #c8c8c3; }
.cot-qty-card.selected {
  border-color: var(--accent);
  background: rgba(245,184,46,0.06);
  box-shadow: 0 0 0 3px rgba(245,184,46,0.15);
}
.cot-qty-label { font-size: 13px; font-weight: 600; color: var(--text-primary); }

/* ── Yes/No cards ── */
.cot-yn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 4px; }
.cot-yn-card {
  cursor: pointer; user-select: none;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 36px 20px 30px;
  background: #f7f7f5; border: 2px solid #e8e8e5;
  border-radius: 22px; text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s, transform 0.25s;
}
.cot-yn-card:hover { border-color: #aaa; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.cot-yn-card:first-child:hover { border-color: var(--accent); background: rgba(245,184,46,0.04); }
.cot-yn-card:last-child:hover  { border-color: var(--text-primary); background: rgba(2,48,71,0.04); }
.cot-yn-card.selected:first-child {
  border-color: var(--accent); background: rgba(245,184,46,0.08);
  box-shadow: 0 0 0 4px rgba(245,184,46,0.18), 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.cot-yn-card.selected:last-child {
  border-color: var(--text-primary); background: rgba(2,48,71,0.06);
  box-shadow: 0 0 0 4px rgba(2,48,71,0.12), 0 12px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.cot-yn-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 600; line-height: 1;
}
.cot-yn-card:first-child .cot-yn-icon { background: rgba(245,184,46,0.15); color: #b8860b; }
.cot-yn-card:last-child  .cot-yn-icon { background: rgba(2,48,71,0.10); color: var(--text-primary); }
.cot-yn-card.selected:first-child .cot-yn-icon { background: var(--accent); color: var(--text-primary); }
.cot-yn-card.selected:last-child  .cot-yn-icon { background: var(--text-primary); color: #fff; }
.cot-yn-lbl  { font-size: 16px; font-weight: 700; color: var(--text-primary); letter-spacing: -0.01em; }
.cot-yn-desc { font-size: 12px; color: var(--text-muted); }

/* ── Resumen multi-producto ── */
.cot-sum-product {
  background: #f7f7f5; border-radius: var(--radius-md);
  padding: 16px 20px; margin-top: 14px;
}
.cot-sum-product-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-primary); margin: 0 0 10px;
}

/* ── Grid 3 columnas (cajas medidas) ── */
.cot-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 575px) { .cot-grid-3 { grid-template-columns: 1fr 1fr; } }

/* ── Error inline ── */
.cot-ferr {
  display: none; font-size: 12px; color: #ef4444; font-weight: 500;
  margin: 8px 0 0 2px;
}

/* ====================== BRAND INTRO ====================== */
.brand-intro-section {
  padding: 100px 0 80px;
}

.brand-intro-inner { max-width: 720px; }

.brand-intro-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(245,184,46,0.14);
  border: 1px solid rgba(245,184,46,0.35);
  border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--accent-2); margin-bottom: 32px;
}
.brand-intro-pill .bi { font-size: 13px; }

.brand-intro-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1.08;
  color: var(--text-primary); margin: 0 0 24px;
}
.brand-intro-title .serif-italic { color: var(--accent); }

.brand-intro-body {
  font-size: 17px; line-height: 1.7;
  color: var(--text-muted);
  max-width: 580px; margin: 0 0 48px;
}

.brand-intro-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.bi-stat { display: flex; flex-direction: column; gap: 4px; }
.bi-stat-num {
  font-size: 36px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--accent); line-height: 1;
}
.bi-stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.bi-stat-divider { width: 1px; height: 40px; background: var(--border); }

@media (max-width: 575px) {
  .brand-intro-stats { gap: 20px; }
  .bi-stat-divider { display: none; }
}

/* ====================== SHOWCASE INTERACTIVO ====================== */
.showcase-section {
  padding: 20px 0 0;
  position: relative;
  z-index: 1;
  background: transparent;
}
.showcase-header { max-width: 600px; margin-bottom: 40px; }

/* ── Escenario ── */
.showcase-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 3 / 2;
  overflow: visible;
  cursor: default;
}

/* Imagen real — border-radius aquí, no en el stage, para no clipear las tarjetas */
.showcase-bg {
  position: absolute; inset: 0;
  border-radius: 0;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 8%, black 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-composite: intersect;
}
.showcase-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  mix-blend-mode: multiply;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform-origin 0s;
  transform-origin: center center;
}

/* Placeholder mientras no hay foto */
.showcase-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #012235 0%, #023047 45%, #034a6a 100%);
  overflow: hidden;
}
.sp-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
/* SVG de cada producto posicionado en su cuadrante */
.sp-svg { position: absolute; opacity: 0.55; }
.sp-svg--1 { width: 110px; height: 130px; left: 14%; top: 22%; }
.sp-svg--2 { width: 130px; height: 110px; left: 35%; top: 52%; }
.sp-svg--3 { width: 120px; height: 120px; left: 61%; top: 16%; }
.sp-svg--4 { width: 90px;  height: 140px; left: 78%; top: 38%; }

/* ── Hotspots ── */
.showcase-hotspot {
  position: absolute;
  left: var(--hx); top: var(--hy);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hotspot-dot {
  position: relative; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(245,184,46,0.25);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.hotspot-dot:hover, .showcase-hotspot:hover .hotspot-dot {
  transform: scale(1.12);
  box-shadow: 0 0 0 10px rgba(245,184,46,0.20);
}
.hotspot-num {
  font-size: 13px; font-weight: 700;
  color: var(--text-primary); letter-spacing: 0.01em;
}
/* Anillo pulsante */
.hotspot-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(245,184,46,0.50);
  animation: hotspot-pulse 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes hotspot-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}


/* ── Hotspot card ── */
.hotspot-card {
  position: absolute; top: 50%;
  width: 220px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.16), 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  z-index: 10;
}
.hotspot-card--right {
  left: calc(100% + 14px);
  padding: 18px 20px 16px 26px;
  transform: translateY(-50%) translateX(-8px);
}
.hotspot-card--left {
  right: calc(100% + 14px);
  padding: 18px 26px 16px 20px;
  transform: translateY(-50%) translateX(8px);
}
.showcase-hotspot.active .hotspot-card { opacity: 1; pointer-events: auto; }
.showcase-hotspot.active .hotspot-card--right { transform: translateY(-50%) translateX(0); }
.showcase-hotspot.active .hotspot-card--left  { transform: translateY(-50%) translateX(0); }

.hotspot-card-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent); background: rgba(245,184,46,0.12);
  border-radius: 4px; padding: 2px 7px; margin-bottom: 8px;
}
.hotspot-card-name {
  font-size: 14px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.02em; margin: 0 0 5px; line-height: 1.2;
}
.hotspot-card-desc {
  font-size: 11px; color: var(--text-muted);
  line-height: 1.5; margin: 0 0 12px;
}
.hotspot-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  color: var(--text-primary); text-decoration: none;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 1px;
  transition: gap 0.2s;
}
.hotspot-card-link:hover { gap: 7px; }

/* ── Panel de info debajo de imagen ── */
.showcase-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 4px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: none;
  background: rgba(255,255,255,0.55);
}
.showcase-panel-item {
  padding: 28px 28px 24px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  opacity: 0.40;
  transition: opacity 0.3s, background 0.3s;
  cursor: pointer;
}
.showcase-panel-item:last-child { border-right: none; }
.showcase-panel-item.is-active,
.showcase-panel-item:hover {
  opacity: 1;
  background: rgba(255,255,255,0.85);
}
.sp-item-num {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(245,184,46,0.10);
  border-radius: 4px; padding: 2px 7px;
  margin-bottom: 10px;
}
.sp-item-name {
  font-size: 15px; font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 6px; line-height: 1.2;
}
.sp-item-desc {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.5; margin: 0 0 14px;
}
.sp-item-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
}
@media (max-width: 768px) {
  .showcase-panel { display: none; }
}

/* ── Mobile fallback ── */
.showcase-mobile { display: none; padding-top: 32px; padding-bottom: 80px; }
.showcase-mob-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: gap 0.2s;
}
.showcase-mob-card:hover { gap: 20px; }
.showcase-mob-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent); flex-shrink: 0; width: 28px;
}
.showcase-mob-info { flex: 1; }
.showcase-mob-name { font-size: 15px; font-weight: 600; color: var(--text-primary); margin: 0 0 2px; }
.showcase-mob-desc { font-size: 13px; color: var(--text-muted); margin: 0; }
.showcase-mob-arrow { color: var(--text-muted); font-size: 16px; flex-shrink: 0; }

@media (max-width: 768px) {
  .showcase-stage { display: none; }
  .showcase-mobile { display: block; }
  .showcase-section { padding-bottom: 0; }
}

/* =====================================================================
   MOBILE RESPONSIVE — iPhone / iPad
   Breakpoints: 768px (tablet), 480px (phone)
   ===================================================================== */

/* ── Shared section padding reductions ── */
@media (max-width: 768px) {
  /* Sections */
  .products-section        { padding: 72px 0 56px; }
  .process-section         { padding: 0 0 64px; }
  .process-header          { padding: 56px 0 32px; }
  .materials-section,
  .finishes-section        { padding: 72px 0; }
  .faq-section             { padding: 72px 0; }
  .contact-section         { padding: 80px 0; }
  .brand-intro-section     { padding: 64px 0 48px; }
  .gallery-mask-block      { padding: 48px 0; }
  .pdp-variants-section,
  .pdp-finishes-section    { padding: 64px 0; }

  /* Section titles */
  .section-title           { font-size: clamp(30px, 7.5vw, 48px); }
  .section-eyebrow         { font-size: 10px; }

  /* Process steps padding */
  .process-step            { padding: 36px 0; }
  .process-step-desc       { font-size: 15px; }

  /* Gallery track — smaller cards */
  .gallery-item            { flex: 0 0 240px; }

  /* FAQ accordion font size */
  .faq-accordion .accordion-button { font-size: 17px; padding: 20px 0; }
  .faq-accordion .accordion-body   { font-size: 15px; }

  /* Contact title */
  .contact-title { font-size: clamp(32px, 7.5vw, 56px); }
  .contact-lead  { font-size: 16px; }

  /* Materials card names */
  .material-name, .finish-name { font-size: 18px; padding: 16px 16px 6px; }
  .material-desc, .finish-desc { font-size: 13px; padding: 0 16px 20px; }

  /* Product card body */
  .product-card-body { padding: 20px 22px 28px; }

  /* Hero v4 topbar */
  .hv4-topbar { padding: 100px 24px 0; flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Brand intro */
  .brand-intro-title { font-size: clamp(28px, 7vw, 48px); }
  .brand-intro-body  { font-size: 15px; }

  /* Cotizador card */
  .cot-card        { border-radius: 20px; }
  .cot-topbar      { padding: 14px 20px; }
  .cot-viewport    { padding: 28px 24px 24px; min-height: 260px; }
  .cot-footer      { padding: 16px 24px 22px; }
  .cot-title       { font-size: clamp(22px, 5vw, 32px); }

  /* PDP sections */
  .pdp-cta-section { padding: 80px 0; }
}

/* ── iPhone (< 480px) ── */
@media (max-width: 480px) {
  /* Sections */
  .products-section    { padding: 56px 0 40px; }
  .process-section     { padding: 0 0 48px; }
  .process-header      { padding: 44px 0 24px; }
  .materials-section,
  .finishes-section    { padding: 56px 0; }
  .faq-section         { padding: 56px 0; }
  .contact-section     { padding: 64px 0; }
  .brand-intro-section { padding: 48px 0 36px; }

  /* Gallery — 2 items visible */
  .gallery-item  { flex: 0 0 200px; }
  .gallery-track { gap: 14px; }

  /* Process step */
  .process-step       { padding: 28px 0; }
  .process-step-title { font-size: clamp(26px, 7vw, 40px); }

  /* Contact form */
  .segment-options { grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq-accordion .accordion-button { font-size: 15px; padding: 16px 0; }

  /* Cotizador — very compact on phone */
  .cot-viewport { padding: 22px 18px 20px; }
  .cot-footer   { padding: 14px 18px 18px; }
  .cot-topbar   { padding: 12px 16px; }
  .cot-card     { border-radius: 16px; }
  .cot-section-header { margin-bottom: 32px; }

  /* Brand intro stats */
  .bi-stat-num { font-size: 28px; }

  /* Product card */
  .product-card-body { padding: 16px 18px 22px; }
}

/* ── Footer — stacked layout ── */
@media (max-width: 768px) {
  .site-footer { padding: 56px 0 28px; }

  /* Logo full width, columns stack */
  .footer-brand-row { padding-bottom: 40px; }
  .footer-brand-logo { width: 100%; max-width: 260px; }

  /* Bootstrap row cols → 2 columns of links */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 24px;
  }
  .footer-legal { gap: 16px; flex-wrap: wrap; }
}

/* ── Navbar mobile menu ── */
@media (max-width: 991px) {
  .mobile-menu {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(2,48,71,0.08);
    padding: 16px 24px 24px;
    gap: 0;
  }
  .mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(2,48,71,0.06);
    transition: color 0.2s;
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu a:hover { color: var(--accent); }
}

/* ── Hero v4 — full width on mobile ── */
@media (max-width: 480px) {
  .hv4-topbar { padding: 90px 20px 0; gap: 6px; }
  .hv4-proof  { display: none; }
}

/* ── PDP product variants — always 2 cols on phone ── */
@media (max-width: 480px) {
  .pdp-variants-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdp-finishes-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdp-cta-section    { padding: 60px 0; }
  .pdp-cta-sub        { font-size: 15px; }
}

/* ── Hero mobile — texto arriba, carrusel abajo ── */
@media (max-width: 991px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: 88px;
    padding-bottom: 56px;
    align-items: flex-start;
  }
  .hero .row { flex-direction: column; }
  .hero-text  { padding-bottom: 0; }
  .hero-title { font-size: clamp(40px, 10vw, 72px); }
  .hero-subtitle { font-size: 16px; max-width: 100%; }
  .scroll-indicator { display: none; }

  .hero-carousel-col {
    width: 100%;
    padding-top: 40px;
  }
  .hero-carousel-3d {
    height: 360px;
    width: 100%;
  }
  .hc3d-track { height: 290px; perspective: 800px; }

  /* Sidebar products más pequeños en tablet */
  .hc3d-item      { width: 200px; }
  .hc3d-item[data-idx="2"] { width: 230px; }
  .hc3d-item[data-idx="1"] { width: 180px; }

  /* prev/next más atrás en tablet */
  .hc3d-item.prev { transform: translate(calc(-50% - 180px), -50%) translateZ(-110px) rotateY(42deg) scale(0.78); }
  .hc3d-item.next { transform: translate(calc(-50% + 180px), -50%) translateZ(-110px) rotateY(-42deg) scale(0.78); }
}

@media (max-width: 480px) {
  .hero-carousel-3d { height: 300px; }
  .hc3d-track       { height: 250px; perspective: 700px; }

  .hc3d-item      { width: 150px; }
  .hc3d-item[data-idx="2"] { width: 172px; }
  .hc3d-item[data-idx="1"] { width: 135px; }

  /* Reduce offset de los productos laterales en phone */
  .hc3d-item.prev { transform: translate(calc(-50% - 130px), -50%) translateZ(-90px) rotateY(38deg) scale(0.72); }
  .hc3d-item.next { transform: translate(calc(-50% + 130px), -50%) translateZ(-90px) rotateY(-38deg) scale(0.72); }
}
