/* Reset básico para el estilo de la página */
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Definición de la tipografía principal */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: var(--black);
}

/* Definición del color negro */
:root {
    --black: #000;
    --gris-claro: #F1F1F1;
    --oro: #D9B950;
    --oro-light: #FAF2A6;
    --oro-dark: #987F37;
}

::selection {
    background: var(--oro-light);
    color: black;
}
::-moz-selection {
    background: var(--dedalo);
    color: black;
}

ul, nav {list-style: none; padding: 0; margin: 0;}

a {text-decoration: none;}

/* Definición de los tamaños para los encabezados */
h1 {
    color: white;
    display: grid;
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 2.5rem;
}

h1 .titulo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: bolder;
    text-transform: uppercase;
}

h2 {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.8rem;
}

h3 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.4px;
}

h4 {
    font-size: 0.85rem;
}

h5, .boton-primario {
    font-size: 0.75;
    letter-spacing: 0.3px;
}

h6 {
    font-size: 0.6rem;
}

p, ul li {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.2px;
}

.subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.25px;
}

small {
    font-size: 12px;
}

.hidden {display: none !important;}

.txt-oro {
    color: var(--oro);
    display: contents;
}

.boton-primario {
    color: black;
    display: inline-block;
    padding: 16px 25px;
    margin: 2.5rem;
    background: var(--oro);
    text-decoration: none;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.boton-primario:hover {
    color: white;
    background-color: var(--oro-dark);   
}

/* Escondemos el botón de "Abrir Menú Hamburguesa" */
.abrir-menu, .cerrar-menu {display: none;}

/* Menú */
nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 90px;
    margin: 20px 20px 0 20px;
    padding-right: 20px;
    background-color: rgba(0,0,0,0.30);
    border-bottom: 1px solid var(--oro);
}

nav .logo {
    position: absolute;
    left:0;
    right:0;
    margin: 0 auto;
    width: 100px;
    top: 38px;
}

nav ul {display: flex; gap: 1rem;}

nav li a {
    padding: 12px 2px;
    color: white;
    transition: 0.3s ease;
}

nav li a:hover {
    color: var(--oro);
}

nav li {padding: 0 2px;}

/* Header */
header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    text-align: center;
    height: 85vh;
    min-height: 500px;
    background-color: brown;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../images/home/home-mb-header-bkgr.jpg') center center;
    background-size: cover;
}

header .frases-header-slider .boton-primario {
    position: relative;
    bottom: -90px;
    /* top: 25vh; */
}

.lineav {
    border-right: 0.5px solid rgba(255,255,255,0.7);
    width: 0.5px;
    height: 50px;
    margin: 5px auto;
}

/* Header internas */
#header-internas {
    height: 250px;
    min-height: 250px;
    background-position:bottom;
    background-attachment: fixed;
}
.titulo-internas {
    position: absolute;
    background-color: white;
    top: 170px;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 50px;
    /* border-top: 2px solid black; */
    outline: 1px solid var(--oro);
    outline-offset: -10px;
    box-shadow: 0px -18px 20px -2px rgba(0, 0, 0, 0.25);

}
.titulo-internas h1 {
    color: black;
}

/* iframe Financiero */
.api {
    background-color: lightgray;
    height: auto;
}
.tradingview-widget-copyright {
    display: none !important;
}
.tradingview-widget-container {
    height: auto !important;
}

/* Pilares */
.pilares {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: (1fr);
    height: 350px;
    border-top: 14px solid var(--gris-claro);
}

.pilar1, .pilar2, .pilar3 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.pilar2 {
    position: relative;
    border-left: 0.5px solid black;
    border-right: 0.5px solid black;
}

.pilar2 .lineavn {
    height: 50%;
}

.pilar2 .lineavn.left {
    position: absolute;
    border-left: 3px solid black;
    height: 30%;
    left: -1.5px;
}

.pilar2 .lineavn.right {
    position: absolute;
    border-right: 3px solid black;
    height: 30%;
    right: -1.5px;    
}

.trayectoria {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 500px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.87) 0%, rgba(0, 0, 0, 0.24) 100%), url(../images/home/home-mb-20anos.jpg) center fixed;
    background-size: cover;
}

.trayectoria img {
    margin-bottom: 20px;
}

