 :root {
     /* Tipografías base */
     --font-headings: 'Copperplate', sans-serif;
     --font-paragraphs: 'Optima', sans-serif;

     /* Paleta unificada */
     --bg-dark: #020625;
     --bg-light: #e8e1d7;
     --color-gold: #b08d57;

     --text-light: #ffffff;
     --text-muted: rgba(255, 255, 255, 0.7);
     --transition-smooth: all 0.1s cubic-bezier(0.25, 1, 0.5, 1);

     --bs-body-font-size: .9rem;
 }
/* 1. Activa el desplazamiento suave nativo */
html {
  scroll-behavior: smooth !important;
}
.accent-color {
  color: var(--color-gold) !important;
}
/* 2. Aplica el margen de desplazamiento a las secciones */
section[id],
div[id] {
  /* 80px es el offset recomendado para la navbar por defecto de BS5 */
  scroll-margin-top: 5rem; /* ~80px */
}
 body {
     background-color: var(--bg-dark);
     color: var(--text-light);
     overflow-x: hidden;
     margin: 0;
     padding: 0;
 }

 /* Reglas tipográficas globales inyectadas */
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 .btn,
 button {
     font-family: var(--font-headings);
     font-weight: normal;
 }

 p,
 label, li {
     font-family: var(--font-paragraphs) !important;
 }

 /* Utilidades tipográficas y estructurales abstraídas (Adiós estilos en línea) */
 .legacy-subtitle {
     text-transform: none;
 }

 .casaclub-highlight-title {
     font-family: var(--font-headings);
     font-size: 1.8rem;
     letter-spacing: 1.5px;
 }

 .mt-negative-10 {
     margin-top: -10px;
 }

 .accent-line-lg {
     height: 1px;
     width: 250px;
     background-color: var(--color-gold);
 }

 .dev-logo-main {
     max-height: 85px;
     width: auto;
 }

 .recaptcha-text {
     font-family: Arial, Helvetica, sans-serif;
 }

 .recaptcha-logo {
     height: 35px;
     width: auto;
 }

 .footer-phone {
     font-family: var(--font-headings);
     letter-spacing: 1px;
 }

 /* Hero Wrapper con Background de Video */
 .hero-section {
     position: relative;
     min-height: 100vh;
     width: 100%;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     padding: 2rem 0;
     z-index: 1;
     overflow: hidden;
 }

 /* Video Background Full Screen */
 .hero-bg {
     position: absolute;
     top: 50%;
     left: 50%;
     min-width: 100%;
     min-height: 100%;
     width: auto;
     height: auto;
     transform: translateX(-50%) translateY(-50%);
     object-fit: cover;
     z-index: -2;
     pointer-events: none;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
     z-index: -1;
 }

 /* Top Header Group */
 .top-content-group {
     position: relative;
     z-index: 10;
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .social-icons a {
     color: var(--text-light);
     font-size: 1.25rem;
     transition: var(--transition-smooth);
     opacity: 0.8;
 }

 .social-icons a:hover {
     opacity: 1;
     transform: scale(1.1);
 }

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

 .logo-area img {
     height: 120px;
 }

 /* Contenedor de SVGs para evitar que colapsen a 0px de ancho */
 .header-portofino {
     max-height: 110px;
     width: auto;
     max-width: 100%;
     padding: 0 30px;
 }

   .casa-club-title {
     max-height: 170px;
     padding: 0 30px;
 }
     
 @media (min-width: 992px) {
     .header-portofino {
         max-height: 110px;
         width: auto;
         max-width: 100%;
         padding: 0 0px;
     }
      .casa-club-title {
         max-height: 210px;
         width: auto;
         max-width: 100%;
         padding: 0 0px;
     }
 }

 /* Navbar BS5 Overrides */
 .navbar-toggler {
     border-color: rgba(255, 255, 255, 0.5);
 }

 .navbar-toggler-icon {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
 }

 .nav-link-custom {
     color: var(--text-light) !important;
     font-size: 0.9rem;
     letter-spacing: 1.5px;
     padding: 0.5rem 1rem !important;
     opacity: 0.75;
     transition: var(--transition-smooth);
     font-family: var(--font-headings);
 }

 .nav-link-custom:hover {
     opacity: 1;
     transform: translateY(-2px);
 }

 /* Main Messaging Content */
 .hero-content-center {
     padding: 2rem 0;
 }

 .disclaimer-text {
     font-size: 0.65rem;
     letter-spacing: 0.5px;
     opacity: 0.6;
     line-height: 1.5;
 }

 @media (max-width: 991.98px) {
     .top-content-group {
         gap: 1rem;
     }

     .navbar-collapse {
         background: rgba(0, 0, 0, 0.85);
         backdrop-filter: blur(10px);
         border-radius: 8px;
         padding: 1rem;
         margin-top: 1rem;
     }
 }

 /* ==========================================
           ESTILOS: NAVEGACIÓN FIJA (STICKY) Y UI MÓVIL
           ========================================== */

 #main-header {
     transition: all 0.4s ease;
     z-index: 1030;
     /* Z-index estándar de Bootstrap para fixed-top */
     background-color: transparent;
 }

 /* Clase dinámica inyectada por JS al hacer scroll */
 #main-header.scrolled {
     background-color: rgba(11, 12, 16, 0.92);
     /* Fondo oscuro translúcido */
     backdrop-filter: blur(12px);
     -webkit-backdrop-filter: blur(12px);
     box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
     padding-top: 0 !important;
 }

 /* Ajuste responsivo del Logo */
 .nav-logo {
     height: 70px;
     /* Tamaño base para móvil */
     transition: all 0.4s ease;
 }

 @media (min-width: 992px) {
     .nav-logo {
         height: 110px;
         /* Tamaño grande inicial en desktop */
     }
 }

 /* Reducción del logo al hacer scroll para despejar área de lectura */
 #main-header.scrolled .nav-logo {
     height: 55px;
 }

 /* Comportamiento UI del menú móvil al abrirse */
 @media (max-width: 991.98px) {
     #mainNavbar {
         /* Lo sacamos del flujo para que caiga sobre el contenido sin empujarlo */
         position: absolute;
         top: 100%;
         left: 0;
         width: 100%;
         background: rgba(11, 12, 16, 0.98);
         /* Fondo sólido para que sea legible */
         border-top: 1px solid rgba(176, 141, 87, 0.3);
         /* Línea dorada separadora */
         box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
         border-radius: 0 0 15px 15px;
         /* Suavidad en las esquinas inferiores */
         padding: 1rem 0;
     }
 }

 /* ==========================================
           ESTILOS: SECCIÓN DESCUBRE
           ========================================== */

 .discover-section {
     position: relative;
     min-height: 100vh;
     display: flex;
     align-items: center;
     overflow: hidden;
     background-color: var(--bg-dark);
 }

 .bg-video {
     position: absolute;
     top: 50%;
     left: 50%;
     min-width: 100%;
     min-height: 100%;
     width: auto;
     height: auto;
     transform: translateX(-50%) translateY(-50%);
     object-fit: cover;
     z-index: 1;
 }

 .dark-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 5, 20, 0.65);
     z-index: 2;
 }

 .main-highlight-text {
     font-family: var(--font-headings);
     font-size: 1.3rem;
     line-height: 1.1;
     letter-spacing: 1px;
     /*    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
 }
 .main-highlight-title {
     font-family: var(--font-headings);
     /*    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
 }
 .description-paragraph {
     font-family: var(--font-paragraphs);
     line-height: 1.4;
     color: rgba(255, 255, 255, 0.85);
     max-width: 900px;
     margin: 0 auto;
 }

 .btn-gold {
     background-color: var(--color-gold);
     color: #ffffff !important;
     padding: .7rem 3.5rem;
     line-height: 1.5rem;
     font-size: 1.1rem;
     letter-spacing: 1px;
     border: 1px solid var(--color-gold);
     border-radius: 0;
     transition: var(--transition-smooth);
     font-family: var(--font-headings);
 }

 .btn-gold:hover {
     background-color: rgba(176, 141, 87, 0.8);
     transform: translateY(-3px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
 }

 @media (max-width: 991.98px) {
     .main-highlight-text {
         font-size: 1.3rem;
     }

     .description-paragraph {
         font-size: 0.95rem;
     }
 }

 /* ==========================================
           ESTILOS: SECCIÓN UBICACIÓN
           ========================================== */

 .location-section {
     background-color: var(--bg-light);
     position: relative;
     overflow: hidden;
 }

 .text-dark-custom {
     color: #2c2c2c !important;
 }

 .location-section .description-paragraph {
     color: #4a4a4a;
     font-weight: 500;
 }

 .map-container img {
     width: 100%;
     max-width: 1100px;
     height: auto;
     border: 2px solid rgba(255, 255, 255, 0.5);
 }

 .poi-info {
     font-family: var(--font-paragraphs);
     line-height: 1.2;
     font-size: 0.9rem;
     color: #2c2c2c;
 }

 .discover-section {
     position: relative;
     min-height: 80vh;
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     background-color: var(--bg-dark);
     padding: 5rem 0;
 }

 /* ==========================================
           ESTILOS: SECCIÓN EL LEGADO (PARALLAX)
           ========================================== */

 /* ==========================================
   ESTILOS: PARALLAX (DESCUBRE Y LEGADO)
   ========================================== */

 /* Asegúrate de que las secciones tengan overflow hidden */
 .discover-section,
 .legacy-section {
     position: relative;
     min-height: 100vh;
     /* O el alto que tenías definido */
     display: flex;
     align-items: center;
     justify-content: center;
     overflow: hidden;
     background-color: var(--bg-dark);
 }

 .parallax-bg-wrapper {
     position: absolute;
     top: -15%;
     left: 0;
     width: 100%;
     height: 130%;
     /* Solo 30% extra para el margen de movimiento */
     z-index: 1;
     pointer-events: none;
 }

 .parallax-bg-wrapper .parallax-bg {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
     will-change: transform;
     /* Sin translateZ para evitar conflictos de renderizado en scroll con GSAP */
 }

 .legacy-section .dark-overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(to bottom, rgba(12, 22, 44, 0.3), rgba(0, 5, 15, 0.4));
     z-index: 2;
 }

 /* ==========================================
           ESTILOS: SECCIÓN MASTERPLAN
           ========================================== */

 .masterplan-section {
     background-color: var(--bg-dark);
     position: relative;
     overflow: hidden;
     padding: 4rem 0;
 }

 .masterplan-subtitle {
     font-family: var(--font-headings);
     font-size: 1.4rem;
     letter-spacing: 2px;
     line-height: 1.5;
     text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
 }

 @media (max-width: 767.98px) {
     .masterplan-subtitle {
         font-size: 1.1rem;
     }
 }

 /* ==========================================
           ESTILOS: PREMIUM 3D VIDEO SLIDER
           ========================================== */

 .casaclub-section {
     background-color: var(--bg-light);
     overflow: hidden;
 }

 .slider-wrapper {
     width: 100%;
     max-width: 1300px;
     margin: 0 auto;
     perspective: 1200px;
 }

 .slider-viewport {
     width: 100%;
     padding: 0rem 0;
     overflow: visible !important;
     mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
     -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
 }

 @media (min-width: 992px) {
     .slider-viewport {
         width: 100%;
         padding: 3rem 0;
         overflow: visible !important;
         mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
         -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
     }
 }

 .slider-track {
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     width: 100%;
     height: 250px;
     transform-style: preserve-3d;
     will-change: transform;
 }

 @media (min-width: 992px) {
     .slider-track {
         height: 300px;
     }
 }

 .slide-item {
     position: absolute;
     width: 300px;
     flex-shrink: 0;
     will-change: transform, opacity;
     transform-style: preserve-3d;
     transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
 }

 @media (min-width: 992px) {
     .slide-item {
         width: 680px;
     }
 }

 .video-card {
     position: relative;
     width: 100%;
     aspect-ratio: 16/9;
     background-color: #000;
     border-radius: 6px;
     overflow: hidden;
     cursor: pointer;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
     transition: box-shadow 0.5s ease;
 }

 .slide-item.is-active .video-card {
     box-shadow: 0 25px 50px rgba(176, 141, 87, 0.3);
 }

 .slider-video {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }
 .slider-img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }
 .play-icon {
     position: absolute;
     top: 20px;
     left: 20px;
     color: #fff;
     font-size: 1.8rem;
     z-index: 2;
     opacity: 0;
     transform: scale(0.7);
     filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
     transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
     pointer-events: none;
 }

 .slide-item.is-active:hover .play-icon {
     opacity: 0.9;
     transform: scale(1);
 }

 /* Reparación geométrica de los botones del slider */
 .slider-btn,
 .test-nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: #ffffff;
     border: 1px solid #e0e0e0;
     width: 55px;
     height: 55px;
     border-radius: 50%;
     z-index: 20;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.3rem;
     color: #2c2c2c;
     padding: 0;
     /* Reset para flex puro */
     transition: var(--transition-smooth);
 }

 .slider-btn i,
 .test-nav-btn i {
     line-height: 0;
     /* Elimina desfase superior/inferior del SVG */
     position: relative;
 }

 .slider-btn:hover {
     background: var(--color-gold);
     color: #ffffff;
     border-color: var(--color-gold);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
 }

 .prev-btn {
     left: 15px;
 }

 .next-btn {
     right: 15px;
 }

 @media (min-width: 1400px) {
     .prev-btn {
         left: -70px;
     }

     .next-btn {
         right: -70px;
     }
 }

 /* ==========================================
           ESTILOS: TESTIMONIOS (CARRUSEL 3 COLUMNAS)
           ========================================== */

 .testimonials-section {
     position: relative;
     min-height: 100vh;
     display: flex;
     align-items: center;
     overflow: hidden;
     background-color: var(--bg-dark);
 }

 .testimonials-bg {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 1;
 }

 .testimonials-overlay {
     position: absolute;
     inset: 0;
     background: linear-gradient(to bottom, rgba(11, 12, 16, 0.85) 0%, rgba(11, 12, 16, 0.7) 50%, rgba(11, 12, 16, 0.9) 100%);
     z-index: 2;
 }

 .testimonials-carousel-wrapper {
     width: 100%;
     max-width: 1240px;
     margin: 0 auto;
     position: relative;
 }

 .testimonials-viewport {
     width: 100%;
     padding: 2rem 0;
 }

 .testimonials-track {
     display: flex;
     width: max-content;
     will-change: transform;
 }

 .t-slide-item {
     width: 320px;
     padding: 0 15px;
     flex-shrink: 0;
     will-change: transform, opacity;
 }

 @media (min-width: 992px) {
     .t-slide-item {
         width: 400px;
     }
 }

 .testimonial-card-modern {
     background: rgba(255, 255, 255, 0.04);
     border: 1px solid rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border-radius: 8px;
     color: var(--text-light);
     transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
     height: 100%;
 }

 .t-slide-item.is-focused .testimonial-card-modern {
     background: rgba(255, 255, 255, 0.08);
     border-color: var(--color-gold);
     transform: scale(1.04);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
 }

 .card-avatar-wrapper {
     width: 70px;
     height: 70px;
     border-radius: 50%;
     border: 2px solid var(--color-gold);
     padding: 3px;
 }

 .avatar-circle {
     width: 100%;
     height: 100%;
     border-radius: 50%;
     background-color: var(--color-gold);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
 }

 .testimonial-author {
     font-family: var(--font-headings);
     font-size: 1rem;
     letter-spacing: 1px;
 }

 .star-rating i {
     color: var(--color-gold);
     margin: 0 1px;
     font-size: 0.9rem;
 }

 .testimonial-text {
     font-family: var(--font-paragraphs);
     font-size: 0.9rem;
     line-height: 1.6;
     color: rgba(255, 255, 255, 0.75);
 }

 /* Estilos base para botón de testimonios integrados en .slider-btn global arriba */
 .test-nav-btn {
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     color: var(--color-gold);
 }

 .test-nav-btn:hover {
     background: var(--color-gold);
     color: #fff;
     border-color: var(--color-gold);
 }

 .prev-t-btn {
     left: -15px;
 }

 .next-t-btn {
     right: -15px;
 }

 @media (max-width: 1240px) {
     .prev-t-btn {
         left: 10px;
     }

     .next-t-btn {
         right: 10px;
     }
 }

 /* ==========================================
           ESTILOS: SECCIÓN DESARROLLADOR
           ========================================== */

 .developer-section {
     position: relative;
     min-height: 100vh;
     display: flex;
     align-items: center;
     overflow: hidden;
     background-color: var(--bg-light);
 }

 .developer-bg {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     z-index: 1;
 }

 .developer-overlay {
     position: absolute;
     inset: 0;
     background: rgba(232, 225, 215, 0.85);
     /* Tinte semi-sólido para legibilidad perfecta */
     z-index: 2;
 }

 .experience-badge {
     border: 1px solid var(--color-gold);
     text-align: center;
     min-width: 220px;
 }

 .experience-years {
     font-family: var(--font-headings);
     font-size: 2rem;
     color: var(--color-gold);
     line-height: 1.1;
 }

 .experience-text {
     font-family: var(--font-paragraphs);
     font-size: 0.9rem;
     color: #4a4a4a;
     letter-spacing: 1px;
 }

 .logo-brand {
     display: block;
     width: auto;
     max-width: 100%;

     margin: 0 auto;
     transition: var(--transition-smooth);
     padding: 0px 15px;

     opacity: 0.9;
 }

 .logo-brand:hover {
     filter: grayscale(0) contrast(1);
     opacity: 1;
     transform: scale(1.05);
 }

 .developer-logos-grid>div {
     display: flex;
     align-items: center;
     justify-content: center;
     min-height: 70px;
 }

 /* ==========================================
           ESTILOS: SECCIÓN CONTACTO
           ========================================== */

 .contact-section {
     background-color: var(--bg-dark);
     overflow: hidden;
 }

 .contact-subtitle {
     font-family: var(--font-headings);
     letter-spacing: 2px;
 }

 .custom-input {
     border-radius: 0;
     border: 2px solid transparent;
     padding: 0.75rem 1rem;
     font-family: var(--font-paragraphs);
     background-color: #ffffff;
     color: #2c2c2c;
     transition: all 0.3s ease;
 }

 .custom-input:focus {
     outline: none;
     box-shadow: none;
     border-color: var(--color-gold);
 }

 .contact-form .form-label {
     font-size: 0.95rem;
     margin-bottom: 0.4rem;
     opacity: 0.9;
 }

 .custom-checkbox {
     border-radius: 0;
     border-color: #ffffff;
     cursor: pointer;
 }

 .custom-checkbox:checked {
     background-color: var(--color-gold);
     border-color: var(--color-gold);
 }

 .form-check-label {
     cursor: pointer;
     font-size: 0.9rem;
     opacity: 0.85;
 }

 .recaptcha-mock {
     min-width: 300px;
     max-width: 100%;
 }

 .recaptcha-check {
     width: 25px;
     height: 25px;
     cursor: pointer;
 }

 .btn-submit-contact {
     font-size: 1.1rem;
     font-weight: 600;
     min-width: 200px;
     letter-spacing: 2px;
 }

 /* ==========================================
           ESTILOS: FOOTER
           ========================================== */

 .site-footer {
     background-color: var(--bg-dark);
     color: #ffffff;
     overflow: hidden;
 }

 .footer-divider {
     width: 100%;
     height: 1px;
     background-color: var(--color-gold);
     opacity: 0.6;
 }

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

 .text-gold {
     color: var(--color-gold) !important;
 }

 .footer-contact-link {
     color: #ffffff;
     text-decoration: none;
     font-family: var(--font-paragraphs);
     transition: var(--transition-smooth);
     opacity: 0.9;
 }

 .footer-contact-link:hover {
     color: var(--color-gold);
     opacity: 1;
     transform: translateY(-2px);
 }

 .footer-disclaimer {
     font-family: var(--font-paragraphs);
     font-size: 0.75rem;
     color: rgba(255, 255, 255, 0.6);
     line-height: 1.6;
     max-width: 1050px;
 }

 .casa-section {
     position: relative;
     min-height: 100vh;
     align-items: center;
     overflow: hidden;
     background-color: var(--bg-dark);
 }
 .prototipos-section {
     position: relative;
     
     align-items: center;
     overflow: hidden;
     background-color: var(--bg-dark);
 }
  .vive-section {
     background-color: var(--bg-dark);
     position: relative;
     overflow: hidden;
     padding: 4rem 0;
 }

 .golden-divider {
  width: 100%;                  /* Ocupa el 100% del contenedor padre */
  height: 2px;                  /* Grosor de la línea */
  border: none;
  background: linear-gradient(
    to right, 
    transparent 0%, 
    rgba(197, 160, 89, 0.4) 15%, 
    #c5a059 100%
  );
}

