@charset "UTF-8";
/**
 * ARCHIVO MAESTRO DE ESTILOS - GFC Abogados
 * ================================================
 * Este archivo consolida todos los estilos personalizados del sitio
 * Organizado por secciones para fácil mantenimiento
 * 
 * IMPORTANTE: Este archivo reemplaza:
 * - estiloswdd.css (ahora integrado aquí)
 * - estilos2.css, estilos3.css (eliminados)
 * - main.css (eliminado)
 * 
 * DEPENDENCIAS EXTERNAS (mantener):
 * - /assets/css/style.css (CodyHouse base)
 * - /assets/css/components/*.css (Componentes CodyHouse necesarios)
 * - slick.css (solo si usas carrusel)
 */

/* ================================================
   1. CONFIGURACIÓN GLOBAL
   ================================================ */

* {
    font-family: "Abhaya Libre", serif;
}

body {
    font-family: "Abhaya Libre", serif;
    color: var(--color-accent-dark);
}

/* Tipografía para títulos y subtítulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Libre Bodoni", serif;
}

/* Tipografía para párrafos y texto general */
p,
span,
a,
li,
div {
    font-family: "Abhaya Libre", serif;
}

main {
    position: relative;
    top: 80px;
    padding-bottom: 80px;
}

a {
    text-decoration: none !important;
    font-weight: bold;
}

/* ================================================
   2. HEADER Y NAVEGACIÓN
   ================================================ */

/* Barra superior de contacto y redes sociales */
.supTab {
    background: var(--color-bg-darker);
    background-image: url('../images/banner.png') !important;
    display: flex;
    align-items: center;
}

.contSocialIcon,
.contInfoCont {
    display: flex;
}

.contSocialIcon a i,
.contInfoCont a i {
    font-size: 1.3em;
}

.contSocialIcon a,
.contInfoCont a {
    color: var(--color-accent-dark);
    margin: 0px 2px;
    padding: 8px 5px;
    display: flex;
    font-size: .8em;
    align-items: center;
    gap: .3em;
}

.contSocialIcon a img,
.contInfoCont a img {
    width: 25px;
    height: auto;
}

.contInfoCont {
    justify-content: flex-end;
}

.supTab > div {
    flex: 1;
}

/* Logo del menú */
.mega-nav__logo {
    display: block;
}

.mega-nav__logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

.nav_controlC1 {
    background-color: var(--color-accent-darker) !important;
}

.mega-nav--mobile .nav_controlC1 {
    padding: 10px !important;
}

/* ================================================
   3. BOTONES FIJO DE WHATSAPP
   ================================================ */
.contBtFixed {
    position: fixed;
    z-index: 999999;
    right: 20px;
    bottom: 20px
}

.contBtFixed > div > a {
    font-size: 2.5em;
    display: flex;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease
}

.contBtFixed > div > a:hover {
    transform: scale(1.05)
}

.btWAColor {
    background-color: #05c015;
    color: white
}

/* ================================================
   3. BOTONES FLOTANTES Y REDES SOCIALES
   ================================================ */

.floatBt {
    position: fixed;
    display: flex;
    z-index: 999999;
    right: 0px;
    bottom: 20px;
    flex-direction: column;
    align-items: center;
    padding: 8px 2px 8px 5px;
    border-radius: 10px 0px 0 10px;
    gap: .5em;
}

.floatBt > div a img {
    width: 40px;
    height: auto;
}

.wa_bt_c {
    background-color: #25d366;
    color: var(--color-bg-lighter);
    border-radius: var(--radius-sm);
}

/* ================================================
   4. SLIDERS Y CARRUSELES
   ================================================ */

.slideshow__item p {
    /* Estilos para texto en slides */
    color: var(--color-bg-dark);
}

.contSlider {
    width: 100%;
    background-size: cover;
    background-position: top;
    display: flex;
    justify-content: left;
    align-items: center;
}

/* Slides específicos con fondos */
.fdos1 { background-image: url("../images/hs1.webp"); }
.fdos2 { background-image: url("../images/hs2.webp"); }
.fdos3 { background-image: url("../images/hs3.webp"); }

/* Versiones en inglés */
.fdos1_en { background-image: url("../images/wf2.webp"); }
.fdos2_en { background-image: url("../images/wf1.webp"); }
.fdos3_en { background-image: url("../images/wf3.webp"); }
.fdos4_en { background-image: url("../images/wf4.webp"); }

