/* ==========================================================================
   ALMA MOLDE STUDIO — IDENTIDAD ESCULTÓRICA & ACUARELA MINERAL
   Paleta extraída fielmente del Logo:
   - Jade Profundo & Esmeralda Botánico (#081512, #123B31, #1E6B56, #52A890)
   - Alabastro & Yeso Mineral (#F5F7F2, #E4ECE6, #C9D8CF)
   - Oro Viejo Caligráfico & Ámbar Solar (#D4AF37, #E5B94E, #E89438, #F4C44E)
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-primary: #07120F;
  --bg-secondary: #0B1B17;
  --bg-elevated: rgba(16, 38, 32, 0.72);
  --bg-glass: rgba(11, 27, 23, 0.78);
  --bg-card: linear-gradient(155deg, rgba(19, 46, 38, 0.76) 0%, rgba(9, 23, 19, 0.88) 100%);

  --text-primary: #F4F6F0;
  --text-secondary: #C5D3CA;
  --text-muted: #849E92;

  --jade-deep: #0E342A;
  --jade-core: #1E6B56;
  --jade-bright: #46A389;
  --jade-mist: rgba(46, 134, 110, 0.22);

  --alabaster-pure: #F7F9F4;
  --alabaster-soft: #DCE6DF;

  --gold-primary: #D4AF37;
  --gold-bright: #ECC865;
  --amber-solar: #E89438;
  --amber-glow: rgba(232, 148, 56, 0.24);

  --border-subtle: rgba(212, 175, 55, 0.18);
  --border-jade: rgba(70, 163, 137, 0.25);
  --shadow-ambient: 0 28px 70px -18px rgba(2, 9, 7, 0.82);
  --shadow-gold: 0 12px 38px -10px rgba(212, 175, 55, 0.28);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* MODO CONTRALOGO ALABASTRO (Yeso Puro de Día con Acuarela Jade & Oro) */
[data-theme="light"] {
  --bg-primary: #F4F5EE;
  --bg-secondary: #EAECE2;
  --bg-elevated: rgba(255, 255, 252, 0.82);
  --bg-glass: rgba(244, 245, 238, 0.85);
  --bg-card: linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, rgba(234, 241, 236, 0.88) 100%);

  --text-primary: #0B211B;
  --text-secondary: #2B4C42;
  --text-muted: #58776D;

  --jade-deep: #D9EAE3;
  --jade-core: #185B49;
  --jade-bright: #1E6B56;
  --jade-mist: rgba(30, 107, 86, 0.14);

  --gold-primary: #B0841E;
  --gold-bright: #986F12;
  --amber-solar: #D4791C;
  --amber-glow: rgba(232, 148, 56, 0.18);

  --border-subtle: rgba(176, 132, 30, 0.24);
  --border-jade: rgba(30, 107, 86, 0.22);
  --shadow-ambient: 0 24px 60px -18px rgba(14, 45, 36, 0.14);
  --shadow-gold: 0 14px 36px -10px rgba(176, 132, 30, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.6s cubic-bezier(0.22, 1, 0.36, 1), color 0.6s ease;
  position: relative;
}

::selection {
  background: var(--gold-primary);
  color: #07120F;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1260px, 92vw);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Textura Mineral de Yeso (Sutil grano táctil) */
.mineral-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 0.6px, transparent 0.6px),
                    radial-gradient(rgba(212, 175, 55, 0.7) 0.5px, transparent 0.5px);
  background-size: 26px 26px, 38px 38px;
  background-position: 0 0, 13px 17px;
}

/* Lienzo de Acuarela & Polvo de Oro */
#watercolor-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.78;
}

/* Cursor Personalizado */
.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  box-shadow: 0 0 12px var(--gold-primary);
}

.cursor-ring.is-hovering {
  width: 62px;
  height: 62px;
  border-color: var(--amber-solar);
  background: radial-gradient(circle, rgba(232, 148, 56, 0.16) 0%, rgba(30, 107, 86, 0.1) 100%);
}

@media (hover: none), (max-width: 900px) {
  .cursor-ring,
  .cursor-dot {
    display: none;
  }
}

/* ==========================================================================
   HEADER FLOTANTE MINIMALISTA
   ========================================================================== */
.site-header {
  position: fixed;
  top: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, 94vw);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-ambient);
  transition: all 0.4s ease;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem-mini {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.brand-emblem-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  color: var(--text-secondary);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--jade-mist);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.85rem 0.42rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-jade);
  background: rgba(30, 107, 86, 0.14);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.theme-switch:hover {
  border-color: var(--gold-primary);
  color: var(--text-primary);
}

