:root {
    --brandblue: #00205C;
    --brandgrey: #898A8D;
    --header-h: 57px;
}
h1, h2, h3, h4, h5, h6, label {
    font-family: "Merriweather", serif;
    font-weight: 300;
}
p, li, a, p > span, a > span {
    font-family: "Lato", serif;
    font-weight: 300;
}
.header-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    transition: 0.4s;
}
@media all and (min-width: 768px) {
    .header-fixed {
        padding: 15px 15px;
    }
}
.header-fixed.is-scrolled {
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.header-fixed .logo-header {
    width: 110px;
}
@media all and (min-width: 768px) {
    .header-fixed .logo-header {
        width: 130px;
    }
}
.header-fixed nav a {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    padding: 10px 25px;
    transition: all 0.4s;
    border-radius: 5px;
    /*border-top: 2px solid white;
    border-bottom: 2px solid white; */
}
.header-fixed nav a.selected {
    background-color: rgba(255, 255, 256, 0.3);
    color: white;
}
.header-fixed nav a:hover {
    background-color: rgba(255, 255, 256, 0.3);
    color: white;
}
.header-fixed.is-scrolled nav a {
    color: var(--brandgrey)
}
.header-fixed.is-scrolled nav a:hover {
    color: var(--brandblue)
}
.header-fixed.is-scrolled nav a.selected {
    background-color: var(--brandgrey);
    color: white;
}
.brand {
    text-align: left;
    transition: all 0.4s;
    opacity: 0;
}
.brand a {
    display: inline-block;
}
.header-fixed.is-scrolled .brand {
    opacity: 1;
}
.header-fixed { position: sticky; top: 0; z-index: 1030; }
/* Menú colapsado a 100vw en móvil */
@media (max-width: 767.98px) {
    .header-fixed .navbar-collapse {
        position: fixed;           /* se “desprende” de la col */
        top: var(--header-h);      /* justo debajo del header */
        left: 0;
        right: 0;
        width: 100vw;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
        background: #fff;
        padding: 1rem 1.25rem;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
        padding: 0;
    }
    .header-fixed .navbar { width: 100%; }
    .header-fixed .navbar-nav .nav-link { 
        padding: 15px;
        border-bottom: 1px solid #d6d6d6;
        border-radius: 0;
        color: var(--brandgrey);
    }
}
.offcanvas-body {
    padding: 0;
}
.offcanvas-top { height: 225px !important; max-height: 80vh; }
.offcanvas .navbar-nav .nav-link { padding:  15px 25px; }
.offcanvas .navbar-nav .nav-link.selected {
    background-color: var(--brandgrey);
    color: white;
}

/* Blanco por defecto (cuando el header NO tiene is-scrolled) */
header:not(.is-scrolled) .navbar-toggler-icon{
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Azul cuando el header SÍ tiene is-scrolled */
header.is-scrolled .navbar-toggler-icon{
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230d2a3a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* (Opcional) bordes del botón a juego */
header:not(.is-scrolled) .navbar-toggler{ border-color: none; }
header.is-scrolled .navbar-toggler{ border-color: none; }

/* HERO */
.hero-superior {
    height: 95vh;
}
.hero-superior p {
    font-family: "Lato", sans-serif;
    font-size: 18px;
}
#hero-home {
    background: var(--brandblue) url(../images/hero.jpg) no-repeat center center;
    background-size: cover;
}
#hero-laboral {
    background: var(--brandblue) url(../images/hero-laboral.jpg) no-repeat center center;
    background-size: cover;
}
#hero-trabajador {
    background: var(--brandblue) url(../images/hero-trabajador.jpg) no-repeat center center;
    background-size: cover;
}
#hero-fiscal {
    background: var(--brandblue) url(../images/hero-fiscal.jpg) no-repeat center center;
    background-size: cover;
}
@media all and (max-width: 767.9px) {
    #hero-home {
        background: var(--brandblue) url(../images/hero-xs.jpg) no-repeat center center;
        background-size: cover;
    }
    #hero-laboral {
        background: var(--brandblue) url(../images/hero-laboral-xs.jpg) no-repeat center center;
        background-size: cover;
    }
    #hero-trabajador {
        background: var(--brandblue) url(../images/hero-trabajador-xs.jpg) no-repeat center center;
        background-size: cover;
    }
    #hero-fiscal {
        background: var(--brandblue) url(../images/hero-fiscal-xs.jpg) no-repeat center center;
        background-size: cover;
    }  
}

