/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES (Lúdico & Colorido - Pata Pelá)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* Colors - Based on Instagram Identity */
  --bg-main: #faf8f5;       /* Cream/Off-white for backgrounds */
  --bg-card: #ffffff;
  
  --primary: #4d3296;       /* Deep Purple */
  --primary-light: #6b4ec2;
  --secondary: #0aa085;     /* Teal / Mint */
  --secondary-light: #16c2a3;
  --accent-pink: #ee3e61;   /* Watermelon Pink */
  --accent-yellow: #f3a012; /* Orange / Yellow */
  --accent-blue: #2389cd;   /* Optional playful blue */
  
  --text-main: #323232;     /* Dark Grey for readability */
  --text-light: #ffffff;
  --text-muted: #6b7280;
  
  --border-color: #e5e7eb;
  
  /* Fonts */
  --font-title: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Utilities */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --radius-pill: 100px;
  
  --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); /* Bouncy transition */
  --transition-normal: 0.4s ease;
  
  /* Playful solid shadow effect */
  --shadow-playful: 4px 4px 0px rgba(77, 50, 150, 0.15);
  --shadow-hover: 6px 6px 0px rgba(77, 50, 150, 0.25);
  --shadow-card: 0 10px 25px rgba(0,0,0,0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  /* Subtle dot pattern for a notebook/crafty feel */
  background-image: radial-gradient(var(--border-color) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

/* ==========================================================================
   COMMON LAYOUTS & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Graphic Shapes Decorators */
.shape-decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.shape-circle {
  border-radius: 50%;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--border-color);
  transition: var(--transition-fast);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--accent-yellow);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-pink);
  transform: translateY(-2px);
}

.nav-cta {
  background-color: var(--accent-pink);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 1.1rem;
  box-shadow: var(--shadow-playful);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  background-color: #ff5475;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #e0f2f1;
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title span.color-pink { color: var(--accent-pink); }
.hero-title span.color-teal { color: var(--secondary); }
.hero-title span.color-yellow { color: var(--accent-yellow); }

.hero-description {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary);
  color: #fff;
  box-shadow: var(--shadow-playful);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background-color: var(--secondary-light);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  background-color: var(--accent-yellow);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.hero-isometric-img {
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: 12px 12px 0px rgba(0,0,0,0.1);
  border: 6px solid white;
  transform: rotate(3deg);
  transition: var(--transition-normal);
}

.hero-isometric-img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* ==========================================================================
   INTERACTIVE MAP / DECK EXPLORER
   ========================================================================== */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--accent-pink);
  font-family: var(--font-title);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 3rem;
}

/* Map Floor Selector */
.floor-selector {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.floor-btn {
  background-color: #fff;
  border: 2px solid var(--border-color);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.floor-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.floor-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-playful);
}

/* Interactive layout container */
.map-explorer-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Visual Floor Map Canvas */
.map-canvas-container {
  background-color: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  /* Grid paper effect inside canvas */
  background-image: 
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.floor-blueprint {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  height: 400px;
}

.map-zone {
  background-color: #fff;
  border: 3px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
}

.map-zone:hover {
  transform: scale(1.03);
  border-style: solid;
}

.map-zone.active {
  border-style: solid;
  transform: scale(1.05);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.1);
}

/* Room styles colors (Flat Design) */
.zone-purple.active { border-color: var(--primary); background-color: var(--primary); color: white; }
.zone-cyan.active { border-color: var(--secondary); background-color: var(--secondary); color: white; }
.zone-emerald.active { border-color: var(--accent-yellow); background-color: var(--accent-yellow); color: white; }
.zone-rose.active { border-color: var(--accent-pink); background-color: var(--accent-pink); color: white; }

.zone-number {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-zone.active .zone-number {
  color: rgba(255,255,255,0.8);
}

.zone-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
}

/* Floor blueprint positions for Floor 1 */
.floor-blueprint.floor-1 .zone-eventos { grid-column: 1 / 4; grid-row: 1 / 5; }
.floor-blueprint.floor-1 .zone-lab-abierto { grid-column: 4 / 7; grid-row: 1 / 3; }
.floor-blueprint.floor-1 .zone-talleres-demo { grid-column: 4 / 7; grid-row: 3 / 5; }

