/* ==========================================================================
   JD ESTUDIO WEB - DISEÑO WEB A MEDIDA EN COLOMBIA
   Estética Arena / Avena (Warm Sand & Oatmeal Aesthetic)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Paleta Arena / Avena */
  --bg-primary: #f6f3eb;        /* Fondo Avena Suave */
  --bg-secondary: #eee9df;      /* Arena Media */
  --bg-surface: #ffffff;        /* Blanco cálido para tarjetas */
  --bg-glass: rgba(246, 243, 235, 0.92);

  --border-subtle: rgba(44, 40, 34, 0.12);
  --border-medium: rgba(44, 40, 34, 0.22);
  --border-focus: #c25e38;      /* Terracota */

  --text-primary: #1c1917;      /* Carbón cálido */
  --text-secondary: #57534e;
  --text-muted: #78716c;

  --accent-terracotta: #c25e38;
  --accent-emerald: #15803d;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* ==========================================================================
   TIPOGRAFÍA DEFINITIVA: SPACE GROTESK + MANROPE
   ========================================================================== */
body {
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display) !important;
  letter-spacing: -0.02em;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

h1, h2, h3, h4, .font-display {
  letter-spacing: -0.02em;
}

/* ==========================================================================
   0. PANTALLA INTRO FULLSCREEN TRANSPARENTE (ESTILO SAVAGEVELVET)
   La información ahora flota de forma transparente para apreciar el arte 3D
   ========================================================================== */
#intro-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background-color: #0d0c0b;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease-out, visibility 0.38s;
  user-select: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

#intro-screen.intro-dismissed {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Fondo Obsidiana Arquitectónico con Cuícula Digital & Gradientes Sutiles */
.intro-fullscreen-bg {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  background-color: #090807;
  background-image: 
    radial-gradient(circle at 50% 45%, rgba(194, 94, 56, 0.08) 0%, transparent 65%),
    radial-gradient(circle at 15% 85%, rgba(44, 40, 34, 0.45) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
  background-position: center center, center center, center center, center center;
  transform: scale(1.04);
  transition: transform 0.15s ease-out;
  pointer-events: none;
}

/* Canvas de Cuadros y Bloques 3D de Obsidiana & Cristal */
#fluid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
  pointer-events: none;
}

/* Luz de Brillo Dinámico que Sigue al Cursor */
.intro-glare-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 520px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.12), transparent 75%);
  mix-blend-mode: screen;
}

/* Badge Superior Elegante de la Portada (Atelier & Estudio de Diseño) */
.intro-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.35rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4), inset 0 1px 1px 0 rgba(255, 255, 255, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-top-badge:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.5), inset 0 1px 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.intro-top-badge-text {
  font-family: var(--font-body), 'Manrope', -apple-system, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, rgba(246, 243, 235, 0.82) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .intro-top-badge {
    padding: 0.42rem 1rem;
    gap: 0.5rem;
  }
  .intro-top-badge-text {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    white-space: normal;
    text-align: center;
  }
}

/* Contenedor Central 100% Transparente (La información flota sin cajas que tapen el arte) */
.intro-center-card {
  position: relative;
  z-index: 10;
  max-width: 820px;
  width: 90%;
  padding: 20px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center;
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out;
}

/* Tipografía en Texto Transparente Translúcido con el fondo montañoso de Monserrate */
.intro-mountain-title {
  font-family: var(--font-display), 'Space Grotesk', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.38) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.75));
  line-height: 1.1;
}

.intro-mountain-desc {
  font-family: var(--font-body), 'Manrope', sans-serif !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.52) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* Botón Iniciar Recorrido Transparente Estilo Apple Glass */
.btn-enter-studio {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), inset 0 1px 1.5px rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-enter-studio span {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.btn-enter-studio:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.85) !important;
}

.btn-enter-studio:active {
  transform: scale(0.96) !important;
  opacity: 0.85 !important;
  transition-duration: 0.05s !important;
}

.btn-enter-studio::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  opacity: 0.65;
  animation: pulse-ring 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ==========================================================================
   MENÚ DESPLEGABLE / DRAWER LATERAL (ELEGANTE, LIMPIO Y SIN SATURACIÓN)
   ========================================================================== */
.menu-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #f6f3eb;
  z-index: 10000;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.18);
  border-left: 1px solid rgba(44, 40, 34, 0.12);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.menu-drawer-backdrop.active .menu-drawer-panel {
  transform: translateX(0);
}

.menu-nav-link {
  display: block;
  font-size: 1.45rem;
  font-weight: 700;
  color: #1c1917;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 40, 34, 0.08);
  transition: color 0.2s ease, transform 0.2s ease;
}

