:root {
            /* Paleta Rackmom adaptada al estilo de la referencia */
            --bg-color: #FDFDFD; /* Fondo muy limpio sin plastas */
            --brand-lavanda: #B1A8C9;
            --brand-rosa: #C48B8F;
            --brand-azul: #A8B2BD;
            --brand-beige: #F6F1EC;
            --text-dark: #1F2224;
        }

        body {
            font-family: 'Manrope', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-dark);
            overflow-x: hidden;
            position: relative;
        }

        /* Textura de ruido MUY PRESENTE */
        body::after {
            content: "";
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
            opacity: 0.25; /* Subido para que sea muy notorio */
            pointer-events: none;
            z-index: 9999;
        }

        /* Utilidad para el contenedor casi de borde a borde */
        .edge-container {
            padding-left: 2rem;
            padding-right: 2rem;
        }
        @media (min-width: 1400px) {
            .edge-container {
                padding-left: 4rem;
                padding-right: 4rem;
            }
        }


        /* Navbar estilo píldoras */
        /* 1. Actualiza el Navbar para que sea fijo y con efecto esmerilado */
        .custom-nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 2rem; /* Respeta el margen de tu diseño */
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1050; /* Se asegura de estar por encima de todo */
            
            /* Efecto Vidrio Esmerilado */
            background: rgba(253, 253, 253, 0.65); /* Fondo casi blanco pero transparente */
            backdrop-filter: blur(16px); /* El desenfoque tipo Apple/Glassmorphism */
            -webkit-backdrop-filter: blur(16px); /* Soporte para Safari */
            border-bottom: 1px solid rgba(0,0,0,0.03); /* Línea súper sutil para delimitar */
            transition: all 0.3s ease;
        }

        /* 2. Mantén la alineación en pantallas gigantes */
        @media (min-width: 1400px) {
            .custom-nav {
                padding: 20px 4rem;
            }
        }
        
        .nav-pill-group {
            display: flex;
            gap: 10px;
        }
        .nav-pill {
            background-color: #f0f0f0;
            color: var(--text-dark);
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s;
        }
        .nav-pill:hover, .nav-pill.active {
            background-color: var(--text-dark);
            color: #fff;
        }

        /* Hero Section (Dos Bloques) */
        .hero-row {
            min-height: 40vh;
            margin-top: 100px; /* <--- Esto compensa el espacio del menú que ahora flota */
        }
        
        /* Bloque Izquierdo */
        .hero-left {
            background: #DFA3B5;
            background: linear-gradient(136deg, rgba(223, 163, 181, 1) 0%, rgba(137, 141, 171, 1) 100%);
            border-radius: 40px 40px 140px 40px; /* Recorte abajo a la derecha */
            padding: 80px 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            position: relative;
            height: 100%;
        }
        .brand-tag {
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 30px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            line-height: 1.1;
            letter-spacing: -1px;
            margin-bottom: 20px;
        }
        .hero-title span {
            text-decoration: underline;
            text-decoration-thickness: 3px;
            text-underline-offset: 8px;
        }
        .hero-cta-wrap {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 30px;
        }
        .cta-btn {
            background-color: #fff;
            color: var(--text-dark);
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: 0.3s;
        }
        .cta-btn:hover {
            background-color: var(--text-dark);
            color: #fff;
        }

        /* Bloque Derecho */
        /* Se eliminó el background-image y se mantuvo el overflow: hidden para recortar el video */
        .hero-right {
            background-color: var(--brand-azul); /* Color de fondo por si el video tarda en cargar */
            border-radius: 40px 40px 40px 140px; 
            height: 100%;
            min-height: 600px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden; /* Esto asegura que el video no se salga de los bordes redondeados */
            box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
        }

        /* Estilos para el video de fondo */
        .hero-video-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Hace que el video llene el contenedor sin deformarse */
            z-index: 1; /* Lo manda al fondo */
            pointer-events: none; /* Evita que el usuario pause el video por accidente */
        }

        /* Opcional: Una capa oscura transparente para que los tags y el render resalten más */
        .hero-video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.15); /* Ajusta la opacidad según necesites */
            z-index: 2;
        }

        /* Aseguramos que el contenido principal flote por encima del video */
        .floating-render, .ui-tag, .pin-tag {
            z-index: 3 !important;
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
            100% { transform: translateY(0px); }
        }

        /* Tags flotantes estilo referencia */
        .ui-tag {
            position: absolute;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(10px);
            padding: 10px 20px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            z-index: 3;
        }
        .tag-top-left { top: 40px; left: 40px; border-radius: 20px 20px 20px 5px; }
        .tag-bottom { bottom: 40px; right: 40px; background: rgba(0,0,0,0.6); color: white;}
        .pin-tag {
            position: absolute;
            border: 1px solid rgba(255,255,255,0.4);
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.75rem;
            backdrop-filter: blur(5px);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Tarjetas Verticales (Features) */
        .cards-section {
            padding: 80px 0;
        }
        .feature-card {
            background-color: #ddd;
            border-radius: 30px;
            height: 550px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 30px;
            color: white;
            text-decoration: none;
            transition: transform 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-10px);
        }
        .feature-card img.bg-img {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover;
            z-index: 1;
            transition: transform 0.5s;
        }
        .feature-card:hover img.bg-img {
            transform: scale(1.05);
        }
        .feature-card::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; width: 100%; height: 60%;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
            z-index: 2;
        }
        .card-content {
            position: relative;
            z-index: 3;
        }
        .card-title {
            font-size: 1.8rem;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 10px;
        }
        .card-text {
            font-size: 0.85rem;
            opacity: 0.8;
            margin-bottom: 20px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .card-btn {
            background: white;
            color: var(--text-dark);
            border: none;
            width: 100%;
            padding: 12px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /* Elementos UI dentro de la tarjeta */
        .card-top-ui {
            position: absolute;
            top: 20px; left: 20px; right: 20px;
            display: flex;
            justify-content: space-between;
            z-index: 3;
        }
        .card-tag {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.7rem;
            color: white;
            border: 1px solid rgba(255,255,255,0.3);
        }
        .card-arrow {
            width: 35px; height: 35px;
            background: white;
            color: black;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Footer */
        .custom-footer {
            padding: 0px 0 10px;
        }
        .footer-title {
            font-size: 1.8rem;
            font-weight: 600;
            max-width: 600px;
            line-height: 1.3;
            margin-bottom: 30px;
        }
        .subscribe-form {
            position: relative;
            max-width: 500px;
        }
        .subscribe-form input {
            width: 100%;
            padding: 15px 20px;
            border-radius: 50px;
            border: 1px solid #ddd;
            background: transparent;
            outline: none;
        }
        .subscribe-form button {
            position: absolute;
            right: 5px;
            top: 5px;
            bottom: 5px;
            border-radius: 40px;
            border: none;
            background: #f0f0f0;
            padding: 0 20px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: 0.3s;
        }
        .subscribe-form button:hover {
            background: var(--text-dark);
            color: white;
        }
        .footer-bottom {
            margin-top: 0px;
            padding-top: 10px;
            border-top: 1px solid #eaeaea;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #888;
        }/* Centrado absoluto para el logo del menú */
        .nav-logo-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
        }
        @media (max-width: 750px){
            .feature-card{
                height: 330px!important;
                padding: 15px!important;
            }
            .card-title {
                font-size: 1.2rem;
                font-weight: 700;
                line-height: 1.1;
            }
            .hero-title{
                font-size: 3rem;
            }
            .hero-left{
                padding: 40px 30px;
            }
            .hero-right {
                background-color: var(--brand-azul);
                border-radius: 40px 40px 40px 40px;
                height: 50%;
                min-height: 200px;
            }
        }