/* ==========================================================================
   Espacios Conscientes — Hoja de Estilos Principal (Versión Premium Animada)
   Estética: Calma, Orden, Armonía, Lujo Cálido y Minimalismo
   Efecto 6: Movimiento de Fondo Ambiental + Cursor Glow + 3D Tilt + Micro-animaciones
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Paleta cromática */
  --bg-base: #fcfbf8;
  --bg-surface: rgba(255, 255, 255, 0.78);
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  
  --text-main: #2d262a;
  --text-muted: #6e6469;
  --text-light: #948990;
  
  --primary: #7e4b6d;
  --primary-hover: #6c3f5d;
  --primary-light: rgba(126, 75, 109, 0.12);
  --primary-foreground: #ffffff;
  
  --accent: #b47597;
  --accent-light: rgba(180, 117, 151, 0.15);
  --accent-glow: rgba(180, 117, 151, 0.35);
  
  --gold-star: #e5a93b;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba5a;
  
  --border-subtle: rgba(110, 100, 105, 0.14);
  --border-focus: rgba(126, 75, 109, 0.45);
  
  --shadow-soft: 0 10px 30px -5px rgba(60, 45, 55, 0.06), 0 4px 12px -2px rgba(60, 45, 55, 0.03);
  --shadow-hover: 0 20px 45px -10px rgba(60, 45, 55, 0.13), 0 8px 18px -4px rgba(60, 45, 55, 0.05);
  --shadow-glow: 0 0 25px rgba(180, 117, 151, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Tipografía */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --container-max: 1240px;
  --header-height: 82px;
}

/* Reset y Bases */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-color: transparent;
}

body.no-scroll {
  overflow: hidden;
}

/* Lienzo de Fondo Ambiental (Efecto 6) */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
}

/* Cursor Glow Seguidor Suave */
.cursor-ambient-glow {
  position: fixed;
  top: -160px;
  left: -160px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 117, 151, 0.22) 0%, rgba(225, 195, 175, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

/* Notificación Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-main);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Contenedor */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Tipografía de Encabezados */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Botones y CTAs Magnéticos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 14px rgba(126, 75, 109, 0.28);
}

/* Shimmer Sweep Animation */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: btnShimmer 5s infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% { transform: translateX(-100%); }
  25% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 75, 109, 0.4);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.65);
  border-color: var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 20px;
  font-size: 0.85rem;
}

/* Header & Navegación */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height, 92px);
  z-index: 50;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  height: 72px;
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
  transform: scale(1.03);
}

/* El logo transparente oficial en la cabecera */
.site-header:not(.scrolled) .logo-dark {
  display: none !important;
}

.site-header:not(.scrolled) .logo-light {
  display: block !important;
  height: 92px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .logo-light {
  display: none !important;
}

.site-header.scrolled .logo-dark {
  display: block !important;
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .site-header:not(.scrolled) .logo-light {
    height: 64px;
    max-width: 160px;
  }
  .site-header.scrolled .logo-dark {
    height: 40px;
  }
}

.nav-desktop {
  display: none;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  position: relative;
}

/* En el Hero inicial transparente */
.site-header:not(.scrolled) .nav-link {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.site-header:not(.scrolled) .nav-link:hover {
  opacity: 0.75;
}

/* Con scroll pegajoso */
.site-header.scrolled .nav-link {
  color: var(--text-muted);
  text-shadow: none;
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Teléfono en Header (Desktop) */
.header-phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(110, 100, 105, 0.06);
  border: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

@media (min-width: 1100px) {
  .header-phone-link {
    display: inline-flex;
  }
}

.site-header:not(.scrolled) .header-phone-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.site-header:not(.scrolled) .header-phone-link:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.site-header.scrolled .header-phone-link:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Selector de Idiomas */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(110, 100, 105, 0.08);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header:not(.scrolled) .lang-switcher {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.site-header:not(.scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.scrolled) .lang-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled .lang-btn:hover:not(.active) {
  color: var(--text-main);
}

/* Botón Hamburguesa Móvil */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 60;
  transition: all 0.25s ease;
}

.site-header:not(.scrolled) .mobile-menu-btn {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  transition: all 0.3s ease;
}

.site-header:not(.scrolled) .mobile-menu-btn span {
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú Móvil Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(252, 251, 248, 0.98);
  backdrop-filter: blur(20px);
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary);
}

/* Tarjetas Glassmorphic con Glow */
.glow-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.glow-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(180, 117, 151, 0.3);
}

.glow-card:hover::before {
  opacity: 1;
}

.glow-card > * {
  position: relative;
  z-index: 2;
}

/* Secciones Comunes */
section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 65px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* 1. Hero Section — Formato Pantalla Completa / Full-Screen Inmersivo */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  overflow: hidden;
  text-align: center;
}

