:root {
    --primary: #0056D2;
    /* Modern Bright Blue */
    --secondary: #e63946;
    /* Vibrant Accent Red */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --shadow-robust: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #0f172a;
}

/* Navbar - Modern & Clean */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    /* Subtle dot-grid texture */
    background-image: radial-gradient(rgba(0, 86, 210, 0.045) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Animated gradient line at the bottom of navbar */
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg,
            #0056D2 0%,
            #3b82f6 25%,
            #e63946 50%,
            #3b82f6 75%,
            #0056D2 100%);
    background-size: 200% 100%;
    animation: navbarGradientSlide 4s linear infinite;
    opacity: 0.7;
}

@keyframes navbarGradientSlide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

/* Soft inner-top highlight to give depth */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 86, 210, 0.15) 30%, rgba(230, 57, 70, 0.1) 70%, transparent 100%);
    pointer-events: none;
}

.menu-toggle {
    display: none;
}

.navbar.scrolled {
    top: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-1px);
}

.logo-container img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 15px rgba(0, 78, 204, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled .logo-container img {
    height: 48px;
    width: 48px;
    border-color: var(--primary);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.navbar.scrolled .logo-text {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 1.3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0px;
    transition: all 0.3s ease;
    outline: none !important;
    border: none !important;
    position: relative;
    padding: 10px 0;
}

/* Indicador animado debajo del texto */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Botón Login Futurista */
.navbar .btn-login {
    padding: 10px 25px !important;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.navbar .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.navbar .btn-login:hover {
    border-color: #0ff !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.8);
    transform: translateY(-2px);
}

.navbar .btn-login:hover::before {
    left: 100%;
}

.navbar.scrolled .btn-login {
    background: rgba(0, 78, 204, 0.05);
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.navbar.scrolled .btn-login:hover {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 5px 15px rgba(0, 78, 204, 0.3);
    text-shadow: none;
}

/* Botón de contacto ultra-estilizado */
.navbar .btn-primary {
    padding: 10px 24px !important;
    border-radius: 8px !important;
    background: var(--primary) !important;
    box-shadow: 0 10px 20px rgba(0, 78, 204, 0.2);
    border: none !important;
    overflow: hidden;
    position: relative;
    z-index: 1;
    color: #ffffff !important;
    /* Texto siempre blanco obligatorio */
}

.navbar .btn-primary::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;
    z-index: -1;
}

.navbar .btn-primary:hover::before {
    left: 100%;
}

/* Colores de texto refinados */
.navbar:not(.scrolled) .nav-links a:not(.btn) {
    color: var(--text-dark) !important;
}

.navbar:not(.scrolled) .nav-links a:not(.btn):hover {
    color: var(--primary) !important;
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: #334155;
    opacity: 0.95;
}

.navbar.scrolled .nav-links a:not(.btn):hover {
    color: var(--primary);
    opacity: 1;
}

.navbar.scrolled .nav-links a.btn-white {
    background-color: var(--secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.navbar.scrolled .nav-links a.btn-white:hover {
    background-color: #d62839 !important;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
    transform: translateY(-2px);
}

.nav-links a:not(.btn):hover {
    opacity: 1 !important;
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar:not(.scrolled) .nav-links a:not(.btn):hover {
    color: var(--primary);
}

/* Hero Section - Premium SaaS Design */
.hero {
    padding: 100px 20px 40px;
    /* Rich page background: soft gradient + a subtle diagonal line pattern overlay */
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f7fff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(160deg, #eef2ff 0%, #f4f7ff 45%, #e8f0fe 100%);
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Large decorative blob bottom-left on page */
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
    bottom: -300px;
    left: -250px;
    pointer-events: none;
}

/* Second blob top-right on page */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    pointer-events: none;
    z-index: 0;
}

.hero-box {
    /* Deep multi-stop gradient for richness */
    background: linear-gradient(135deg, #0f3db4 0%, #1a55e8 40%, #1d72ff 75%, #2a8fff 100%);
    border-radius: 28px;
    padding: 4rem 5%;
    max-width: 1350px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(15, 61, 180, 0.3),
        0 8px 24px rgba(15, 61, 180, 0.18);
    min-height: 520px;
    z-index: 1;
}

/* Dot-grid texture overlay on hero-box */
.hero-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Two decorative orbs inside hero-box for depth */
.hero-box::after {
    content: '';
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    /* Dual-color orb: electric cyan on one side, indigo on the other */
    background: radial-gradient(circle at 30% 50%, rgba(99, 179, 255, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 55%);
    top: -200px;
    right: -100px;
    pointer-events: none;
    z-index: 0;
}

/* Hero Modern Container is now part of .hero-box */
.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
    position: relative;
    z-index: 2;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slides {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
    min-width: 100%;
}

.slide-item h1 {
    font-size: clamp(2.1rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.13;
    color: #ffffff !important;
    margin-bottom: 1rem;
    letter-spacing: -0.8px;
}

.slide-item h1 .highlight {
    color: #ff4a5a;
    /* A vibrant light red that works beautifully on dark blue */
    text-shadow: 0 2px 10px rgba(230, 57, 70, 0.15);
}

.slide-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 0;
    max-width: 500px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.btn-primary-cta {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    padding: 1rem 2.4rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    padding: 1rem 2.4rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    transform: translateY(-3px);
}

.hero-dots {
    display: flex;
    gap: 0.6rem;
    margin-top: 3rem;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-dots .dot.active {
    width: 28px;
    border-radius: 10px;
    background: #ffffff;
    border: none;
}

/* ====== Browser Frame Mockup ====== */
.hero-visual-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 2;
}

.browser-mockup {
    width: 100%;
    background: #ffffff;
    border-radius: 16px 16px 12px 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: float 5s ease-in-out infinite;
}

.browser-bar {
    background: #e8ecf0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.browser-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.bdot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.bdot.red {
    background: #ff5f57;
}

.bdot.yellow {
    background: #ffbd2e;
}

.bdot.green {
    background: #28c840;
}

.browser-url {
    flex: 1;
    text-align: center;
    font-size: 0.78rem;
    background: #ffffff;
    border-radius: 6px;
    padding: 4px 12px;
    color: #64748b;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.3px;
}

.browser-screen {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.browser-screen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Floating notification tags */
.ftag {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.ftag strong {
    color: #1249c9;
}

.ftag-top {
    top: 12px;
    left: 10px;
    animation-delay: 0.8s;
    z-index: 10;
}

.ftag-bottom {
    bottom: 12px;
    left: 10px;
    animation-delay: 1.6s;
    z-index: 10;
}

/* Hero stat pills */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: scale(1.25);
    transform-origin: right center;
}

/* Floating labels around system mockup */
.floating-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 10px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-tag i {
    font-size: 1.05rem;
}

.floating-tag.tag-1 {
    top: 18%;
    left: -12%;
    color: var(--primary);
    border-left: 4px solid var(--primary);
}

.floating-tag.tag-2 {
    bottom: 25%;
    right: -8%;
    color: var(--secondary);
    border-left: 4px solid var(--secondary);
}

.floating-tag.tag-3 {
    bottom: 6%;
    left: -4%;
    color: #10b981;
    border-left: 4px solid #10b981;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsividad Hero */
@media (max-width: 991px) {
    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--text-dark);
        cursor: pointer;
        z-index: 1001;
        transition: all 0.3s ease;
    }

    .navbar.scrolled .menu-toggle {
        color: var(--primary);
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0f3db4;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 5%;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        color: #ffffff !important;
        font-size: 1.1rem;
        padding: 8px 0;
    }

    .nav-links a::after {
        display: none;
    }

    .navbar .btn-primary {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .hero {
        padding: 140px 5% 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-box {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
        gap: 2.5rem;
        min-height: auto;
    }

    .hero-img {
        transform: none;
        transform-origin: center;
        max-width: 100%;
    }

    .slide-item {
        padding-right: 0;
    }

    .slide-item h1 {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
        line-height: 1.25;
    }

    .slide-item p {
        margin: 0 auto;
        font-size: 0.95rem;
    }

    .hero-badge {
        margin: 0 auto 1.5rem;
        max-width: 100%;
        font-size: clamp(0.7rem, 3vw, 0.8rem);
        padding: 6px 14px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .hero-btns {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .btn-primary-cta, .btn-outline-white {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-dots {
        justify-content: center;
        margin-top: 2rem;
    }

    .mockup-wrapper {
        max-width: 380px;
        margin-top: 2rem;
    }

    .floating-tag.tag-1 {
        left: -5%;
        top: 12%;
    }

    .floating-tag.tag-2 {
        right: -5%;
        bottom: 20%;
    }

    .floating-tag.tag-3 {
        left: 2%;
        bottom: 4%;
    }

    .ftag {
        display: none !important;
    }
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #003da6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 78, 204, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background-color: #ffffff;
    color: var(--primary) !important;
    padding: 0.6rem 1.8rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background-color: #f8fafc;
}

/* Sections */
.section {
    padding: 120px 5%;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-robust);
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.card .icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: #f0f7ff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* IoT Highlight */
.iot-highlight {
    background: #0f172a;
    color: white;
    border-radius: 32px;
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 0 5%;
}

.iot-highlight h2 {
    color: white;
}

.iot-content {
    flex: 1;
}

.iot-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

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

/* System Heartbeat JS Interaction */
.heartbeat-container {
    padding: 10px 20px;
    background: #f1f5f9;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 1.5rem;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse-anim 1.5s infinite;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Forzado a 4 columnas */
    gap: 1.5rem;
    margin-top: 4rem;
    width: 100%;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 35px;
    padding: 3.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Plan Specific Identities */
.card-basic {
    box-shadow: 0 20px 40px -15px rgba(100, 116, 139, 0.1);
}

.card-pro {
    box-shadow: 0 20px 40px -15px rgba(0, 78, 204, 0.1);
}

.card-premium {
    box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.1);
}

.card-ultimate {
    box-shadow: 0 20px 40px -15px rgba(245, 158, 11, 0.1);
}

/* Glow on Hover */
.card-basic:hover {
    border-color: #94a3b8;
    box-shadow: 0 40px 80px -20px rgba(148, 163, 184, 0.25);
}

.card-pro:hover {
    border-color: #3b82f6;
    box-shadow: 0 40px 80px -20px rgba(59, 130, 246, 0.25);
}

.card-premium:hover {
    border-color: #6366f1;
    box-shadow: 0 40px 80px -20px rgba(99, 102, 241, 0.25);
}

.card-ultimate:hover {
    border-color: #fbbf24;
    box-shadow: 0 40px 80px -20px rgba(251, 191, 36, 0.3);
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.03);
    background: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.85);
    border-width: 2px;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: translateY(-20px) scale(1.08);
}

/* --- Rediseño Final de Botones de Planes --- */
.btn-plan {
    margin-top: auto !important;
    padding: 16px 30px !important;
    border-radius: 16px !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    border: none !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
    width: 100% !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Plan Básico - Slate/Steel */
.card-basic .btn-plan {
    background: linear-gradient(135deg, #64748b, #334155) !important;
    box-shadow: 0 10px 20px -5px rgba(51, 65, 85, 0.4) !important;
}

/* Plan Pro - Corporate Blue */
.card-pro .btn-plan {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4) !important;
}

/* Plan Premium - Indigo/Violet */
.card-premium .btn-plan {
    background: linear-gradient(135deg, #6366f1, #4338ca) !important;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4) !important;
}

/* Plan Ultimate - Amber/Gold with Pulse */
.card-ultimate .btn-plan {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.5) !important;
    animation: btn-pulse 2s infinite !important;
}

@keyframes btn-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.5);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 20px 45px -5px rgba(217, 119, 6, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 15px 35px -5px rgba(217, 119, 6, 0.5);
    }
}

.btn-plan:hover {
    transform: translateY(-5px) !important;
    filter: brightness(1.1) !important;
    letter-spacing: 2.5px !important;
}

.card-ultimate .btn-plan:hover {
    animation: none !important;
    transform: translateY(-5px) scale(1.03) !important;
}

/* Liquid Shine Effect */
.btn-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none;
    z-index: 1;
    transform: skewX(-20deg);
}

.btn-plan:hover::before {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.plan-badge {
    position: absolute;
    top: 25px;
    right: -35px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #fff;
    padding: 8px 45px;
    font-size: 0.7rem;
    font-weight: 800;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
    z-index: 11;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #475569;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin: 1rem 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.plan-price span {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.plan-desc {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    display: block;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li i {
    color: #10b981;
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.3));
    font-size: 1rem;
    margin-top: 4px;
}

.feature-list li.disabled {
    color: #94a3b8;
    opacity: 0.4;
    text-decoration: none;
    font-size: 0.85rem;
}

.feature-list li.disabled i {
    color: #cbd5e1;
}

/* Unique mesh background for each card */
.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0.4;
}

.card-basic::after {
    background: radial-gradient(circle at top right, rgba(148, 163, 184, 0.1), transparent 70%);
}

.card-pro::after {
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
}

.card-premium::after {
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 70%);
}

.card-ultimate::after {
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.15), transparent 70%);
}

/* Technical Engineering Showcase */
.engineering-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    overflow: hidden;
    color: white;
    text-align: center;
}

.netflix-marquee-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: skewY(-6deg);
    background: transparent;
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 120%;
    transform: translateY(0);
}

.marquee-row {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-row-left {
    animation: marquee-left 30s linear infinite;
}

.marquee-row-right {
    animation: marquee-right 30s linear infinite;
}

.marquee-item {
    width: 400px;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.8);
    transition: all 0.5s ease;
}

.marquee-item:hover img {
    filter: brightness(1) saturate(1);
    transform: scale(1.05);
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.netflix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transform: skewY(6deg);
    /* Reverse the skew to un-skew the text */
}

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

.badge-premium {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: inline-block;
    box-shadow: 0 0 30px rgba(0, 78, 204, 0.5);
}

.netflix-content h3 {
    font-size: 4rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 1);
}

.netflix-content p {
    font-size: 1.4rem;
    color: #e2e8f0;
    font-weight: 400;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Laptop Optimization */
@media (max-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Se mantiene en 4 columnas en laptop */
        gap: 1rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    .hero-content {
        max-width: 800px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 80px 5%;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columnas en pantallas medianas/tablets */
    }
}

/* Hardware Visual Replacement */
.hardware-visual-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 4rem;
    border-radius: 40px;
    border: 1px solid rgba(0, 86, 210, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.hardware-visual-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 78, 204, 0.15), transparent);
    z-index: 1;
}

.hw-icon-main {
    font-size: 8rem;
    color: var(--primary);
    filter: drop-shadow(0 10px 20px rgba(0, 86, 210, 0.3));
    animation: hw-float 4s ease-in-out infinite;
    z-index: 2;
}

.hw-status-leds {
    display: flex;
    gap: 15px;
    z-index: 2;
}

.hw-led {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #334155;
}

.hw-led.active {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: led-blink 1s infinite;
}

.hw-led.active.blue {
    background: #004ecc;
    box-shadow: 0 0 10px #004ecc;
}

@keyframes hw-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes led-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 10px 30px rgba(18, 140, 126, 0.5);
    color: #FFF;
}