.theme-switch-track {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1E6B56 0%, #E89438 100%);
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 2px;
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #F7F9F4;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="light"] .theme-dot {
  transform: translateX(12px);
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1E6B56 0%, #164F40 48%, #C8962E 100%);
  color: #F7F9F4;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(236, 200, 101, 0.45);
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -6px rgba(232, 148, 56, 0.45);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #63F5C8;
  box-shadow: 0 0 0 0 rgba(99, 245, 200, 0.7);
  animation: pulseJade 2.2s infinite;
}

@keyframes pulseJade {
  0% { box-shadow: 0 0 0 0 rgba(99, 245, 200, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(99, 245, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 245, 200, 0); }
}

/* ==========================================================================
   SECCIÓN I: HERO ESCULTÓRICO & CONTRALOGO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 8.5rem 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Auras de Acuarela inspiradas en el Logo (Jade a la izquierda, Alabastro al centro, Ámbar a la derecha) */
.hero-ambient-auras {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  animation: floatAura 14s ease-in-out infinite alternate;
}

.aura-jade {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, #1E6B56 0%, rgba(16, 62, 50, 0) 72%);
  top: 6%;
  left: -8%;
}

.aura-amber {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(232, 148, 56, 0.75) 0%, rgba(212, 175, 55, 0) 72%);
  top: 12%;
  right: -10%;
  animation-delay: -5s;
}

.aura-alabaster {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(234, 242, 237, 0.25) 0%, transparent 70%);
  top: 26%;
  left: 36%;
  animation-delay: -9s;
}

@keyframes floatAura {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(28px, -24px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 4rem;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.eyebrow-line {
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--jade-bright), var(--gold-primary));
}

.eyebrow-code {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.85rem, 5.4vw, 5.15rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.title-line {
  display: block;
}

.title-italic {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(92deg, #6FD6B8 0%, #F5F7F2 44%, #ECC865 74%, #E89438 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .title-italic {
  background: linear-gradient(92deg, #145443 0%, #246A56 38%, #B58118 75%, #D4721A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* La Onda Dorada Caligráfica del Logo */
.signature-wave-wrap {
  margin: 1.1rem 0 1.35rem;
  max-width: 390px;
}

.signature-wave-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.28));
}

.wave-path {
  transform-origin: left center;
  animation: waveBreathe 6s ease-in-out infinite alternate;
}

@keyframes waveBreathe {
  0% { transform: scaleX(0.98) translateY(0); }
  100% { transform: scaleX(1.02) translateY(-2px); }
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: 2.1rem;
  font-weight: 300;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-lead em {
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.22em;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1E6B56 0%, #247861 42%, #D4AF37 100%);
  color: #F9FAF6;
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(236, 200, 101, 0.5);
  box-shadow: var(--shadow-gold);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(232, 148, 56, 0.52);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 107, 86, 0.1);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
}

.metric-num small {
  font-size: 0.95rem;
  margin-left: 2px;
  color: var(--jade-bright);
}

.metric-caption {
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* ==========================================================================
   MEDALLÓN DEL LOGO & CONTRALOGO 3D INTERACTIVO
   ========================================================================== */
.hero-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.medallion-stage {
  position: relative;
  width: min(490px, 88vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.orbital-rings {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  pointer-events: none;
}

.orbit-outer {
  transform-origin: center;
  animation: spinSlow 46s linear infinite;
}

.orbit-mid {
  transform-origin: center;
  animation: spinSlow 34s linear infinite reverse;
}

.orbit-inner {
  transform-origin: center;
  animation: spinSlow 26s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.medallion-halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(
    from 190deg at 50% 50%,
    rgba(30, 107, 86, 0.72) 0deg,
    rgba(66, 158, 132, 0.5) 115deg,
    rgba(244, 246, 240, 0.45) 180deg,
    rgba(232, 148, 56, 0.72) 265deg,
    rgba(212, 175, 55, 0.65) 320deg,
    rgba(30, 107, 86, 0.72) 360deg
  );
  filter: blur(36px);
  opacity: 0.78;
  transition: transform 0.3s ease;
}

.medallion-core {
  position: relative;
  width: 76%;
  height: 76%;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.medallion-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  padding: 7px;
  background: linear-gradient(135deg, #2D8A70 0%, #E7ECE8 48%, #E5B94E 75%, #E89438 100%);
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(212, 175, 55, 0.4),
    inset 0 0 28px rgba(255, 255, 255, 0.35);
}

.medallion-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.03);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.contralogo-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold-bright);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: spinSlow 60s linear infinite;
}

.medallion-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 248, 220, 0.32) 0%,
    rgba(212, 175, 55, 0.08) 38%,
    transparent 68%
  );
}

