/* ================================
   COLORES Y CONFIGURACIÓN GENERAL
================================ */

:root {
    --white: #ffffff;
    --off-white: #f7f7fa;
    --black: #17151a;
    --purple: #4b208c;
    --purple-dark: #2c1257;
    --light-blue: #83c8ee;
    --red: #df171d;
    --text-gray: #68646f;
    --border: rgba(75, 32, 140, 0.14);
    --shadow: 0 18px 50px rgba(25, 13, 50, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--black);
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}


/* ================================
   MENÚ PRINCIPAL
================================ */
/* MENÚ BLANCO DE ANCHO COMPLETO */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(30, 20, 45, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1280px, 100%);
    min-height: 82px;
    margin: 0 auto;
    padding: 8px 5%;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 235px;
    height: 64px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links > a,
.dropdown-button {
    color: #241d2b;
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-contact {
    padding: 11px 24px;
    color: #54268b !important;
    background: #ffffff;
    border: 2px solid #54268b;
    border-radius: 7px;
    transition: 0.25s ease;
}

.nav-contact:hover {
    color: #ffffff !important;
    background: #54268b;
}

.menu-button {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    background: var(--purple);
    border: 0;
    border-radius: 14px;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    border-radius: 20px;
    transition: 0.3s ease;
}


/* ================================
   PORTADA HERO
================================ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 150px 7% 90px;
    isolation: isolate;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(18, 8, 36, 0.90) 0%,
            rgba(35, 16, 67, 0.72) 45%,
            rgba(24, 18, 36, 0.28) 75%,
            rgba(12, 8, 20, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(18, 8, 36, 0.80) 0%,
            transparent 45%
        );
}

.hero-content {
    width: min(720px, 100%);
    margin-left: max(
        0px,
        calc((100vw - 1180px) / 2)
    );
    color: var(--white);
}

.hero-label {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 9px 17px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    color: #e7dfff;
    font-size: 0.79rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.hero-label::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(223, 23, 29, 0.85);
}

.hero-title {
    max-width: 690px;
    font-size: clamp(3.3rem, 7vw, 6.6rem);
    font-weight: 750;
    line-height: 0.94;
    letter-spacing: -0.06em;
}

.hero-title span {
    display: block;
    color: var(--light-blue);
}

.hero-description {
    max-width: 610px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 17px;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-4px);
}

.button-primary {
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 14px 35px rgba(75, 32, 140, 0.42);
}

.button-primary:hover {
    background: #5b29a5;
    box-shadow: 0 18px 42px rgba(75, 32, 140, 0.55);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.32);
    color: var(--white);
    backdrop-filter: blur(12px);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-decoration {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.7;
    animation: float 7s ease-in-out infinite;
}

.hero-decoration-blue {
    top: 25%;
    right: 8%;
    width: 120px;
    height: 120px;
    background: rgba(131, 200, 238, 0.22);
}

.hero-decoration-purple {
    right: 18%;
    bottom: 9%;
    width: 230px;
    height: 230px;
    background: rgba(75, 32, 140, 0.27);
    animation-delay: -2s;
}

.hero-decoration-red {
    top: 57%;
    right: 33%;
    width: 28px;
    height: 28px;
    background: rgba(223, 23, 29, 0.78);
    box-shadow: 0 0 35px rgba(223, 23, 29, 0.5);
    animation-delay: -4s;
}

.scroll-indicator {
    position: absolute;
    bottom: 34px;
    left: 50%;
    width: 30px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-indicator span {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 5px;
    height: 9px;
    background: var(--white);
    border-radius: 10px;
    transform: translateX(-50%);
    animation: scrollDown 1.8s ease-in-out infinite;
}


/* ================================
   PIE DE PÁGINA
================================ */

.footer {
    padding: 55px 7%;
    background: var(--off-white);
    color: var(--text-gray);
    text-align: center;
}

.footer-logo {
    width: 220px;
    margin: 0 auto 18px;
}

.footer p + p {
    margin-top: 8px;
    font-size: 0.85rem;
}


/* ================================
   ANIMACIONES
================================ */

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

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

@keyframes scrollDown {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 17px);
    }
}


/* ================================
   DISEÑO PARA CELULAR
================================ */

