:root {
    --primary-blue: #0056b3;
    --accent-green: #28a745;
    --accent-red: #dc3545;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --glow-color: rgba(0, 86, 179, 0.6);
}

/* ===== Snow Canvas ===== */
#snowCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ===== Fire Canvas ===== */
#fireCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* ===== Rain Canvas ===== */
#rainCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    position: relative;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Estado transparente (inicial) */
.navbar-transparent {
    background: transparent;
    box-shadow: none;
}

.navbar-transparent .nav-link {
    color: white !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.navbar-transparent .navbar-brand {
    color: white !important;
    text-shadow: 0 0 10px #4d9fff, 0 0 20px #4d9fff, 0 0 40px var(--primary-blue), 0 0 80px var(--primary-blue);
}

.navbar-transparent .navbar-logo-slot {
    background: rgba(255,255,255,0.2);
    box-shadow: none;
}

.navbar-transparent .nav-link.btn-glow,
.navbar-transparent .nav-link.btn-glow:hover {
    background-color: var(--primary-blue);
    color: white !important;
    text-shadow: none;
}

.navbar-transparent .nav-link.btn-glow {
    box-shadow: 0 0 15px var(--glow-color);
}

.navbar-transparent .nav-link.btn-glow:hover {
    box-shadow: 0 0 25px var(--primary-blue);
}

.navbar .nav-link.btn-auth {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: none;
    transition: all 0.3s ease;
}

.navbar-transparent .nav-link.btn-auth {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
}

.navbar-transparent .nav-link.btn-auth:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.navbar-scrolled .nav-link.btn-glow {
    background-color: var(--primary-blue);
    color: white !important;
    box-shadow: 0 0 15px var(--glow-color);
}

.navbar-scrolled .nav-link.btn-glow:hover {
    color: white !important;
    box-shadow: 0 0 25px var(--primary-blue);
}

.navbar-scrolled .nav-link.btn-auth {
    background-color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(0, 86, 179, 0.45);
}

.navbar-scrolled .nav-link.btn-auth:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(0, 86, 179, 0.62);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.48rem 0;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar .navbar-brand {
        font-size: 0.9rem;
        line-height: 1.1;
        max-width: calc(100% - 64px);
    }

    .navbar-logo-slot {
        width: 42px;
        height: 42px;
        border-radius: 6px;
    }

    .navbar .navbar-toggler {
        padding: 0.26rem 0.44rem;
        font-size: 0.82rem;
    }

    .navbar .nav-link.btn-auth {
        display: inline-flex;
        align-items: center;
        width: max-content;
    }

    /* Header desplegado en movil: siempre blanco */
    .navbar.navbar-mobile-open {
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        padding: 0.42rem 0;
    }

    .navbar.navbar-mobile-open .navbar-collapse {
        background: #ffffff;
        margin-top: 0.36rem;
        border-radius: 10px;
        padding: 0.42rem 0.46rem 0.58rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar.navbar-mobile-open .nav-link {
        color: var(--primary-blue) !important;
        text-shadow: none;
        font-size: 0.82rem;
        line-height: 1.2;
        padding: 0.38rem 0.5rem;
    }

    .navbar.navbar-mobile-open .navbar-brand {
        color: var(--primary-blue) !important;
        text-shadow: none;
    }

    .navbar.navbar-mobile-open .navbar-logo-slot {
        background: rgba(0, 86, 179, 0.1);
    }

    .navbar.navbar-mobile-open .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.34);
    }

    .navbar.navbar-mobile-open .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.14);
    }

    .navbar.navbar-mobile-open .navbar-toggler-icon {
        filter: invert(0) brightness(0);
    }

    .navbar.navbar-scrolled .navbar-toggler {
        border-color: rgba(0, 0, 0, 0.34);
    }

    .navbar.navbar-scrolled .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.14);
    }

    .navbar.navbar-scrolled .navbar-toggler-icon {
        filter: invert(0) brightness(0);
    }

    .navbar.navbar-mobile-open .nav-link.btn-glow,
    .navbar.navbar-mobile-open .nav-link.btn-auth {
        display: inline-flex;
        align-items: center;
        width: auto;
        margin-top: 0.36rem;
        border-radius: 999px;
        font-size: 0.76rem;
        padding: 0.4rem 0.78rem;
    }

    .navbar.navbar-mobile-open .nav-link.btn-glow {
        background-color: var(--primary-blue) !important;
        color: #ffffff !important;
    }

    .navbar.navbar-mobile-open .nav-link.btn-auth {
        color: #ffffff !important;
    }
}

/* Boton Contactenos en header */
.navbar .nav-link.btn-glow {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(125, 196, 255, 0.35);
    box-shadow: 0 0 14px rgba(77, 159, 255, 0.75), 0 0 30px rgba(0, 86, 179, 0.5);
    animation: carouselGlowPulse 2.1s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.navbar .nav-link.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

.navbar .nav-link.btn-glow:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 20px rgba(77, 159, 255, 0.95), 0 0 36px rgba(0, 86, 179, 0.75);
    animation-duration: 1.1s;
}

.navbar .nav-link.btn-glow:hover::before {
    left: 145%;
}

.navbar .nav-link.btn-glow:active {
    transform: translateY(1px) scale(0.96);
    box-shadow: 0 0 12px rgba(77, 159, 255, 0.85), inset 0 0 12px rgba(255, 255, 255, 0.25);
    animation: carouselGlowPress 0.22s ease-out;
}

.navbar .nav-link.btn-glow:focus-visible {
    outline: 2px solid rgba(125, 196, 255, 0.85);
    outline-offset: 3px;
}

.navbar-logo-slot {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(255,255,255,0.2);
}

.navbar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Estado Scrolled (blanco) */
.navbar-scrolled {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-scrolled .nav-link {
    color: var(--primary-blue) !important;
    text-shadow: none;
}

.navbar-scrolled .navbar-brand {
    color: var(--primary-blue) !important;
    text-shadow: none;
}

.navbar-scrolled .navbar-logo-slot {
    background: rgba(0, 86, 179, 0.1);
}

/* --- Hero Carousel --- */
#heroCarousel {
    height: 100vh;
    width: 100%;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0;
    background-color: transparent;
    background-size: 66% 66%;
    box-shadow: none;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.75)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

#heroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#heroCarousel .carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    background-color: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.72));
}

#heroCarousel .carousel-item {
    height: 100vh;
    background-color: #000;
}

#heroCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.6; /* Oscurecer para leer texto */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    color: white;
}

/* Slide 1: left-aligned on desktop, centered on mobile */
.hero-overlay-left {
    padding: 0 2rem;
}

