/*=============================================================================
  RUWEN - Estilos Principales
=============================================================================*/

:root {
  /* -- Paleta de Colores de la Marca -- */
  --bg-dark: #1B3039;
  /* Azul Lago Profundo: base para fondos oscuros, títulos y secc. tech */
  --text-dark: #4A4C51;
  /* Gris Basalto: texto sobre fondo claro */
  --bg-light: #F8FAFC;
  /* Blanco Glaciar: fondos limpios, texto sobre oscuros */
  --accent-color: #DB3029;
  /* Rojo RUWEN: CTA, botones, acentos */

  /* -- Tipografías -- */
  --font-body: 'Inter', sans-serif;
  --font-title: 'Sora', sans-serif;
}

/* -- Reset Básico -- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* -- Tipografía General -- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--bg-dark);
  /* Color Azul Lago Profundo por defecto para títulos según guidelines */
  font-weight: 700;
  line-height: 1.2;
}

/* -- Utilidades / Clases Básicas -- */
.text-accent {
  color: var(--accent-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

/* -- Botones -- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(219, 48, 41, 0.3);
}

.btn-primary:hover {
  background-color: #c02822;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 48, 41, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.btn-outline:hover {
  background-color: var(--bg-dark);
  color: var(--bg-light);
}

/*=========================================
  HEADER & NAVEGACIÓN (FLOTANTE)
=========================================*/
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(42, 42, 42, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
  background: rgba(27, 48, 57, 0.7);
  /* Azul oscuro translúcido */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  width: 100%;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.logo-icon {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

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

/* Menú Desplegable */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(27, 48, 57, 0.95);
  backdrop-filter: blur(10px);
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  list-style: none;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/*=========================================
  HERO SECTION (SCROLL CINEMÁTICO)
=========================================*/
.hero-video-section {
  position: relative;
}

/* El espaciador define cuánto scroll tenemos para la animación completa */
.cinematic-spacer {
  height: 400vh;
  /* Aumentado para dar espacio a todas las 5 secuencias de video */
}

.video-sticky-container {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--bg-dark);
}

/* Capas de video */
.video-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* Transición cruzada suave */
  z-index: 1;
}

.video-layer.active {
  opacity: 1;
  z-index: 2;
}

.video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Oscurecemos un poco más la capa base para mayor contraste general */
  background: linear-gradient(90deg, rgba(15, 25, 30, 0.9) 0%, rgba(15, 25, 30, 0.4) 60%, transparent 100%);
  z-index: 3;
  /* Asegurar que la capa overlay está por encima de los videos (z-index 1 y 2) */
}

.hero-video-content {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: 100%;
  z-index: 4;
  /* Contenido por encima de todo */
  display: flex;
  align-items: center;
}

.hero-text-scroll {
  max-width: 800px;
  position: absolute;
  /* Para permitir transiciones limpias y posicionamiento entre escenas */
  transition: opacity 0.8s ease, transform 0.1s ease;
}

.hero-text-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text-scroll.hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.hero-text-scroll.text-scene-1 {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.hero-text-scroll.text-scene-2 {
  top: 25%;
  right: 0%;
  left: auto;
  text-align: right;
  padding-right: 2%;
  /* Pequeño margen para que no toque el borde absoluto */
}

.hero-text-scroll.text-scene-3 {
  top: 25%;
  left: 0;
  text-align: left;
}

.hero-text-scroll.text-scene-4 {
  top: 25%;
  right: 0%;
  left: auto;
  text-align: right;
  padding-right: 2%;
}

.hero-text-scroll {
  max-width: 800px;
}

.hero-title-scroll {
  /* ¡ESCALÁ TUS RESERVAS! */
  font-size: 4rem;
  /* Achicado de 5 a 4rem */
  font-family: var(--font-title);
  font-weight: 800;
  /* Extra bold */
  margin-bottom: 20px;
}

.text-scene-1 .hero-title-scroll {
  opacity: 0;
  animation: fadeInSoft 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: 0.1s;
}

@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-icon {
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-left: 12px;
  display: inline-block;
  transform: translateY(-4px);
  /* Ajuste óptico fino */
}

.hero-title-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle-scroll {
  /* Pasá de vender alojamientos a vender experiencias... */
  font-size: 2.2rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.1s ease;
  line-height: 1.3;
}

.subtitle-1.visible,
.text-scene-2.visible .hero-subtitle-scroll,
.text-scene-3.visible .hero-subtitle-scroll,
.text-scene-4.visible .hero-subtitle-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* --- Ticker Animado (Infinite Scrolling) --- */
.scrolling-ticker-container {
  width: 60%;
  overflow: hidden;
  position: relative;
  margin-top: 25px;
  /* Máscara de desvanecimiento 15% en los bordes */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  pointer-events: none;

  /* Animación de entrada heredando el estilo de la escena */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.1s ease;
  transition-delay: 0.8s;
  /* Retraso para que aparezca después del subtítulo */
}

.text-scene-1.visible .scrolling-ticker-container,
.text-scene-2.visible .scrolling-ticker-container,
.text-scene-3.visible .scrolling-ticker-container,
.text-scene-4.visible .scrolling-ticker-container {
  opacity: 1;
  transform: translateY(0);
}

/* Scene 1 delay custom */
.text-scene-1.visible .scrolling-ticker-container {
  transition-delay: 1.6s;
}

/* Evitar que flex/text-align right de otras escenas rompa el ticker */
.text-scene-2 .scrolling-ticker-container,
.text-scene-4 .scrolling-ticker-container {
  text-align: left;
  margin-left: auto;
}

.scrolling-ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: scrollTicker 35s linear infinite;
  font-family: 'Inter', sans-serif;
  color: #F8F9FA;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1.5px;
}

.ticker-separator {
  opacity: 0.8;
  /* 20% más transparente */
  margin: 0 15px;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Subrayado con SVG tipo lapicera */
.animated-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* Evita que el tramo del SVG se rompa en dos líneas */
}

.pen-stroke {
  position: absolute;
  left: 0;
  bottom: -6px;
  /* Bajamos el trazo un poco debajo de la palabra */
  width: 100%;
  height: 15px;
  pointer-events: none;
  z-index: -1;
  overflow: visible;
}

.pen-stroke path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0.6s;
}

