:root {
    /* Brand Colors */
    --primary: #00aca6;
    --primary-80: rgba(0, 172, 166, 0.8);
    --primary-60: rgba(0, 172, 166, 0.6);
    --primary-40: rgba(0, 172, 166, 0.4);
    --primary-20: rgba(0, 172, 166, 0.2);
    --primary-10: rgba(0, 172, 166, 0.1);
    
    /* Neutral Colors */
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --bg-light: #f9fbfb;
    --white: #ffffff;
    --black: #000000;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 120px;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 172, 166, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 15px;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px var(--primary-40);
}

.btn-primary:hover {
    background-color: #009691;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-60);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--primary-20);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-10);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 172, 166, 0.35);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 42px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 85px; /* Adapting the provided logo */
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 16px;
}

.nav-links a:not(.btn):not(.nav-btn-sumate) {
    position: relative;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 4px 0;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):not(.nav-btn-sumate)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:not(.btn):not(.nav-btn-sumate):hover {
    color: var(--primary);
}

.nav-links a:not(.btn):not(.nav-btn-sumate):hover::after {
    width: 100%;
}

/* Botón Destacado Sumate a Sewa en Navbar */
.nav-btn-sumate {
    background: linear-gradient(135deg, var(--primary) 0%, #008984 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 9px 18px !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 15px rgba(0, 172, 166, 0.35) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.nav-btn-sumate::after {
    display: none !important;
}

.nav-btn-sumate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 172, 166, 0.5) !important;
    color: #ffffff !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-10) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
    text-align: center;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--primary-10);
    border-radius: 20px;
    border-left: 5px solid var(--primary);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Features/Pilares */
.features {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-20);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-10);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background-color: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.cta h2, .cta p {
    color: var(--white);
}

.cta-btn {
    background-color: var(--white);
    color: var(--primary);
    margin-top: 20px;
}

.cta-btn:hover {
    background-color: var(--bg-light);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h3 {
    color: var(--white);
    font-size: 2rem;
    letter-spacing: -1px;
}

.footer-brand p {
    color: #aaaaaa;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: #aaaaaa;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    font-size: 0.9rem;
}

/* Animations (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Improvements */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

@media (max-width: 992px) {
    :root {
        --header-height: 80px;
    }

    .logo img {
        height: 55px !important;
    }

    .hero {
        padding-top: calc(var(--header-height) + 20px) !important;
        min-height: auto !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-content p {
        font-size: clamp(1rem, 3.5vw, 1.15rem) !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center !important;
    }

    .app-download {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-badges-container {
        justify-content: center !important;
    }

    .camaras-card-wrapper {
        grid-template-columns: 1fr !important;
        padding: 30px 20px !important;
        text-align: center !important;
    }

    .camaras-info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .logo img {
        height: 44px !important;
    }

    /* Hamburger Menu Button */
    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 1001;
        background: transparent;
        border: none;
    }

    .hamburger i,
    .hamburger svg {
        width: 28px !important;
        height: 28px !important;
        stroke: var(--text-dark) !important;
        color: var(--text-dark) !important;
    }

    /* Full-screen Mobile Menu Drawer */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 40px;
        gap: 22px;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        left: 0 !important;
    }

    .nav-links a {
        font-size: 1.15rem !important;
    }

    /* Video Hero container */
    .sewa-video-container.hero-video {
        min-height: 250px !important;
        max-width: 100% !important;
    }

    .video-text {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
    }

    .video-text-sub {
        font-size: clamp(0.72rem, 3vw, 0.85rem) !important;
    }

    /* Carousel Slides Responsive - Full Width Optimization for Mobile */
    .slide-deck-section .container,
    .pilares-slider-section .container,
    .etapas-slider-section .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .slide-deck-container img.slide-image-full,
    .pilares-slide img,
    .etapas-slide img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        border-radius: 12px !important;
        cursor: zoom-in;
    }

    .pilares-slide,
    .etapas-slide {
        padding: 5px 0 38px 0 !important;
    }

    .pilares-prev-btn,
    .pilares-next-btn,
    .etapas-prev-btn,
    .etapas-next-btn {
        width: 36px !important;
        height: 36px !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18) !important;
    }

    .pilares-prev-btn { left: 4px !important; }
    .pilares-next-btn { right: 4px !important; }
    .etapas-prev-btn { left: 4px !important; }
    .etapas-next-btn { right: 4px !important; }

    .pilares-prev-btn i, .pilares-next-btn i,
    .etapas-prev-btn i, .etapas-next-btn i {
        width: 20px !important;
        height: 20px !important;
    }

    /* Footer Responsive */
    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .footer-brand, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.55rem !important;
    }

    h2 {
        font-size: 1.4rem !important;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
        line-height: 1.25 !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }

    .btn {
        padding: 10px 22px !important;
        font-size: 0.92rem !important;
    }

    .app-badges-container img {
        height: 38px !important;
    }

    .pilares-slide,
    .etapas-slide {
        padding: 4px 0 35px 0 !important;
    }

    .slide-deck-section,
    .pilares-slider-section,
    .etapas-slider-section {
        padding: 35px 0 !important;
    }
}