@media (min-width: 992px) {
    .hero-overlay-left {
        align-items: flex-start;
        text-align: left;
        padding-left: 6%;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px var(--primary-blue);
    animation: fadeInDown 1s ease;
}

.hero-slogan {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Slide 1: texto + PNG lateral */
.hero-intro-container {
    position: relative;
    z-index: 2;
}

.hero-intro-row {
    min-height: calc(100vh - 170px);
}

.hero-intro-copy .hero-title,
.hero-intro-copy .hero-slogan {
    margin-left: auto;
    margin-right: auto;
}

.hero-intro-copy .hero-slogan {
    max-width: 620px;
}

.hero-person-frame {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: min(100%, 520px);
    padding: 0.5rem;
}

.hero-person-frame::before {
    content: '';
    position: absolute;
    inset: 16% 8% 8%;
    border-radius: 44%;
    background: radial-gradient(circle at 50% 45%, rgba(77, 159, 255, 0.34), rgba(0, 86, 179, 0.2) 48%, rgba(0, 0, 0, 0) 72%);
    filter: blur(24px);
    z-index: 0;
}

.hero-person-image {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 100%;
    max-height: 470px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

@media (min-width: 992px) {
    .hero-intro-row {
        min-height: calc(100vh - 180px);
    }

    .hero-intro-copy {
        text-align: left !important;
        padding-right: 2rem;
    }

    .hero-intro-copy .hero-title,
    .hero-intro-copy .hero-slogan {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-intro-copy .hero-title {
        font-size: clamp(2.8rem, 4.8vw, 4.2rem);
    }

    .hero-intro-copy .hero-slogan {
        font-size: clamp(1.1rem, 1.9vw, 1.6rem);
    }

    .hero-intro-visual {
        justify-content: flex-end !important;
    }

    .hero-person-image {
        max-height: 520px;
    }
}

@media (max-width: 991.98px) {
    #heroCarousel {
        height: 78vh;
        min-height: 520px;
    }

    #heroCarousel .carousel-item {
        height: 78vh;
        min-height: 520px;
    }

    #heroCarousel .carousel-item:first-child img {
        object-position: left center;
    }

    .hero-overlay {
        padding: 0 0.85rem;
    }

    .hero-overlay .container {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero-title {
        font-size: clamp(1.42rem, 6vw, 1.95rem);
        line-height: 1.14;
        margin-bottom: 0.45rem;
    }

    .hero-slogan {
        font-size: clamp(0.78rem, 3.15vw, 0.98rem);
        margin-bottom: 0.8rem;
    }

    #heroCarousel .btn-glow.btn-lg {
        font-size: 0.74rem;
        padding: 7px 16px;
        border-radius: 28px;
        letter-spacing: 0.2px;
    }

    #heroCarousel .btn-glow.btn-lg i {
        font-size: 0.72rem;
    }

    #heroCarousel .carousel-control-prev-icon,
    #heroCarousel .carousel-control-next-icon {
        width: 2.2rem;
        height: 2.2rem;
    }

    .hero-intro-row {
        min-height: calc(100vh - 145px);
        gap: 0.4rem;
    }

    .hero-intro-visual {
        margin-bottom: 0.6rem;
    }

    .hero-person-frame {
        width: min(84vw, 340px);
        padding: 0.2rem 0.2rem 0.55rem;
    }

    .hero-person-frame::before {
        inset: 12% 4% 0;
        background: radial-gradient(circle at 50% 50%, rgba(77, 159, 255, 0.45), rgba(0, 86, 179, 0.28) 50%, rgba(0, 0, 0, 0) 72%);
        filter: blur(20px);
    }

    .hero-person-image {
        max-height: 39vh;
    }

    .hero-intro-copy .hero-title {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .hero-intro-copy .hero-slogan {
        font-size: clamp(1rem, 4.8vw, 1.25rem);
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .navbar .navbar-brand {
        font-size: 0.8rem;
        max-width: calc(100% - 56px);
    }

    .navbar-logo-slot {
        width: 36px;
        height: 36px;
    }

    .navbar.navbar-mobile-open .nav-link {
        font-size: 0.76rem;
        padding: 0.34rem 0.44rem;
    }

    .navbar.navbar-mobile-open .nav-link.btn-glow,
    .navbar.navbar-mobile-open .nav-link.btn-auth {
        font-size: 0.72rem;
        padding: 0.34rem 0.68rem;
    }

    #heroCarousel {
        min-height: 460px;
    }

    #heroCarousel .carousel-item {
        min-height: 460px;
    }

    .hero-title {
        font-size: clamp(1.22rem, 7vw, 1.56rem);
    }

    .hero-slogan {
        font-size: clamp(0.7rem, 3.5vw, 0.84rem);
        margin-bottom: 0.62rem;
    }

    #heroCarousel .btn-glow.btn-lg {
        font-size: 0.68rem;
        padding: 6px 13px;
    }
}

/* Slot para PNG de presentación */
.presenter-slot {
    margin-top: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px dashed rgba(255,255,255,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    box-shadow: 0 0 25px var(--glow-color);
}

.presenter-slot img {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1 !important;
}

/* Botones con Glow */
.btn-glow {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--primary-blue);
    color: white;
}

/* Boton Agendar Ahora - Glow verde esmeralda */
.btn-glow-schedule {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #00c853, #00e676, #00c853);
    background-size: 200% 200%;
    color: white;
    border: 1px solid rgba(0, 230, 118, 0.4);
    padding: 13px 34px;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(0, 200, 83, 0.55), 0 0 40px rgba(0, 200, 83, 0.2);
    animation: scheduleGlowPulse 2.2s ease-in-out infinite, scheduleBgShift 4s ease infinite;
    transition: all 0.35s ease;
    will-change: transform, box-shadow;
}

.btn-glow-schedule::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.5s ease;
}

.btn-glow-schedule:hover {
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.8), 0 0 50px rgba(0, 230, 118, 0.45), 0 4px 20px rgba(0, 0, 0, 0.15);
    animation-duration: 1.2s;
}

.btn-glow-schedule:hover::before {
    left: 150%;
}

.btn-glow-schedule:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 0 12px rgba(0, 200, 83, 0.7), inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-glow-schedule:focus-visible {
    outline: 2px solid #00e676;
    outline-offset: 3px;
}

.btn-glow-schedule.btn-sm {
    padding: 8px 22px;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}

@keyframes scheduleGlowPulse {
    0%, 100% { box-shadow: 0 0 18px rgba(0, 200, 83, 0.55), 0 0 40px rgba(0, 200, 83, 0.2); }
    50% { box-shadow: 0 0 28px rgba(0, 230, 118, 0.75), 0 0 55px rgba(0, 200, 83, 0.35); }
}

