/* =========================
   VARIABLES
========================= */

:root {
    --dark-bg: #181e2b;
    --light-bg: #f3f5f7;
    --brand-blue: #25b7f0;
    --white: #ffffff;
    --text-light: #cfd8dc;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   GLOBAL
========================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--light-bg);
    color: var(--dark-bg);
    font-family: 'Lexend Deca', sans-serif;
    margin: 0;
    padding: 0;
}

.section {
    padding: 70px 0;
}

.container {
    width: 90%;
}

/* =========================
   NAVBAR
========================= */

nav {
    background: rgba(24, 30, 43, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--brand-blue);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
    height: auto !important;
    line-height: normal !important;
}

nav .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

nav .brand-logo {
    position: relative !important;
    display: flex;
    align-items: center;
}

nav .brand-logo img {
    height: 90px;
    width: auto;
    transition: transform 0.3s ease;
}

nav .brand-logo img:hover {
    transform: scale(1.03);
}

nav ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul li a {
    color: white;
    font-weight: 600;
    border-radius: 10px;
    transition: 0.3s ease;
    padding: 12px 18px !important;
}

nav ul li a:hover {
    background: rgba(37, 183, 240, 0.15);
    color: var(--brand-blue);
}

/* =========================
   TITULOS
========================= */

.section-title {
    position: relative;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
    padding-left: 20px;
    color: var(--dark-bg);
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 6px;
    height: 85%;
    border-radius: 10px;
    background: var(--brand-blue);
}


/* =========================
   CAROUSEL VERTICAL
========================= */

.carousel.carousel-slider {
    height: 845px !important;
    background: var(--dark-bg);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.carousel .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
}

.carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Indicadores */

.carousel .indicators {
    bottom: 15px;
}

.carousel .indicators .indicator-item {
    background-color: rgba(255,255,255,0.4);
}

.carousel .indicators .indicator-item.active {
    background-color: var(--brand-blue);
}

/* Tablet */

@media(max-width:992px){

    .carousel.carousel-slider{
        height: 700px !important;
    }
}

/* Mobile */

@media(max-width:600px){

    .carousel.carousel-slider{
        height: 450px !important;
        border-radius: 20px;
    }
}



/* =========================
   BOTONES
========================= */

.btn,
.btn-large,
.btn-floating {
    background: var(--brand-blue) !important;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover,
.btn-large:hover,
.btn-floating:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 183, 240, 0.3);
}

/* =========================
   CARDS SERVICIOS
========================= */

.card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
}

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

.card-content {
    padding: 30px !important;
}

.card .card-title {
    color: var(--brand-blue) !important;
    font-weight: 700;
    margin-bottom: 15px !important;
}

.card p {
    color: #555;
    line-height: 1.7;
}

.card-icon {
    color: var(--brand-blue);
    padding-top: 30px;
}

.card-icon i {
    font-size: 60px !important;
}

/* =========================
   CONTACTO
========================= */

#contacto .white {
    border-radius: 25px !important;
    padding: 40px !important;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

#contacto h4 {
    margin-bottom: 40px;
    font-weight: 800;
}

.input-field input:focus,
.input-field textarea:focus {
    border-bottom: 2px solid var(--brand-blue) !important;
    box-shadow: none !important;
}

.input-field input:focus + label,
.input-field textarea:focus + label {
    color: var(--brand-blue) !important;
}

.input-field .prefix.active {
    color: var(--brand-blue) !important;
}

/* =========================
   WHATSAPP
========================= */

.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border-radius: 100%;
    background-color: #25d366 !important;
    
}

.btn-whatsapp:hover {
    transform: scale(1.08);
}

/* =========================
   FOOTER
========================= */

footer.page-footer {
    background: var(--dark-bg);
    padding: 40px 0 20px;
    margin-top: 60px;
}

footer h5 {
    font-weight: 800;
    margin-bottom: 10px;
}

footer p {
    color: var(--text-light);
}

footer .divider {
    margin: 20px 0;
    opacity: 0.2;
}

/* =========================
   RESPONSIVE
========================= */

@media only screen and (max-width: 992px) {

    nav .brand-logo img {
        height: 70px;
    }

    .promo-card {
        padding: 40px 25px;
    }

    .promo-card h2 {
        font-size: 2rem;
    }

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

@media only screen and (max-width: 600px) {

    nav .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav .brand-logo img {
        height: 60px;
    }

    .carousel {
        height: 500px !important;
    }

    .promo-card {
        padding: 30px 20px;
    }

    .promo-card h2 {
        font-size: 1.6rem;
    }

    .promo-card p {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }
}

.hero {
    background: linear-gradient(rgba(24, 30, 43, 0.683), rgba(24, 30, 43, 0.315)),
        url('../img/hero.jpg') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: auto auto 30px;
    color: #d7dce2;
}

@media(max-width:600px){

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

    .hero p{
        font-size:1rem;
    }
}

.seo-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: #555;
}

.seo-content h2 {
    font-size: 2rem;
}