/* ==========================================
    ESTILOS: SECCIÓN PROTOTIPOS (TABS ANIDADOS)
    ========================================== */

 .tab-nav-main {
     border-bottom: none;
     gap: 1rem;
     flex-wrap: wrap;
     margin-bottom: 4rem;
 }

 .tab-nav-main .nav-link {
     color: var(--text-light);
     font-family: var(--font-headings);
     font-size: 0.95rem;
     letter-spacing: 1px;
     text-transform: uppercase;
     background: transparent;
     border: none;
     border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Línea base tenue */
     border-radius: 0;
     padding: 0.5rem 1rem;
     transition: var(--transition-smooth);
     opacity: 0.6;
 }

 .tab-nav-main .nav-link:hover,
 .tab-nav-main .nav-link.active {
     opacity: 1;
     color: var(--text-light);
     border-bottom: 1px solid var(--color-gold); /* Subrayado dorado activo */
 }

 /* Sub-Tabs */
 .tab-nav-sub {
     border-bottom: none;
     gap: 1.5rem;
     margin-bottom: 3rem;
     flex-wrap: wrap;
 }

 .tab-nav-sub .nav-link {
     color: var(--text-light);
     font-family: var(--font-headings);
     font-size: 0.85rem;
     letter-spacing: 1px;
     text-transform: uppercase;
     background: transparent;
     border: none;
     border-bottom: 2px solid transparent; /* Borde transparente para evitar layout shift */
     border-radius: 0;
     padding: 0.5rem 0;
     transition: var(--transition-smooth);
     opacity: 0.6;
 }

 .tab-nav-sub .nav-link:hover,
 .tab-nav-sub .nav-link.active {
     opacity: 1;
     color: var(--text-light);
     border-bottom: 2px solid var(--color-gold); /* Línea dorada agregada */
     text-shadow: 0 0 1px rgba(255,255,255,0.5); 
 }

 /* ==========================================
    ESTILOS: SLIDERS PROTOTIPOS (TAMAÑO COMPLETO)
    ========================================== */
 .slider-full-img {
     width: 100%;
     height: auto;
     max-height: 75vh;
     object-fit: cover;
     border-radius: 8px; /* Opcional, para dar un toque más pulido */
 }

 /* Tipografía del Título del Prototipo */
 .proto-title-wrapper {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     margin-bottom: 2.5rem;
 }

 .proto-title-main {
     font-family: var(--font-headings);
     font-size: 3.5rem;
     line-height: 1;
     letter-spacing: 2px;
     margin-bottom: 0;
 }

 .proto-title-sub-row {
     display: flex;
     align-items: center;
     gap: 1.5rem;
     margin-top: 0.5rem;
 }

 .proto-line {
     height: 2px;
     width: 150px;
     background-color: var(--color-gold);
 }

 .proto-title-sub {
     font-family: var(--font-headings);
     font-size: 1.4rem;
     letter-spacing: 2px;
     margin-bottom: 0;
 }

 /* Responsividad de la sección */
 @media (max-width: 991.98px) {
     .proto-title-main { font-size: 2.5rem; }
     .proto-title-sub { font-size: 1.1rem; }
     .proto-line { width: 80px; }
     .tab-nav-main { gap: 0.5rem; }
     .tab-nav-sub { gap: 1rem; }
 }

 .header-prototipo {
max-height: 50px;
width: auto;
max-width: 100%;
padding: 0 0px;
}
/* Congela el anclaje del scroll del navegador en los contenedores de pestañas */
.tab-content, .prototipos-section {
    overflow-anchor: none;
}