.trayectoria div {
    width: 60%;
    max-width: 1000px;
}

.frases-celebres {
    background-color: var(--oro);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 160px;
    background: radial-gradient(67.7% 2249.91% at 78.13% 50.31%, #EFDE6A 0%, #D9B950 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */, radial-gradient(80.75% 2194.36% at 77.43% 67.08%, #EFDE6A 0%, #CDBC47 74.48%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */;

}

.header-text-2 {
    position: absolute;
    background: url('../images/home/flecha.png') no-repeat bottom center;
    background-size: 550px auto;
    background-position: bottom 0 right 30%;
    width: auto;
    height: 100%;
}

.frases-celebres .frase {
    position: relative;
}

.frases-celebres p {
    color: white;
    margin-top: 5px;
}

footer {
    background-color: var(--gris-claro);
    display: grid;
    grid-template-columns: 150px 200px 1fr;
    align-items: center;
    height: 158px;
    margin: 40px 20px 20px 20px;
}

footer a {
    color: black;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--oro-dark);
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 0.5px solid black;
    height: 100%;
}
.logo-footer div {
    display: grid;
}

.logo-footer div img {
    margin-bottom: 5px;
}

.enlaces-menu {
    display: grid;
    justify-content: center;
    align-items: center;
}

.enlaces-redes {
    display: flex;
}

.enlaces-redes li {
    padding: 15px;
}

.enlaces-redes li a {
    opacity: 1;
}

.enlaces-redes li a:hover {
    opacity: 0.4;
}

/* Titulos Home Slider-animación ---------- */
.header-text {
    position: relative;
    margin: 0 auto;
    width: 100%;
    top: 150px;
}
  
.fade-text {
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.fade-text.active {
    opacity: 1;
}

/* Frases Célebres Home Slider-animación ---------- */
.header-text-2 {
    position: relative;
    margin: 0 auto;
    width: 100%;
}
  
.fade-text-2 {
    position: absolute !important;
    display: grid;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    align-content: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}
  
  .fade-text-2.active {
    opacity: 1;
  }

/* INTERNAS --- Quienes Somos */
.quienes-somos {
    display: flex;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    justify-content: center;
    align-content: center;
    border-bottom: 14px solid var(--gris-claro);
}

.quienes-somos .texto {
    text-align: center;
    padding: 110px 10% 80px 10%;
    width: 100%;
    max-width: 1200px;
}

/* INTERNAS --- Misión · Visión · Valores */
.mision-vision {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
}
.mision-vision h2 {
    margin-bottom: 15px;
}
.mision-vision .texto {
    position: relative;
    box-sizing: border-box;
    padding: 8%;
    text-align: center;
    width: 100%;
    border-right: 0.5px solid black;
}
.mision-vision .lineavn.right {
    display: flex;
    align-items: center;
    position: absolute;
    border-right: 3px solid black;
    height: 30%;
    right: -1.5px; 
    top: 30%;
}
.mision-vision .contenedor-imagen {
    width: 100% !important;
    position: relative;
    box-sizing: border-box;
    padding: 70px 40px;
}
.mision-vision .imagen {
    background: url(../images/quienes-somos/mision-vision.jpg) no-repeat center center;
    background-size: cover;
    min-width: 200px;
    max-width: 400px;
    height: 500px;
    margin: 0 auto;
    /* margin: 60px 0; */
    filter: drop-shadow(0px 4px 33px rgba(0, 0, 0, 0.32));
}

.valores {
    color: white;
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../images/quienes-somos/valores.jpg) no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    padding: 8%;
    box-sizing: border-box;
}
.valores .textos {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 35px;
}
.valores h3 {
    margin-bottom: 15px;
}

.valores .textos div {
    padding: 25px;
}

.valores .valor-2 {
    /* padding: 0 20px; */
    border-left: 0.5px solid rgba(255,255,255,0.7);
    border-right: 0.5px solid rgba(255,255,255,0.7);
}