@media (max-width: 760px) {
    .header {
        top: 10px;
        padding: 0 12px;
    }

    .navbar {
        min-height: 66px;
        padding: 7px 9px 7px 15px;
        border-radius: 19px;
    }

    .brand-logo {
    width: 165px;
    height: 50px;
    transform: scale(1.15);
    transform-origin: left center;
    }

    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 9px);
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 13px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--border);
        border-radius: 19px;
        box-shadow: var(--shadow);
        backdrop-filter: blur(18px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 13px 15px;
    }

    .hero {
        align-items: flex-end;
        min-height: 100svh;
        padding: 135px 24px 100px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(18, 8, 36, 0.96) 0%,
                rgba(25, 11, 48, 0.72) 58%,
                rgba(15, 10, 25, 0.25) 100%
            );
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 4.6rem);
    }

    .hero-description {
        margin-top: 23px;
    }

    .hero-actions {
        flex-direction: column;
        margin-top: 29px;
    }

    .button {
        width: 100%;
    }

    .hero-decoration {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   NUEVO MENÚ FLOTANTE DIVIDIDO
========================================= */

.header {
    top: 18px;
    padding: 0 5%;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1240px, 100%);
    min-height: 92px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: 320px;
    height: 92px;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 8px 20px rgba(14, 7, 28, 0.35));
}

.nav-panel {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: rgba(24, 12, 45, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(15, 7, 31, 0.18);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.nav-links a {
    position: relative;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.nav-links .nav-contact {
    margin-left: 5px;
    padding: 12px 19px;
    background: var(--purple);
    color: var(--white);
    box-shadow: 0 9px 24px rgba(75, 32, 140, 0.36);
}

.nav-links .nav-contact:hover {
    background: #6330ae;
    box-shadow: 0 12px 30px rgba(75, 32, 140, 0.48);
}


/* =========================================
   NUEVO MENÚ EN CELULAR
========================================= */

@media (max-width: 1100px) {
    .header {
        top: 10px;
        padding: 0 14px;
    }

    .navbar {
        min-height: 76px;
    }

    .brand-logo {
        width: 225px;
        height: 70px;
    }

    .nav-panel {
        position: relative;
    }

    .menu-button {
        display: block;
        width: 48px;
        height: 48px;
        padding: 11px;
        background: rgba(75, 32, 140, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 15px;
        box-shadow: 0 10px 28px rgba(29, 13, 54, 0.28);
        backdrop-filter: blur(16px);
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        left: auto;
        display: none;
        width: min(300px, calc(100vw - 28px));
        padding: 12px;
        background: rgba(28, 14, 53, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 18px;
        box-shadow: 0 20px 45px rgba(18, 7, 36, 0.35);
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 13px 16px;
    }

    .nav-links .nav-contact {
        margin-top: 5px;
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 195px;
        height: 64px;
    }
}

/* =========================================
   SECCIÓN NOSOTROS
========================================= */

.about-section {
    position: relative;
    min-height: 100vh;
    padding: 130px 6%;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff 0%, #f7f4fc 52%, #eef8fd 100%);
}

.about-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: center;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.section-label {
    margin-bottom: 18px;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    max-width: 620px;
    margin: 0;
    color: #17131f;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.section-title span {
    display: block;
    color: var(--purple);
}

.about-description {
    max-width: 560px;
    margin: 28px 0;
    color: #655f6e;
    font-size: 1.04rem;
    line-height: 1.85;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--purple);
    font-size: 0.95rem;
    font-weight: 750;
}

.about-link span {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(75, 32, 140, 0.22);
    border-radius: 50%;
    transition: transform 0.3s ease, background 0.3s ease;
}

.about-link:hover span {
    color: white;
    background: var(--purple);
    transform: translateX(6px);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(75, 32, 140, 0.1);
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(47, 24, 74, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.about-card:hover {
    border-color: rgba(75, 32, 140, 0.25);
    box-shadow: 0 25px 65px rgba(47, 24, 74, 0.14);
    transform: translateX(-10px);
}

.about-number {
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.about-card h3 {
    margin: 0 0 10px;
    color: #1b1720;
    font-size: 1.25rem;
}

.about-card p {
    margin: 0;
    color: #716b79;
    line-height: 1.7;
}

.about-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    animation: aboutFloat 8s ease-in-out infinite;
}

.about-glow-blue {
    top: 8%;
    right: -80px;
    width: 330px;
    height: 330px;
    background: rgba(119, 197, 234, 0.22);
}

.about-glow-purple {
    bottom: -100px;
    left: -100px;
    width: 360px;
    height: 360px;
    background: rgba(75, 32, 140, 0.1);
    animation-delay: -4s;
}

.about-background-text {
    position: absolute;
    right: -20px;
    bottom: -45px;
    z-index: 0;
    margin: 0;
    color: rgba(75, 32, 140, 0.035);
    font-size: clamp(5rem, 13vw, 12rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
    white-space: nowrap;
    pointer-events: none;
}

@keyframes aboutFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -28px, 0);
    }
}

/* Aparición progresiva de las tarjetas */
.about-card:nth-child(2) {
    transition-delay: 0.1s;
}

.about-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* =========================================
   NOSOTROS EN TABLETA Y CELULAR
========================================= */

@media (max-width: 900px) {
    .about-section {
        min-height: auto;
        padding: 100px 24px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-introduction {
        max-width: 680px;
    }

    .section-title {
        font-size: clamp(2.7rem, 9vw, 4.5rem);
    }

    .about-card:hover {
        transform: translateY(-7px);
    }
}

@media (max-width: 520px) {
    .about-section {
        padding: 85px 18px;
    }

    .section-title {
        font-size: 2.7rem;
    }

    .about-description {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .about-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px;
        border-radius: 20px;
    }

    .about-background-text {
        display: none;
    }
}
/* =========================================
   SECCIÓN VENTAJAS
========================================= */

.advantages-section {
    position: relative;
    padding: 125px 6%;
    overflow: hidden;
    background: #171022;
}

.advantages-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(119, 197, 234, 0.12);
    filter: blur(30px);
}

.advantages-section::after {
    content: "";
    position: absolute;
    bottom: -220px;
    left: -150px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(75, 32, 140, 0.28);
    filter: blur(35px);
}

.advantages-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.advantages-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 65px;
}

.advantages-heading .section-label {
    grid-column: 1 / -1;
    margin-bottom: -45px;
    color: #9bdcff;
}

.advantages-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
}

.advantages-title span {
    display: block;
    color: #9bdcff;
}

.advantages-description {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.03rem;
    line-height: 1.8;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
    position: relative;
    min-height: 270px;
    padding: 32px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 25px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition:
        transform 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.advantage-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(119, 197, 234, 0.12);
    transition: transform 0.45s ease;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(155, 220, 255, 0.45);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.26);
    transform: translateY(-12px);
}

.advantage-card:hover::after {
    transform: scale(1.55);
}

.advantage-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 28px;
    place-items: center;
    color: #ffffff;
    font-size: 1.35rem;
    background: linear-gradient(135deg, #7548ba, #4b208c);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 17px;
    box-shadow: 0 12px 28px rgba(75, 32, 140, 0.35);
    transition: transform 0.4s ease;
}

.advantage-card:hover .advantage-icon {
    transform: rotate(-7deg) scale(1.1);
}

.advantage-card h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 1.25rem;
}