/* Join Us Section */
.join-us {
    padding: 30px 0;
    background-color: var(--white);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.join-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary-10);
    border-radius: 15px;
    padding: 25px 30px;
    border: 1px solid var(--primary-20);
    box-shadow: var(--shadow-sm);
}

.join-content h2 {
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.8rem;
}

.join-content p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

.join-requirements {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.join-requirements h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.join-requirements ul {
    list-style: none;
}

.join-requirements li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.3;
}

.join-requirements li i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
}

.join-cta {
    text-align: center;
}

/* Video Hero Styles */
.sewa-video-container.hero-video {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 3px solid var(--white);
    background-color: #000;
}

.sewa-video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.scene-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.scene-image.active {
    opacity: 1;
}

/* Ken Burns effect */
.scene-image.zoom-in {
    animation: kenBurns 6s linear forwards;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 10;
}

.video-text-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 20;
    text-align: center;
}

.video-text {
    color: #fff;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    transition: opacity 0.5s ease;
}

.video-text-sub {
    color: #f0f0f0;
    font-size: clamp(0.85rem, 1.8vw, 1.1rem);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    transition: opacity 0.5s ease;
}

.video-final-cta {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.video-final-cta.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 20px);
}

.video-final-cta.fade-in-up {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.video-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(255,255,255,0.2);
    z-index: 20;
}

.video-progress {
    height: 100%;
    width: 0%;
    background-color: var(--primary);
}

.audio-btn {
    position: absolute;
    top: 25px;
    left: 30px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
}

.audio-btn:hover {
    background: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .sewa-video-container.hero-video {
        min-height: 300px;
        aspect-ratio: 16/10;
    }
    .video-text-container {
        left: 15px;
        right: 15px;
        bottom: 35px;
    }
    .audio-btn {
        top: 15px;
        left: 15px;
        width: 35px;
        height: 35px;
    }
}

/* CSS Phone Mockup */
.css-phone-container {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 15;
}

.css-phone-container.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(0.8);
}

.css-phone {
    width: 260px;
    height: 520px;
    border: 12px solid #222;
    border-radius: 40px;
    background: var(--primary); /* Teal SEWA */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* El "Notch" o cámara del celular */
.css-phone::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 2;
}

/* Botón lateral simulado */
.css-phone::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -14px;
    width: 3px;
    height: 40px;
    background: #222;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.css-phone-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

.css-phone-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 24px; /* Estilo de ícono de app iOS */
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

@media (max-width: 768px) {
    .css-phone {
        width: 220px;
        height: 440px;
        border-width: 10px;
    }
    .css-phone::before {
        width: 100px;
        height: 20px;
    }
    .css-phone-screen {
        font-size: 2.8rem;
    }
    .css-phone-container {
        top: 40%;
    }
}

/* Additional Services Section */
.additional-services {
    padding: 100px 0;
    background-color: var(--white);
}

.services-container {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-10);
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-40);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-10);
    color: var(--primary);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 2rem;
}

.service-detail-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-detail-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.service-features-list li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Onboarding Steps Custom Styling */
.onboarding-steps {
    margin-top: 25px;
    border-top: 1px solid var(--primary-20);
    padding-top: 20px !important;
}

.onboarding-steps h3 {
    margin-bottom: 15px !important;
}

.steps-list {
    list-style: none;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px !important;
    font-size: 0.95rem !important;
    line-height: 1.4;
}

.steps-list li:last-child {
    margin-bottom: 0 !important;
}

.step-num {
    background-color: var(--primary);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 3px 6px var(--primary-40);
}

/* Mobile Responsiveness for Additional Services */
@media (max-width: 768px) {
    .service-detail-card {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    .service-icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    .additional-services {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Sección de Reclutamiento (Cuidadores)
   ========================================================================== */

/* Beneficios de Reclutamiento */
.recruitment-benefits {
    background-color: var(--white);
}

.recruitment-benefits .feature-card {
    border: 1px solid var(--primary-10);
    background: linear-gradient(to bottom right, var(--white) 0%, var(--bg-light) 100%);
}

/* Timeline Process */
.recruitment-process {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--primary-20) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: -50px;
    top: 0;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 4px solid var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    background-color: var(--text-dark);
}

.timeline-content {
    background: var(--white);
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    color: var(--primary);
}

.timeline-content p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Formulario de Reclutamiento */
.recruitment-form-section {
    padding: 100px 0;
    background-color: var(--white);
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 172, 166, 0.08);
    border: 1px solid var(--primary-10);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.form-step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-10);
    padding-bottom: 10px;
}

