/* ============================================
   RESET Y VARIABLES GLOBALES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f8f8;
  --gray-200: #eaeaea;
  --gray-300: #dddddd;
  --gray-400: #b0b0b0;
  --gray-500: #777777;
  --gray-600: #444444;
  --gray-800: #1a1a1a;
  --orange: #ff6b35;
  --orange-dark: #e55a2a;
  --blue: #2a6f8f;
  --blue-dark: #1e5a75;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  --cream: #faf8f5;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
}

body.home-page {
  background-color: var(--black);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

@media (max-width: 1024px) {
  body {
    cursor: auto;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* .cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
} */

/* .cursor-ring {
  position: fixed;
  width: 35px;
  height: 35px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.2s ease;
  opacity: 0.6;
  z-index: 9999;
}

.cursor-hover .cursor-ring {
  transform: scale(1.5);
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--orange);
} */

@media (max-width: 1024px) {
  .cursor {
    display: none;
  }
}

/* ============================================
   RIGHT SIDEBAR (INTACTO)
   ============================================ */
.right-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-btn {
  background: transparent;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.menu-btn span {
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.menu-btn:hover span {
  background: var(--orange);
}

.menu-btn:hover {
  transform: scale(1.05);
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  transform: rotate(180deg);
}

.sidebar-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   MOBILE HEADER (INTACTO)
   ============================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(15px);
  padding: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-line1 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.logo-line2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-menu-btn {
  background: transparent;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.mobile-menu-btn span {
  width: 20px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.mobile-menu-btn:hover span {
  background: var(--orange);
}

/* ============================================
   DRAWER MENU (INTACTO)
   ============================================ */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 200;
  transition: right 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  padding: 1.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -5px 0 40px rgba(0, 0, 0, 0.5);
}

.drawer-menu.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  z-index: 199;
  transition: all 0.4s ease;
  pointer-events: none;
}

.drawer-overlay.active {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.drawer-close {
  display: flex;
  justify-content: flex-end;
}

.drawer-close i {
  font-size: 1.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.drawer-close i:hover {
  color: var(--orange);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.drawer-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  letter-spacing: -0.02em;
}

.drawer-nav a:hover {
  transform: translateX(15px);
  color: var(--orange);
}

.drawer-info {
  margin-bottom: 2rem;
}

.info-section {
  margin-bottom: 2rem;
}

.drawer-info h4 {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.drawer-info p,
.drawer-info a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  line-height: 1.6;
}

.drawer-info a.underline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.drawer-info a.underline-link:hover {
  color: var(--orange);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--orange);
  transform: translateY(-3px);
}

/* ============================================
   HERO SLIDER PREMIUM
   ============================================ */
.hero-slider-premium {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

/* Slides */
.hero-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
}

.hero-slide-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slideZoom 10s ease-in-out infinite alternate;
}

@keyframes slideZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* Overlay */
.hero-overlay-premium {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.75) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.5) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Líneas arquitectónicas */
.hero-lines-premium {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.premium-line {
  position: absolute;
  opacity: 0.08;
}

.pl-1 {
  top: 15%;
  right: 12%;
  width: 1px;
  height: 40vh;
  background: var(--orange);
  animation: lineFloat 8s ease-in-out infinite;
}

.pl-2 {
  bottom: 20%;
  left: 10%;
  width: 35vw;
  height: 1px;
  background: var(--blue);
  animation: lineFloat 10s ease-in-out infinite reverse;
}

.pl-3 {
  top: 50%;
  left: 50%;
  width: 1px;
  height: 30vh;
  background: var(--orange);
  animation: lineFloat 9s ease-in-out infinite 1s;
}

@keyframes lineFloat {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.2; }
}

/* Contenido principal */
.hero-content-premium {
  position: absolute;
  bottom: 18%;
  left: 8%;
  z-index: 10;
  color: #fff;
  max-width: 750px;
  animation: contentReveal 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

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

.hero-eyebrow-premium {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title-premium {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.title-main {
  display: block;
}

.title-sub {
  display: block;
  font-weight: 300;
  font-size: 0.75em;
}

.title-dynamic-wrapper {
  display: inline-block;
  position: relative;
  min-width: 200px;
}

.title-dynamic {
  display: inline-block;
  /* font-style: italic; */
  color: var(--orange);
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Animación de palabra dinámica */
.word-exit {
  animation: wordOut 0.4s ease-in forwards;
}

.word-enter {
  animation: wordIn 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes wordOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-15px); }
}

@keyframes wordIn {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-separador-premium {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0;
}

.hero-separador-premium span {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.hero-separador-premium i {
  font-size: 0.25rem;
  color: var(--orange);
}

.hero-descripcion-premium {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-descripcion-premium em {
  /* font-style: italic; */
  color: rgba(255,255,255,0.8);
}

/* Botones */
.hero-botones {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-hero-primario {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--orange);
  color: #fff;
  padding: 1rem 2.2rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-hero-primario i {
  margin-left: 0.8rem;
  transition: transform 0.4s ease;
}

.btn-hero-primario:hover {
  background: var(--orange-dark);
  padding-right: 2.8rem;
}

.btn-hero-primario:hover i {
  transform: translateX(5px);
}

.btn-hero-secundario {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 1rem 2.2rem;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  transition: var(--transition-smooth);
}

.btn-hero-secundario:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,107,53,0.05);
}

/* Controles del slider */
.slider-controles-premium {
  position: absolute;
  bottom: 2.5rem;
  right: 7rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.slider-flecha {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 0.8rem;
}

.slider-flecha:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: scale(1.08);
}

/* Indicadores */
.slider-indicadores {
  display: flex;
  gap: 0.5rem;
}

.indicador {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicador.active {
  background: var(--orange);
  box-shadow: 0 0 8px rgba(255,107,53,0.5);
  width: 20px;
  border-radius: 3px;
}

.indicador:hover {
  background: rgba(255,255,255,0.6);
}

/* Barra de progreso */
.slider-progreso {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 20;
  background: rgba(255,255,255,0.08);
}

.progreso-bar {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width 0.3s linear;
}

/* ============================================
   FOOTER MINIMAL HOME
   ============================================ */
.home-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 30;
  padding: 1rem 3rem;
  background: transparent;
}

.home-footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

.footer-info-item i {
  color: var(--orange);
  font-size: 0.65rem;
}

.footer-info-item a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info-item a:hover {
  color: var(--orange);
}

.footer-brand-mini {
  color: var(--orange);
  font-weight: 600;
}

.footer-brand-mini sup {
  font-size: 0.5rem;
}

.footer-divider-mini {
  color: rgba(255,255,255,0.15);
}

/* ============================================
   SPLASH SCREEN
   ============================================ */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  opacity: 1;
  visibility: visible;
}

.splash-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.splash-subtext {
  font-size: 0.9rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--orange);
  opacity: 0;
  animation: slideUpFade 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.splash-text {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  color: rgba(255,255,255,0.8);
  margin: 0;
  letter-spacing: 2px;
  font-weight: 300;
  margin-top: 2.5rem;
  opacity: 0;
  animation: slideUpFade 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.splash-orange {
  color: var(--orange);
  font-weight: 600;
}

.splash-blue {
  color: var(--blue);
  font-weight: 600;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 55px;
  height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  z-index: 100;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  text-decoration: none !important;
  border: none;
  outline: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
  color: #fff;
  text-decoration: none !important;
}

.whatsapp-float i {
  text-decoration: none !important;
  border: none;
  outline: none;
}

/* Eliminar cualquier subrayado en todos los estados */
.whatsapp-float:focus,
.whatsapp-float:active,
.whatsapp-float:visited {
  text-decoration: none !important;
  outline: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .right-sidebar {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .drawer-menu {
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .drawer-nav a {
    font-size: 1.8rem;
  }

  .hero-content-premium {
    bottom: 22%;
    left: 5%;
    right: 5%;
  }

  .slider-controles-premium {
    bottom: 1.5rem;
    right: 1rem;
    gap: 1rem;
  }

  .slider-flecha {
    width: 38px;
    height: 38px;
    font-size: 0.7rem;
  }

  .home-footer {
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title-premium {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .hero-eyebrow-premium {
    font-size: 0.6rem;
    letter-spacing: 4px;
  }

  .hero-descripcion-premium {
    font-size: 0.9rem;
    max-width: 350px;
  }

  .hero-botones {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn-hero-primario,
  .btn-hero-secundario {
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-size: 0.7rem;
  }

  .slider-controles-premium {
    right: 1rem;
    bottom: 1rem;
  }

  .slider-indicadores {
    gap: 0.4rem;
  }

  .indicador {
    width: 5px;
    height: 5px;
  }

  .indicador.active {
    width: 14px;
  }

  .home-footer-content {
    gap: 1rem;
  }

  .footer-info-item {
    font-size: 0.65rem;
  }

  .whatsapp-float {
    bottom: 4rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  .splash-text {
    font-size: 1.4rem;
  }

  .splash-subtext {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title-premium {
    font-size: 2rem;
  }

  .hero-content-premium {
    bottom: 25%;
    left: 5%;
  }

  .hero-descripcion-premium {
    font-size: 0.8rem;
  }

  .slider-controles-premium {
    right: 0.5rem;
    gap: 0.6rem;
  }

  .slider-flecha {
    width: 32px;
    height: 32px;
  }

  .home-footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .pl-1, .pl-2, .pl-3 {
    opacity: 0.04;
  }
}

/* ============================================
   TRANSICIONES ENTRE PÁGINAS
   ============================================ */
body.transicionando {
  overflow: hidden !important;
}

/* Acomodar esto luego */
/* ============================================
   RIGHT SIDEBAR - Fijo blanco con texto negro
   ============================================ */
.right-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 80px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.04);
}

.menu-btn {
  background: transparent;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.menu-btn span {
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: var(--transition);
}

.menu-btn:hover span {
  background: var(--orange);
}

.menu-btn:hover {
  transform: scale(1.05);
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
  color: #1a1a1a;
  transform: rotate(180deg);
}

.sidebar-line {
  width: 1px;
  height: 60px;
  background: rgba(0, 0, 0, 0.15);
}