.txtSlider {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 150px;
    z-index: 2;
    justify-content: center;
}

.titSlider {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0px 30px;
    text-align: center;
    align-items: center;
    background-color: rgba(43, 47, 85, .8);
    padding: 10px 0px;
}

.titSlider h2 {
    margin: 0px 0px 10px;
    color: var(--color-bg);
    font-size: 2.5em;
    font-weight: bold;
}

.titSlider p {
    color: var(--color-bg);
}

/* ================================================
   5. COMPONENTES DE CODYHOUSE (Personalizaciones)
   ================================================ */

.card-v8 > footer > div h4 {
    font-weight: normal;
    color: var(--color-bg);
    text-align: center;
}

.text-component {
    max-width: 80%;
    margin: auto;
    text-align: left;
}

.text-component h1 {
    color: var(--color-bg-lighter);
}

.text-component p {
    color: var(--color-bg-darker);
}

/* ================================================
   6. SECCIONES DE CONTENIDO
   ================================================ */

.bckGR1 {
    padding-bottom: 30px;
}

.back-2 {
    background-color: var(--color-accent-dark);
}

.back-2 h1 {
    text-align: center;
}

.back-2 h2 {
    color: var(--color-accent-darker) !important;
}

.back-2 h1,
.back-2 h2 {
    color: var(--color-bg-lighter);
}

/* Sección con fondo mundial */
.sectionWBack {
    background-image: url("../images/fdo-mundi.webp");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: hsl(229.2deg 44.64% 21.96%);
}

/* Headers internos */
.headerIntGral {
    margin: auto;
    max-width: 900px;
    padding: 50px 10px 0px;
}

.headerIntGral h1,
.headerIntGral span {
    color: var(--color-bg);
}

.headerIntGral span {
    display: block;
    margin-left: 40px;
    font-size: 1.2em;
    font-weight: normal;
}

.headerIntGralServices {
    margin: 0px 0px 30px;
}

.headerIntGralServices h1 {
    color: var(--color-bg-light);
    font-weight: normal;
}

/* ================================================
   7. SERVICIOS Y CARACTERÍSTICAS
   ================================================ */

.wrapServ4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2em;
    margin: 30px auto;
}

.wrapServ4 > div {
    display: flex;
    align-items: center;
    gap: 1em;
}

.imaAdv2 > div {
    width: 65px;
}

.imaAdv2 > div img {
    width: 65px;
    height: 65px;
}

.txtAdv2 {
    color: var(--color-bg-light);
    font-size: .9em;
}

/* Servicios sección 3 */
.contBServ3 {
    background-size: cover;
}

.wrapServ3 {
    max-width: 890px;
    margin: auto;
    padding: 50px 40px;
}

.wrapServ3 h2 {
    color: var(--color-bg-light);
    font-weight: normal;
    margin-bottom: 40px;
}

.wrapServ3 > div {
    display: flex;
    gap: 2em;
}

/* Detalles de servicios */
.detailServices {
    margin: 50px 0px;
}

.wrapDetailS {
    display: flex;
    align-items: center;
}

.wrapDetailS > div {
    flex: 1;
}

.imaDetailS img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}

/* ================================================
   8. FORMULARIOS Y CONTACTO
   ================================================ */

.contactForm {
    max-width: 840px;
    margin: 40px auto;
    padding: 0px 20px;
}

.contactForm h2 {
    color: var(--color-bg-light);
}

.contFormC {
    display: flex;
    gap: 2em;
    align-items: center;
}

.contFormC > div > img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.theform {
    display: flex;
    flex-direction: column;
    gap: .2em;
    margin: 0px;
    min-width: 280px;
    padding: 20px 0px;
    width: 100%;
}

.theform > div > label {
    color: var(--color-bg-light);
    font-size: .6em;
    font-family: "Abhaya Libre", serif;
}

label,
button {
    font-family: "Abhaya Libre", serif;
}

/* Estilos de inputs */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"] {
    border: 1px solid;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    width: 100%;
    background: var(--color-bg);
    font-family: "Abhaya Libre", serif;
}

input[type="button"],
input[type="Submit"] {
    background: var(--color-accent-darker);
    display: block;
    width: 100%;
    color: var(--color-bg-light);
    font-weight: bold;
    font-size: 1em;
    border-radius: var(--radius-sm);
    line-height: 40px;
    font-family: "Abhaya Libre", serif;
}