@keyframes scheduleBgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Botones del carrusel principal (Seccion 1) */
#heroCarousel .btn-glow {
    position: relative;
    overflow: hidden;
    background-color: var(--primary-blue) !important;
    color: white !important;
    border: 1px solid rgba(125, 196, 255, 0.35);
    box-shadow: 0 0 14px rgba(77, 159, 255, 0.75), 0 0 30px rgba(0, 86, 179, 0.5);
    animation: carouselGlowPulse 2.1s ease-in-out infinite;
    will-change: transform, box-shadow;
}

#heroCarousel .btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
}

#heroCarousel .btn-glow:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 20px rgba(77, 159, 255, 0.95), 0 0 36px rgba(0, 86, 179, 0.75);
    animation-duration: 1.1s;
}

#heroCarousel .btn-glow:hover::before {
    left: 145%;
}

#heroCarousel .btn-glow:focus {
    background-color: var(--primary-blue) !important;
    color: white !important;
}

#heroCarousel .btn-glow:active {
    background-color: var(--primary-blue) !important;
    color: white !important;
    transform: translateY(1px) scale(0.96);
    box-shadow: 0 0 12px rgba(77, 159, 255, 0.85), inset 0 0 12px rgba(255, 255, 255, 0.25);
    animation: carouselGlowPress 0.22s ease-out;
}

#heroCarousel .btn-glow:focus-visible {
    background-color: var(--primary-blue) !important;
    color: white !important;
    outline: 2px solid rgba(125, 196, 255, 0.85);
    outline-offset: 3px;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    color: white;
    font-size: 2.6rem;
    line-height: 1;
    text-decoration: none;
    appearance: none;
    filter: none;
    transition: transform 0.3s ease;
    animation: scrollDownFloat 1.9s ease-in-out infinite;
    backdrop-filter: none;
}

.scroll-down::before,
.scroll-down::after {
    content: none;
}

.scroll-down::before {
    content: none;
}

.scroll-down::after {
    content: none;
}

.scroll-down:hover {
    transform: translateX(-50%) translateY(-8px) scale(1.1);
    color: #ffffff;
    filter: none;
}

.scroll-down:active {
    transform: translateX(-50%) translateY(0) scale(0.94);
}

.scroll-down i {
    pointer-events: none;
    text-shadow: none;
}

.scroll-down:hover i {
    text-shadow: none;
}

.scroll-down.is-jumping {
    animation: scrollDownLaunch 0.8s cubic-bezier(0.22, 0.78, 0.3, 1) 1;
}

.section-entry-glow {
    animation: sectionEntryGlow 1.2s ease-out;
}

/* ===== Brands Carousel ===== */
.brands-section {
    background: #ffffff;
    padding: 28px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}
.brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-red), var(--primary-blue), transparent);
    background-size: 200% 100%;
    animation: brandsLineShift 5s linear infinite;
}
.brands-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-red), var(--primary-blue), transparent);
    background-size: 200% 100%;
    animation: brandsLineShift 5s linear infinite;
}
@keyframes brandsLineShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.brands-track {
    display: flex;
    width: max-content;
    animation: brandsScroll 12s linear infinite;
}
.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brandsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brands-slide {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 0 25px;
}

.brand-item {
    flex-shrink: 0;
    width: 130px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.4s ease;
}
.brand-item:hover {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.12), 0 0 20px rgba(0, 86, 179, 0.06);
    transform: scale(1.1) translateY(-2px);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.4s ease;
}
.brand-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
    .brands-section {
        padding: 20px 0;
    }
    .brands-slide {
        gap: 30px;
    }
    .brand-item {
        width: 95px;
        height: 45px;
        padding: 6px 8px;
    }
}

/* --- Sections --- */
section {
    padding: 80px 0;
}

.section-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 86, 179, 0.3),
                 0 0 30px rgba(0, 123, 255, 0.15);
    animation: sectionTitleGlow 3s ease-in-out infinite alternate;
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 3px;
    background: var(--accent-red);
    margin: 10px auto 0;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.4), 0 0 20px rgba(220, 53, 69, 0.2);
    animation: sectionLineGlow 2.5s ease-in-out infinite alternate;
}

@keyframes sectionTitleGlow {
    0%   { text-shadow: 0 0 10px rgba(0, 86, 179, 0.3), 0 0 30px rgba(0, 123, 255, 0.1); }
    100% { text-shadow: 0 0 15px rgba(0, 86, 179, 0.5), 0 0 40px rgba(0, 123, 255, 0.25); }
}

@keyframes sectionLineGlow {
    0%   { box-shadow: 0 0 6px rgba(220, 53, 69, 0.3), 0 0 15px rgba(220, 53, 69, 0.1); }
    100% { box-shadow: 0 0 12px rgba(220, 53, 69, 0.5), 0 0 25px rgba(220, 53, 69, 0.25); }
}

/* ===== Sobre Nosotros - Interactive Section ===== */
#nosotros {
    position: relative;
    overflow: hidden;
}

#nosotros::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 86, 179, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 123, 255, 0.04) 0%, transparent 50%);
    animation: aboutBgShift 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes aboutBgShift {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(2%, -2%) scale(1.05); }
}

#nosotros .container {
    position: relative;
    z-index: 1;
}

/* --- Stat Cards (contadores) --- */
.about-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 86, 179, 0.08);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #4d9fff, var(--primary-blue));
    background-size: 200% 100%;
    animation: statBorderShift 3s ease-in-out infinite;
}

@keyframes statBorderShift {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.about-stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 35px rgba(0, 86, 179, 0.18), 0 0 20px rgba(77, 159, 255, 0.15);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f1ff, #d4e5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.4rem;
    color: var(--primary-blue);
    transition: all 0.4s ease;
    box-shadow: 0 0 12px rgba(0, 86, 179, 0.15);
}

.about-stat-card:hover .about-stat-icon {
    background: linear-gradient(135deg, var(--primary-blue), #1a6fe0);
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 86, 179, 0.4);
    transform: scale(1.1);
}

.about-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
    display: inline;
}

.about-stat-suffix {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-red);
}

.about-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a7192;
    margin-top: 6px;
    margin-bottom: 0;
}

/* --- Timeline --- */
.about-timeline {
    position: relative;
    padding-left: 32px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 14px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-blue), #4d9fff, var(--primary-blue));
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.3);
}

.about-timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 20px;
    transition: transform 0.3s ease;
}