/* INTERNAS --- Servicios */
.servicios {
    color: white;
    text-align: center;
    background: linear-gradient(0deg, rgba(241, 241, 241, 0.4), rgba(241, 241, 241, 0.4)), url(../images/servicios/servicios-bkgr.jpg) no-repeat center center;
    mix-blend-mode: normal;
    background-attachment: fixed;
    background-size: cover;
    box-sizing: border-box;    
    padding: 8%;
}
.servicios img {
    filter: invert(1);
    margin-op: 30%;t
}
.servicios h2 {
    margin: 35px 0 15px 0;
}
.servicios ul li {
    line-height: 1.2rem;
    padding-bottom: 10px;
    text-align: left;
}
.servicios ul {
    margin-bottom: 20%;
    list-style-type: square;
}
.servicios .textos {
    display: grid;
    gap: 15px;
    justify-items:center;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}
.servicios .textos .servicio-1,
.servicios .textos .servicio-2,
.servicios .textos .servicio-3 {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 500px;
    height: 100%;
    width: 100%;
    box-sizing: border-box; 
    padding: 35% 13% 0 13%;
}
.servicios .textos .servicio-1 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 22.74%, rgba(0, 0, 0, 0.2) 123.7%), url(../images/servicios/consultoria-financiera.jpg) no-repeat center center;
    background-size: cover;
}
.servicios .textos .servicio-2 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 124.52%), url(../images/servicios/consultoria-contable.jpg) no-repeat center center;
    background-size: cover;
}
.servicios .textos .servicio-3 {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 100%), url(../images/servicios/consultoria-legal.jpg) no-repeat center center;
    background-size: cover;
}

/* INTERNAS -- Contáctanos */
.contacto {
    color: white;
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%), url(../images/contacto/contacto.jpg) no-repeat center center;
    /* background-attachment: fixed; */
    background-size: cover;
    padding: 6%;
    box-sizing: border-box;
}
.contacto a {color: var(--oro); transition: all 0.3s ease;}
.contacto a:hover {color: var(--oro-light);}
.contacto .textos {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr);
    margin: 20px;
}
.contacto h3 {
    margin-bottom: 15px;
}
.contacto .textos div {
    padding: 25px;
}
.contacto .contacto-2 {
    /* padding: 0 20px; */
    border-left: 0.5px solid rgba(255,255,255,0.7);
    border-right: 0.5px solid rgba(255,255,255,0.7);
}
.contacto .enlaces-redes {
    /* filter: invert(1); */
    filter: invert(70%) sepia(86%) saturate(314%) hue-rotate(3deg) brightness(95%) contrast(83%);
    justify-content: center;
    gap: 10px;
}
.contacto .enlaces-redes li {padding: 0 15px;}
.contacto .enlaces-redes img {
    width: 30px;
    height: 30px;
}

.visitanos {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}
.visitanos h2 {margin-bottom: 10px;}
.visitanos .texto {
    display: flex;
    justify-items: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 75px 20% 45px;
}
.visitanos .mapa {
    position: relative;
    display: flex;
    justify-content: center;
    height: 350px;
    width: 100%;
    z-index: 999;
}
.iframe-mapa {
    position: absolute;
    z-index: 999;
    filter: drop-shadow(0px 4px 33px rgba(0, 0, 0, 0.32));
    width: 80%;
    height: 350px;

}
.visitanos .mapa .plecanegra {
    position: absolute;
    display: flex;
    align-self: center;
    background-color: black;
    height: 45%;
    width: 100%;
    z-index: 10;
}

.formulario {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    margin-top: 70px;
    padding-top: 16px;
    background: linear-gradient(0deg, rgba(247, 247, 247, 0.8), rgba(247, 247, 247, 0.9)), url('../images/contacto/contacto-form-bkgr.jpg')no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    background-color: #F1F1F1;
    text-align: center;
}
.formulario h2 {
    padding: 40px 18% 30px 18%;
}
.form {
    height: 100px;
}

/* Botón flotante Whatsapp */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  }

  .whatsapp-btn.active {
    transform: translateY(0);
    opacity: 1;
  }

  .whatsapp-btn a {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 60px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    background: #7CFC00;
    mix-blend-mode: normal;
    opacity: 0.95;
    box-shadow: 0px 0px 20px 2px rgba(118, 234, 9, 0.7);
    transition: all 0.25s ease-in-out;
  }

  .whatsapp-btn a:hover {
    background-color: var(--oro-light);
    box-shadow: 0px 0px 10px 2px rgba(255, 255, 255, 0.8);
  }

  .whatsapp-btn img {
    position: absolute;
    bottom: 15px;
    left: 16px;
  }

