:root {
    --azul-marino: #1a2b48;
    --azul-profundo: #102037;
    --dorado: #b59461;
    --cian: #00d4ff;
    --blanco: #ffffff;
    --gris-claro: #f4f4f4;
    --gris-texto: #5f6b7a;
    --verde-ws: #25d366;
}

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            color: var(--azul-marino);
            line-height: 1.6;
            background: var(--blanco);
        }

        header {
            background: var(--blanco);
            padding: 18px 24px;
            border-bottom: 3px solid var(--dorado);
            position: sticky;
            top: 0;
            z-index: 900;
        }

        .header-inner {
            max-width: 1200px;
            margin: auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .logo {
            max-width: 280px;
            height: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.06);
        }



        nav a {
            color: var(--azul-marino);
            text-decoration: none;
            font-weight: 600;
            margin-left: 20px;
            font-size: 0.95rem;
            position: relative;
            padding-bottom: 4px;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--cian);
            border-radius: 2px;
            transition: width 0.3s ease;
            box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
        }

        nav a:hover {
            color: var(--azul-marino);
        }

        nav a:hover::after {
            width: 100%;
        }

        .hero {
    background: linear-gradient(rgba(16, 32, 55, 0.88), rgba(16, 32, 55, 0.88)),
        url('https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    color: var(--blanco);
    padding: 110px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow tecnológico sutil en el hero */
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

        .hero-content {
            max-width: 900px;
            margin: auto;
        }

        .hero h1 {
            font-size: clamp(2rem, 5vw, 3.6rem);
            line-height: 1.15;
            margin: 0 0 20px;
            font-weight: 800;
        }

        .hero p {
            font-size: 1.18rem;
            max-width: 760px;
            margin: 0 auto 28px;
        }

.badge {
    display: inline-block;
    border: 1px solid var(--cian);
    border-radius: 50px;
    padding: 8px 18px;
    margin-bottom: 22px;
    font-size: 0.9rem;
    color: var(--cian);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.15);
}

        .btn-whatsapp,
        .btn-secondary {
            display: inline-block;
            padding: 15px 28px;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            margin: 8px;
        }

        .btn-whatsapp {
            background: var(--verde-ws);
            color: white;
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid var(--dorado);
        }

        section {
            padding: 70px 20px;
        }

        .container {
            max-width: 1200px;
            margin: auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 42px;
        }

        .section-title h2 {
            font-size: 2.1rem;
            margin: 0 0 12px;
        }

        .section-title p {
            color: var(--gris-texto);
            max-width: 760px;
            margin: auto;
        }

        .intro {
            background: var(--gris-claro);
        }

        .intro-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            align-items: stretch;
        }

        .intro-box {
            background: white;
            border-left: 5px solid var(--dorado);
            padding: 24px;
            border-radius: 8px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        }

        .intro-box h3 {
            margin-top: 0;
        }

        .servicios {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 28px;
        }

        .card {
            background: var(--blanco);
            border: 1px solid #ddd;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s, border-color 0.3s;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
        }

.card:hover {
    transform: translateY(-8px);
    border-color: var(--cian);
    box-shadow: 0 8px 28px rgba(0, 212, 255, 0.15);
}

        .card img {
            width: 100%;
            height: 190px;
            object-fit: cover;
            background: #e8ecf1;
        }

        .card-content {
            padding: 24px;
            flex: 1;
        }

        .card-content h3 {
            margin-top: 0;
            font-size: 1.25rem;
        }

        .card-content p {
            color: var(--gris-texto);
        }

        .card-content ul {
            padding-left: 20px;
            color: var(--gris-texto);
        }

        .tag {
            display: inline-block;
            background: rgba(181, 148, 97, 0.14);
            color: var(--azul-marino);
            padding: 5px 12px;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 12px;
        }



        .examples-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
        }

        .example-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
            border: 1px solid #e2e5ea;
        }

        .example-card img {
            width: 100%;
            height: 170px;
            object-fit: cover;
            background: #e8ecf1;
        }

        .example-card div {
            padding: 20px;
        }

        .example-card h3 {
            margin: 0 0 8px;
            font-size: 1.05rem;
        }

        .example-card p {
            margin: 0;
            color: var(--gris-texto);
            font-size: 0.94rem;
        }

        .note-box {
            margin-top: 28px;
            padding: 22px;
            border-radius: 12px;
            background: rgba(181, 148, 97, 0.12);
            border-left: 5px solid var(--dorado);
            color: var(--azul-marino);
        }

        .modalidad {
            background: var(--azul-marino);
            color: white;
        }

        .modalidad .section-title p {
            color: rgba(255, 255, 255, 0.78);
        }

        .steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 22px;
        }

        .step {
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 24px;
            background: rgba(255, 255, 255, 0.06);
        }