/* Contact Form Section */
.container-small {
    max-width: 900px;
    margin: 0 auto;
}

.contact-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-radius: 40px;
    padding: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.5px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 1);
    border-radius: 15px;
    padding: 1.2rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 78, 204, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: none;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-glass-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Corporate Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 100px 5% 40px;
    font-family: var(--font-main);
    overflow: hidden;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 4rem;
    padding-bottom: 80px;
}

.brand-col .logo-container {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1.5rem;
    justify-content: flex-start;
}

.brand-col .logo-text {
    color: #fff;
    font-size: 1.5rem;
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 78, 204, 0.3);
    border-color: var(--primary);
}

.footer-column h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* --- Responsive Optimization --- */

/* Tablets (Max 1200px) */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Phones (Max 991px) */
@media (max-width: 991px) {
    .navbar {
        width: 100%;
        padding: 0 20px;
        height: 80px;
        top: 0;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-container img {
        height: 45px;
        width: 45px;
    }

    .hero {
        padding-top: 140px;
        height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 15px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
        z-index: 1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-15px);
    }

    .contact-glass-card {
        padding: 2.5rem 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group[style*="grid-column: span 2"] {
        grid-column: span 1 !important;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .brand-col .logo-container {
        justify-content: center;
    }

    .brand-desc {
        max-width: 100%;
        margin: 0 auto 2rem;
    }

    .social-links {
        justify-content: center;
    }

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

/* Small Phones */
@media (max-width: 480px) {
    .section-title h2 {
        font-size: 2rem;
    }

    .plan-price {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 10px;
    }
}

/* Oscurecer el overlay en móviles para mayor contraste */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(rgba(10, 10, 15, 0.9), rgba(0, 0, 0, 0.6));
    }
}

/* Testimonials Section (Slider) */
.testimonials-section {
    padding: 100px 5% !important;
    background-color: #e5e5e5 !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slider {
    flex: 1;
    position: relative;
    height: 420px;
    /* Fijar altura para evitar que salte al cambiar de cliente */
}

/* Ocultar slides no activas con efecto 3D/Carousel */
.testimonial-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    /* Efecto rebote tipo selección de personaje (Carousel) */
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translate(-50%, -50%) scale(0.6) rotateY(30deg);
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    z-index: 2;
}