#hero-home a {
    display: inline-block;
    margin: 4px 10px;
}
.hero-superior .container,
.hero-superior .container .row,
.hero-superior .container .col-12 {
    height: inherit;
}
.hero-superior h1,
.hero-superior p {
    color: white;
}
.hero-superior h1 {
    font-size: 32px;
    padding: 0;
}
.hero-superior .logo,
.hero-superior h1,
.hero-superior .cta {
    margin: 10px 10px;
}
.hero-superior .logo {
    width: 150px;
    margin: 10px auto 20px;
}
.hero-superior .logo img {
    width: 100%;
}
@media all and (min-width: 922px) {
    .hero-superior {
        height: 100vh;
    }
    .hero-superior h1 {
        font-size: 50px;
    }
    .hero-superior .logo,
    .hero-superior h1,
    .hero-superior .cta {
        margin: 20px 10px;
    }
    .hero-superior .logo {
        width: 210px;
        margin: 0 auto;
    }
}
.apreton {
    width: 100%;
}
@media all and (min-width: 768px) {
    .apreton {
        width: 90%;
    }
}
/* NOSOTROS */
#nosotros {
    padding: 60px 15px 80px;
    background-color: var(--brandblue);
}
#nosotros .descripcion h2,
#nosotros .descripcion p {
    color: white;
}
#nosotros .descripcion h2 {
    font-size: 32px;
}
#nosotros .descripcion p {
    font-size: 17px;
}
#nosotros .tarjeta {
    text-align: center;
    padding: 25px;
    background-color: white;
    border-radius: 10px;
    margin-top: 15px;
}
#nosotros .tarjeta h3 {
    font-size: 18px;
    margin-top: 5px;
    color: var(--brandblue);
}
/* ASESORIA TRABAJADOR */
#asesoria-trabajador {
    padding: 60px 15px 80px;
    background-color: white;
}

#asesoria-trabajador .descripcion h2 {
    font-size: 32px;
    color: var(--brandblue);
}
#asesoria-trabajador .descripcion p {
    font-size: 17px;
}
#asesoria-trabajador .tarjeta {
    text-align: center;
    padding: 25px;
    background-color: var(--brandblue);
    border-radius: 10px;
    margin-top: 15px;
    
}
#asesoria-trabajador .tarjeta h3 {
    font-size: 18px;
    margin-top: 5px;
    color: white;
}
#asesoria-trabajador .tarjeta p {
    color: white;
}
/* EXPERIENCIA */
#experiencia {
    padding: 80px 15px 100px;
}
#experiencia h3 {
    font-size: 36px;
    color: var(--brandblue);
}
#experiencia p {
    padding: 10px;
    font-size: 18px;
    color: var(--brandgrey);
}
@media all and (min-width: 992px) {
    #experiencia h3 {
        font-size: 42px;
    }
    #experiencia p {
        padding: 40px;
    }
    .linea-izquierda {
        border-left: 1px solid var(--brandgrey);
    }
}
/* DIFERENCIADORES */
#diferenciadores {
    margin-top: 80px;
    margin-bottom: 60px;
}
@media all and (min-width: 992px) {
    #diferenciadores {
        margin-top: 120px;
        margin-bottom: 120px;
    }
}
#diferenciadores h2 {
    font-size: 42px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--brandblue)
}
#diferenciadores h2 span {
    color: var(--brandgrey);
}
@media all and (min-width: 992px) {
    #diferenciadores h2 {
        font-size: 48px;
    }
}
.diferenciador-container {
    margin-bottom: 25px;
}
.diferenciador {
    padding: 25px;
    text-align: center;
    box-shadow: 0 1px 8px 0 rgba(0,0,0,0.22);
    border-radius: 20px;
}
.d-azul {
    background-color: var(--brandblue);
}
.d-azul h3,
.d-azul p { 
    color: white;
}
.diferenciador img {
    width: 80px;
}
.diferenciador h3 {
    margin: 14px 0;
    font-size: 18px;
}
#salud {
    padding-top: 0px;
    padding-bottom: 40px;
    background-color: #d6d6d6;
}
.texto-salud {
    padding: 40px 20px;
}
/* salud */
@media all and (min-width: 992px) {
    #salud {
        padding-top: 80px;
        padding-bottom: 80px;
        background-color: #d6d6d6;
    }
    #salud img {
        border-radius: 15px;
    }
     .texto-salud {
        padding: 30px 40px;
    }
}
#salud h3 {
    font-size: 36px;
    color: var(--brandblue);
}
#salud li{
    color: black;
    font-size: 18px;
    padding: 7px;
}
/* MISION */
.position-relative {
    position: relative;
}
#mision {
    margin-top: 0px;
    margin-bottom: 50px;
    background-color: var(--brandgrey);
}
@media all and (min-width: 768px) {
    #mision {
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: var(--brandgrey);
    }
    #mision img {
        border-radius: 15px;
    }
}
.mision {
    padding: 40px 15px;
}
.mision h3,
.mision p, 
.mision li{
    color: white;
    font-size: 18px;
}
.mision h3 {
    font-size: 36px;
}
@media all and (min-width: 992px) {
    .mision {
        padding: 80px 25px;
    }
    .mision h3 {
        font-size: 42x;
    }
    .imagen-absoluta {
        left: 0;
        top: -25%;
        position: absolute;
        border-radius: 10px;
    }
}
/* SERVICIOS */
#servicios {
    background-color: var(--brandblue);
    padding-bottom: 60px;
}
#servicios .header {
    text-align: center;
    display: flex;
    padding: 15px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
