/* Reset y Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #812081; /* Morado corporativo principal */
  --secondary-color: #812081; /* Morado secundario original */
  --accent-color: #ffffff; /* Blanco */
  --text-color: #606060; /* Gris para texto (cambio de negro) */
  --light-gray: #f8f9fa; /* Gris muy claro para secciones alternadas */
  --white: #ffffff; /* Blanco */
  --gray-detail: #606060; /* Gris para detalles */
  --border-color: #e9ecef;
  --shadow: 0 4px 15px rgba(96, 96, 96, 0.1);
  --shadow-hover: 0 12px 30px rgba(96, 96, 96, 0.15);
  --transition: all 0.3s ease-in-out;
}

/* Clases de utilidad para colores corporativos */
.text-primary {
  color: var(--primary-color);
}
.text-dark {
  color: var(--secondary-color);
}
.text-white {
  color: #ffffff;
}
.bg-primary {
  background-color: var(--primary-color);
}
.bg-dark {
  background-color: var(--secondary-color);
}
.bg-white {
  background-color: var(--accent-color) !important;
}
.border-primary {
  border-color: var(--primary-color);
}

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utilidades */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.grid {
  display: grid;
}
.gap-8 {
  gap: 2rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.text-center {
  text-align: center;
}
.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.font-semibold {
  font-weight: 600;
}
.text-red-600 {
  color: #dc2626;
}
.text-green-600 {
  color: #16a34a;
}
.text-gray-600 {
  color: #4b5563;
}
.text-gray-800 {
  color: #1f2937;
}
.text-sm {
  font-size: .875rem;
  line-height: 1.25rem;
}
.mt-12 {
  margin-top: 3rem;
}

/* Botones flotantes */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.floating-buttons .btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.floating-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.floating-buttons .btn i {
  font-size: 24px;
  color: #fff !important;
}

/* Colores de fondo por botón */
.floating-buttons .whatsapp {
  background: #25d366;
} /* verde WhatsApp */
.floating-buttons .email {
  background: #666;
} /* gris */
.floating-buttons .phone {
  background: #812081;
} /* morado Traxteando */

/* Parche móvil/links: forzar icono blanco SIEMPRE y evitar azul en tel/mail */
.floating-buttons .btn,
.floating-buttons .btn:link,
.floating-buttons .btn:visited,
.floating-buttons .btn:active,
.floating-buttons .btn:focus {
  color: #fff !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  outline: none;
  text-decoration: none;
}
.floating-buttons .btn i {
  color: #fff !important;
}
.floating-buttons a[href^="tel:"],
.floating-buttons a[href^="mailto:"],
.floating-buttons a[href*="wa.me"] {
  color: inherit !important;
  text-decoration: none !important;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform .4s ease-in-out;
  padding: 1.5rem;
}
.cookie-popup.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}
.cookie-text {
  flex: 1;
  min-width: 300px;
}
.cookie-text h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: .5rem;
  font-weight: 600;
}
.cookie-text p {
  color: var(--text-color);
  font-size: .95rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: .9rem;
}
.cookie-btn.accept {
  background: var(--primary-color);
  color: var(--white);
}
.cookie-btn.accept:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}
.cookie-btn.reject {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}
.cookie-btn.reject:hover {
  background: var(--secondary-color);
  color: var(--white);
}
.cookie-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
}
.cookie-link:hover {
  text-decoration: underline;
}