.slide-img-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    border: 5px solid var(--primary);
    padding: 6px;
    background: transparent;
}

.slide-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.slide-text {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0 auto 2rem;
    max-width: 700px;
}

.slide-author {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

/* Controles del Slider */
.slider-nav-btn {
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 78, 204, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-nav-btn:hover {
    background: #003da6;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #9ca3af;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
}


/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
    padding: 100px 5% !important;
}

.faq-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

.faq-item {
    background: var(--bg-white) !important;
    border-radius: 20px !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.faq-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 78, 204, 0.1) !important;
    border-color: var(--primary) !important;
}

.faq-header {
    padding: 1.5rem 2rem !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.faq-header h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: var(--text-dark) !important;
}

.faq-header i {
    color: var(--primary) !important;
    transition: transform 0.4s ease !important;
}

.faq-item.active .faq-header {
    background: rgba(0, 78, 204, 0.03) !important;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg) !important;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    padding: 0 2rem !important;
}

.faq-item.active .faq-body {
    max-height: 500px !important;
    padding: 1.5rem 2rem !important;
    border-top: 1px solid rgba(0, 78, 204, 0.1) !important;
}

.faq-body p {
    margin: 0 !important;
    color: var(--text-muted) !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Netflix Style Diagonal Marquee - Horizontal Title Overlay */
.engineering-section {
    position: relative;
    padding: 120px 0;
    background: #000 !important;
    overflow: hidden !important;
    color: white !important;
    text-align: center;
}

.netflix-marquee-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.netflix-skew {
    transform: skewY(-6deg) scale(1.1);
    width: 130%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee-row {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-row-left {
    animation: marquee-left 40s linear infinite;
}

.marquee-row-right {
    animation: marquee-right 40s linear infinite;
}

.marquee-item {
    width: 450px;
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    transition: all 0.5s ease;
}

.marquee-item:hover img {
    filter: brightness(1);
    transform: scale(1.05);
}

@keyframes marquee-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Text floating STRAIGHT over skewed content */
.netflix-fixed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Ensure it is firmly on top */
}

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

.badge-premium {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    display: inline-block;
    box-shadow: 0 0 40px rgba(0, 78, 204, 0.4);
}

.netflix-content h3 {
    font-size: 4.5rem;
    color: white;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.netflix-content p {
    font-size: 1.5rem;
    color: #94a3b8;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .netflix-marquee-container {
        height: 450px;
    }

    .marquee-item {
        width: 250px;
        height: 160px;
    }

    .netflix-content h3 {
        font-size: 2.5rem;
    }

    .netflix-content p {
        font-size: 1.1rem;
    }
}

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

/* Contenedor responsivo Nosotros (2 columnas a 1 columna) */
.nosotros-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}



/* Responsive Ajustes Especiales de Slider Testimonios */
@media (max-width: 768px) {
    .testimonial-slider {
        height: 550px;
        /* Más altura en móvil porque el texto se hace vertical */
    }

    .slide-img-container {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
        border-width: 4px;
    }

    .slide-text {
        font-size: 1rem;
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
    }

    .slider-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ====== SECCIÓN MÓDULOS / SOLUCIONES STYLES ====== */
.soluciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
    width: 100%;
}

.solucion-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}