.step-badge {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-step-title h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    padding: 12px 18px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-10);
}

/* Autocompletado de Localidades */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-wrapper input {
    width: 100%;
    box-sizing: border-box;
}

.autocomplete-spinner {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    pointer-events: none;
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.autocomplete-dropdown li {
    padding: 10px 16px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.autocomplete-dropdown li:hover,
.autocomplete-dropdown li.selected {
    background-color: var(--primary-10);
    color: var(--primary);
}

.autocomplete-dropdown .dept-tag {
    font-size: 0.78rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.autocomplete-dropdown .no-results {
    padding: 10px 16px;
    font-size: 0.88rem;
    color: #94a3b8;
    text-align: center;
    cursor: default;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px 0;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #cbd5e1;
    accent-color: var(--primary);
    cursor: pointer;
}

.terms-label {
    line-height: 1.5;
    font-size: 0.9rem;
}

.file-drop-zone {
    border: 2px dashed var(--primary-40);
    background-color: var(--primary-10);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.file-drop-zone:hover,
.file-drop-zone.dragover {
    border-color: var(--primary);
    background-color: rgba(0, 172, 166, 0.05);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 12px;
}

.drop-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.drop-text span {
    color: var(--primary);
    text-decoration: underline;
}

.file-limits {
    font-size: 0.8rem;
    color: var(--text-light);
}

.selected-file-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    background: #f0fdf4;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1.5px solid #22c55e;
    animation: fadeIn 0.3s ease;
    width: 100%;
}

.file-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #166534;
    font-weight: 600;
    font-size: 0.9rem;
}

.file-status-badge .success-icon {
    width: 18px;
    height: 18px;
    color: #22c55e;
}

.file-name {
    font-size: 0.85rem;
    color: #4b5563;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.remove-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}

.remove-file-btn:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.remove-file-btn i {
    width: 14px;
    height: 14px;
}

.submit-form-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.error-msg {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    animation: fadeIn 0.2s ease;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.form-group.has-error .error-msg {
    display: block;
}

/* Modal Base Styles */
.sewa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.sewa-modal.active {
    display: flex;
    opacity: 1;
}

.sewa-modal-content {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.sewa-modal.active .sewa-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 10;
}

.close-modal:hover {
    color: var(--text-dark);
}

/* Modal de Éxito */
.success-modal-content {
    max-width: 600px;
    height: auto;
    max-height: 90vh;
    padding: 40px;
    text-align: center;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-badge {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 172, 166, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.success-icon-badge i {
    width: 48px;
    height: 48px;
}

.success-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.success-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.5;
}

.next-steps-info {
    text-align: left;
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--primary-10);
    width: 100%;
}

/* Modal Fase 2 */
.phase2-modal-content {
    max-width: 480px;
    padding: 35px 30px;
    text-align: center;
}

.phase2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phase2-icon-badge {
    width: 72px;
    height: 72px;
    background-color: rgba(0, 172, 166, 0.12);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.phase2-icon-badge i {
    width: 38px;
    height: 38px;
}

.phase2-content h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.phase2-content p {
    font-size: 0.98rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 20px;
}

.phase2-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdfa;
    color: var(--primary);
    border: 1px solid rgba(0, 172, 166, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
}

.phase2-badge i {
    width: 16px;
    height: 16px;
}

.next-steps-info h4 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.next-steps-info ul {
    list-style: none;
}

.next-steps-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-light);
}

.next-steps-info li:last-child {
    margin-bottom: 0;
}

.next-steps-info li i {
    color: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Carrusel Horizontal Pilares */
.pilares-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    background-color: #f8fafc;
}

.pilares-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.pilares-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 70px 50px 70px; /* Margen para no pisar las flechas */
}

.pilares-slide img {
    max-width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

/* Flechas de navegación */
.pilares-prev-btn,
.pilares-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    border: 1px solid rgba(0, 172, 166, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.pilares-prev-btn { left: 15px; }
.pilares-next-btn { right: 15px; }

.pilares-prev-btn:hover,
.pilares-next-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 172, 166, 0.4);
}

.pilares-prev-btn i,
.pilares-next-btn i {
    width: 28px;
    height: 28px;
}

/* Puntos de navegación (Dots) */
.pilares-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 30px;
}

.pilares-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.pilares-dot.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary);
}