/* Legal Pages Styles */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}
.legal-header {
  text-align: center;
  margin-bottom: 4rem;
}
.legal-header .logo-image {
  height: 80px;
  margin-bottom: 2rem;
}
.legal-title {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}
.legal-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}
.legal-content h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: .5rem;
}
.legal-content h3 {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
}
.legal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}
.legal-content ul {
  margin: 1.5rem 0 2rem;
  padding-left: 2rem;
}
.legal-content li {
  margin-bottom: .8rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
}
.legal-content strong {
  color: var(--secondary-color);
  font-weight: 600;
}
.legal-content ul li::marker {
  color: var(--primary-color);
}
.legal-content ul li strong {
  display: inline-block;
  min-width: 120px;
  margin-right: 10px;
}
.legal-back-btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 2rem;
  transition: var(--transition);
}
.legal-back-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Header - FORZAR GRIS SIEMPRE */
.header {
  background: #606060 !important;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-image {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
}
.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 12px 20px;
  background: var(--primary-color);
  border-radius: 25px;
  font-size: .95rem;
  border: 2px solid var(--primary-color);
}
.nav-link:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(46, 46, 46, 0.4), rgba(125, 25, 198, 0.3)), url("public/pasillo_trastero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: #ffffff;
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}
.hero-container {
  position: relative;
  z-index: 1;
}
.hero-logo-large {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(96, 96, 96, 0.3));
}

.hero-logo-mobile {
  display: none;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
}
.hero-logo-mobile-image {
  max-width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(96, 96, 96, 0.3));
}

.hero-title {
  margin-bottom: 2.5rem;
  font-weight: 700;
}
.hero-subtitle-small {
  font-size: 4.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}
.hero-main-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 25px;
  transition: var(--transition);
}
.hero-feature:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white !important;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(129, 32, 129, 0.3);
  border: 2px solid transparent;
}
.cta-button:hover {
  background: white;
  color: var(--primary-color) !important;
  border-color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.cta-button i {
  font-size: 1.1rem;
}

/* Utilidades */
.renewable-energy-banner {
  background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 100%);
  padding: 2rem 0;
  margin-top: 2rem;
}

.renewable-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
}

.renewable-icon {
  width: 60px;
  height: 60px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.renewable-icon i {
  font-size: 1.8rem;
  color: white;
}

.renewable-text h3 {
  margin: 0 0 0.5rem 0;
  color: #155724;
  font-size: 1.4rem;
  font-weight: 600;
}

.renewable-text p {
  margin: 0;
  color: #155724;
  font-size: 1rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .renewable-banner-content {
    flex-direction: column;
    gap: 1rem;
  }

  .renewable-text h3 {
    font-size: 1.2rem;
  }

  .renewable-text p {
    font-size: 0.9rem;
  }
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: var(--secondary-color);
  font-weight: 700;
}

/* Intro Section */
.intro-section {
  max-width: 850px;
  margin: 0 auto 5rem;
  text-align: center;
}
.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a4a4a;
}
.intro-text p {
  margin-bottom: 1.8rem;
}
.intro-text strong.text-primary {
  font-weight: 600;
}
.highlight-text.text-primary {
  font-weight: 600;
  font-size: 1.2rem;
}
.highlight-text span.text-dark {
  color: var(--secondary-color);
}

/* Features Section */
.features {
  padding: 80px 0;
  background: #f8f9fa;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(96, 96, 96, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 2px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(96, 96, 96, 0.15);
  border-color: var(--gray-detail);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 10px rgba(129, 32, 129, 0.3);
}
.feature-icon i {
  font-size: 1.8rem;
  color: white !important;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: .8rem;
  color: var(--secondary-color);
  font-weight: 600;
}
.feature-card p {
  color: #555;
  line-height: 1.6;
  font-size: .95rem;
}

/* Spaces Section */
.spaces {
  padding: 80px 0;
}

.height-info-box {
  background: #ffffff;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 2rem;
  margin: 0 auto 4rem;
  max-width: 60rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(129, 32, 129, 0.1);
}
.height-info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .8rem;
}
.height-info-header i {
  color: var(--primary-color);
  font-size: 2rem;
}
.height-info-header h3.text-primary {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}
.height-info-text {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 0;
}
.height-info-text span.font-semibold.text-primary {
  font-weight: 700;
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

.space-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  border: 2px solid transparent;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.3rem;
}