/* Floor blueprint positions for Floor 2 */
.floor-blueprint.floor-2 .zone-streaming { grid-column: 1 / 3; grid-row: 1 / 3; }
.floor-blueprint.floor-2 .zone-gamer { grid-column: 3 / 5; grid-row: 1 / 3; }
.floor-blueprint.floor-2 .zone-vr { grid-column: 5 / 7; grid-row: 1 / 3; }
.floor-blueprint.floor-2 .zone-musica { grid-column: 1 / 3; grid-row: 3 / 5; }
.floor-blueprint.floor-2 .zone-teatro { grid-column: 3 / 5; grid-row: 3 / 5; }
.floor-blueprint.floor-2 .zone-maker-lab { grid-column: 5 / 7; grid-row: 3 / 5; }

/* Detail Card Panel */
.space-details-panel {
  background-color: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

/* Space Image Placeholder Styles */
.space-image-container {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background-color: #f3f4f6;
}

.space-image-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  /* Playful pattern inside the placeholder */
  background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.placeholder-glow {
  display: none; /* Removed the shimmer for a flatter design */
}

.placeholder-icon {
  font-size: 4.5rem;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.15));
}

.space-image-placeholder:hover .placeholder-icon {
  transform: scale(1.15) rotate(10deg);
}

.detail-header {
  margin-bottom: 20px;
}

.detail-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.badge-purple { background-color: #ede9fe; color: var(--primary); }
.badge-cyan { background-color: #ccfbf1; color: var(--secondary); }
.badge-emerald { background-color: #fef3c7; color: var(--accent-yellow); }
.badge-rose { background-color: #ffe4e6; color: var(--accent-pink); }

.detail-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.detail-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--accent-yellow);
}

.detail-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px dashed var(--border-color);
  padding-top: 20px;
}

.detail-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.detail-price span {
  display: block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--accent-pink);
}

/* ==========================================================================
   PHILOSOPHY & FUTURE SKILLS
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-intro-text {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.skills-wheel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.skill-card {
  background-color: #fff;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.03);
}

.skill-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-yellow);
  box-shadow: 6px 6px 0px var(--accent-yellow);
}

.skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fdf2f8; /* Soft pink */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 2rem;
}

.skill-card:nth-child(even) .skill-icon { background-color: #e0f2f1; }
.skill-card:nth-child(3n) .skill-icon { background-color: #fef3c7; }

.skill-name {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Uniqueness Section banner */
.unique-banner {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 50px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
}

/* Playful background shapes inside the banner */
.unique-banner::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background-color: var(--accent-pink);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 0;
}
.unique-banner::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: 20%;
  width: 100px;
  height: 100px;
  background-color: var(--accent-yellow);
  transform: rotate(45deg);
  opacity: 0.9;
  z-index: 0;
}

.unique-banner-content {
  position: relative;
  z-index: 1;
}

.unique-banner-content h3 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: white;
}

.unique-banner-content p {
  font-size: 1.1rem;
  max-width: 700px;
  opacity: 0.9;
}
.unique-banner .btn {
  position: relative;
  z-index: 1;
  background-color: white;
  color: var(--primary);
}
.unique-banner .btn:hover {
  background-color: var(--accent-yellow);
  color: white;
}

/* ==========================================================================
   VIDEO INTERACTIVE & SHOWCASE
   ========================================================================== */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.interactive-mockup {
  background-color: #fff;
  border: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 8px 8px 0px var(--primary);
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}
.mockup-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: var(--accent-pink); }
.mockup-dot:nth-child(2) { background: var(--accent-yellow); }
.mockup-dot:nth-child(3) { background: var(--secondary); }