#servicios .header-laboral {
    background: url(../images/servicios-especializados.jpg) no-repeat center center;
    background-size: cover;
}
#servicios .header-fiscal {
    background: url(../images/hero-cumplimiento-fiscal.jpg) no-repeat center center;
    background-size: cover;
}
#servicios .header-trabajador {
    background: url(../images/hero-servicios-trabajador.jpg) no-repeat center center;
    background-size: cover;
}
#servicios .header .row {
    z-index: 2;
}
#servicios .header .texto {
    padding: 80px 20px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.50);
}
#servicios .header h2 {
    font-size: 36px;
}
@media all and (min-width: 992px) {
    #servicios .header h2 {
        font-size: 42px;
    }
}
#servicios .header p {
    font-size: 18px;
}
#servicios .header:before {
    background: linear-gradient(to bottom, rgba(0, 32, 92, 0) 0%, rgba(0, 32, 92, 1) 100%);
    content: " ";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
#servicios h2,
#servicios h3,
#servicios p,
#servicios li {
    color: white;   
}
#servicios p {
    max-width: 800px;
}
.servicio {
    margin: 15px 15px 20px;
    text-align: center;
    width: 300px;
    margin: 0 auto;
    position: relative;
}
@media all and (min-width: 768px) {
    .servicio {
        width: 100%;
    }
}
.servicio ul {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
} 
.servicio li {
    position: relative;
    padding: 13px 0;
} 
.servicio li::before {
    content: " ";
    display: inline-block;
    height: 5px;
    width:  5px;
    border-radius: 5px;
    background-color: rgb(207, 207, 255);
    position: absolute;
    top: 0;              /* arriba del <li> */
    left: 50%;
    transform: translateX(-50%); 
}
@media all and (min-width: 992px) {
    .servicio ul {
        padding-left: 13%;
        text-align: left;
    } 
    .servicio li {
        position: relative;
        padding: 5px 10px;
    } 
    .servicio li::before {
        left: 0;
        top: 13px;
    }
}
@media all and (min-width: 1280px) {
    .servicio ul {
        padding-left: 19%;
        text-align: left;
    }
}
.servicio .imagen {
    position: relative;
}
.servicio .imagen img{
    width: 200px;
    display: inline-block;
    margin: 0 auto;
}
@media all and (min-width: 992px) {
    .servicio .imagen {
        position: absolute;
        top: 0;
        left: 0;
        width: 25%;
    }
    .servicio .imagen .img,
    .servicio .imagen img {
        width: 100%;
    }
}
@media all and (max-width: 991px) {
    .servicio .imagen:before {
        content: " ";
        background-color:  #001338;;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        display: block;
        position: absolute;
        height: 50%;
        width: 100%;
        bottom: 0;
        left: 0;
        z-index: 1;
    }
}
.servicio .imagen .img {
    position: relative;
    z-index: 2;
}
.servicio .texto {
    padding: 15px;
    background-color: #001338;
    margin-bottom: 20px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
@media all and (min-width: 992px) { 
    .servicio .texto {
        background-color: transparent;
        margin-left: 17%;
        text-align: left;
    }
    .servicio .texto h3,
    .servicio .texto p {
        text-align: left;
        padding-left: 12%;
    }
    .servicio .texto h3{
        font-size: 20px;
        background-color: #001338;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
        padding-right: 20px;
        display: inline-block;
    }
}
@media all and (min-width: 1200px) {
    .servicio {
        width: 90%;
    }
    .servicio .imagen {
        width: 30%;
    }
    .servicio .texto h3,
    .servicio .texto p {

        padding-left: 18%;
    }
    .servicio .texto h3{
        font-size: 22px;
    }
    .servicio .texto p{
        font-size: 18px;
    }
}
.servicio img {
    width: 200px;
    margin: 10px auto;
    display: inline-block;
}
/* CONTACTO */
#contacto {
    padding-top: 50px;
    padding-bottom: 50px;
}
#contacto img{
    width: 60px;
    margin-bottom: 10px;
}
#contacto h3 {
    font-size: 36px;
    columns: var(--brandblue);
}
@media all and (min-width: 992px) {
    #contacto h3 {
        font-size: 40px;
        columns: var(--brandblue);
    }
}