.step-number {
    color: var(--cian);
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

        .relator {
            background: var(--blanco);
        }

        .relator-container {
            max-width: 1000px;
            margin: auto;
            display: flex;
            align-items: center;
            gap: 40px;
            background: var(--gris-claro);
            border-radius: 16px;
            padding: 40px;
            border-left: 5px solid var(--dorado);
            box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
        }

.relator-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 3px solid var(--cian);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    background: #e8ecf1;
    object-fit: cover;
}

        .relator-content h2 {
            margin-top: 0;
            margin-bottom: 8px;
            font-size: 2rem;
        }

        .relator-content .cargo {
            color: var(--dorado);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 20px;
            display: inline-block;
        }

        .relator-content p {
            color: var(--gris-texto);
            font-size: 0.95rem;
            margin-bottom: 12px;
            text-align: justify;
        }

        @media (max-width: 760px) {
            .relator-container {
                flex-direction: column;
                text-align: center;
                padding: 30px 20px;
            }
        }

        .cta {
            background: linear-gradient(135deg, var(--azul-profundo), var(--azul-marino));
            color: white;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.1rem;
            margin: 0 0 12px;
        }

        .cta p {
            max-width: 720px;
            margin: 0 auto 24px;
        }

        .btn-fixed-ws {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--verde-ws);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25);
            z-index: 1000;
        }

.btn-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: var(--azul-marino);
    color: var(--cian);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.3), 2px 2px 12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    text-decoration: none;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: background 0.3s, opacity 0.3s, box-shadow 0.3s;
    opacity: 0;
    pointer-events: none;
}

.btn-top:hover {
    background: var(--azul-profundo);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

        .btn-top svg {
            width: 24px;
            height: 24px;
        }

        footer {
            background: var(--azul-profundo);
            color: white;
            text-align: center;
            padding: 38px 20px;
        }

        footer p {
            margin: 6px 0;
        }

        /* ── Hamburguesa (oculta en escritorio) ── */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 20px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
        }

        .hamburger span {
            display: block;
            height: 2px;
            width: 100%;
            background: var(--azul-marino);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        /* Animación a X cuando está activo */
        .hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
        .hamburger.is-active span:nth-child(2) { opacity: 0; }
        .hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

        @media (max-width: 760px) {
            header {
                padding: 12px 16px;
            }

            .header-inner {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                flex-wrap: nowrap;
                position: relative;
            }

            .logo {
                max-width: 140px;
            }

            .hamburger {
                display: flex;
            }

            /* Nav oculto por defecto en móvil */
            #nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: var(--blanco);
                border-top: 2px solid var(--dorado);
                box-shadow: 0 8px 20px rgba(0,0,0,0.1);
                padding: 12px 0;
                z-index: 800;
            }

            #nav-menu.nav-open {
                display: flex;
            }

            #nav-menu a {
                margin: 0;
                padding: 12px 24px;
                font-size: 0.95rem;
                border-bottom: 1px solid #f0f0f0;
            }

            #nav-menu a:last-child {
                border-bottom: none;
            }

            nav a::after {
                display: none;
            }

            .hero {
                padding: 70px 20px;
            }
        }