.solucion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 86, 210, 0.08);
    border-color: rgba(0, 86, 210, 0.2);
}

.solucion-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(0, 86, 210, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.solucion-card:hover .solucion-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 86, 210, 0.2);
}

.solucion-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.solucion-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-solucion-action {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.btn-solucion-action i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.btn-solucion-action:hover {
    color: var(--secondary);
}

.btn-solucion-action:hover i {
    transform: translateX(4px);
}

/* Responsividad de Módulos e IoT */
@media (max-width: 991px) {
    .soluciones-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 2rem;
    }

    .iot-container {
        flex-direction: column;
        gap: 3rem !important;
        text-align: center;
    }

    .iot-container .iot-content {
        text-align: center;
    }

    .iot-container .heartbeat-container {
        justify-content: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .iot-container .feature-item {
        text-align: left;
    }
}

/* ====== BENTO GRID TOUR SISTEMA ====== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(350px, auto);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.bento-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem 0;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 86, 210, 0.12);
    border-color: rgba(0, 86, 210, 0.15);
}

.bento-content {
    margin-bottom: 2rem;
}

.bento-content h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.bento-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.bento-image-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.bento-card img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: bottom;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento-card:hover img {
    transform: scale(1.03) translateY(-5px);
}

/* Specific Grid Spans */
.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Responsiveness for Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .bento-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .bento-card {
        padding: 2rem 1.5rem 0;
    }

    .bento-card img {
        max-height: 250px;
    }
}

