/*=========================================================
RESET
=========================================================*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior:smooth;
    scroll-padding-top:90px;
}
body{
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}
a{
    text-decoration:none;
    transition:.30s;
}

/*=========================================================
HEADER
=========================================================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(15px);
    border-bottom:1px solid rgba(0,0,0,.08);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    z-index:9999;
    transition:.35s;
}

/* Cuando hace scroll */
.header.scrolled{
    height:70px;
    background:#ffffff;
    box-shadow:0 12px 30px rgba(0,0,0,.12);

}

/*=========================================================
MENU
=========================================================*/

.nav-menu{
    display:flex;
    align-items:center;
}

.nav-menu ul{
    display:flex;
    align-items:center;
    gap:2rem;
    margin:0;
    padding:0;
    list-style:none;

}

.nav-menu a{
    color:#1b1b1b;
    font-weight:600;
    font-size:.96rem;
    position:relative;
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#0d6efd;
    transition:.30s;
}

.nav-menu a:hover{
    color:#0d6efd;
}

.nav-menu a:hover::after{
    width:100%;
}

/*=========================================================
BOTONES
=========================================================*/

.btn-primary{
    border-radius:30px;
    padding:.65rem 1.5rem;
    font-weight:600;
}

#toggleDark{
    width:42px;
    height:42px;
    border-radius:50%;
    margin-left:15px;
}

/*=========================================================
BOTON MENU
=========================================================*/

.navbar-toggler{
    background:none;
    border:none;
    font-size:1.6rem;
    color:#0d6efd;
    display:none;
}

/*=========================================================
RESPONSIVE
=========================================================*/

@media(max-width:991px){
    .navbar-toggler{
        display:block;
    }
    .nav-menu{
        position:fixed;
        top:80px;
        left:-100%;
        width:100%;
        height:calc(100vh - 80px);
        background:#ffffff;
        transition:.35s;
        justify-content:flex-start;
        align-items:flex-start;
        padding:40px 30px;
        box-shadow:0 20px 30px rgba(0,0,0,.08);
    }

    .nav-menu.active{
        left:0;
    }

    .nav-menu ul{
        flex-direction:column;
        width:100%;
        gap:22px;
    }

    .nav-menu li{
        width:100%;
    }

    .nav-menu a{
        display:block;
        width:100%;
        padding:12px;
        border-radius:10px;
        font-size:1.05rem;
    }

    .nav-menu a:hover{
        background:#f3f8ff;
    }
    .header__logo{
        width:170px;
    }

    .btn-primary{
        display:none !important;
    }

}

@media(max-width:576px){
    .header{
        height:72px;
    }
  .header__logo{
        width:145px;
    }
    .nav-menu{
        top:72px;
        height:calc(100vh - 72px);
    }
}

.header__actions{

    display:flex;

    align-items:center;

    gap:12px;

}

.header__actions .btn{

    border-radius:30px;

}

#toggleDark{

    width:42px;

    height:42px;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:0;

}


@media(max-width:991px){

    .header__actions{

        gap:8px;

    }

}
/*=========================================================
MODO OSCURO
=========================================================*/

/* Variables generales */
:root{
    --bg-color: #ffffff;
    --text-color: #1f2937;
    --title-color: #111827;
    --menu-color: #1f2937;
    --menu-hover: #0d6efd;
    --header-bg: rgba(255,255,255,.95);
    --header-border: rgba(0,0,0,.08);
}

/* Variables para modo oscuro */
body.dark{
    --bg-color: #0f172a;
    --text-color: #dbeafe;
    --title-color: #ffffff;
    --menu-color: #93c5fd;
    --menu-hover: #38bdf8;
    --header-bg: rgba(15,23,42,.96);
    --header-border: rgba(59,130,246,.25);
}

/* Fondo general */
body{
    background: var(--bg-color);
    color: var(--text-color);
    transition: background .35s ease, color .35s ease;
}

/* Header */
.header{
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    transition: .35s ease;
}

/* Menú */
.nav-menu a{
    color: var(--menu-color);
    transition: .30s ease;
}

.nav-menu a:hover{
    color: var(--menu-hover);
}

.nav-menu a::after{
    background: var(--menu-hover);
}

/* Títulos */
h1,h2,h3,h4,h5,h6{
    color: var(--title-color);
    transition: color .35s ease;
}

/* Párrafos */
p{
    color: var(--text-color);
    transition: color .35s ease;
}

/* Botón modo oscuro */
body.dark #toggleDark{
    background:#2563eb;
    color:#ffffff;
    border-color:#2563eb;
}
/*=========================================
BOTÓN COTIZAR RESPONSIVE
=========================================*/

.btn-cotizar{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:30px;
    padding:.65rem 1.2rem;
    white-space:nowrap;
}

@media (max-width:991px){

    .btn-cotizar{

        width:42px;
        height:42px;
        padding:0;
        border-radius:50%;

    }
    .btn-cotizar .texto-cotizar{
        display:none;
    }
}


/*=================================================
BRAND
==================================================*/

.header__brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
    transition:.35s;
}

/*==============================================*/

.header__logo{
    width:72px;
    height:auto;
    transition:.35s;
}

.header__brand:hover .header__logo{

    transform:scale(1.05);

}

/*==============================================*/

.brand-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

/*==============================================*/

.brand-title{

    font-family:'Plus Jakarta Sans',sans-serif;

    font-size:34px;

    font-weight:800;

    line-height:1;

    letter-spacing:-1px;

}

/*==============================================*/

.brand-blue{

    background:linear-gradient(
        90deg,
        #58D3FF 0%,
        #2196F3 30%,
        #1565C0 65%,
        #003DA5 100%
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

    text-shadow:

        0 0 18px rgba(33,150,243,.20);

}

/*==============================================*/

.brand-dark{

    color:#606360;

}

.texto-degradado {
  /* 1. Define el degradado como fondo */
  background: linear-gradient(45deg, #ff7e5f, #afafae, #65dbff);  
  /* 2. Recorta el fondo para que solo ocupe el área del texto */
  -webkit-background-clip: text;
  background-clip: text;  
  /* 3. Vuelve transparente el color original del texto para mostrar el fondo */
  -webkit-text-fill-color: transparent;
  color: transparent; /* Fallback para navegadores compatibles */  
  /* Estilos opcionales */
  font-size: 2rem;
  font-weight: bold;
  font-family: sans-serif;
}
/*==============================================*/
.footer_logo{
      width:72px;

    height:auto;

    transition:.35s;
    border-radius: 25%;
}

.brand-subtitle{
    margin-top:5px;
    font-family:'Plus Jakarta Sans',sans-serif;
    font-size:12px;
    font-weight:600;
    letter-spacing:3px;
    text-transform:uppercase;
    color:#7b8794;
}

/*==============================================*/
.header__brand:hover .brand-blue{
    filter:brightness(1.12);
}

.header__brand:hover .brand-dark{
    color:#000;
}
@media(max-width:991px){
.header__logo{
    width:58px;
}
.brand-title{
    font-size:26px;
}

.brand-subtitle{
    font-size:10px;
    letter-spacing:2px;

}

}