.about-timeline-item:hover {
    transform: translateX(6px);
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-dot {
    position: absolute;
    left: -27px;
    top: 4px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #1a6fe0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: 0 0 12px rgba(0, 86, 179, 0.35);
    z-index: 2;
    transition: all 0.3s ease;
}

.about-timeline-item:hover .about-timeline-dot {
    box-shadow: 0 0 22px rgba(0, 86, 179, 0.6);
    transform: scale(1.15);
}

.about-timeline-content {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.08);
    border: 1px solid rgba(0, 86, 179, 0.08);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.about-timeline-item:hover .about-timeline-content {
    box-shadow: 0 8px 28px rgba(0, 86, 179, 0.15);
    border-color: rgba(0, 86, 179, 0.2);
}

.about-timeline-content h6 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.about-timeline-content p {
    color: #4a5d75;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Info Card (derecha) --- */
.about-info-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 8px 30px rgba(0, 86, 179, 0.1);
    border: 1px solid rgba(0, 86, 179, 0.08);
    position: relative;
    overflow: hidden;
}

.about-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-green), var(--primary-blue));
    background-size: 200% 100%;
    animation: statBorderShift 4s linear infinite;
}

.about-info-header {
    margin-bottom: 1rem;
}

.about-info-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue), #1a6fe0);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(0, 86, 179, 0.5), 0 0 10px rgba(77, 159, 255, 0.2); }
}

.about-info-text {
    color: #4a5d75;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.about-info-subtitle {
    color: #10284a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

/* --- Feature chips --- */
.about-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.about-feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2a5a8f;
    background: #edf5ff;
    border: 1px solid #d5e6f9;
    border-radius: 999px;
    padding: 7px 14px;
    transition: all 0.3s ease;
}

.about-feature-chip:hover {
    background: #dbeeff;
    border-color: #b8d4f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.12);
}

.about-feature-chip i {
    color: var(--accent-green);
    font-size: 0.85rem;
    filter: drop-shadow(0 0 3px rgba(40, 167, 69, 0.4));
}

/* --- Responsive Sobre Nosotros --- */
@media (min-width: 768px) and (max-width: 991.98px) {
    .about-stat-number { font-size: 2rem; }
    .about-stat-card { padding: 1.2rem 0.8rem; }
    .about-timeline-content p { font-size: 0.84rem; }
    .about-info-card { padding: 1.4rem; }
}

@media (max-width: 767.98px) {
    #nosotros {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    #nosotros .section-title {
        font-size: 1.45rem;
        margin-bottom: 0.7rem;
    }

    #nosotros .lead {
        font-size: 0.9rem;
        line-height: 1.42;
        margin-bottom: 0.45rem;
    }

    .about-stat-card {
        padding: 1rem 0.6rem;
    }

    .about-stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .about-stat-number {
        font-size: 1.8rem;
    }

    .about-stat-suffix {
        font-size: 1.2rem;
    }

    .about-stat-label {
        font-size: 0.72rem;
    }

    .about-timeline {
        padding-left: 26px;
    }

    .about-timeline::before {
        left: 10px;
    }

    .about-timeline-dot {
        left: -23px;
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .about-timeline-content {
        padding: 1rem 1.1rem;
    }

    .about-timeline-content h6 {
        font-size: 0.9rem;
    }

    .about-timeline-content p {
        font-size: 0.8rem;
    }

    .about-info-card {
        padding: 1.2rem;
    }

    .about-info-text {
        font-size: 0.84rem;
    }

    .about-feature-chip {
        font-size: 0.76rem;
        padding: 5px 10px;
    }
}

/* Card Servicios */
.service-card {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 86, 179, 0.08), 0 0 0 1px rgba(0, 86, 179, 0.06);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s ease,
                border-color 0.45s ease;
    border-top: 4px solid var(--primary-blue);
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
    animation: serviceCardGlow 3s ease-in-out infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #4d9fff, var(--primary-blue));
    background-size: 200% 100%;
    animation: serviceCardBorderShift 3s ease-in-out infinite;
    z-index: 2;
}

.service-card-click {
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.18),
                0 0 20px rgba(77, 159, 255, 0.25),
                0 0 0 1px rgba(0, 86, 179, 0.12);
    border-top-color: transparent;
}

.service-card:hover::before {
    animation-duration: 1.2s;
}

/* Overlay sobre la imagen al hover */
.service-card .service-cover-image {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.service-card:hover .service-cover-image {
    transform: scale(1.08);
    filter: brightness(0.85) saturate(1.15);
}

/* Clip del overflow de la imagen */
.service-card .carousel-inner,
.service-card > .service-cover-image,
.service-card > .service-media-fallback {
    overflow: hidden;
}

.service-card .card-body {
    position: relative;
    z-index: 1;
}

.service-card .card-title {
    transition: color 0.3s ease;
}

.service-card:hover .card-title {
    color: var(--primary-blue);
}

.service-cover-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    display: block;
    background: #0d1626;
}

.service-media-fallback {
    height: 220px;
}

.service-card-carousel .carousel-control-prev,
.service-card-carousel .carousel-control-next {
    width: 16%;
    opacity: 1;
}

.service-card-carousel .carousel-control-prev-icon,
.service-card-carousel .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.45);
    background-size: 60% 60%;
}

.service-card-carousel-control {
    z-index: 3;
}

.service-card-desc {
    min-height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .service-cover-image,
    .service-media-fallback {
        height: 180px;
    }

    .service-card-desc {
        min-height: 48px;
    }
}

/* ===== Paginación de Servicios ===== */
.services-pagination-nav {
    margin-top: 2.5rem;
}

.services-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.services-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 2px solid rgba(0, 86, 179, 0.18);
    background: #fff;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 3px 10px rgba(0, 86, 179, 0.08);
    padding: 0 6px;
}

.services-page-btn:hover:not(:disabled) {
    background: rgba(0, 86, 179, 0.06);
    border-color: rgba(0, 86, 179, 0.35);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.18);
}

.services-page-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.96);
}

.services-page-item.active .services-page-btn {
    background: linear-gradient(135deg, var(--primary-blue), #1a6fe0);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.45), 0 0 24px rgba(77, 159, 255, 0.15);
    animation: pageGlowPulse 2.5s ease-in-out infinite;
    cursor: default;
}

.services-page-item.active .services-page-btn:hover {
    transform: none;
}

.services-page-arrow {
    font-size: 0.85rem;
    min-width: 40px;
    height: 40px;
}

.services-page-item.disabled .services-page-btn {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: rgba(0, 86, 179, 0.1);
    box-shadow: none;
}

@keyframes pageGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(0, 86, 179, 0.45), 0 0 24px rgba(77, 159, 255, 0.15);
    }
    50% {
        box-shadow: 0 4px 22px rgba(0, 86, 179, 0.6), 0 0 35px rgba(77, 159, 255, 0.25);
    }
}

@media (max-width: 767.98px) {
    .services-pagination {
        gap: 8px;
    }

    .services-page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .services-page-arrow {
        min-width: 36px;
        height: 36px;
    }
}