/* ============================================
   SECCIÓN NOSOTROS - Imagen + Badges Premium
   ============================================ */

.nosotros-img-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Marco de la imagen principal */
.nosotros-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.14),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

.nosotros-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-img-frame:hover .nosotros-main-img {
    transform: scale(1.02);
}

/* Overlay gradiente sobre la imagen */
.nosotros-img-overlay {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(160deg,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 86, 210, 0.25) 100%);
    pointer-events: none;
}

/* Badge flotante base */
.nos-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
    animation: floatBadge 3.5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

.nos-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.nos-badge-num {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.nos-badge-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Posiciones de los badges */
.nos-badge-tl {
    top: -16px;
    left: -16px;
    animation-delay: 0s;
}

.nos-badge-tr {
    top: 28px;
    right: -20px;
    animation-delay: 1.2s;
}

.nos-badge-bl {
    bottom: 24px;
    left: -20px;
    animation-delay: 2.4s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Pill "Sistema en vivo" */
.nos-live-pill {
    position: absolute;
    bottom: -14px;
    right: 24px;
    background: #0f172a;
    color: #fff;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
    letter-spacing: 0.3px;
}

.nos-live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

/* Tarjeta de rating */
.nos-rating-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    margin-top: 0.6rem;
}

.nos-rating-stars {
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.nos-rating-text {
    font-size: 0.92rem;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.5;
}

.nos-rating-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Responsivo */
@media (max-width: 900px) {
    .nosotros-container {
        flex-direction: column !important;
        gap: 3rem !important;
        text-align: center;
    }

    .nosotros-img-col {
        width: 100%;
    }

    .nosotros-main-img {
        height: 300px;
    }

    .nos-badge-tr {
        right: 0;
    }

    .nos-badge-tl,
    .nos-badge-bl {
        left: 0;
    }
}

/* ============================================
   SECCIÓN MÓDULOS — Premium Bento Grid
   ============================================ */

.modulos-section {
    background: #0a0f1e;
    padding: 100px 5% 110px;
    position: relative;
    overflow: hidden;
}

/* Fondo de textura de puntos */
.modulos-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Blobs decorativos de fondo */
.modulos-section::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.12) 0%, transparent 65%);
    top: -200px;
    right: -200px;
    pointer-events: none;
}