/* Etiquetas Flotantes de la Paleta del Logo */
.floating-swatch {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
  transform: translateZ(36px);
  animation: floatChip 5s ease-in-out infinite alternate;
}

.swatch-jade {
  top: 6%;
  left: -12%;
}

.swatch-alabaster {
  bottom: 8%;
  left: -10%;
  animation-delay: -2s;
}

.swatch-amber {
  top: 18%;
  right: -13%;
  animation-delay: -3.5s;
}

@keyframes floatChip {
  0% { transform: translateZ(36px) translateY(0); }
  100% { transform: translateZ(36px) translateY(-7px); }
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.swatch-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.swatch-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.swatch-hex {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-bright);
}

/* Cinta Cinética en Bajorrelieve */
.relief-ticker {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(90deg, rgba(18, 59, 49, 0.35) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(232, 148, 56, 0.25) 100%);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: tickerScroll 34s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
}

.ticker-diamond {
  color: var(--gold-primary);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ENCABEZADOS DE SECCIÓN COMUNES
   ========================================================================== */
.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-bright);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  font-weight: 300;
}

/* ==========================================================================
   SECCIÓN II: TRÍADA CROMÁTICA DEL CONTRALOGO
   ========================================================================== */
.essence-section {
  padding: 7rem 0 5.5rem;
  position: relative;
}

.triad-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.triad-card {
  position: relative;
  padding: 2.4rem 2rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.triad-card:hover {
  transform: translateY(-8px);
}

.triad-number {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0.22;
  position: absolute;
  top: 1.5rem;
  right: 1.8rem;
}

.triad-color-bar {
  width: 56px;
  height: 5px;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.triad-jade .triad-color-bar {
  background: linear-gradient(90deg, #1E6B56, #52B79B);
  box-shadow: 0 0 20px rgba(30, 107, 86, 0.7);
}

.triad-jade:hover {
  border-color: #46A389;
}

.triad-alabaster .triad-color-bar {
  background: linear-gradient(90deg, #F5F7F2, #C4D6CC);
  box-shadow: 0 0 20px rgba(245, 247, 242, 0.5);
}

.triad-alabaster:hover {
  border-color: #DCE6DF;
}

.triad-amber .triad-color-bar {
  background: linear-gradient(90deg, #D4AF37, #E89438);
  box-shadow: 0 0 20px rgba(232, 148, 56, 0.65);
}

.triad-amber:hover {
  border-color: #E89438;
}

.triad-name {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.triad-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
  margin-bottom: 1.1rem;
}

.triad-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
}

.triad-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.triad-specs span {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN III: COLECCIÓN DE MOLDES DE YESO
   ========================================================================== */
.catalog-section {
  padding: 6rem 0;
}

.catalog-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--text-primary);
}

.filter-btn.active {
  background: linear-gradient(135deg, #1E6B56 0%, #C89B3C 100%);
  color: #F7F9F4;
  font-weight: 500;
  box-shadow: 0 6px 18px rgba(30, 107, 86, 0.35);
}

.mold-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.mold-card {
  border-radius: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, opacity 0.35s ease;
}

.mold-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold-primary);
}

.mold-card.is-hidden {
  display: none;
}

.mold-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0A1814;
}

.mold-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.mold-card:hover .mold-visual img {
  transform: scale(1.06);
}

.mold-tag {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: rgba(11, 29, 24, 0.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(70, 163, 137, 0.5);
  color: #8AF3D5;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mold-tag.tag-amber {
  border-color: rgba(232, 148, 56, 0.6);
  color: #FFD099;
}

.mold-tag.tag-gold {
  border-color: rgba(212, 175, 55, 0.7);
  color: #F6DF92;
}

.mold-overlay-meta {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 2.2rem 1.25rem 0.9rem;
  background: linear-gradient(to top, rgba(6, 17, 14, 0.92) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #DCE6DF;
}

.mold-body {
  padding: 1.85rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mold-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
}

.mold-code {
  color: var(--jade-bright);
  letter-spacing: 0.1em;
}

.mold-dimensions {
  color: var(--gold-bright);
}

.mold-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.mold-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex: 1;
}

.mold-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.mold-features {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.mold-features li::before {
  content: "✦ ";
  color: var(--gold-primary);
}

.mold-inquire-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold-primary);
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.mold-inquire-link:hover {
  background: var(--gold-primary);
  color: #07120F;
}

/* ==========================================================================
   SECCIÓN IV: LABORATORIO INTERACTIVO DE CONTRALOGO & VACIADO
   ========================================================================== */
.alchemy-section {
  padding: 6.5rem 0;
  position: relative;
}

.alchemy-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(16, 48, 39, 0.55) 0%, rgba(11, 25, 21, 0.85) 55%, rgba(62, 42, 16, 0.42) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-ambient);
}