/* Botón "Ver detalle" con efecto glow */
.btn-glow-detail {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-blue), #1a6fe0);
    color: #fff;
    border: 1px solid rgba(77, 159, 255, 0.35);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.78rem;
    box-shadow: 0 0 8px rgba(77, 159, 255, 0.5), 0 0 20px rgba(0, 86, 179, 0.3);
    animation: detailGlowPulse 2.5s ease-in-out infinite;
    transition: all 0.35s ease;
    will-change: transform, box-shadow;
}

.btn-glow-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: none;
    pointer-events: none;
}

.btn-glow-detail:hover {
    color: #fff;
    background: linear-gradient(135deg, #1a6fe0, var(--primary-blue));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 16px rgba(77, 159, 255, 0.85),
                0 0 32px rgba(0, 86, 179, 0.55),
                0 4px 12px rgba(0, 0, 0, 0.15);
    animation: none;
}

.btn-glow-detail:hover::before {
    animation: detailShimmer 0.6s ease forwards;
}

.btn-glow-detail:active {
    color: #fff;
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 0 10px rgba(77, 159, 255, 0.7),
                inset 0 0 8px rgba(255, 255, 255, 0.2);
}

.btn-glow-detail:focus-visible {
    outline: 2px solid rgba(77, 159, 255, 0.8);
    outline-offset: 3px;
    color: #fff;
}

.service-card:hover .btn-glow-detail {
    animation-duration: 1.4s;
}

.service-detail-modal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 40px rgba(13, 79, 159, 0.15);
    background: #fff;
}

/* ===== SDM Header ===== */
.sdm-header {
    background: linear-gradient(135deg, #0a2a5e 0%, #0d4f9f 40%, #1a6fe0 100%);
    border-bottom: none;
    padding: 1.2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.sdm-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(77, 159, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sdm-header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.sdm-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(6px);
}

.sdm-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
}

.sdm-header-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===== SDM Body ===== */
.sdm-body {
    padding: 1.5rem;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* ===== SDM Tech Card (About Me) ===== */
.sdm-tech-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border: 1px solid #d0e2f7;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sdm-tech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 79, 159, 0.12);
}

.sdm-tech-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0d4f9f, #1a6fe0, #4d9fff);
    border-radius: 4px 0 0 4px;
}

.sdm-tech-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(13, 79, 159, 0.2), 0 0 0 2px rgba(13, 79, 159, 0.1);
    flex-shrink: 0;
    position: relative;
}

.sdm-tech-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sdm-tech-avatar::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: #00c853;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 200, 83, 0.35);
}

.sdm-tech-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sdm-tech-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(120deg, #0d4f9f, #1a6fe0);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(13, 79, 159, 0.25);
}

.sdm-tech-tagline {
    color: #4a6a8f;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* ===== SDM Description ===== */
.sdm-desc-block {
    margin-bottom: 1rem;
}

.sdm-desc-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0a2a5e;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.sdm-desc-title i {
    color: #1a6fe0;
}

.sdm-desc-text {
    color: #4a5d75;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    max-height: 160px;
    overflow-y: auto;
    padding-right: 4px;
}

.sdm-desc-text::-webkit-scrollbar {
    width: 4px;
}

.sdm-desc-text::-webkit-scrollbar-thumb {
    background: #c0d4ec;
    border-radius: 4px;
}

/* ===== SDM Features/Garantias ===== */
.sdm-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.sdm-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #2a5a8f;
    background: #edf5ff;
    border: 1px solid #d5e6f9;
    border-radius: 999px;
    padding: 5px 12px;
    transition: all 0.25s ease;
}

.sdm-feature-item:hover {
    background: #dbeeff;
    border-color: #b8d4f2;
    transform: translateY(-1px);
}

.sdm-feature-item i {
    color: #0d4f9f;
    font-size: 0.72rem;
}

/* ===== SDM Action Buttons ===== */
.sdm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0.5rem;
}

.sdm-btn-book {
    background: linear-gradient(135deg, #00c853 0%, #00e676 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: sdmBookPulse 2.5s ease-in-out infinite;
}

.sdm-btn-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.sdm-btn-book:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 200, 83, 0.45);
    animation: none;
}

.sdm-btn-book:hover::before {
    left: 100%;
}

@keyframes sdmBookPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3); }
    50% { box-shadow: 0 6px 30px rgba(0, 200, 83, 0.55), 0 0 12px rgba(0, 230, 118, 0.25); }
}

/* ===== SDM Media (keep existing) ===== */
.service-detail-media {
    height: 380px;
    width: 100%;
    object-fit: cover;
    background: #0d1626;
    display: block;
}

.service-detail-video {
    object-fit: contain;
    background: #0b1222;
}

.service-detail-empty {
    height: 380px;
    background: linear-gradient(145deg, #233a63, #162744);
    color: #cfe0ff;
}

.service-detail-carousel .carousel-control-prev,
.service-detail-carousel .carousel-control-next {
    width: 14%;
}

.service-detail-carousel .carousel-control-prev-icon,
.service-detail-carousel .carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    background-size: 60% 60%;
}

/* ===== SDM Responsive ===== */
@media (max-width: 991.98px) {
    .sdm-body {
        padding: 1rem;
    }
    .service-detail-media {
        height: 260px;
    }
    .service-detail-empty {
        height: 260px;
    }
    .sdm-tech-avatar {
        width: 56px;
        height: 56px;
    }
    .sdm-desc-text {
        max-height: 120px;
    }
    .sdm-actions {
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .service-detail-media {
        height: 200px;
    }
    .service-detail-empty {
        height: 200px;
    }
    .sdm-header {
        padding: 1rem;
    }
    .sdm-tech-card {
        padding: 10px 12px;
    }
    .sdm-features {
        gap: 6px;
    }
}

/* Mission / Vision */
#mision {
    position: relative;
    overflow: hidden;
}

.mv-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border-left: none;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s ease;
}

/* Borde superior animado gradiente */
.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-red), var(--primary-blue));
    background-size: 200% 100%;
    animation: mvBorderShift 4s linear infinite;
}

@keyframes mvBorderShift {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* Glow de fondo pulsante */
.mv-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Mision = glow rojo */
.mv-card-mision::after {
    background: radial-gradient(circle, rgba(220, 53, 69, 0.08) 0%, transparent 70%);
}

/* Vision = glow verde */
.mv-card-vision::after {
    background: radial-gradient(circle, rgba(40, 167, 69, 0.08) 0%, transparent 70%);
}

.mv-card:hover::after {
    opacity: 1;
}

.mv-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.mv-card-mision:hover {
    box-shadow: 0 12px 35px rgba(220, 53, 69, 0.2),
                0 0 40px rgba(220, 53, 69, 0.08);
}

.mv-card-vision:hover {
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.2),
                0 0 40px rgba(40, 167, 69, 0.08);
}