.hero-backdrop-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 14, 20, 0.38) 0%,
    rgba(22, 14, 20, 0.48) 45%,
    rgba(18, 12, 16, 0.76) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.68), 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  max-width: 880px;
}

.hero-title span {
  display: block;
}

.hero-title .italic-accent {
  font-style: italic;
  color: #f7dbe8;
  font-weight: 400;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Micro-badges flotantes en el espacio inmersivo del Hero */
.hero-badges-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.hero-badges-layer .floating-badge {
  pointer-events: auto;
}

.floating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  color: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  animation: floatSoft 6s ease-in-out infinite alternate;
}

.floating-badge:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.26);
}

.floating-badge .badge-icon {
  font-size: 1.6rem;
}

.floating-badge .badge-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.floating-badge .badge-text span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-badge-left {
  position: absolute;
  top: 38%;
  left: -20px;
}

.hero-badge-right {
  position: absolute;
  top: 50%;
  right: -20px;
}

@media (max-width: 1100px) {
  .hero-badge-left, .hero-badge-right {
    position: static;
  }
  .hero-badges-layer {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
  }
}

/* 2. Estadísticas / Metas de Confianza (NUEVO) */
.stats-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: 18px 12px;
}

.stat-number-wrap {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-suffix {
  color: var(--accent);
  font-size: 0.85em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3. Filosofía Section */
.philosophy-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(247, 243, 237, 0.6) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.philosophy-header-centered {
  max-width: 860px;
  margin: 0 auto 36px auto;
  text-align: center;
}

.philosophy-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 600;
}

.philosophy-intro-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 26px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-header-centered .philosophy-quote-box {
  display: inline-block;
  max-width: 760px;
  margin: 0 auto;
  border-left: none;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 20px 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.philosophy-header-centered .philosophy-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--primary);
  margin: 0;
}

.philosophy-panoramic-container {
  position: relative;
  width: 100%;
  max-width: 1160px;
  margin: 40px auto 0 auto;
}

/* 4. Servicios Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08) rotate(3deg);
  background: var(--accent-light);
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

/* 5. Método ("Manos a la obra") */
.method-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.method-step {
  display: flex;
  gap: 28px;
  padding: 32px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.method-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateX(6px);
}

.step-num-badge {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
  min-width: 50px;
}

.step-content h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.step-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.step-body {
  font-size: 1rem;
  line-height: 1.7;
}

.method-media-panoramic {
  margin-top: 60px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
}

.method-media-panoramic img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* 6. Packs Section */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (min-width: 1200px) {
  .packs-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pack-card {
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.pack-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(126, 75, 109, 0.18);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
}

@media (min-width: 1200px) {
  .pack-card.featured {
    transform: translateY(-12px);
  }
  .pack-card.featured:hover {
    transform: translateY(-18px);
  }
}

.pack-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(126, 75, 109, 0.3);
}

.pack-header {
  margin-bottom: 16px;
}

.pack-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
  font-weight: 600;
}

.pack-name {
  font-size: 1.65rem;
  margin-top: 4px;
}

.pack-pricing {
  margin-bottom: 20px;
}

.pack-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1;
}

.pack-hours {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.pack-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 28px;
}

.pack-card .btn {
  width: 100%;
}