/* ==========================================
   ESTILOS DE FORMULARIO DE LUJO
   ========================================== */
.custom-luxury-form .field-label {
   color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

/* Wrappers para posicionar los íconos dentro de los inputs */
.input-icon-wrapper, .select-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 16px;
    color: #b89a5b;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 5;
}

/* Estilo Base de los Inputs y Selects */
.custom-input-luxury {
    background-color: rgba(7, 16, 38, 0.7) !important;
    border: 1px solid rgba(184, 154, 91, 0.4) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    padding: 12px 16px 12px 48px !important; /* Espacio izquierdo para el ícono */
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

/* Ajustes específicos para Selects */
.select-luxury {
    padding-left: 48px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23b89a5b%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e") !important;
    background-position: right 1rem center !important;
    background-size: 14px 12px !important;
}

.select-icon-wrapper .select-luxury {
    padding-left: 16px !important; /* El código de país no requiere ícono interno */
}

/* Placeholders */
.custom-input-luxury::placeholder {
    color: #6c7893 !important;
    font-size: 0.9rem;
}

/* Hover y Focus */
.custom-input-luxury:focus {
    border-color: #b89a5b !important;
    box-shadow: 0 0 10px rgba(184, 154, 91, 0.3) !important;
    background-color: rgba(7, 16, 38, 0.9) !important;
}

/* Checkbox Personalizado */
.custom-checkbox-luxury {
    background-color: transparent !important;
    border: 1px solid #b89a5b !important;
    border-radius: 2px !important;
    width: 18px;
    height: 18px;
}

.custom-checkbox-luxury:checked {
    background-color: #b89a5b !important;
}

.terms-link {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.terms-link:hover {
    color: #b89a5b !important;
}

/* Botón Gradiente Dorado */
.btn-luxury-submit {
    background: linear-gradient(135deg, #c3a463 0%, #a48242 100%) !important;
    border: none !important;
    color: #030819 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    width: 100%;
    max-width: 380px;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-luxury-submit:hover {
    background: linear-gradient(135deg, #d4b574 0%, #b89451 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 154, 91, 0.4);
}