/* Carrusel Horizontal Etapas */
.etapas-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden !important;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

.etapas-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.etapas-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 20px 70px 50px 70px;
}

.etapas-slide img {
    max-width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.etapas-prev-btn,
.etapas-next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    border: 1px solid rgba(0, 172, 166, 0.25);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.etapas-prev-btn { left: 15px; }
.etapas-next-btn { right: 15px; }

.etapas-prev-btn:hover,
.etapas-next-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 172, 166, 0.4);
}

.etapas-prev-btn i,
.etapas-next-btn i {
    width: 28px;
    height: 28px;
}

.etapas-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    padding: 8px 16px;
    border-radius: 30px;
}

.etapas-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.etapas-dot.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary);
}

/* Responsive Recruitment */
@media (max-width: 992px) {
    .camaras-card-wrapper {
        grid-template-columns: 1fr !important;
        padding: 30px 25px !important;
        text-align: center;
    }
    .camaras-info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .pilares-prev-btn,
    .pilares-next-btn,
    .etapas-prev-btn,
    .etapas-next-btn {
        width: 40px;
        height: 40px;
    }
    .pilares-prev-btn, .etapas-prev-btn { left: 8px; }
    .pilares-next-btn, .etapas-next-btn { right: 8px; }
    .pilares-prev-btn i, .pilares-next-btn i,
    .etapas-prev-btn i, .etapas-next-btn i {
        width: 22px;
        height: 22px;
    }
    .timeline {
        padding-left: 30px;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-number {
        left: -30px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border-width: 3px;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .success-modal-content {
        padding: 30px 20px;
    }
}

/* Image Zoom Lightbox Modal */
.image-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.image-zoom-modal.active {
    display: flex !important;
}

.zoom-modal-container {
    position: relative;
    max-width: 98vw;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoom-modal-container img {
    max-width: 96vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}

.zoom-modal-container .close-modal {
    position: absolute;
    top: -45px;
    right: 5px;
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: transform 0.2s;
}

.zoom-modal-container .close-modal:hover {
    transform: scale(1.2);
    color: var(--primary);
}

.zoom-modal-footer {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    margin-top: 14px;
    text-align: center;
}

.zoom-modal-footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.slide-deck-container img,
.pilares-slide img,
.etapas-slide img {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-deck-container img:hover,
.pilares-slide img:hover,
.etapas-slide img:hover {
    transform: scale(1.01);
}


/* Dropdown Portal Cuidador en Navbar */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 15px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    background: rgba(0, 172, 166, 0.08) !important;
    color: var(--primary) !important;
    border: 1.5px solid var(--primary-40) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    display: none !important;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
    background: rgba(0, 172, 166, 0.16) !important;
    border-color: var(--primary) !important;
    color: #00827d !important;
    transform: translateY(-1px);
}

.dropdown-chevron {
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 285px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 172, 166, 0.08);
    border: 1px solid rgba(0, 172, 166, 0.18);
    padding: 8px;
    display: none;
    z-index: 1005;
    animation: fadeInDropdown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Puente invisible para que no se cierre el hover */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin-bottom: 2px;
}

.dropdown-item::after {
    display: none !important;
}

.dropdown-item:hover {
    background: #f0fdfa !important;
    transform: translateX(3px);
}

.dropdown-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dropdown-item-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    line-height: 1.25 !important;
    margin-bottom: 2px;
}

.dropdown-item-desc {
    font-size: 0.73rem !important;
    font-weight: 400 !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.dropdown-item:hover .dropdown-item-title {
    color: var(--primary) !important;
}

/* Adaptación Responsive para Navbar y Portal Cuidador Dropdown */
@media (max-width: 1200px) and (min-width: 769px) {
    .logo {
        margin-right: 20px !important;
    }
    .logo img {
        height: 68px !important;
    }
    .nav-links {
        gap: 10px !important;
    }
    .nav-links a:not(.btn):not(.nav-btn-sumate) {
        font-size: 0.88rem !important;
    }
    .nav-btn-sumate {
        font-size: 0.85rem !important;
        padding: 7px 14px !important;
    }
    .nav-btn-portal {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
    .nav-dropdown-toggle {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-toggle {
        font-size: 1.1rem !important;
        padding: 10px 22px !important;
        background: rgba(0, 172, 166, 0.08) !important;
    }

    .nav-dropdown-menu {
        position: static;
        width: 90%;
        max-width: 320px;
        margin-top: 10px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 172, 166, 0.2);
        display: none;
        animation: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown.open .dropdown-chevron {
        transform: rotate(180deg);
    }
}