#contacto h3 span {
    color: var(--brandgrey);
}
#contacto p {
    color: var(--brandgrey);
    font-size: 18px;
}

label {
    color: var(--brandgrey);
    font-size: 15px;
}
label span {
    color: #E34A33;
}
.form-control {
    background-color: var(--brandgrey);
    border-color: var(--brandgrey);
    color: white;
}
.btn-primary {
    background-color: var(--brandblue);
    border: 2px solid white; 
    /*background-color: rgb(0, 159, 58);
    border-color: rgb(0, 159, 58); */
    color: white;
    text-transform: uppercase;
    padding: 10px 30px;
    font-weight: 600;
    font-size: 16px;
}
.btn-primary:hover {
    border: 2px solid white; 
    background-color: var(--brandblue);
}
.sucursales {
    margin-bottom: 30px;
    padding-top: 20px;
    padding-bottom: 15px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.sucursal {
    padding: 10px 10px 20px;
    width: 100%;
}
@media all and (min-width: 768px) {
    .sucursal {
        width: 90%;
    }
}
.sucursal h5.lugar {
    font-size: 18px;
    text-align: center;
}
.sucursal p.direccion {
    font-size: 16px !important;
    margin: 0;
    padding: 0;
    text-align: center;
}
.sucursal.linea {
    border-bottom: 1px solid #ccc;
}
.sucursal .icon {
    text-align: center;
}
.sucursal .icon img {
    display: inline;
    width: 40px;
    margin-bottom: 10px;
}
/* FOOTER */
footer {
    align-items: center;
    border-bottom: 30px solid var(--brandblue);
    display: flex;
    flex-direction: column;
    padding: 20px 15px;
}
footer img {
    width: 160px;
}
footer p {
    margin: 15px 0;
    font-size: 14px;
    text-align: center;
    color: var(--brandgrey);
}
@media all and (min-width: 992px) {
    footer {
        padding: 30px 15px;
    }
    footer img {
        width: 200px;
    }
}
#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 65px;
}
#whatsapp-icon a {
    display: inline-block;
}
#whatsapp-icon img {
    width: 100%;
}
@media all and (min-width: 768px) {
    #whatsapp-icon {
        width: 80px;
        bottom: 30px;
        right: 20px;
    }
}