.advantage-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.7;
}

/* =========================================
   VENTAJAS EN TABLETA Y CELULAR
========================================= */

@media (max-width: 900px) {
    .advantages-section {
        padding: 100px 24px;
    }

    .advantages-heading {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 50px;
    }

    .advantages-heading .section-label {
        grid-column: auto;
        margin-bottom: 0;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .advantages-section {
        padding: 85px 18px;
    }

    .advantages-title {
        font-size: 2.7rem;
    }

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

    .advantage-card {
        min-height: auto;
        padding: 27px;
    }
}
/* =========================================
   SECCIÓN SERVICIOS
========================================= */

.services-section {
    position: relative;
    padding: 125px 6%;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(119, 197, 234, 0.18),
            transparent 28%
        ),
        linear-gradient(135deg, #ffffff 0%, #f7f4fc 55%, #eef8fd 100%);
}

.services-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.services-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 65px;
    align-items: end;
    margin-bottom: 80px;
}

.services-heading .section-label {
    grid-column: 1 / -1;
    margin-bottom: -45px;
}

.services-title {
    margin: 0;
    color: #17131f;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
}

.services-title span {
    display: block;
    color: var(--purple);
}

.services-description {
    max-width: 500px;
    margin: 0;
    color: #68616f;
    font-size: 1.04rem;
    line-height: 1.8;
}

/* Encabezados de cada servicio */

.service-category-heading {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 32px;
}