/* Header */
.modulos-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.modulos-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 86, 210, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(0, 86, 210, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.modulos-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.modulos-accent {
    color: #e63946;
}

.modulos-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Bento Grid Layout ---- */
.modulos-bento {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr 1.3fr;
    grid-template-rows: auto;
    gap: 1.2rem;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ---- Card base ---- */
.mcard {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    cursor: pointer;
}

.mcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(var(--card-accent-rgb, 0, 86, 210), 0.3);
    border-color: rgba(255, 255, 255, 0.14);
}

/* Card grande (izquierda / derecha) */
.mcard-lg {
    grid-row: span 1;
}

/* Card pequeña (centro) */
.mcard-sm {
    min-height: 420px;
}

/* Image wrapper */
.mcard-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.mcard-lg .mcard-img-wrap {
    height: 260px;
}

.mcard-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mcard:hover .mcard-img {
    transform: scale(1.06);
}

/* Overlay de la imagen */
.mcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 15, 30, 0.2) 0%,
            rgba(10, 15, 30, 0.75) 100%);
}

/* Body de la card */
.mcard-body {
    padding: 1.6rem 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

/* Icono */
.mcard-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
    flex-shrink: 0;
}

/* Tag de módulo */
.mcard-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* Título */
.mcard-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0;
}

.mcard-lg .mcard-title {
    font-size: 1.45rem;
}

/* Descripción */
.mcard-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin-top: 0.2rem;
    flex: 1;
}

/* Feature tags */
.mcard-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.mcard-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mcard-features span i {
    color: #22c55e;
    font-size: 0.7rem;
}

/* CTA link */
.mcard-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #60a5fa;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.mcard-cta:hover {
    color: #ffffff;
    gap: 12px;
}

/* Línea de color inferior al hover (usando pseudo-elemento) */
.mcard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--card-accent, #0056D2);
    transition: width 0.4s ease;
    border-radius: 0 0 0 22px;
}

.mcard:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .modulos-bento {
        grid-template-columns: 1fr 1fr;
    }

    .mcard-lg,
    .mcard-sm {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .modulos-bento {
        grid-template-columns: 1fr;
    }

    .mcard-img-wrap,
    .mcard-lg .mcard-img-wrap {
        height: 200px;
    }
}

/* ============================================
   SECCIÓN PRECIOS — Premium Cards
   ============================================ */

.pricing-section {
    position: relative;
    background: #f8faff;
    padding: 110px 5% 80px;
    overflow: hidden;
}

/* Blobs decorativos de fondo */
.pricing-bg-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.pricing-bg-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.07) 0%, transparent 65%);
    top: -150px;
    left: -200px;
}

.pricing-bg-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 65%);
    bottom: -100px;
    right: -100px;
}

/* Header */
.pricing-header-wrap {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.pricing-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 86, 210, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 86, 210, 0.18);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.pricing-main-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.pricing-accent {
    color: var(--primary);
}

.pricing-main-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---- Cards Grid ---- */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1280px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* ---- Card base ---- */
.pcard {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 2rem 1.8rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
    overflow: hidden;
}

.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.09);
    border-color: rgba(0, 86, 210, 0.2);
}

/* ---- Card Featured (Premium) ---- */
.pcard-featured {
    background: linear-gradient(145deg, #0056D2 0%, #1a55e8 55%, #2563eb 100%);
    border-color: transparent;
    box-shadow: 0 20px 50px rgba(0, 86, 210, 0.35);
    transform: translateY(-10px) scale(1.02);
}

.pcard-featured:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 60px rgba(0, 86, 210, 0.45);
}

/* Badge "Más Popular" */
.pcard-featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---- Card Ultimate ---- */
.pcard-ultimate {
    border: 1.5px solid #ddd6fe;
    background: linear-gradient(160deg, #ffffff 60%, #f5f3ff 100%);
}

.pcard-ultimate:hover {
    border-color: #a78bfa;
    box-shadow: 0 24px 50px rgba(139, 92, 246, 0.12);
}

/* ---- Card Top (icon + name) ---- */
.pcard-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pcard-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.pcard-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
    line-height: 1;
}