.menu-nav-link:hover {
  color: #c25e38;
  transform: translateX(6px);
}



/* ==========================================================================
   ESTILOS GENERALES DEL SITIO ARENA / AVENA
   ========================================================================== */
.ambient-glow {
  position: fixed;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
}

.glow-top-left {
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, #e9dfcf 0%, #ded2be 100%);
}

.glow-mid-right {
  top: 35%;
  right: -150px;
  background: radial-gradient(circle, #ecdcc8 0%, #f1e3cf 100%);
}

.glow-bottom-left {
  bottom: 10%;
  left: -80px;
  background: radial-gradient(circle, #e6ded1 0%, #dbd0be 100%);
}

.sand-glass-nav {
  background: rgba(246, 243, 235, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(44, 40, 34, 0.12);
  box-shadow: 0 4px 20px -2px rgba(44, 40, 34, 0.06);
}

.sand-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(44, 40, 34, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 94, 56, 0.35);
  box-shadow: 0 12px 28px -6px rgba(44, 40, 34, 0.08);
}

/* Tarjetas de Blanco Límpido & Brillo Permanente (Sin necesidad de hover) */
.card-bright-glow {
  background-color: #ffffff !important;
  border: 1px solid rgba(44, 40, 34, 0.16) !important;
  box-shadow: 0 16px 45px -4px rgba(44, 40, 34, 0.14), 0 4px 18px rgba(0, 0, 0, 0.06), inset 0 1px 0 #ffffff !important;
  position: relative;
  transition: all 0.25s ease;
}

.card-bright-glow:hover {
  transform: translateY(-2px);
  border-color: rgba(194, 94, 56, 0.45) !important;
  box-shadow: 0 22px 55px -4px rgba(44, 40, 34, 0.18), 0 6px 20px rgba(194, 94, 56, 0.12), inset 0 1px 0 #ffffff !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: #1c1917;
  color: #f6f3eb;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(28, 25, 23, 0.15);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #c25e38;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 94, 56, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: rgba(44, 40, 34, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  background: #15803d;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.22);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #166534;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 128, 61, 0.32);
}

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #15803d;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(21, 128, 61, 0.45);
}

.config-card-option {
  cursor: pointer;
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s ease;
  user-select: none;
}

.config-card-option:hover {
  border-color: rgba(194, 94, 56, 0.45);
  background: #fffefb;
}

.config-card-option.selected {
  border-color: #c25e38;
  background: #faf4ed;
  box-shadow: 0 0 0 2px rgba(194, 94, 56, 0.2);
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.faq-header {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
}

.faq-header:hover {
  color: #c25e38;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 400px;
  opacity: 1;
  padding-bottom: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #c25e38;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.ticker-wrapper {
  overflow: hidden;
  user-select: none;
  display: flex;
  gap: 2rem;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 3rem;
  min-width: 100%;
  animation: scroll-ticker 32s linear infinite;
}

@keyframes scroll-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.ticker-wrapper:hover .ticker-track {
  animation-play-state: paused;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1c1917;
  color: #f6f3eb;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid #15803d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  animation: slide-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-toast {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 768px) {
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    bottom: 20px;
    right: 20px;
  }
}

/* ==========================================================================
   CURSOR PERSONALIZADO CON CÍRCULO DINÁMICO & FLECHA DIRECCIONAL
   ========================================================================== */
@media (pointer: fine) and (hover: hover) {
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: #c25e38;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, transform 0.05s linear;
  }

  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(194, 94, 56, 0.7);
    background-color: rgba(194, 94, 56, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999998;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease,
                background-color 0.2s ease;
  }

  .custom-cursor-ring .cursor-arrow-icon {
    width: 14px;
    height: 14px;
    color: #c25e38;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
  }

  /* Estado cuando el cursor pasa por botones, enlaces, tarjetas y controles */
  body.cursor-active .custom-cursor-ring {
    width: 48px;
    height: 48px;
    border-color: #c25e38;
    background-color: rgba(194, 94, 56, 0.12);
    backdrop-filter: blur(1px);
  }

  body.cursor-active .custom-cursor-ring .cursor-arrow-icon {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  body.cursor-active .custom-cursor-dot {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.5);
  }

  /* Estado dentro de la pantalla Intro de montaña */
  body.cursor-on-intro .custom-cursor-ring {
    border-color: rgba(253, 251, 247, 0.85);
    background-color: rgba(253, 251, 247, 0.08);
  }

  body.cursor-on-intro .custom-cursor-ring .cursor-arrow-icon {
    color: #fdfbf7;
  }

  body.cursor-on-intro .custom-cursor-dot {
    background-color: #fdfbf7;
  }
}