textarea {
    width: 100%;
    height: 100px;
    border: 1px solid var(--color-accent-dark);
    border-radius: var(--radius-lg) !important;
    margin: 10px 0px;
    background: var(--color-bg-light) !important;
    font-family: "Abhaya Libre", serif;
}

.invalid-feedback {
    font-size: .6em;
    color: #ff544d;
}

/* Ocultar flechas de input number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Datos de contacto */
.contData {
    max-width: 900px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2em;
    padding: 20px;
}

.contD1 {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.contD1 > div {
    display: flex;
    gap: 1em;
}

.contD1 > div p {
    color: var(--color-bg-light);
}

.contD1 > div p a {
    color: var(--color-bg-light);
    border-bottom: 1px solid;
}

.icoDatC {
    width: 60px;
    height: 60px;
    display: contents;
}

.icoDatC img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
}

.mapC iframe {
    width: 100%;
    height: 320px;
}

/* ================================================
   9. FOOTER
   ================================================ */

.main-footer {
    text-align: center;
    background-color: var(--color-accent-dark);
    padding-bottom: 20px;
}

.main-footer span {
    color: var(--color-contrast-lower);
    font-size: var(--text-base);
}
.main-footer a {
    color: var(--color-contrast-lower);
    font-size: var(--text-base);
}

.main-footer__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0px 15px;
}

.main-footer__logo img {
    max-width: 120px;
}

.footerCont {
    margin: 30px 0px;
    padding: 0px 20px;
}

.footerUL {
    display: flex;
    gap: 1em;
}

.footerLi {
    flex: 1;
    text-align: left;
}

.footerLi h4 {
    color: var(--color-bg-light);
    margin: 20px 0px 0px;
}

.footerLi a {
    color: var(--color-bg-light);
    font-weight: normal;
    font-size: .8em;
}

.footerLi a:hover {
    color: var(--color-accent-darker);
}

.footerLi small {
    font-size: .7em;
    color: var(--color-contrast-low);
}

.footerIcon {
    display: flex !important;
    justify-content: center;
}

.footerIcon a {
    padding: 5px;
    margin: 5px;
}

.footerIcon i {
    font-size: 1.6em;
}

/* ================================================
   10. UTILIDADES Y HELPERS
   ================================================ */

.max-w {
    max-width: 1280px;
    margin: auto;
}

.maxW {
    max-width: 1060px;
    margin: auto;
}

.maxW2 {
    max-width: 1440px;
    margin: auto;
}

.separate-sec {
    padding: 50px 20px;
}

.gap-xxxs {
    gap: .5em;
}

.gap1 {
    gap: .5em;
}

.marginTopAux {
    margin-top: 100px !important;
}

.paddAux {
    padding: 10px 0px;
}

.color1 {
    color: var(--color-bg-lighter);
}

.color2 {
    color: var(--color-accent-dark);
}

/* ================================================
   11. MODAL PERSONALIZADO
   ================================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 5em 0.5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--color-bg);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    outline: 0;
    box-shadow: 0 1px 40px rgba(0, 0, 0, .4);
    padding: 30px;
}

.modal-content h1 {
    font-size: 1.3em;
    text-align: center;
    color: var(--color-accent-dark);
    margin-bottom: 20px;
}

.modal-content h2 {
    text-align: center;
    font-size: 1em;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: .9em;
    text-align: center;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 480px;
        margin: 1.75rem auto;
    }
}

/* ================================================
   12. RESPONSIVE - MOBILE
   ================================================ */

@media (max-width: 800px) {
    /* Ajustes para tablets */
}

@media (max-width: 620px) {
    .wrapDetailS {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2em;
    }

    .footerUL {
        display: flex;
        gap: 1em;
        flex-direction: column;
    }

    .contTXIMA {
        flex-direction: column;
    }
}

@media (max-width: 440px) {
    .contData {
        grid-template-columns: repeat(1, 1fr);
    }

    .wrapServ4 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .bnnCap {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1em;
        padding: 0px;
    }

    .contFormC {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .titSlider h1,
    .titSlider h2 {
        margin: 0px;
        color: var(--color-bg);
        font-size: 1.7em;
    }

    .mega-nav__logo > * {
        height: auto !important;
        width: 170px !important;
        position: relative;
        top: 3px;
    }

    .supTab {
        flex-direction: column;
    }

    .footerIcon i {
        font-size: 1.7em;
    }
}

/* ================================================
   FIN DEL ARCHIVO MAESTRO
   ================================================ */