/* 7. Testimonios Section (NUEVO) */
.testimonials-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(246, 241, 235, 0.5) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--gold-star);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.test-quote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar-initial {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-meta {
  display: flex;
  flex-direction: column;
}

.test-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-main);
}

.test-loc {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* 8. Sobre Mí Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.about-portrait-wrapper {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.about-portrait {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-subtle);
  display: block;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.about-badge-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-intro {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 18px;
  color: var(--text-main);
}

.about-body {
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-signature {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--primary);
}

/* 9. FAQs Section */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover, .faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.faq-trigger {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.faq-question-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
  font-weight: 500;
  transition: color 0.2s ease;
}

.faq-item.open .faq-question-text,
.faq-trigger:hover .faq-question-text {
  color: var(--primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

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

.faq-answer-inner {
  padding: 0 26px 26px 26px;
}

.faq-answer-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* 10. Contacto Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-card {
  padding: 44px 36px;
}

.contact-logo-empecemos {
  width: 120px;
  height: auto;
  margin-bottom: 24px;
}

.contact-info-card h2 {
  margin-bottom: 16px;
}

.contact-body-text {
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.direct-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  position: relative;
}

.channel-link:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.channel-link.wa-channel .channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #1ea952;
}

.channel-link:hover .channel-icon {
  background: var(--primary);
  color: #ffffff;
}

.channel-link.wa-channel:hover .channel-icon {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.channel-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.channel-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.channel-action {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.channel-copy-btn {
  background: rgba(110, 100, 105, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.channel-copy-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Formulario */
.contact-form-card {
  padding: 44px 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-light);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success-notice {
  display: none;
  background: rgba(220, 240, 225, 0.9);
  border: 1px solid rgba(120, 180, 140, 0.4);
  color: #2b5435;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

/* Floating Action Bar */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--shadow-hover);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  border: none;
}

.floating-btn.wa {
  background: var(--whatsapp-green);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.floating-btn.ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.35);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

.floating-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-full);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseRipple 2.2s infinite;
}

@keyframes pulseRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Modal Interactivo de WhatsApp */
.whatsapp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.whatsapp-modal-overlay.active .whatsapp-modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background-color 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.12);
  color: var(--text-main);
}

.wa-modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.wa-modal-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--whatsapp-green);
}

.wa-modal-title {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.wa-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #1b8543;
  font-weight: 600;
}

.wa-status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--whatsapp-green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.wa-modal-body p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.wa-topics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.wa-topic-chip {
  padding: 12px 16px;
  background: rgba(246, 243, 238, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wa-topic-chip:hover {
  background: #ffffff;
  border-color: var(--whatsapp-green);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
  transform: translateX(4px);
  color: #128c3e;
}

/* Footer */
.site-footer {
  padding: 60px 0 40px 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.5);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  font-style: italic;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-contact-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-links a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

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

/* Barra de Progreso de Lectura / Scroll Superior */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent-light, #e8a8c8));
  z-index: 1000;
  transition: width 0.08s ease-out;
  box-shadow: 0 1px 6px rgba(126, 75, 109, 0.45);
}

/* Animaciones de Scroll Reveal Suaves y Elegantes */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.42s; }
.reveal-delay-5 { transition-delay: 0.52s; }

/* ==========================================================================
   Nuevas Animaciones de Alto Impacto (Inspiradas en Crocoblock & SVGator)
   1. Animated Headline con trazo caligráfico
   2. Micro-Badges Flotantes con Levitation Parallax
   3. Hotspots Interactivos estilo Radar con Tooltips Glassmorphism
   4. Parallax Multicapa 3D Suave
   ========================================================================== */

/* 1. Animated Headline / Trazo Caligráfico */
.animated-highlight-wrap {
  position: relative;
  display: inline-block;
}

.hand-drawn-underline {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 18px;
  pointer-events: none;
  overflow: visible;
}

.hand-drawn-underline path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawUnderline 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes drawUnderline {
  to {
    stroke-dashoffset: 0;
  }
}