[data-theme="light"] .alchemy-wrapper {
  background: linear-gradient(135deg, rgba(218, 236, 229, 0.8) 0%, rgba(248, 249, 244, 0.95) 55%, rgba(247, 232, 205, 0.78) 100%);
}

.alchemy-copy {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1.1rem;
}

.alchemy-copy strong {
  color: var(--gold-bright);
}

.casting-control-card {
  margin: 1.8rem 0;
  padding: 1.4rem 1.5rem;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.casting-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  margin-bottom: 0.9rem;
}

.cast-state {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.cast-state.active {
  color: var(--gold-bright);
  font-weight: 600;
}

.casting-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #1E6B56 0%, #F4F6F0 50%, #E89438 100%);
  outline: none;
  margin-bottom: 0.75rem;
}

.casting-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F7F9F4;
  border: 3px solid #D4AF37;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.8);
  cursor: ew-resize;
}

.casting-Hint {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.lighting-presets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.preset-title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preset-btn {
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.preset-btn.active,
.preset-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.18);
  color: var(--text-primary);
}

/* Visor Comparador Matriz / Positivo */
.mold-comparator {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.3;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6);
  user-select: none;
  cursor: ew-resize;
}

.comparator-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.layer-negative {
  background: radial-gradient(circle at var(--light-x, 35%) var(--light-y, 35%), #1B5A49 0%, #071713 78%);
}

.negative-sculpture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.comparator-logo {
  width: 78%;
  height: 78%;
  object-fit: contain;
  border-radius: 50%;
  filter: invert(0.92) hue-rotate(155deg) saturate(1.4) contrast(1.25);
  mix-blend-mode: luminosity;
  opacity: 0.85;
}

.layer-positive {
  clip-path: polygon(var(--cast-progress, 48%) 0, 100% 0, 100% 100%, var(--cast-progress, 48%) 100%);
  background: #14120E;
}

.positive-sculpture {
  width: 100%;
  height: 100%;
}

.comparator-cast-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.04) contrast(1.05);
}

.layer-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 18, 15, 0.82);
  border: 1px solid rgba(70, 163, 137, 0.55);
  color: #8AF3D5;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.layer-badge.badge-gold {
  left: auto;
  right: 1rem;
  border-color: rgba(232, 148, 56, 0.7);
  color: #FFE0A3;
}

.comparator-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cast-progress, 48%);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.handle-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, #1E6B56, #ECC865, #E89438);
  box-shadow: 0 0 15px rgba(236, 200, 101, 0.9);
}

.handle-knob {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B1B17;
  border: 2px solid #ECC865;
  color: #ECC865;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   SECCIÓN V: PROCESO ARTESANAL EN 4 TIEMPOS
   ========================================================================== */
.process-section {
  padding: 6rem 0;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-step {
  padding: 2rem 1.7rem;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--jade-bright);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--jade-bright);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SECCIÓN VI: CONTACTO DIRECTO & CONFIGURADOR DE PEDIDO
   ========================================================================== */
.contact-section {
  padding: 6rem 0 7rem;
}

.contact-monolith {
  position: relative;
  border-radius: 34px;
  padding: 3.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.32);
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
}

.monolith-glow-left,
.monolith-glow-right {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  opacity: 0.42;
}

.monolith-glow-left {
  top: -120px;
  left: -120px;
  background: #1E6B56;
}

.monolith-glow-right {
  bottom: -120px;
  right: -120px;
  background: #E89438;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-logo-lockup {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.contact-logo-round {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.05;
}

.contact-heading em {
  color: var(--gold-bright);
  font-style: italic;
}

.contact-intro {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.4rem;
  border-radius: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
  transform: translateX(6px);
}

.channel-jade:hover {
  border-color: var(--jade-bright);
  box-shadow: 0 12px 30px -10px rgba(30, 107, 86, 0.45);
}

.channel-amber:hover {
  border-color: var(--amber-solar);
  box-shadow: 0 12px 30px -10px rgba(232, 148, 56, 0.4);
}

.channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 107, 86, 0.35), rgba(212, 175, 55, 0.25));
  color: var(--gold-bright);
  flex-shrink: 0;
}