/* Borde animado diferenciado en hover */
.mv-card-mision::before {
    background: linear-gradient(90deg, var(--accent-red), #ff6b7a, var(--accent-red));
    background-size: 200% 100%;
    animation: mvBorderShift 3s linear infinite;
}

.mv-card-vision::before {
    background: linear-gradient(90deg, var(--accent-green), #5dd98a, var(--accent-green));
    background-size: 200% 100%;
    animation: mvBorderShift 3s linear infinite;
}

/* Iconos con glow pulsante */
.mv-card .mv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mv-icon-mision {
    background: rgba(220, 53, 69, 0.1);
    color: var(--accent-red);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
    animation: mvGlowMision 2.5s ease-in-out infinite alternate;
}

.mv-icon-vision {
    background: rgba(40, 167, 69, 0.1);
    color: var(--accent-green);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.2);
    animation: mvGlowVision 2.5s ease-in-out infinite alternate;
}

@keyframes mvGlowMision {
    0%   { box-shadow: 0 0 12px rgba(220, 53, 69, 0.2); }
    100% { box-shadow: 0 0 25px rgba(220, 53, 69, 0.4), 0 0 50px rgba(220, 53, 69, 0.1); }
}

@keyframes mvGlowVision {
    0%   { box-shadow: 0 0 12px rgba(40, 167, 69, 0.2); }
    100% { box-shadow: 0 0 25px rgba(40, 167, 69, 0.4), 0 0 50px rgba(40, 167, 69, 0.1); }
}

.mv-card:hover .mv-icon {
    transform: scale(1.15) rotate(-5deg);
}

.mv-card-mision:hover .mv-icon {
    box-shadow: 0 0 30px rgba(220, 53, 69, 0.5), 0 0 60px rgba(220, 53, 69, 0.15);
}

.mv-card-vision:hover .mv-icon {
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.5), 0 0 60px rgba(40, 167, 69, 0.15);
}

/* Titulo con glow sutil */
.mv-card h3 {
    color: #10284a;
    transition: text-shadow 0.4s ease;
}

.mv-card-mision:hover h3 {
    text-shadow: 0 0 12px rgba(220, 53, 69, 0.25);
}

.mv-card-vision:hover h3 {
    text-shadow: 0 0 12px rgba(40, 167, 69, 0.25);
}

/* Footer & Contact */

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #0d0d1a 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
}
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-red), var(--primary-blue), transparent);
    animation: footerTopLine 4s linear infinite;
    box-shadow: 0 0 15px var(--primary-blue), 0 0 30px rgba(0, 123, 255, 0.3);
}
@keyframes footerTopLine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.contact-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: contactBgPulse 5s ease-in-out infinite alternate;
}
@keyframes contactBgPulse {
    0% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.contact-section h4 {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.contact-section .col-md-6 p i {
    filter: drop-shadow(0 0 6px currentColor);
}

/* Social Buttons - Vertical Stack */
.social-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-btn {
    width: 240px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 30px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    gap: 12px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
.social-btn i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.social-btn span {
    letter-spacing: 0.5px;
}
.social-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}
.social-btn:hover::after {
    left: 100%;
}
.social-btn:hover {
    transform: translateY(-3px) scale(1.04);
    color: white;
}

/* WhatsApp */
.social-whatsapp {
    background: #25D366;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4), 0 0 25px rgba(37, 211, 102, 0.15);
    animation: glowWhatsapp 3s ease-in-out infinite alternate;
}
.social-whatsapp:hover {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7), 0 0 40px rgba(37, 211, 102, 0.3);
}
@keyframes glowWhatsapp {
    0% { box-shadow: 0 0 10px rgba(37, 211, 102, 0.3), 0 0 20px rgba(37, 211, 102, 0.1); }
    100% { box-shadow: 0 0 16px rgba(37, 211, 102, 0.5), 0 0 30px rgba(37, 211, 102, 0.2); }
}

/* Facebook */
.social-facebook {
    background: #1877F2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4), 0 0 25px rgba(24, 119, 242, 0.15);
    animation: glowFacebook 3s ease-in-out infinite alternate;
}
.social-facebook:hover {
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.7), 0 0 40px rgba(24, 119, 242, 0.3);
}
@keyframes glowFacebook {
    0% { box-shadow: 0 0 10px rgba(24, 119, 242, 0.3), 0 0 20px rgba(24, 119, 242, 0.1); }
    100% { box-shadow: 0 0 16px rgba(24, 119, 242, 0.5), 0 0 30px rgba(24, 119, 242, 0.2); }
}

/* Instagram */
.social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 0 12px rgba(225, 48, 108, 0.4), 0 0 25px rgba(225, 48, 108, 0.15);
    animation: glowInstagram 3s ease-in-out infinite alternate;
}
.social-instagram:hover {
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.7), 0 0 40px rgba(225, 48, 108, 0.3);
}
@keyframes glowInstagram {
    0% { box-shadow: 0 0 10px rgba(225, 48, 108, 0.3), 0 0 20px rgba(225, 48, 108, 0.1); }
    100% { box-shadow: 0 0 16px rgba(225, 48, 108, 0.5), 0 0 30px rgba(225, 48, 108, 0.2); }
}

/* TikTok */
.social-tiktok {
    background: #010101;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 0, 80, 0.3), 0 0 10px rgba(0, 242, 234, 0.3);
    animation: glowTiktok 3s ease-in-out infinite alternate;
}
.social-tiktok:hover {
    box-shadow: 0 0 18px rgba(255, 0, 80, 0.6), 0 0 18px rgba(0, 242, 234, 0.6);
}
@keyframes glowTiktok {
    0% { box-shadow: 0 0 8px rgba(255, 0, 80, 0.25), 0 0 8px rgba(0, 242, 234, 0.25); }
    100% { box-shadow: 0 0 14px rgba(255, 0, 80, 0.4), 0 0 14px rgba(0, 242, 234, 0.4); }
}

/* YouTube */
.social-youtube {
    background: #FF0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.4), 0 0 25px rgba(255, 0, 0, 0.15);
    animation: glowYoutube 3s ease-in-out infinite alternate;
}
.social-youtube:hover {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7), 0 0 40px rgba(255, 0, 0, 0.3);
}
@keyframes glowYoutube {
    0% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.3), 0 0 20px rgba(255, 0, 0, 0.1); }
    100% { box-shadow: 0 0 16px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.2); }
}