.pcard-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 4px 0 0;
}

/* ---- Price ---- */
.pcard-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pcard-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 4px;
}

.pcard-amount {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -2px;
}

.pcard-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Divider ---- */
.pcard-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0.2rem 0;
}

/* ---- Feature list ---- */
.pcard-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.pcard-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

.pf-on i {
    color: #22c55e;
    font-size: 0.95rem;
}

.pf-off {
    opacity: 0.38;
}

.pf-off i {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Features en tarjeta azul featured */
.pf-white {
    color: rgba(255, 255, 255, 0.95) !important;
}

.pf-white i {
    color: #86efac !important;
}

.pf-white-off {
    color: rgba(255, 255, 255, 0.35) !important;
    opacity: 1 !important;
}

.pf-white-off i {
    color: rgba(255, 255, 255, 0.3) !important;
}

/* ---- Buttons ---- */
.pcard-btn {
    display: block;
    text-align: center;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.pcard-btn-outline {
    border: 2px solid #e5e7eb;
    color: var(--text-dark);
    background: transparent;
}

.pcard-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 86, 210, 0.04);
}

.pcard-btn-white {
    background: #ffffff;
    color: var(--primary);
}

.pcard-btn-white:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pcard-btn-gradient {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #ffffff;
    border: none;
}

.pcard-btn-gradient:hover {
    background: linear-gradient(135deg, #6d28d9, #8b5cf6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

/* ---- Trust footer ---- */
.pricing-trust {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 2;
}

.pricing-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-trust span i {
    color: var(--primary);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1100px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pcard-featured {
        transform: none;
    }

    .pcard-featured:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 640px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
    }

    .pricing-trust {
        gap: 1.2rem;
    }
}

/* ============================================
   SECCIÓN TESTIMONIOS — Premium Grid Cards
   ============================================ */

.testi-section {
    background: linear-gradient(160deg, #0a0f1e 0%, #0f1f3d 55%, #0a1628 100%);
    padding: 110px 5% 80px;
    position: relative;
    overflow: hidden;
}

/* Blob de fondo decorativo */
.testi-section::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 86, 210, 0.12) 0%, transparent 65%);
    top: -200px;
    left: -200px;
    pointer-events: none;
}

.testi-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

/* Header */
.testi-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.testi-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 57, 70, 0.15);
    color: #f87171;
    border: 1px solid rgba(230, 57, 70, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.testi-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.testi-accent {
    color: #e63946;
}

.testi-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.05rem;
}

/* ---- Cards Grid ---- */
.testi-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 1.4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ---- Card base ---- */
.tcard {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 2rem 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Card central destacada */
.tcard-featured {
    background: linear-gradient(145deg, #0056D2 0%, #1a55e8 60%, #2563eb 100%);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 55px rgba(0, 86, 210, 0.4);
    transform: translateY(-12px);
    position: relative;
}

.tcard-featured:hover {
    transform: translateY(-18px);
    box-shadow: 0 35px 65px rgba(0, 86, 210, 0.5);
}

/* Icono de comillas en card featured */
.tcard-quote-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: -0.4rem;
}

/* Estrellas */
.tcard-stars {
    color: #fbbf24;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Texto de la cita */
.tcard-quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.tcard-featured .tcard-quote {
    color: rgba(255, 255, 255, 0.92);
}

/* Autor */
.tcard-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tcard-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.tcard-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.tcard-role {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-top: 4px;
    line-height: 1.4;
}

/* ---- Barra de stats ---- */
.testi-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding: 1.8rem 3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.testi-trust-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
}

.testi-trust-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-top: -2px;
}

.testi-trust-sep {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

/* Responsive */
@media (max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }

    .tcard-featured {
        transform: none;
    }

    .tcard-featured:hover {
        transform: translateY(-6px);
    }

    .testi-trust-sep {
        display: none;
    }
}

/* ============================================
   NUEVA SECCIÓN DE CONTACTO — Split Grid
   ============================================ */

.contact-split-container {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 3.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.contact-form-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-header-compact {
    text-align: left;
}

.contact-badge-compact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 86, 210, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 86, 210, 0.18);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.contact-header-compact h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.2;
    font-weight: 800;
}

.contact-header-compact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-glass-card-compact {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 1.5rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.08);
}

.form-grid-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 1rem;
}

.form-grid-compact .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-grid-compact label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
    margin-left: 2px;
}

.form-grid-compact input,
.form-grid-compact select,
.form-grid-compact textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.86rem;
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.form-grid-compact input:focus,
.form-grid-compact select:focus,
.form-grid-compact textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.08);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-grid-compact textarea {
    resize: none;
}