.subtitle-1.visible .animated-underline .pen-stroke path,
.text-scene-2:not(.hidden) .animated-underline .pen-stroke path {
  stroke-dashoffset: 0;
}

/* Localizador / Pin (Scene 2) */
.hero-pin-scene-2 {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 140px;
  height: 140px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0s;
}

.text-scene-2:not(.hidden)~.hero-pin-scene-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.map-pin {
  width: 100%;
  height: 100%;
}

/* Calendario (Scene 1) */
.hero-cal-scene-1 {
  position: absolute;
  bottom: 8%;
  right: 0%;
  width: 140px;
  height: 140px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0s;
}

.text-scene-1.visible~.hero-cal-scene-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.calendar-icon {
  width: 100%;
  height: 100%;
}

/* Polygon Icon (Scene 3) */
.hero-polygon-scene-3 {
  position: absolute;
  bottom: 8%;
  right: 0%;
  width: 140px;
  height: 140px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0s;
}

.text-scene-3:not(.hidden)~.hero-polygon-scene-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.polygon-icon {
  width: 100%;
  height: 100%;
  color: var(--accent-color);
}

/* Compass Icon (Scene 4) */
.hero-compass-scene-4 {
  position: absolute;
  bottom: 8%;
  left: 0%;
  width: 140px;
  height: 140px;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-delay: 0s;
}

.text-scene-4:not(.hidden)~.hero-compass-scene-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.compass-icon {
  width: 100%;
  height: 100%;
}

/*=========================================
  SECCIONES Y UTILIDADES
=========================================*/
.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.text-white {
  color: #ffffff !important;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-dark);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.subtitle-accent {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 600;
}

/*=========================================
  SERVICIOS
=========================================*/
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(27, 48, 57, 0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(27, 48, 57, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(27, 48, 57, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(219, 48, 41, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-color);
}

.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.service-card p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
}

/*=========================================
  CONCIERGE DIGITAL
=========================================*/
.concierge-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.light-text p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin-bottom: 30px;
}

.feature-list li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.feature-list .check {
  color: var(--accent-color);
  font-weight: bold;
}