/* Footer Bar */
.site-footer {
    background: #0a0a14;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: footerBgGlow 4s ease-in-out infinite alternate;
}
@keyframes footerBgGlow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
.footer-glow-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--accent-red), var(--accent-green), var(--primary-blue), transparent);
    background-size: 200% 100%;
    animation: footerLineShift 6s linear infinite;
    box-shadow: 0 0 10px var(--primary-blue), 0 0 20px rgba(0, 123, 255, 0.2);
}
@keyframes footerLineShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.site-footer small {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    animation: footerTextGlow 3s ease-in-out infinite alternate;
}
@keyframes footerTextGlow {
    0% { text-shadow: 0 0 6px rgba(0, 123, 255, 0.2); }
    100% { text-shadow: 0 0 12px rgba(0, 123, 255, 0.4), 0 0 20px rgba(0, 123, 255, 0.15); }
}

/* Social Buttons Mobile */
@media (max-width: 768px) {
    .social-btn {
        width: 200px;
        height: 44px;
        font-size: 1rem;
        padding: 0 16px;
    }
    .social-btn i {
        font-size: 1.15rem;
    }
}

/* Floating Buttons */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
    z-index: 1000;
    text-decoration: none;
}

.float-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background-color: var(--primary-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none; /* JS will show it */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered reveal delays for service cards */
.reveal[data-reveal-delay] {
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes scrollDownFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-10px) scale(1.08);
    }
}

@keyframes scrollDownRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.9;
    }
    80% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes scrollDownLaunch {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
    35% {
        transform: translateX(-50%) translateY(-18px) scale(1.16);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(160px) scale(0.45);
        opacity: 0;
    }
}

@keyframes sectionEntryGlow {
    0% {
        filter: brightness(1) saturate(1);
    }
    45% {
        filter: brightness(1.22) saturate(1.4);
    }
    100% {
        filter: brightness(1) saturate(1);
    }
}

@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes carouselGlowPulse {
    0%, 100% {
        box-shadow: 0 0 14px rgba(77, 159, 255, 0.75), 0 0 30px rgba(0, 86, 179, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(77, 159, 255, 0.95), 0 0 38px rgba(0, 86, 179, 0.72);
    }
}

@keyframes carouselGlowPress {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.2);
    }
    100% {
        filter: brightness(1.05);
    }
}

/* --- Service Card Animations --- */
@keyframes serviceCardGlow {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0, 86, 179, 0.08), 0 0 0 1px rgba(0, 86, 179, 0.06);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 86, 179, 0.14), 0 0 12px rgba(77, 159, 255, 0.1), 0 0 0 1px rgba(0, 86, 179, 0.1);
    }
}

@keyframes serviceCardBorderShift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 0%;
    }
}

/* --- Button Glow Detail --- */
@keyframes detailGlowPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(77, 159, 255, 0.5), 0 0 20px rgba(0, 86, 179, 0.3);
    }
    50% {
        box-shadow: 0 0 14px rgba(77, 159, 255, 0.75), 0 0 28px rgba(0, 86, 179, 0.5);
    }
}

@keyframes detailShimmer {
    0% {
        left: -120%;
    }
    100% {
        left: 145%;
    }
}

/* =======================================
   Booking Modal Styles
   ======================================= */
.booking-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.booking-modal-header {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    border-bottom: none;
    padding: 1.1rem 1.5rem;
}

.booking-modal-header .modal-title {
    color: #fff;
    font-weight: 700;
}

/* Booking modal body has p-0 (steps handle own padding) */
.booking-modal-content .modal-body {
    padding: 0;
}

.booking-modal-content .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.booking-modal-content .form-label {
    font-size: 0.9rem;
    color: #333;
}

#bookingForm .btn-glow-schedule {
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ===== Service Category Filters ===== */
.service-cat-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 6px;
    border-radius: 30px;
    background: rgba(0, 86, 179, 0.04);
    border: 1px solid rgba(0, 86, 179, 0.08);
}

.service-cat-btn {
    border: 2px solid rgba(0, 86, 179, 0.25);
    background: transparent;
    color: #0056b3;
    border-radius: 25px;
    padding: 8px 22px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.service-cat-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.12), rgba(0, 123, 255, 0.08));
    opacity: 0;
    transition: opacity 0.35s;
    border-radius: inherit;
}

.service-cat-btn:hover {
    border-color: rgba(0, 86, 179, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.12);
}

.service-cat-btn:hover::before {
    opacity: 1;
}

.service-cat-btn.active {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 86, 179, 0.35);
    transform: translateY(-1px);
}

.service-cat-btn.active::before {
    opacity: 0;
}

.service-cat-btn:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Animated show/hide for filtered cards */
.service-card-wrapper {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card-wrapper.cat-hidden {
    display: none !important;
}

@media (max-width: 575.98px) {
    .service-cat-filters {
        gap: 6px;
        padding: 4px;
    }

    .service-cat-btn {
        padding: 6px 16px;
        font-size: 0.82rem;
    }
}

/* =====================================================
   INTERACTIVE BOOKING MODAL
   ===================================================== */

/* Step indicators bar */
.booking-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 18px 24px 14px;
    background: linear-gradient(135deg, #f0f6ff 0%, #e6effa 100%);
    border-bottom: 1px solid #dce6f3;
}

.booking-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.45;
    transition: all 0.35s ease;
}

.booking-step-indicator.active {
    opacity: 1;
}

.booking-step-indicator .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #c4d3e8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.35s ease;
}

.booking-step-indicator.active .step-num {
    background: linear-gradient(135deg, #0056b3, #007bff);
    box-shadow: 0 0 16px rgba(0, 86, 179, 0.4);
}

.booking-step-indicator .step-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b7f99;
    transition: color 0.35s;
}

.booking-step-indicator.active .step-label {
    color: #0056b3;
}

.booking-step-connector {
    width: 40px;
    height: 2px;
    background: #d0ddef;
    margin: 0 6px;
    margin-bottom: 18px;
}

/* Step panels */
.booking-step-panel {
    display: none;
    animation: bookingFadeIn 0.35s ease;
}

.booking-step-panel.active {
    display: block;
}

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

/* Service type cards */
.booking-type-card {
    border: 2px solid #e2eaf5;
    border-radius: 14px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.booking-type-card:hover {
    border-color: #a8c4ea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.1);
}

.booking-type-card.selected {
    border-color: #0056b3;
    background: linear-gradient(135deg, #edf4ff 0%, #dfeeff 100%);
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.25);
    transform: translateY(-3px);
}

.booking-type-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f1ff, #d4e5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.3rem;
    color: #0056b3;
    transition: all 0.3s ease;
}

.booking-type-card.selected .booking-type-icon {
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    box-shadow: 0 0 16px rgba(0, 86, 179, 0.4);
}

.booking-type-card strong {
    display: block;
    font-size: 0.88rem;
    color: #1a3a5e;
}