.btn-submit-compact {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    margin-top: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Visual Mockup Styles */
.contact-visual-side {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
}

.browser-mockup-light {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 35px 70px -15px rgba(0, 86, 210, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.browser-mockup-light:hover {
    transform: translateY(-5px);
}

.browser-bar-light {
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.browser-dots-light {
    display: flex;
    gap: 6px;
    position: absolute;
    left: 16px;
}

.bdot-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.bdot-light.red-light {
    background: #ef4444;
}

.bdot-light.yellow-light {
    background: #f59e0b;
}

.bdot-light.green-light {
    background: #10b981;
}

.browser-url-light {
    margin: 0 auto;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.75rem;
    padding: 4px 24px;
    border-radius: 8px;
    max-width: 280px;
    width: 100%;
    text-align: center;
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-screen-light {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.browser-screen-light img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating stat pill */
.floating-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 18px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: floating-y 4s ease-in-out infinite;
    z-index: 3;
}

.f-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.f-stat-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.f-stat-desc {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes floating-y {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .contact-split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 550px;
    }

    .contact-visual-side {
        order: 1;
        /* Muestra el mockup abajo en móviles */
    }
}

@media (max-width: 600px) {
    .form-grid-compact {
        grid-template-columns: 1fr;
    }
    .form-grid-compact .form-group {
        grid-column: span 1 !important;
    }
}

/* ============================================
   TOUR APLICATIVO MÓVIL PITER — Tarjetas Mockups
   ============================================ */

.app-tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    padding: 2.2rem 1.8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 86, 210, 0.1);
    border-color: rgba(0, 86, 210, 0.2);
}

.app-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-step {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
}

.app-card-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.app-card-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.app-image-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 280px;
}

.app-phone-img {
    width: 85%;
    max-width: 140px;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 18px 18px 0 0;
    border: 5px solid #1e293b;
    border-bottom: none;
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.1);
    background: #0f172a;
    transition: transform 0.4s ease;
}

.app-card:hover .app-phone-img {
    transform: scale(1.05) translateY(-5px);
}

/* Ajustes de Responsividad */
@media (max-width: 1024px) {
    .app-tour-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .app-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 640px) {
    .app-tour-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 380px;
        margin: 0 auto;
    }

    .app-card {
        padding: 1.8rem 1.5rem 0;
    }

    .app-image-wrapper {
        height: 220px;
    }
}

/* ============================================
   TOUR PLATAFORMA WEB PITER — Tarjetas Mockups
   ============================================ */

.web-tour-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.web-card {
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    padding: 2.2rem 2.2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.web-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 86, 210, 0.08);
    border-color: rgba(0, 86, 210, 0.18);
    background: #ffffff;
}

.web-card-header {
    display: flex;
    flex-direction: column;
}

.web-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.web-card-header h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.web-card-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.web-image-wrapper {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
}

.web-browser-frame {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    border: 4px solid #1e293b;
    border-bottom: none;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    overflow: hidden;
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
}

.web-browser-bar {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    height: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
}

.web-browser-dots {
    display: flex;
    gap: 5px;
}

.wdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.wdot.red {
    background: #ef4444;
}

.wdot.yellow {
    background: #f59e0b;
}

.wdot.green {
    background: #10b981;
}

.web-browser-url {
    margin: 0 auto;
    font-size: 0.7rem;
    color: #64748b;
    font-family: monospace;
    background: #e2e8f0;
    padding: 2px 16px;
    border-radius: 4px;
    max-width: 240px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.web-browser-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    display: block;
}

.web-card:hover .web-browser-frame {
    transform: scale(1.02) translateY(-3px);
}

/* Responsividad Web Panel */
@media (max-width: 900px) {
    .web-tour-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .web-card {
        padding: 2rem 1.8rem 0;
    }
}

/* ====== SECCIÓN TIKTOK REELS ====== */
.reels-section {
    padding: 100px 5%;
    background-color: var(--primary);
    text-align: center;
}

.reels-section .reels-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reels-section h2 {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.reels-section h2 .highlight-accent {
    color: var(--secondary);
}

.reels-section .reels-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
}

.reels-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.reel-card {
    min-width: 260px;
    height: 460px;
    background: #000;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.reel-card .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.reel-card .play-btn i {
    margin-left: 5px;
}

.reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-weight: 600;
    text-align: center;
}

/* Responsividad Reels */
@media (max-width: 991px) {
    .reels-section {
        padding: 60px 5%;
    }
    .reels-section .reels-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }
    .reels-section h2 {
        font-size: 2.2rem;
    }
    .reels-section .reels-subtitle {
        font-size: 1rem;
    }
    .reels-grid {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
        justify-content: flex-start !important;
        overflow-x: hidden !important;
    }
    .reel-card {
        width: 100% !important;
        max-width: 280px !important;
        height: 420px !important;
        min-width: unset !important;
    }
}