.mockup-screen {
  background-color: #e5e7eb;
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.mockup-question-box {
  background-color: white;
  border: 3px solid var(--accent-pink);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 320px;
  box-shadow: 6px 6px 0px var(--accent-pink);
  animation: pop-up 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mockup-question {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.mockup-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-opt {
  background-color: #f9fafb;
  border: 2px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mockup-opt:hover {
  background-color: var(--secondary);
  color: white;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.mockup-achievements {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.achievement-badge {
  background-color: #fff;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-title);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 0px var(--secondary);
}

@keyframes pop-up {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   BOOKING WIZARD ENGINE
   ========================================================================== */
.booking-section {
  background-color: #ede9fe; /* Soft purple background for booking area */
  border-top: 4px dashed white;
  border-bottom: 4px dashed white;
}

.booking-container {
  max-width: 860px;
  margin: 0 auto;
}

.booking-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(77, 50, 150, 0.1);
  position: relative;
}

/* Step indicator */
.steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.steps-indicator::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
  z-index: 1;
}

.step-progress-bar {
  position: absolute;
  top: 18px;
  left: 0;
  height: 4px;
  background-color: var(--accent-pink);
  border-radius: 2px;
  z-index: 2;
  width: 0%;
  transition: var(--transition-normal);
}

.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  z-index: 3;
  transition: var(--transition-fast);
  color: var(--text-muted);
}

.step-dot.active {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: scale(1.1);
}

.step-dot.completed {
  background-color: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}

/* Steps contents */
.wizard-step {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.wizard-step.active {
  display: block;
}

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

.step-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

/* Option cards */
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.option-card {
  background-color: #fff;
  border: 3px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
}

.option-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: 4px 4px 0px var(--secondary);
}

.option-card.selected {
  background-color: #ccfbf1;
  border-color: var(--secondary);
  box-shadow: 4px 4px 0px var(--secondary);
}

.option-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.option-name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.option-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.option-card.selected .option-price {
  color: var(--secondary);
}

/* Forms Sub-selectors */
.booking-subselection {
  display: none;
  animation: fadeIn 0.3s ease-out;
}

.booking-subselection.active {
  display: block;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--primary);
}

.form-input {
  background-color: #f9fafb;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 1rem;
  color: var(--text-main);
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  background-color: #fff;
  box-shadow: 3px 3px 0px rgba(10, 160, 133, 0.2);
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234d3296'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

/* Dynamic price preview bar */
.price-preview-bar {
  background-color: #fef3c7; /* Light yellow */
  border: 3px dashed var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.price-label {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-main);
}

.price-value {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--accent-pink);
}

/* Wizard navigation actions */
.wizard-actions {
  display: flex;
  justify-content: space-between;
}

/* Animated booking ticket */
.ticket-container {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  margin-bottom: 30px;
}

.ticket {
  background-color: #fff;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  width: 320px;
  position: relative;
  box-shadow: 8px 8px 0px var(--primary);
  overflow: hidden;
  animation: ticketIntro 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ticket-header {
  background-color: var(--primary);
  color: white;
  padding: 16px;
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.ticket-notch-left, .ticket-notch-right {
  width: 24px;
  height: 24px;
  background-color: #fff; /* Match ticket bg for illusion, or match panel bg */
  border-radius: 50%;
  position: absolute;
  top: 73px;
  z-index: 10;
}
/* In this context, the panel bg is white, ticket is white. Wait, panel is white, ticket is white. So notch should be white, but the ticket has a border. Let's make notches the color of the panel (white) with border matching the ticket border */
.ticket-notch-left { left: -12px; border: 3px solid var(--primary); }
.ticket-notch-right { right: -12px; border: 3px solid var(--primary); }

.ticket-divider {
  border-top: 3px dashed var(--border-color);
  margin: 0 16px;
  position: absolute;
  top: 85px;
  left: 0;
  right: 0;
}

.ticket-body {
  padding: 36px 24px 20px 24px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 1rem;
}

.ticket-label {
  color: var(--text-muted);
  font-weight: 600;
}

.ticket-val {
  font-weight: 800;
  color: var(--text-main);
}

.ticket-footer {
  background-color: #f9fafb;
  border-top: 2px solid var(--border-color);
  padding: 20px;
  text-align: center;
}

.ticket-barcode {
  background: white;
  height: 50px;
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.barcode-line { background: var(--text-main); width: 3px; height: 100%; }
.barcode-line.wide { width: 6px; }
.barcode-line.thin { width: 1.5px; }

.ticket-code {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #fff;
  border-top: 4px solid var(--primary);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 16px 0 24px 0;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent-pink);
  transform: translateY(-4px) rotate(10deg);
  box-shadow: 4px 4px 0px rgba(238, 62, 97, 0.3);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--secondary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 2px dashed var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .map-explorer-layout { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.8rem; }
  .nav-links { display: none; }
  .option-grid { grid-template-columns: 1fr; }
  .form-group-row { grid-template-columns: 1fr; }
  
  .floor-blueprint {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .floor-blueprint.floor-1 .zone-eventos,
  .floor-blueprint.floor-1 .zone-lab-abierto,
  .floor-blueprint.floor-1 .zone-talleres-demo,
  .floor-blueprint.floor-2 .zone-streaming,
  .floor-blueprint.floor-2 .zone-gamer,
  .floor-blueprint.floor-2 .zone-vr,
  .floor-blueprint.floor-2 .zone-musica,
  .floor-blueprint.floor-2 .zone-teatro,
  .floor-blueprint.floor-2 .zone-maker-lab {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 80px;
  }
  
  .unique-banner { flex-direction: column; text-align: center; padding: 30px 20px; }
  .booking-card { padding: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