/* Teléfono Animado (Mockup CSS) */
.concierge-visual {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #2a2a2a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 4px #444;
  position: relative;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.phone-mockup:hover {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.phone-screen {
  background: #ffffff;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Notch del teléfono */
.phone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #2a2a2a;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

/* Elementos de la UI dentro del teléfono */
.app-header {
  height: 80px;
  background: var(--bg-dark);
  border-radius: 15px;
  margin-top: 20px;
  animation: pulse 3s infinite alternate;
}

.app-card {
  height: 60px;
  background: rgba(27, 48, 57, 0.05);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.app-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: swipe 2.5s infinite;
}

.app-card:nth-child(2)::after {
  animation-delay: 0.5s;
}

.app-card:nth-child(3)::after {
  animation-delay: 1s;
}

.app-card:nth-child(4)::after {
  animation-delay: 1.5s;
}

@keyframes swipe {
  100% {
    left: 200%;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/*=========================================
  MOBILE HEADER
=========================================*/
.mobile-header {
  display: none;
  /* Hidden by default, shown via media query */
}

/*=========================================
  MOBILE HERO SECTION
=========================================*/
.mobile-hero-section {
  display: none;
  /* Hidden by default, shown via media query */
}

/*=========================================
  MOBILE FOOTER MENU
=========================================*/
.mobile-footer-menu {
  display: none;
  /* Hidden by default, shown via media query */
}

/*=========================================
  RESPONSIVE
=========================================*/

/* --- Desktop: hide mobile elements --- */
@media (min-width: 769px) {

  .mobile-header,
  .mobile-hero-section,
  .mobile-footer-menu {
    display: none !important;
  }
}

/* --- Tablet --- */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 0 auto 40px auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-links,
  .cta-contact {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .concierge-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .adn-content {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {

  /* Hide desktop header and desktop hero */
  .header {
    display: none !important;
  }

  .hero-video-section {
    display: none !important;
  }

  /* Show mobile header */
  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
  }

  .mobile-logo {
    pointer-events: auto;
    display: flex;
    align-items: center;
  }

  .mobile-logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  }

  /* Show mobile hero */
  .mobile-hero-section {
    display: block;
    position: relative;
  }

  .mobile-video-sticky {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark);
  }

  .mobile-overlay {
    background: linear-gradient(180deg,
        rgba(15, 25, 30, 0.3) 0%,
        rgba(15, 25, 30, 0.1) 30%,
        rgba(15, 25, 30, 0.4) 70%,
        rgba(15, 25, 30, 0.85) 100%) !important;
  }

  /* Mobile hero content layout */
  .mobile-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 100px;
    text-align: center;
  }

  /* Mobile text scenes positioning */
  .mobile-hero-section .hero-text-scroll {
    position: absolute;
    bottom: 80px;
    left: 5%;
    right: 5%;
    top: auto;
    text-align: center;
    max-width: 100%;
    padding: 0;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-1,
  .mobile-hero-section .hero-text-scroll.m-text-scene-2,
  .mobile-hero-section .hero-text-scroll.m-text-scene-3,
  .mobile-hero-section .hero-text-scroll.m-text-scene-4 {
    top: auto;
    bottom: 160px;
    left: 5%;
    right: 5%;
    text-align: center;
    padding-right: 0;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-1 {
    bottom: 200px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-1 .hero-title-scroll {
    padding-top: 16px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-1 .hero-subtitle-scroll {
    padding-top: 22px;
    font-size: 0.82rem;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-2 {
    bottom: 210px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-2 .hero-title-scroll {
    padding-top: 14px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-2 .hero-subtitle-scroll {
    padding-top: 24px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-3 {
    bottom: 190px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-4 {
    bottom: 180px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-4 .hero-title-scroll {
    padding-top: 10px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-4 .hero-subtitle-scroll {
    padding-top: 6px;
  }

  .mobile-hero-section .hero-text-scroll.m-text-scene-4 .scrolling-ticker-container {
    margin-top: 28px;
  }

  /* Mobile hero titles - smaller */
  .mobile-hero-section .hero-title-scroll {
    font-size: 1.6rem;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  /* Mobile hero subtitles - smaller */
  .mobile-hero-section .hero-subtitle-scroll {
    font-size: 0.95rem;
    line-height: 1.4;
    padding-top: 14px;
  }

  /* Mobile ticker */
  .mobile-hero-section .scrolling-ticker-container {
    width: 100%;
    margin-top: 20px;
  }

  .mobile-hero-section .scrolling-ticker-content {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  /* Mobile SVG icons - centered */
  .mobile-hero-section .hero-cal-scene-1,
  .mobile-hero-section .hero-pin-scene-2,
  .mobile-hero-section .hero-polygon-scene-3,
  .mobile-hero-section .hero-compass-scene-4 {
    width: 50px;
    height: 50px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(20px);
  }

  /* Calendar - below ticker */
  .mobile-hero-section .hero-cal-scene-1 {
    top: auto;
    bottom: 80px;
  }

  /* Pin - below ticker */
  .mobile-hero-section .hero-pin-scene-2 {
    top: auto;
    bottom: 100px;
  }

  /* Polygon (share) - below ticker */
  .mobile-hero-section .hero-polygon-scene-3 {
    top: auto;
    bottom: 100px;
  }

  /* Compass - below ticker */
  .mobile-hero-section .hero-compass-scene-4 {
    top: auto;
    bottom: 80px;
  }



  /* Mobile subtitle animation (like desktop subtitle-1) */
  .m-subtitle-1.visible,
  .m-text-scene-2.visible .hero-subtitle-scroll,
  .m-text-scene-3.visible .hero-subtitle-scroll,
  .m-text-scene-4.visible .hero-subtitle-scroll {
    opacity: 1;
    transform: translateY(0);
  }

  /* Mobile scene 1 title fade in */
  .m-text-scene-1 .hero-title-scroll {
    opacity: 0;
    animation: fadeInSoft 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.1s;
  }

  /* Mobile scene ticker visibility + delays */
  .m-text-scene-1.visible .scrolling-ticker-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.6s;
  }

  .m-text-scene-2.visible .scrolling-ticker-container,
  .m-text-scene-3.visible .scrolling-ticker-container,
  .m-text-scene-4.visible .scrolling-ticker-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
  }

  .m-text-scene-2:not(.hidden) .scrolling-ticker-container,
  .m-text-scene-3:not(.hidden) .scrolling-ticker-container,
  .m-text-scene-4:not(.hidden) .scrolling-ticker-container {
    opacity: 1;
    transform: translateY(0);
  }

  /* Mobile pen-stroke animations */
  .m-subtitle-1.visible .animated-underline .pen-stroke path,
  .m-text-scene-2:not(.hidden) .animated-underline .pen-stroke path {
    stroke-dashoffset: 0;
  }

  /* Mobile icon visibility via CSS sibling selectors */
  .m-text-scene-1.visible~.m-cal-1 {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.8s;
  }

  .m-text-scene-2:not(.hidden)~.m-pin-2 {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.6s;
  }

  .m-text-scene-3:not(.hidden)~.m-polygon-3 {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.6s;
  }

  .m-text-scene-4:not(.hidden)~.m-compass-4 {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.6s;
  }

  /* Show mobile footer menu */
  .mobile-footer-menu {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    background: rgba(27, 48, 57, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
  }

  .mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    gap: 3px;
    padding: 6px 4px;
    transition: color 0.3s ease;
    position: relative;
  }

  .mobile-footer-item svg {
    width: 20px;
    height: 20px;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-footer-item.active {
    color: var(--accent-color);
  }

  .mobile-footer-item:active {
    color: var(--accent-color);
  }

  /* Body padding for footer menu */
  body {
    padding-bottom: 64px;
  }

  /* Sections responsive */
  .section {
    padding: 60px 0;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .concierge-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .concierge-visual {
    display: flex;
    justify-content: center;
  }

  .phone-mockup {
    width: 180px;
    height: 370px;
    transform: rotateY(0deg) rotateX(0deg);
    border-radius: 28px;
    padding: 8px;
  }

  .phone-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
  }

  .phone-screen {
    border-radius: 22px;
    padding: 14px;
    gap: 10px;
  }

  .phone-screen::before {
    width: 80px;
    height: 18px;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .adn-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer {
    padding-top: 60px !important;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .cta-banner p {
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

/* =========================================================================
   14. WHATSAPP FLOATING BUTTON
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  margin-top: 1px;
}

/* Mobile responsive for WhatsApp button - moved up to avoid footer */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}