@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --dark-one: #06101d;
    --dark-two: #515f62;
    --main-color: #0055b8;
    --light-one: #fff;
    --light-two: #eff1f6;
    --light-three: #f8fffa;
}

::selection {
    background-color: #0056b856;
}

/* Genral Styles */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
textarea {
    font-family: "Montserrat", sans-serif;
}

button,
input,
textarea {
    background-color: transparent;
    border: none;
    outline: none;
}

body {
    background-color: var(--light-one);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    width: 100%;
}

.container {
    position: relative;
    z-index: 5;
    max-width: 92rem;
    padding: 0 4rem;
    margin: 0 auto;
}

.text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--dark-two);
    line-height: 1.6;
}

.image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.z-index {
    position: relative;
    z-index: 2;
}

.section {
    position: relative;
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title {
    position: relative;
    display: inline-block;
    line-height: 1.3;
    font-size: 2.8rem;
    text-transform: capitalize;
    color: var(--dark-one);
}

.title span {
    background: linear-gradient(160deg, #0055b8 0%, #8A3CFF 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.title:before {
    content: attr(data-title);
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--main-color);
}

.section-header .title,
.section-header .text {
    max-width: 700px;
}

.title-sm {
    color: var(--dark-one);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: capitalize;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    background: transparent;
    font-weight: 500;
    cursor: pointer;
    text-transform: capitalize;
    color: var(--light-one);
    overflow: hidden;
    z-index: 1;
}

/* Fondo base de emergencia */
.btn.primary {
    background: #0055b8;
}

/* --------------------------
   Degradado principal (::before)
--------------------------- */
.btn.primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #0055b8, #0077ff);
    z-index: -2;
    opacity: 1;
    transition: opacity .4s ease;
}

/* --------------------------
   Degradado hover (::after)
--------------------------- */
.btn.primary::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #0077ff, #c800ff);
    z-index: -3;
    opacity: 0;
    transition: opacity .4s ease;
}

.btn.primary:hover::after {
    opacity: 1;
}

.btn.primary:hover::before {
    opacity: 0;
}

/* --------------------------
   Shimmer brillante (::shimmer)
--------------------------- */
.btn.primary .shimmer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;

    background: linear-gradient(120deg,
            transparent 0%,
            rgba(255, 255, 255, 0.35) 45%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0.35) 55%,
            transparent 100%);

    /* Más grande → movimiento más suave */
    background-size: 400% 400%;

    /* Animación más lenta, easing suave */
    animation: shimmer-move 3.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes shimmer-move {
    0% {
        background-position: -250% 0;
    }

    100% {
        background-position: 250% 0;
    }
}



.link {
    color: var(--dark-one);
    font-weight: 500;
    text-decoration: underline;
    text-transform: capitalize;
}

/* End Genral Styles */

/* Responsive */

@media (max-width: 1280px) {
    .text {
        font-size: 1rem;
    }

    .title {
        font-size: 2.1rem;
        padding-bottom: 0.65rem;
    }

    .title:before {
        margin-bottom: 0.2rem;
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .title:after {
        height: 3.5px;
        width: 70px;
    }

    .title-sm {
        font-size: 1.2rem;
    }

    .btn {
        font-size: 0.8rem;
    }

    .section-header {
        display: block;
    }

    .section-header .text {
        max-width: 500px;
    }

    .section {
        padding: 4.5rem 0;
    }

}

@media (max-width: 850px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 1.5rem;
    }

    .title {
        font-size: 1.8rem;
    }

    .section {
        padding: 2rem 0;
    }
}


/* End Responsive */

/* End loader */

body.no-scroll {
    overflow: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 1.5rem 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: #06101db5;
    backdrop-filter: blur(3rem);
}

.logo img {
    max-width: 40px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .links {
    display: flex;
}

header .links a {
    position: relative;
    margin: 0 1rem;
    color: var(--light-one);
    font-weight: light;
    display: flex;
    justify-content: center;
}

header .links a::after {
    content: '';
    width: 0%;
    height: 1px;
    background-color: var(--light-one);
    position: absolute;
    bottom: -.3rem;
    transition: .3s all;
}

header .links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background-color: #f5f5f52f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1100;
    transition: transform 0.3s ease;
    margin-left: .5rem;
    border-radius: .5rem;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: 0.3s ease-in-out;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.menu-toggle:active {
    transform: scale(0.9);
}

.hamburger {
    display: flex;
    align-items: center;
}

.hamburger .btn {
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(90, 183, 212, 0.672);
    /* Cambié el color para ser más específico */
    animation: pulse-whatsapp 1.5s infinite;
}

.hamburger .btn i {
    margin-left: .3rem;
    font-size: 1.2rem;
}

.hamburger .btn:hover {
    background-color: #21b357;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(0.9);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(90, 153, 212, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}

@keyframes bounce-in {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.menu-toggle.open {
    animation: bounce-in 0.3s ease;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 890px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
    }

    .links {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 250px;
        background-color: var(--dark-one);
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        padding-top: 60px;
        transition: left 0.3s ease-in-out;
    }

    .links li {
        margin: 15px 0;
        width: 100%;
    }

    .links li a {
        padding: 10px 20px;
        width: 100%;
        display: block;
        color: white;
    }

    .links.open {
        left: 0;
    }
}