/* 2. Micro-Badges Flotantes en Hero (Parallax & Levitación) */
.hero-image-wrapper {
  position: relative;
  perspective: 1000px;
}

.hero-parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 35px -8px rgba(45, 38, 42, 0.16), 0 4px 12px -2px rgba(45, 38, 42, 0.08);
  border-radius: var(--radius-full);
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  user-select: none;
}

.floating-badge:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 20px 40px -8px rgba(180, 117, 151, 0.3);
}

.badge-top-left {
  top: 8%;
  left: -20px;
  animation: floatLevitate1 4.5s ease-in-out infinite alternate;
}

.badge-bottom-right {
  bottom: 8%;
  right: -20px;
  animation: floatLevitate2 5s ease-in-out infinite alternate 0.8s;
}

@media (max-width: 768px) {
  .badge-top-left {
    top: 4%;
    left: 10px;
  }
  .badge-bottom-right {
    bottom: 4%;
    right: 10px;
  }
  .floating-badge {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

.badge-icon {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

@keyframes floatLevitate1 {
  0% { transform: translateY(0px) rotate(-1deg); }
  100% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes floatLevitate2 {
  0% { transform: translateY(0px) rotate(1deg); }
  100% { transform: translateY(-14px) rotate(-1deg); }
}

/* 3. Hotspots Interactivos en Fotos Panorámicas */
.panoramic-header-hint {
  text-align: center;
  margin-bottom: 16px;
}

.hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.hint-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(180, 117, 151, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(180, 117, 151, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(180, 117, 151, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(180, 117, 151, 0);
  }
}

.hotspots-image-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px -10px rgba(45, 38, 42, 0.16), 0 0 0 1px var(--border-subtle);
}

.hotspots-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotspot {
  position: absolute;
  z-index: 25;
  transform: translate(-50%, -50%);
}

.hotspot-trigger {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  padding: 0;
}

.hotspot-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.75;
  animation: hotspotRadar 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hotspotRadar {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hotspot-dot {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(45, 38, 42, 0.3), 0 0 0 3px var(--accent);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.hotspot:hover .hotspot-dot,
.hotspot.active .hotspot-dot {
  transform: scale(1.15);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(126, 75, 109, 0.45), 0 0 0 3px #ffffff;
}

.hotspot-card {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.95);
  width: 290px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px -8px rgba(45, 38, 42, 0.22), 0 4px 14px rgba(45, 38, 42, 0.08);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 35;
}

.hotspot-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.96) transparent transparent transparent;
}

.hotspot:hover .hotspot-card,
.hotspot.active .hotspot-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Alineación para hotspots en los extremos */
.hotspot[data-hotspot="1"] .hotspot-card {
  left: -10px;
  transform: translateY(10px) scale(0.95);
}
.hotspot[data-hotspot="1"]:hover .hotspot-card,
.hotspot[data-hotspot="1"].active .hotspot-card {
  transform: translateY(0) scale(1);
}
.hotspot[data-hotspot="1"] .hotspot-card::after {
  left: 28px;
  transform: none;
}

.hotspot[data-hotspot="4"] .hotspot-card {
  left: auto;
  right: -10px;
  transform: translateY(10px) scale(0.95);
}
.hotspot[data-hotspot="4"]:hover .hotspot-card,
.hotspot[data-hotspot="4"].active .hotspot-card {
  transform: translateY(0) scale(1);
}
.hotspot[data-hotspot="4"] .hotspot-card::after {
  left: auto;
  right: 28px;
  transform: none;
}

.hotspot-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
}

.hotspot-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.hotspot-card-desc {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-main);
  margin: 0;
}

@media (max-width: 768px) {
  .hotspots-main-img {
    height: 390px;
  }
  .hotspot-card {
    width: 235px;
    padding: 12px 14px;
  }
  .hotspot-card-title {
    font-size: 0.9rem;
  }
  .hotspot-card-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .hotspot[data-hotspot="1"] .hotspot-card {
    left: -20px;
  }
  .hotspot[data-hotspot="4"] .hotspot-card {
    right: -20px;
  }
}