.service-category-label {
    margin: 0 0 10px;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-category-heading h3 {
    margin: 0;
    color: #19141f;
    font-size: clamp(2rem, 3.5vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.service-category-heading > p {
    max-width: 450px;
    margin: 0;
    color: #6e6874;
    line-height: 1.75;
}

/* Promoción */

.promotion-banner {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 35px;
    padding: 21px 25px;
    color: #ffffff;
    background: linear-gradient(135deg, #4b208c, #7042ae);
    border-radius: 20px;
    box-shadow: 0 17px 40px rgba(75, 32, 140, 0.22);
}

.promotion-icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-size: 1.15rem;
}

.promotion-banner strong {
    display: block;
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.promotion-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

/* Tarjetas de paquetes */

.internet-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.internet-plan {
    position: relative;
    display: flex;
    min-height: 430px;
    padding: 31px;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(75, 32, 140, 0.1);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(50, 29, 70, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.internet-plan::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 145px;
    height: 145px;
    background: rgba(119, 197, 234, 0.14);
    border-radius: 50%;
    transition: transform 0.45s ease;
}

.internet-plan:hover {
    z-index: 2;
    border-color: rgba(75, 32, 140, 0.3);
    box-shadow: 0 27px 65px rgba(50, 29, 70, 0.16);
    transform: translateY(-12px);
}

.internet-plan:hover::before {
    transform: scale(1.55);
}

.plan-label {
    position: relative;
    margin: 0 0 17px;
    color: var(--purple);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.internet-plan h4 {
    position: relative;
    margin: 0;
    color: #201727;
    font-size: 1.6rem;
    line-height: 1;
}

.internet-plan h4 span {
    font-size: 3.8rem;
    font-weight: 850;
    letter-spacing: -0.065em;
}

.plan-speed {
    margin: 10px 0 26px;
    color: #77707e;
    font-size: 0.9rem;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    color: #1c1720;
}

.plan-price > span {
    margin: 7px 4px 0 0;
    color: var(--purple);
    font-size: 1.15rem;
    font-weight: 800;
}

.plan-price strong {
    font-size: 2.7rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.plan-price small {
    align-self: flex-end;
    margin: 0 0 4px 7px;
    color: #77707e;
}

.plan-description {
    margin: 0 0 27px;
    color: #6f6875;
    line-height: 1.65;
}

.plan-button {
    display: flex;
    min-height: 48px;
    margin-top: auto;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    color: var(--purple);
    font-size: 0.88rem;
    font-weight: 750;
    text-align: center;
    border: 1px solid rgba(75, 32, 140, 0.22);
    border-radius: 15px;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.plan-button:hover {
    color: #ffffff;
    background: var(--purple);
    transform: translateY(-3px);
}

/* Paquete recomendado */

.plan-featured {
    color: #ffffff;
    background: linear-gradient(145deg, #24152f, #4b208c);
    border-color: transparent;
    box-shadow: 0 23px 60px rgba(75, 32, 140, 0.28);
}

.plan-featured .plan-label,
.plan-featured .plan-price > span {
    color: #aee3ff;
}

.plan-featured h4,
.plan-featured .plan-price {
    color: #ffffff;
}

.plan-featured .plan-speed,
.plan-featured .plan-description,
.plan-featured .plan-price small {
    color: rgba(255, 255, 255, 0.7);
}

.plan-featured .plan-button {
    color: #21142c;
    background: #ffffff;
    border-color: #ffffff;
}

.plan-featured .plan-button:hover {
    color: #ffffff;
    background: #7445b1;
    border-color: #7445b1;
}

.featured-badge {
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2;
    padding: 7px 11px;
    color: #201527;
    background: #aee3ff;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plans-note {
    max-width: 760px;
    margin: 28px auto 0;
    color: #78717e;
    font-size: 0.82rem;
    line-height: 1.65;
    text-align: center;
}

/* Cámaras de seguridad */

.camera-service {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
    margin-top: 115px;
    padding: clamp(40px, 6vw, 75px);
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(119, 197, 234, 0.2),
            transparent 35%
        ),
        linear-gradient(135deg, #171020, #32154f);
    border-radius: 36px;
    box-shadow: 0 30px 80px rgba(36, 19, 48, 0.25);
}

.camera-service::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 330px;
    height: 330px;
    background: rgba(119, 197, 234, 0.1);
    border-radius: 50%;
    filter: blur(10px);
}

.camera-content,
.camera-process {
    position: relative;
    z-index: 2;
}

.camera-content .service-category-label {
    color: #aee3ff;
}

.camera-content h3 {
    margin: 0;
    font-size: clamp(2.4rem, 4.2vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.camera-content h3 span {
    display: block;
    color: #aee3ff;
}

.camera-content > p {
    max-width: 610px;
    margin: 25px 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.78;
}

.camera-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.camera-options span {
    padding: 9px 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    font-size: 0.8rem;
}

.camera-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.camera-call {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.camera-call:hover {
    color: #aee3ff;
}

.camera-process {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.35s ease,
        background 0.35s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateX(-10px);
}

.process-step span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: #21162b;
    background: #aee3ff;
    border-radius: 13px;
    font-size: 0.75rem;
    font-weight: 850;
}

.process-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* =========================================
   SERVICIOS EN TABLETA Y CELULAR
========================================= */

@media (max-width: 1000px) {
    .internet-plans {
        grid-template-columns: repeat(2, 1fr);
    }

    .camera-service {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 800px) {
    .services-section {
        padding: 100px 24px;
    }

    .services-heading,
    .service-category-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-heading .section-label {
        grid-column: auto;
        margin-bottom: 0;
    }

    .services-heading {
        margin-bottom: 65px;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 85px 18px;
    }

    .services-title {
        font-size: 2.7rem;
    }

    .internet-plans {
        grid-template-columns: 1fr;
    }

    .internet-plan {
        min-height: auto;
        padding: 27px;
    }

    .plan-description {
        min-height: auto;
    }

    .promotion-banner {
        align-items: flex-start;
    }

    .camera-service {
        margin-top: 80px;
        padding: 35px 24px;
        border-radius: 26px;
    }

    .camera-content h3 {
        font-size: 2.7rem;
    }

    .camera-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .camera-actions .button,
    .camera-call {
        justify-content: center;
        text-align: center;
    }

    .camera-call {
        padding: 12px;
        border: 0;
    }
}
/* =========================================
   SECCIÓN CONTACTO
========================================= */

.contact-section {
    position: relative;
    padding: 125px 6%;
    overflow: hidden;
    background: #ffffff;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: -190px;
    left: -170px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(119, 197, 234, 0.16);
    filter: blur(35px);
}

.contact-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.contact-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 65px;
    align-items: end;
    margin-bottom: 65px;
}

.contact-heading .section-label {
    grid-column: 1 / -1;
    margin-bottom: -45px;
}

.contact-title {
    margin: 0;
    color: #19141f;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.055em;
}

.contact-title span {
    display: block;
    color: var(--purple);
}

.contact-description {
    max-width: 500px;
    margin: 0;
    color: #6d6672;
    font-size: 1.04rem;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-card {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 18px;
    min-height: 165px;
    padding: 27px;
    align-items: center;
    color: #201827;
    background: #faf8fc;
    border: 1px solid rgba(75, 32, 140, 0.1);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(50, 29, 70, 0.07);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease,
        background 0.4s ease;
}

.contact-card:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #4b208c, #7042ae);
    border-color: transparent;
    box-shadow: 0 24px 55px rgba(75, 32, 140, 0.24);
    transform: translateY(-9px);
}

.contact-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #7548ba, #4b208c);
    border-radius: 17px;
    font-size: 1.3rem;
    box-shadow: 0 12px 26px rgba(75, 32, 140, 0.25);
}

.contact-card:hover .contact-icon {
    color: var(--purple);
    background: #ffffff;
}

.contact-card p {
    margin: 0 0 5px;
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-card:hover p {
    color: #bfe9ff;
}

.contact-card h3 {
    margin: 0 0 7px;
    font-size: 1.25rem;
}

.contact-card div > span {
    color: #756e79;
    font-size: 0.9rem;
}

.contact-card:hover div > span {
    color: rgba(255, 255, 255, 0.75);
}

.contact-card > strong {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.contact-card:hover > strong {
    transform: translateX(6px);
}

.contact-cta {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    padding: 45px 50px;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(119, 197, 234, 0.22),
            transparent 30%
        ),
        linear-gradient(135deg, #171020, #32154f);
    border-radius: 29px;
    box-shadow: 0 25px 65px rgba(36, 19, 48, 0.2);
}

.contact-cta p {
    margin: 0 0 9px;
    color: #aee3ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-cta h3 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.contact-cta .button {
    flex: 0 0 auto;
}

/* Contacto en tableta y celular */

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

    .contact-card {
        min-height: 140px;
    }
}

@media (max-width: 800px) {
    .contact-section {
        padding: 100px 24px;
    }

    .contact-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-heading .section-label {
        grid-column: auto;
        margin-bottom: 0;
    }

    .contact-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 85px 18px;
    }

    .contact-title {
        font-size: 2.7rem;
    }

    .contact-card {
        grid-template-columns: 50px 1fr auto;
        gap: 14px;
        padding: 22px 18px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .contact-cta {
        padding: 32px 25px;
        border-radius: 24px;
    }

    .contact-cta .button {
        width: 100%;
        justify-content: center;
    }
}

/* MENÚ DESPLEGABLE DE SERVICIOS */

.nav-dropdown {
    position: relative;
}

.dropdown-button {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.dropdown-button span {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    z-index: 20;
    display: flex;
    width: 220px;
    padding: 10px;
    flex-direction: column;
    gap: 4px;
    visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(75, 32, 140, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(35, 20, 48, 0.18);
    transform: translate(-50%, 10px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    color: #2b2031;
    border-radius: 10px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: #ffffff;
    background: var(--purple);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
}

.nav-dropdown:hover .dropdown-button span,
.nav-dropdown:focus-within .dropdown-button span {
    transform: rotate(180deg);
}

.dropdown-button {
    padding: 11px 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.dropdown-button:hover,
.nav-dropdown:focus-within .dropdown-button {
    color: #ffffff;
    background: linear-gradient(135deg, #7042ae, #4b208c);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(75, 32, 140, 0.35);
}

/* FOOTER BLANCO */

.footer {
    padding: 28px 24px;
    text-align: center;
    color: #6f6878;
    background: #ffffff;
    border-top: 1px solid rgba(75, 32, 140, 0.12);
}

.footer p {
    margin: 5px 0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.footer p:first-child {
    color: #32164b;
    font-weight: 700;
}

html,
body {
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.header {
    top: 0;
    border-top: none;
    background: #ffffff;
}

.navbar {
    border-top: none;
    background: #ffffff;
}
.brand,
.brand-logo {
    box-shadow: none !important;
    filter: none !important;
    border: none !important;
    background: #ffffff;
}

.nav-contact,
.nav-contact:visited {
    color: #ffffff !important;
    background: #54268b !important;
    border: 2px solid #54268b;
}

.nav-contact:hover,
.nav-contact:focus,
.nav-contact:active {
    color: #ffffff !important;
    background: #32164b !important;
}

.brand {
    transform: translateX(-60px);
}
.footer-logo {
    display: block;
    width: 190px;
    height: auto;
    margin: 0 auto 14px;
    object-fit: contain;
    box-shadow: none;
    border: none;
}

/* =================================
   MENÚ RESPONSIVO FINAL
================================= */

@media (max-width: 900px) {
    .navbar {
        position: relative;
        min-height: 76px;
        padding: 10px 20px;
    }

    .brand {
        margin: 0;
        transform: none;
    }

    .brand-logo {
        display: block;
        width: clamp(140px, 26vw, 190px);
        height: 58px;
        object-fit: contain;
        object-position: left center;
    }

    .nav-panel {
        position: static;
        margin-left: auto;
    }

    .menu-button {
        position: relative;
        z-index: 102;
        display: flex;
        width: 46px;
        height: 46px;
        padding: 11px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: #54268b;
        border: 0;
        border-radius: 12px;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        flex: 0 0 2px;
        width: 24px;
        height: 2px;
        margin: 0;
        background: #ffffff;
        border-radius: 10px;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        left: 20px;
        z-index: 101;
        display: none;
        width: auto;
        margin: 0;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
        background: #ffffff;
        border: 1px solid rgba(75, 32, 140, 0.14);
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(35, 20, 48, 0.20);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a {
        display: block;
        width: 100%;
        padding: 13px 15px;
        color: #32164b;
        text-align: left;
        background: transparent;
        border-radius: 10px;
    }

    .nav-links > a:not(.nav-contact):hover {
        color: #54268b;
        background: rgba(131, 200, 238, 0.16);
    }

    .nav-contact,
    .nav-contact:visited {
        color: #ffffff !important;
        text-align: center !important;
        background: #54268b !important;
        border: 2px solid #54268b;
    }

    .menu-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* TELÉFONOS PEQUEÑOS */

@media (max-width: 480px) {
    .navbar {
        min-height: 70px;
        padding: 9px 14px;
    }

    .brand-logo {
        width: 140px;
        height: 52px;
    }

    .menu-button {
        width: 43px;
        height: 43px;
    }

    .nav-links {
        right: 14px;
        left: 14px;
    }
}