@media (pointer: coarse) {
  .custom-cursor-dot,
  .custom-cursor-ring {
    display: none !important;
  }
}

/* Tarjeta Destacada de Funcionalidades Ampliadas */
.calc-feature-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-feature-card:hover {
  border-color: #c25e38;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.calc-feature-card.selected {
  border-color: #c25e38 !important;
  background-color: #fff !important;
  box-shadow: 0 6px 20px rgba(194, 94, 56, 0.12) !important;
}

.calc-feature-card.selected .feat-check {
  background-color: #c25e38;
  color: white;
}

/* ==========================================================================
   ARQUITECTURA RESPONSIVA MULTI-DISPOSITIVO & ULTRA RENDIMIENTO
   Adaptación impecable para iPhone, Samsung, Xiaomi, Motorola y cualquier gama
   ========================================================================== */

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Prevenir auto-zoom molesto de iOS Safari en campos de formulario */
input, select, textarea {
  font-size: 16px !important;
}

/* Teléfonos y pantallas compactas (menos de 640px) */
@media (max-width: 639px) {
  /* Espaciado de secciones más compacto y sin desperdicio vertical */
  section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }

  /* Padding interno en tarjetas adaptado para pantallas angostas (iPhone SE, Galaxy A, etc.) */
  .sand-card, .card-bright-glow {
    padding: 1.25rem !important;
    border-radius: 20px !important;
  }

  /* Escala tipográfica fluida */
  h1 {
    font-size: 2.15rem !important;
    line-height: 1.15 !important;
  }

  h2 {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
  }

  h3 {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  /* Botones con altura mínima ergonómica para dedos (48px) */
  .btn-primary, .btn-secondary, .btn-whatsapp {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 20px !important;
    font-size: 0.9rem !important;
  }

  /* Pantalla de inicio en celulares */
  .intro-mountain-title {
    font-size: 2.35rem !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.75rem !important;
  }

  .intro-mountain-desc {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    padding: 0 6px !important;
    margin-bottom: 1.5rem !important;
  }

  .btn-enter-studio {
    padding: 14px 28px !important;
    font-size: 0.88rem !important;
  }

  /* Botón flotante de WhatsApp ergonómico */
  .floating-whatsapp {
    bottom: 16px !important;
    right: 16px !important;
    padding: 10px 16px !important;
    font-size: 0.82rem !important;
    box-shadow: 0 10px 25px rgba(21, 128, 61, 0.4) !important;
  }

  /* Barra de navegación superior */
  .sand-glass-nav {
    padding: 8px 14px !important;
  }

  /* Opciones del configurador táctiles */
  .config-card-option {
    padding: 14px !important;
  }
}

/* Teléfonos medianos y Tablets (640px a 1024px) */
@media (min-width: 640px) and (max-width: 1023px) {
  section {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }
}

/* ==========================================================================
   BANNER DE COOKIES & MODAL DE GESTIÓN DE CACHÉ Y PRIVACIDAD
   ========================================================================== */
.cookie-banner-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 998;
  max-width: 420px;
  width: calc(100% - 3rem);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-container.hidden-banner {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.cookie-banner-container.cookie-banner-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(44, 40, 34, 0.14);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: 0 20px 45px -8px rgba(44, 40, 34, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-cookie-primary {
  background-color: #c25e38;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  flex: 1;
  justify-content: center;
}

.btn-cookie-primary:hover {
  background-color: #aa4d2a;
  transform: translateY(-1px);
}

.btn-cookie-secondary {
  background: transparent;
  color: #44403c;
  border: 1px solid rgba(44, 40, 34, 0.2);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  cursor: pointer;
  flex: 1;
  justify-content: center;
}

.btn-cookie-secondary:hover {
  background: rgba(44, 40, 34, 0.05);
  border-color: rgba(44, 40, 34, 0.35);
  color: #1c1917;
}

/* Modal de Cookies & Caché */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.hidden-modal {
  opacity: 0;
  pointer-events: none;
}

.modal-dialog-container {
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-card {
  background: #ffffff;
  border: 1px solid rgba(44, 40, 34, 0.15);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  max-height: 88vh;
}

.modal-body-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  max-height: calc(88vh - 180px);
  padding-right: 4px;
}

.modal-body-scroll::-webkit-scrollbar {
  width: 6px;
}

.modal-body-scroll::-webkit-scrollbar-thumb {
  background: rgba(44, 40, 34, 0.2);
  border-radius: 10px;
}

@media (max-width: 640px) {
  .cookie-banner-container {
    bottom: 5.25rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .modal-card {
    padding: 1.25rem !important;
  }
}