.channel-content {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.channel-value {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.channel-action {
  font-size: 0.78rem;
  color: var(--gold-bright);
  margin-top: 0.15rem;
}

.quick-copy-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.copy-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.copy-chip:hover {
  border-color: var(--gold-primary);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
}

/* Configurador de Pedido */
.contact-configurator {
  padding: 2.2rem;
  border-radius: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.config-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.config-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.pill-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.type-pill {
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-align: center;
  transition: all 0.25s ease;
}

.type-pill.active,
.type-pill:hover {
  border-color: var(--gold-primary);
  background: rgba(30, 107, 86, 0.28);
  color: var(--text-primary);
  font-weight: 500;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   FOOTER & TOAST
   ========================================================================== */
.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-primary);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.gold-text {
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  margin-left: 4px;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-contact-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-bright);
}

.footer-sep {
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.toast-notice {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1E6B56, #C89B3C);
  color: #F7F9F4;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMACIONES DE APARICIÓN (SCROLL REVEAL)
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MENÚ MÓVIL & TABLET (BOTÓN HAMBURGUESA + DRAWER ESCULTÓRICO)
   ========================================================================== */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(30, 107, 86, 0.16);
  color: var(--text-primary);
  transition: border-color 0.25s ease, background-color 0.25s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.14);
}

.hamburger-line {
  width: 18px;
  height: 1.6px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.mobile-menu-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(4, 12, 10, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  z-index: 200;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65);
  padding: 1.5rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease;
}

.mobile-drawer-close:hover {
  background: rgba(212, 175, 55, 0.14);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 1.75rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.mobile-nav-link span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: var(--jade-mist);
  border-color: var(--border-subtle);
  transform: translateX(4px);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer-email {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-bright);
  word-break: break-all;
}

/* ==========================================================================
   RESPONSIVE DESIGN — TABLETS (≤ 1080px), MÓVILES GRANDES (≤ 780px) Y PEQUEÑOS (≤ 480px)
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-section {
    padding-top: 7.2rem;
    min-height: auto;
  }

  .hero-grid,
  .alchemy-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-stage {
    order: -1;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .signature-wave-wrap {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics {
    justify-content: center;
    width: 100%;
  }

  .medallion-stage {
    width: min(370px, 76vw);
  }

  .triad-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .triad-cards .triad-card:last-child {
    grid-column: 1 / -1;
  }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .mold-comparator {
    touch-action: pan-y;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 0.75rem;
    width: 94vw;
    padding: 0.5rem 0.65rem 0.5rem 0.7rem;
  }

  .brand-emblem-mini {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .theme-label {
    display: none;
  }

  .theme-switch {
    padding: 0.42rem 0.5rem;
  }

  .cta-pill {
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
  }

  .essence-section,
  .catalog-section,
  .alchemy-section,
  .process-section,
  .contact-section {
    padding: 4.2rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .triad-cards {
    grid-template-columns: 1fr;
  }

  .triad-cards .triad-card:last-child {
    grid-column: auto;
  }

  .catalog-filters {
    width: 100%;
    border-radius: 18px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.4rem;
  }

  .catalog-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mold-showcase-grid,
  .process-timeline,
  .pill-selector {
    grid-template-columns: 1fr;
  }

  .mold-body {
    padding: 1.45rem 1.35rem 1.6rem;
  }

  .mold-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .mold-inquire-link {
    justify-content: center;
    width: 100%;
  }

  .alchemy-wrapper,
  .contact-monolith {
    padding: 1.75rem 1.25rem;
    border-radius: 24px;
  }

  .contact-configurator {
    padding: 1.5rem 1.2rem;
  }

  .hero-metrics {
    flex-wrap: wrap;
    gap: 1.1rem;
  }

  .metric-divider {
    display: none;
  }

  .floating-swatch {
    display: none;
  }

  .medallion-stage {
    width: min(310px, 80vw);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.15rem;
  }

  .footer-brand {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cta-pill {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.15rem, 9.5vw, 2.7rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-ghost {
    width: 100%;
  }

  .mold-overlay-meta {
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.68rem;
  }

  .mold-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .casting-labels,
  .casting-Hint {
    flex-direction: column;
    gap: 0.25rem;
  }

  .layer-badge {
    font-size: 0.58rem;
    padding: 0.28rem 0.6rem;
  }

  .contact-logo-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .channel-card {
    padding: 1rem 1.05rem;
    gap: 0.85rem;
  }

  .channel-value {
    font-size: 1.2rem;
    word-break: break-word;
  }

  .channel-icon {
    width: 44px;
    height: 44px;
  }

  .toast-notice {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
  }
}