/* Brand cards */
.booking-brand-card {
    border: 2px solid #e8eef6;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.booking-brand-card img {
    max-height: 40px;
    max-width: 70px;
    object-fit: contain;
}

.booking-brand-card small {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4a6588;
}

.booking-brand-card:hover {
    border-color: #a8c4ea;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 86, 179, 0.1);
}

.booking-brand-card.selected {
    border-color: #0056b3;
    background: linear-gradient(135deg, #edf4ff, #dfeeff);
    box-shadow: 0 0 18px rgba(0, 86, 179, 0.25);
}

.booking-brand-other-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7f99;
    font-size: 1.1rem;
}

/* Date circles scroller */
.booking-dates-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.booking-dates-scroller {
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.booking-dates-scroller::-webkit-scrollbar {
    display: none;
}

.booking-dates-track {
    display: flex;
    gap: 10px;
    padding: 8px 4px;
    min-width: max-content;
}

.booking-dates-arrow {
    background: #fff;
    border: 1px solid #d4e3f8;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4a6588;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.booking-dates-arrow:hover {
    background: #edf4ff;
    border-color: #a8c4ea;
    color: #0056b3;
}

/* Individual date circle */
.booking-date-circle {
    width: 68px;
    height: 80px;
    border: 2px solid #e2eaf5;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    flex-shrink: 0;
    gap: 1px;
}

.booking-date-circle:hover {
    border-color: #a8c4ea;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 86, 179, 0.12);
}

.booking-date-circle.selected {
    border-color: #0056b3;
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    box-shadow: 0 0 22px rgba(0, 86, 179, 0.45);
    transform: translateY(-3px);
}

.booking-date-circle .bdc-day {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7f99;
    text-transform: uppercase;
}

.booking-date-circle .bdc-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a3a5e;
    line-height: 1.1;
}

.booking-date-circle .bdc-month {
    font-size: 0.65rem;
    font-weight: 600;
    color: #8899ad;
}

.booking-date-circle.selected .bdc-day,
.booking-date-circle.selected .bdc-num,
.booking-date-circle.selected .bdc-month {
    color: #fff;
}

/* Time slots grid */
.booking-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px;
}

.booking-slot-btn {
    border: 2px solid #e2eaf5;
    border-radius: 10px;
    padding: 10px 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    color: #2a4264;
    text-align: center;
    transition: all 0.3s ease;
}

.booking-slot-btn:hover {
    border-color: #a8c4ea;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.booking-slot-btn.selected {
    border-color: #0056b3;
    background: linear-gradient(135deg, #0056b3, #007bff);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 86, 179, 0.5);
    transform: translateY(-2px);
}

/* Navigation bar */
.booking-nav-bar {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #e8eff8;
    background: #f8fafd;
}

/* Conditional fields */
.booking-conditional {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e2eaf5;
    animation: bookingFadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 575.98px) {
    .booking-steps-bar {
        padding: 12px 10px 10px;
        gap: 0;
    }

    .booking-step-connector {
        width: 20px;
    }

    .booking-step-indicator .step-num {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .booking-step-indicator .step-label {
        font-size: 0.6rem;
    }

    .booking-date-circle {
        width: 58px;
        height: 70px;
    }

    .booking-date-circle .bdc-num {
        font-size: 1.1rem;
    }

    .booking-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
    }

    .booking-type-card {
        padding: 0.9rem 0.5rem;
    }

    .booking-type-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ===== AGENDA YA AQUI! Section ===== */
.agenda-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 40%, #102a44 100%);
    position: relative;
    overflow: hidden;
}

.agenda-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Blue glow title */
.agenda-title-glow {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        0 0 10px rgba(0, 123, 255, 0.6),
        0 0 20px rgba(0, 123, 255, 0.4),
        0 0 40px rgba(0, 123, 255, 0.3),
        0 0 80px rgba(0, 123, 255, 0.15);
    animation: agendaGlowPulse 2.5s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes agendaGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(0, 123, 255, 0.6),
            0 0 20px rgba(0, 123, 255, 0.4),
            0 0 40px rgba(0, 123, 255, 0.3),
            0 0 80px rgba(0, 123, 255, 0.15);
    }
    50% {
        text-shadow:
            0 0 15px rgba(0, 150, 255, 0.8),
            0 0 30px rgba(0, 150, 255, 0.5),
            0 0 60px rgba(0, 150, 255, 0.4),
            0 0 100px rgba(0, 150, 255, 0.2);
    }
}

/* Animated bouncing arrow */
.agenda-arrow-animated {
    margin: 12px auto 18px;
    font-size: 1.8rem;
    color: rgba(0, 180, 255, 0.8);
    animation: agendaArrowBounce 1.5s ease-in-out infinite;
}

@keyframes agendaArrowBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(10px); opacity: 1; }
}

.agenda-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Appliance cards grid */
.appliance-card-grid {
    margin-top: 10px;
}

.appliance-booking-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 28px 16px 22px;
    text-align: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.appliance-booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.appliance-booking-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.2), 0 0 20px rgba(0, 123, 255, 0.1);
}

.appliance-booking-card:hover::before {
    opacity: 1;
}

.appliance-card-visual {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.2);
    transition: all 0.35s ease;
}

.appliance-booking-card:hover .appliance-card-visual {
    background: rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.appliance-card-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.appliance-card-icon {
    font-size: 2rem;
    color: rgba(0, 180, 255, 0.85);
    transition: color 0.3s ease;
}

.appliance-booking-card:hover .appliance-card-icon {
    color: #00b4ff;
}

.appliance-card-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.btn-agenda-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.btn-agenda-card:hover {
    background: linear-gradient(135deg, #0090ff 0%, #007bff 100%);
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Responsive: Agenda section */
@media (max-width: 767.98px) {
    .agenda-title-glow {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .agenda-subtitle {
        font-size: 0.95rem;
    }

    .appliance-card-visual {
        width: 64px;
        height: 64px;
    }

    .appliance-card-icon {
        font-size: 1.6rem;
    }

    .appliance-card-img {
        width: 40px;
        height: 40px;
    }

    .appliance-booking-card {
        padding: 20px 12px 18px;
    }
}

/* ===== Booking Price Card ===== */
.booking-price-info {
    margin-top: 10px;
    margin-bottom: 6px;
}

.booking-price-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    border: 1px solid #86efac;
    border-left: 4px solid #22c55e;
    border-radius: 10px;
    padding: 14px 18px;
    position: relative;
    overflow: hidden;
}

.booking-price-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 50%;
}

.booking-price-card .text-success {
    color: #16a34a !important;
}

.booking-price-card strong {
    color: #15803d;
    font-size: 0.88rem;
}

.booking-price-card .fs-5 {
    font-size: 1.15rem !important;
    letter-spacing: 0.3px;
}