.space-card .space-size {
  order: 1;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.space-card .space-image-container {
  order: 2;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: transparent;
  z-index: 1;
}

.space-card .space-image {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .3s ease;
}

.space-card h3 {
  order: 3;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .5rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.space-card .space-dimensions {
  order: 4;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.space-card .space-description {
  order: 5;
  font-size: .95rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  height: auto;
  display: flex;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.space-card .space-features {
  order: 6;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .5rem;
  align-items: start;
  min-height: auto;
}

.space-features li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  text-align: left;
  height: auto;
  margin-bottom: .3rem;
}

/* Selector GLOBAL ahora antes del grid, más grande y llamativo en web */
.spaces > .container > .size-switch {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 0 0 2rem 0;
}

/* Ocultar selector global en móvil */
@media (max-width: 768px) {
  .spaces > .container > .size-switch {
    display: none !important;
  }
}

.size-switch-btn {
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  border: 3px solid var(--border-color, #e5e7eb);
  color: var(--text-color, #333);
  padding: 1.2rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: .3px;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  min-width: 140px;
}
.size-switch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color, #812081);
}
.size-switch-btn.active {
  background: var(--primary-color, #812081);
  color: #fff;
  border-color: var(--primary-color, #812081);
  box-shadow: 0 8px 24px rgba(129, 32, 129, 0.25);
  transform: translateY(-1px);
}

/* Selector LOCAL visible en móvil, oculto en web */
.spaces .card-switch {
  order: 50;
  display: flex;
  gap: .5rem;
  margin: .6rem 0 .2rem;
}

/* Ocultar selectores locales en web */
@media (min-width: 769px) {
  .spaces .card-switch {
    display: none !important;
  }
}

/* Ofertas especiales */
.special-offers-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff !important;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(129, 32, 129, 0.3);
  margin-top: 4rem;
}
.special-offers-box h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: #ffffff !important;
}
.special-offers-box h3 i {
  color: #ffcc00;
}
.special-offers-box p {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  color: #ffffff !important;
}
.offer-highlight {
  font-weight: 600;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: #ffffff !important;
}
.offer-highlight i {
  color: #ffcc00;
}

/* Location Section */
.location {
  padding: 80px 0;
  background: #f8f9fa;
}
.location-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.location-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-weight: 600;
}
.location-info p {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  color: #4a4a4a;
}

.location-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.location-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}
.location-feature i.text-primary {
  font-size: 1.4rem;
  width: 25px;
  text-align: center;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 5px solid var(--accent-color);
}
.map-container iframe {
  display: block;
}

/* Contact Section */
.contact {
  padding: 80px 0;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.contact-info h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-weight: 600;
}
.contact-info p {
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  color: #4a4a4a;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
}
.contact-detail i.text-primary {
  font-size: 1.4rem;
  width: 25px;
  text-align: center;
}

.contact-form {
  background: var(--primary-color);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(46, 46, 46, 0.1);
  border: 1px solid #e9ecef;
}
.form-group {
  margin-bottom: 1.8rem;
}
.form-group label {
  display: block;
  margin-bottom: .8rem;
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}
.form-group label em {
  font-style: italic;
  font-weight: normal;
  color: #e0e0e0;
  font-size: .9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #ffffff;
  color: var(--text-color);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.submit-button {
  width: 100%;
  background: #ffffff;
  color: var(--primary-color);
  padding: 18px;
  border: none;
  border-radius: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.submit-button:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.submit-button i {
  font-size: 1.1rem;
}

.contact-form a {
  color: white !important;
  text-decoration: underline;
}
.contact-form a:hover {
  color: #e0e0e0 !important;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
}
.checkbox-group input[type="checkbox"] {
  width: auto !important;
  margin: 0;
  flex-shrink: 0;
  margin-top: 2px;
}
.checkbox-group label {
  margin: 0;
  flex: 1;
  color: white;
  font-size: .9rem;
  line-height: 1.4;
}

/* Estilos para botones de método de contacto */
.contact-method-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-method-options input[type="radio"] {
  display: none;
}

.contact-method-btn {
  flex: 1;
  min-width: 120px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: white !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.contact-method-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.contact-method-btn i {
  font-size: 1.5rem;
  color: white !important;
}

.contact-method-options input[type="radio"]:checked + .contact-method-btn {
  background: white;
  color: var(--primary-color) !important;
  border-color: white;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.contact-method-options input[type="radio"]:checked + .contact-method-btn i {
  color: var(--primary-color) !important;
}

/* Estilos para botones de horario */
.horario-options {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.horario-options input[type="radio"] {
  display: none;
}

.horario-btn {
  flex: 1;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: white !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
}

.horario-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.horario-btn i {
  font-size: 1.2rem;
  color: white !important;
}

.horario-options input[type="radio"]:checked + .horario-btn {
  background: white;
  color: var(--primary-color) !important;
  border-color: white;
}

.horario-options input[type="radio"]:checked + .horario-btn i {
  color: var(--primary-color) !important;
}

/* Footer */
.footer {
  background: #606060;
  color: #ccc;
  padding: 50px 0 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-section h4 {
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.3rem;
}
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 1rem;
}
.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1rem;
}
.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}
.footer-section ul li a i {
  font-size: 1rem;
  width: 20px;
}
.footer-section p {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.footer-section p i.text-primary {
  font-size: 1rem;
  width: 20px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid #444;
  font-size: .95rem;
  color: #aaa;
}
.footer-image {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.footer-fachada-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity .3s ease;
}
.footer-fachada-image:hover {
  opacity: 1;
}

/* Cookie Popup Responsive */
@media screen and (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-text {
    min-width: auto;
  }
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Legal Pages Responsive */
@media screen and (max-width: 768px) {
  .legal-content {
    padding: 2rem;
    margin: 0 1rem;
  }
  .legal-title {
    font-size: 2rem;
  }
  .legal-header .logo-image {
    height: 60px;
  }
}

/* Tablets y pantallas pequeñas (hasta 1024px) */
@media screen and (max-width: 1024px) {
  .spaces-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .space-card.popular {
    transform: scale(1.02);
  }
  .location-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .map-container {
    margin-top: 2rem;
  }
  .hero-main-title {
    font-size: 3.2rem;
  }
  .hero-subtitle-small {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.5rem;
  }

  /* Hide large logo, show mobile logo */
  .hero-logo-large {
    display: none;
  }
  .hero-logo-mobile {
    display: flex;
  }
}

/* Móviles grandes y tablets en vertical (hasta 768px) */
@media screen and (max-width: 768px) {
  .header {
    padding: .8rem 0;
    background: #606060 !important;
  }
  .logo-image {
    height: 60px;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #606060 !important;
    width: 100%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: left .35s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    z-index: 1200;
    overflow-y: auto;
    gap: 1.5rem;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-menu li {
    margin: 0;
  }
  .nav-link {
    font-size: 1.2rem;
    padding: 15px 30px;
    display: inline-block;
    margin: 0 20px;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-main-title {
    font-size: 2.5rem;
  }
  .hero-subtitle-small {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .spaces-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .space-card {
    min-height: auto;
    padding: 2rem 1.5rem;
  }
  .space-card .space-image-container {
    height: 200px;
    margin-bottom: 1.5rem;
  }
  .space-card .space-image {
    max-width: 90%;
    max-height: 90%;
  }
  .footer-content {
    text-align: center;
  }
  .footer-section ul li a,
  .footer-section p {
    justify-content: center;
  }
  .footer-logo {
    height: 50px;
  }
  .hero-logo-mobile-image {
    max-width: 140px;
  }
  .features {
    padding: 20px 0 80px 0;
  }
}

/* Móviles pequeños (hasta 480px) */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .logo-image {
    height: 55px;
  }
  .hero-main-title {
    font-size: 2rem;
  }
  .hero-subtitle-small {
    font-size: 2.2rem;
  }
  .hero-feature i {
    font-size: 1.4rem;
  }
  .cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .feature-card,
  .space-card,
  .contact-form {
    padding: 2rem;
  }
  .intro-text {
    font-size: 1.05rem;
  }
  .special-offers-box h3 {
    font-size: 1.8rem;
  }
  .special-offers-box p {
    font-size: 1.05rem;
  }
  .offer-highlight {
    font-size: 1rem;
    flex-direction: column;
    gap: .2rem;
    line-height: 1.3;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px;
  }
  .submit-button {
    padding: 15px;
    font-size: 1.1rem;
  }
  .space-image-container {
    height: 120px;
  }
  .space-image {
    max-width: 85%;
    max-height: 85%;
  }
  .footer-logo {
    height: 40px;
  }
  .hero-logo-mobile-image {
    max-width: 120px;
  }
  .features {
    padding: 10px 0 80px 0;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA debajo de “Nuestros espacios” */
.tips-banner-cta {
  text-align: center;
  margin-top: 20px;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.cta-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-1px);
}
.tips-banner-note {
  margin-top: 8px;
  color: #6b5a70;
}

/* Hero de página secundaria */
.page-hero {
  background: linear-gradient(180deg, #f4ecf7 0%, #fff 100%);
  padding: 56px 0 34px;
  border-bottom: 1px solid #f0e8f4;
}
.page-hero-inner {
  text-align: center;
}
.page-hero h1 {
  color: #812081;
  margin: 8px 0 6px;
  font-size: 28px;
}
.page-hero p {
  color: #606060;
  max-width: 820px;
  margin: 0 auto;
}
.page-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 16px;
  background: #ede3f2;
  color: #812081;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* Sección Consejos */
.tips {
  background: #faf6fb;
  padding: 48px 0 60px;
}
.tips .section-title {
  color: #812081;
  text-align: center;
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.tips-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

.tip-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
}
.tip-card h3 {
  margin: 10px 0 6px;
  color: #812081;
  font-size: 18px;
}
.tip-card p {
  margin: 0;
  color: #606060;
  line-height: 1.5;
}
.tip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ede3f2;
  color: #812081;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Galería */
.tips-gallery {
  margin: 16px 0 6px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .tips-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .tips-gallery {
    grid-template-columns: 1fr;
  }
}
.gallery-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-item figcaption {
  padding: 10px 12px;
  color: #522b5b;
  font-weight: 600;
}

/* CTA final */
.tips-cta {
  text-align: center;
  margin-top: 18px;
}
.tips-cta .cta-button {
  background: #522b5b;
}
.tips-note {
  margin-top: 10px;
  color: #6b5a70;
  font-size: 14px;
}

/* Estado activo en menú */
.nav-menu .active {
  color: #522b5b;
  font-weight: 700;
}

/* Separador suave + respiración entre altura y CTA */
.spaces .height-info-box {
  margin-bottom: 14px;
}
.spaces .tips-banner-cta {
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
  text-align: center;
}
.spaces .tips-banner-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: clamp(240px, 72%, 720px);
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(82, 43, 91, 0) 0%,
    rgba(82, 43, 91, 0.18) 18%,
    rgba(82, 43, 91, 0.32) 50%,
    rgba(82, 43, 91, 0.18) 82%,
    rgba(82, 43, 91, 0) 100%
  );
  border-radius: 2px;
}
.spaces .cta-secondary {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.spaces .cta-secondary:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.spaces .tips-banner-note {
  margin-top: 8px;
  color: #6b5a70;
  font-size: 14px;
}
@media (max-width: 560px) {
  .spaces .tips-banner-cta {
    margin-top: 14px;
    padding-top: 14px;
  }
}

/* Mejora menú móvil: sin scroll de fondo cuando está abierto */
@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }
}

/* Imagen hero página consejos */
.page-hero-image {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image {
  max-width: 300px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(129, 32, 129, 0.2);
}

/* Botón de reserva flotante */
.floating-reserve-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #812081, #a855f7);
  color: white !important;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(129, 32, 129, 0.4);
  z-index: 999;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: pulse 2s infinite;
  border: none;
  cursor: pointer;
}
.floating-reserve-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 20px rgba(129, 32, 129, 0.6);
  text-decoration: none !important;
  color: white !important;
}
.floating-reserve-btn:visited,
.floating-reserve-btn:active {
  color: white !important;
  text-decoration: none !important;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(129, 32, 129, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(129, 32, 129, 0.7);
  }
  100% {
    box-shadow: 0 4px 15px rgba(129, 32, 129, 0.4);
  }
}
@media (max-width: 768px) {
  .floating-reserve-btn {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .floating-reserve-btn:hover {
    transform: translateX(-50%) translateY(-1px);
  }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  .logo {
    justify-self: start;
  }
  .header-reserve-btn {
    justify-self: center;
  }
  .hamburger {
    justify-self: end;
  }
  .hamburger span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
  }
}

/* Sección de inspiración */
.inspiration-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform .3s ease, box-shadow .3s ease;
}
.inspiration-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.inspiration-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
}
.inspiration-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  display: block;
}
.inspiration-text h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.inspiration-text p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.product-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: all .3s ease;
  border: 2px solid transparent;
}
.temu-link {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}
.temu-link:hover {
  background: white;
  color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.amazon-link {
  background: #ff9900;
  color: white;
  border-color: #ff9900;
}
.amazon-link:hover {
  background: white;
  color: #ff9900;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}
.inspiration-disclaimer {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.inspiration-disclaimer p {
  color: var(--text-color);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}
.inspiration-disclaimer strong {
  color: var(--primary-color);
  font-weight: 600;
}
@media (max-width: 768px) {
  .inspiration-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .inspiration-image {
    height: 200px;
    margin: 0 auto;
    max-width: 100%;
  }
  .product-links {
    justify-content: center;
  }
  .inspiration-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  .inspiration-disclaimer {
    padding: 1.5rem;
    margin-top: 2rem;
  }
}
@media (max-width: 480px) {
  .product-links {
    flex-direction: column;
    align-items: center;
  }
  .product-link {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  .inspiration-text h3 {
    font-size: 1.3rem;
  }
  .inspiration-disclaimer p {
    font-size: .9rem;
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .floating-buttons {
    bottom: 80px; /* Subir un poco para evitar conflicto con botón de reserva */
    right: 15px;
    gap: 10px;
  }

  .floating-buttons .btn {
    width: 50px;
    height: 50px;
  }

  .floating-buttons .btn i {
    font-size: 20px;
  }

  .contact-method-options {
    flex-direction: column;
  }

  .contact-method-btn {
    min-width: auto;
    flex-direction: row;
    justify-content: center;
  }

  .horario-options {
    flex-direction: column;
  }
}

/* ===== FAQ Acordeón ===== */
.faq {
  background: var(--light-gray);
  padding: 2rem 0;
  border-radius: 1rem;
}
.faq .section-title {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.9rem;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}
.accordion-item + .accordion-item {
  margin-top: 0.75rem;
}

.accordion-trigger {
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  border: 0;
  background: var(--white);
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  outline: none;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.accordion-item.open .accordion-trigger {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-trigger .icon {
  font-size: 1.15rem;
  width: 1.4rem;
  display: inline-flex;
  justify-content: center;
}

.chevron {
  margin-left: auto;
  width: 1rem;
  height: 1rem;
  position: relative;
}
.chevron::before,
.chevron::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  margin: auto;
  width: .55rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform .25s ease;
}
.chevron::before {
  transform: translateY(-2px) rotate(45deg);
}
.chevron::after {
  transform: translateY(2px) rotate(-45deg);
}
.accordion-item.open .chevron::before {
  transform: translateY(0) rotate(-45deg);
}
.accordion-item.open .chevron::after {
  transform: translateY(0) rotate(45deg);
}

.accordion-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  will-change: max-height;
  background: var(--white);
  border-top: 1px solid var(--border-color);
}
.panel-inner {
  padding: 1rem 1.1rem 1.2rem;
  color: var(--text-color);
  line-height: 1.6;
}
.panel-inner strong {
  color: inherit;
}

.accordion-trigger:hover {
  background: #faf7fb;
}
.accordion-item.open .accordion-trigger:hover {
  background: #7a1d7a;
}

@media (prefers-reduced-motion: reduce) {
  .accordion-panel,
  .chevron::before,
  .chevron::after {
    transition: none;
  }
}

/* ===== Espacios: orden, selectores y precios (limpio) ===== */
.spaces .space-card {
  display: flex;
  flex-direction: column;
}
.spaces .space-features {
  order: 40;
  margin-bottom: .5rem;
}
.spaces .price-table {
  order: 60;
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: .8rem;
  padding: .75rem .9rem;
  margin-top: .6rem;
  align-self: stretch;
  position: static !important;
  transform: none !important;
}
.spaces .price-row {
  border-bottom: 1px dashed #eee;
  padding: .4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.spaces .price-row:last-child {
  border-bottom: 0;
}

/* Mensual en una línea */
.price-row.mensual .value {
  font-weight: 800;
  color: var(--text-color, #222);
}

/* Anual con equivalente debajo */
.price-row.anual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
}
.price-row.anual .value {
  font-weight: 800;
  color: var(--text-color, #222);
}
.price-row.anual .per-month {
  font-weight: 600;
  color: var(--text-color, #606060);
  font-size: .85rem;
  opacity: 0.85;
  margin: 0;
}

/* Selector LOCAL solo en móvil */
.card-switch-btn {
  -webkit-tap-highlight-color: transparent;
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  color: var(--text-color, #444);
  padding: .6rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, color .2s, border-color .2s;
  min-width: 90px;
  text-align: center;
}
.card-switch-btn.active {
  background: var(--primary-color, #812081);
  color: #fff;
  border-color: var(--primary-color, #812081);
}

@media (min-width: 769px) {
  .card-switch-btn {
    padding: .8rem 1.4rem;
    font-size: 1.1rem;
    min-width: 110px;
  }
}

/* Arreglando la estructura de precios para que se muestren correctamente */
.spaces .price-table {
  order: 60;
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: .8rem;
  padding: .75rem .9rem;
  margin-top: .6rem;
  align-self: stretch;
  position: static !important;
  transform: none !important;
}

.spaces .price-row {
  border-bottom: 1px dashed #eee;
  padding: .4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.spaces .price-row:last-child {
  border-bottom: 0;
}

/* Precio mensual más prominente */
.price-row.mensual .value {
  font-weight: 800;
  color: var(--primary-color, #812081);
  font-size: 1.2rem;
  margin-bottom: .2rem;
}

/* Precio anual con equivalente mensual debajo más pequeño */
.price-row.anual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  text-align: center;
}
.price-row.anual .value {
  font-weight: 700;
  color: var(--text-color, #222);
  font-size: 1.1rem;
}
.price-row.anual .per-month {
  font-weight: 500;
  color: var(--text-color, #666);
  font-size: .8rem;
  opacity: 0.9;
  margin: 0;
  font-style: italic;
}

/* Añadiendo estilos para la tarjeta popular/destacada */
.space-card.popular {
  border: 3px solid var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(-3px);
}

.space-card.popular::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border-radius: 18px;
  z-index: -1;
  opacity: 0.1;
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transform: rotate(-2deg);
}

.space-card.popular:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Añadiendo estilos para el contenedor y botón de reserva */
.reserve-button-container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.reserve-now-btn {
  background: linear-gradient(135deg, #ffcc00, #ff9500);
  color: #522b5b !important;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 3px solid #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: reservePulse 3s infinite;
}

.reserve-now-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 204, 0, 0.6);
  background: linear-gradient(135deg, #ff9500, #ffcc00);
  text-decoration: none !important;
  color: #522b5b !important;
}

.reserve-now-btn:visited,
.reserve-now-btn:active {
  color: #522b5b !important;
  text-decoration: none !important;
}

.reserve-now-btn i:first-child {
  font-size: 1.1em;
  animation: rocket 2s infinite;
}

.reserve-now-btn i:last-child {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.reserve-now-btn:hover i:last-child {
  transform: translateX(4px);
}

@keyframes reservePulse {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
  }
  50% {
    box-shadow: 0 8px 25px rgba(255, 204, 0, 0.7);
  }
}

@keyframes rocket {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* Responsive para el botón de reserva */
@media (max-width: 768px) {
  .reserve-now-btn {
    padding: 14px 24px;
    font-size: 1.1rem;
    gap: 10px;
  }
}
