﻿/*
Theme Name: RCD Danielfajardo
Author: Agencia Rompecabeza Digital
Author URI: https://www.rompecabeza.cl/
Description: Tema personalizado para Danielfajardo (basado en Underscores).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rcd-danielfajardo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, rompecabeza
*//*# sourceMappingURL=style.css.map */

:root {
    --color-bg: #F3F3F3;
    --color-primary: #F7542A;
    --color-bg-secondary: #181717;
    --color-text: #3D3D3D;
}
@font-face {
    font-family: 'IowanOldSt-BT-Bold-Italic';
    src: url("/assets/fonts/IowanOldSt-BT-Bold-Italic.ttf") format("opentype");
    font-style: bold;
    font-weight: 700;
}
@font-face {
    font-family: 'IowanOldSt-BT-Bold';
    src: url("/assets/fonts/IowanOldSt-BT-Bold.ttf") format("opentype");
    font-style: bold;
    font-weight: 700;
}
@font-face {
    font-family: 'Lato Bold';
    src: url("/assets/fonts/Lato-Bold.ttf") format("opentype");
    font-style: bold;
    font-weight: 700;
}
@font-face {
    font-family: 'Lato Light';
    src: url("/assets/fonts/Lato/Light.ttf") format("opentype");
    font-style: light;
    font-weight: 300;
}
@font-face {
    font-family: 'Lato Regular';
    src: url("/assets/fonts/Lato-Regular.ttf") format("opentype");
    font-style: normal;
    font-weight: 400;
}

html {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Lato Regular', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
    border-radius: 15px;
    padding: 15px 40px;
    font-family: 'Lato Bold', sans-serif;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-primary:hover {
    background-color: var(--color-bg);
    color: var(--color-primary);
}
.btn-primary:focus {
    outline: none;
}
.btn-primary:active {
    background-color: var(--color-primary);
    color: var(--color-bg);
}
@media (min-width: 1200px) {
    .btn-primary {
        width: 260px;
        font-size: 16px;
    }
}
.outline {
    background-color: var(--color-bg);
    color: var(--color-primary);
    border-color: var(--color-bg);
}
.outline:hover {
    background-color: var(--color-primary);
    color: var(--color-bg);
    border-color: var(--color-primary);
}
h2 {
    color: var(--color-bg-secondary);
    margin: 0;
    font-size: 30px;
    font-weight: bold;
}
.text {
    margin: 40px 0;
    text-align: justify;

    .capitalize-letter {
        line-height:0.9;
        float: left;
        font-size: 140px;
        transform: translateY(10px);
    }
    p {
        line-height: 24px;  
    }
}
.highlight-word {
    display: inline-block;
    font-family: 'IowanOldSt-BT-Bold', serif;
    position: relative;
}
.highlight-word::after {
    content:""; 
    display:block;
    width: 110%;
    height:10px;
    background: var(--color-primary);
    border-radius: 8px;
    transform: translateY(-15px) translateX(-3%);
    z-index: -1;
    position: absolute;
}
.tittle-section {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-bg-secondary);
    padding-block: 20px;
}
.social-icons {
    display: flex;
    padding: 0;
    gap: 20px;

    & img {
        height: 24px;
        width: 24px;
    }
}
ul {
    list-style: none;
}
a {
    color: var(--color-bg-secondary);
    text-decoration: none;
    transition: opacity ease-out 0.3s;
}
a:hover {
    opacity: 0.7;
}
input, textarea, select {
    border: none;
    border-radius: 4px;
    font-size: 14px;
    text-indent: 15px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}
input, select {
    height: 50px;
}
textarea {
    padding-top: 12px;
    height: 100px;
}
select {
    color: var(--color-text);
    padding-inline: 12px;
    appearance: none !important; /* quita estilo nativo */
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F7542A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 10px;

    & option {
        padding: 15px 20px;
        height: 50px !important;
        border: none;
        color: var(--color-bg-secondary);
    }
    & option:hover {
        background-color: var(--color-primary) !important;
        color: red;
    }
}
::picker(select) {
    background-color: #181717;
}
select option {
    padding: 10px;
}

.section-opinion, .hero, .page-contacto .contact, .error-404, .section-asesorias {
    margin-top: 75px;
}
.content-single-opinion {
    margin-top: 75px;
}
@media (min-width: 992px) {
    .section-opinion, .hero, .page-contacto .contact, .error-404, .section-asesorias {
        margin-top: 260px;
    }
    .content-single-opinion {
        margin-top: 260px;
    }
    /* Remover margin-top de la sección siguiente al content-single-opinion */
    .content-single-opinion ~ .section-opinion,
    .content-single-opinion + .section-opinion {
        margin-top: 0;
    }
}
.main-navigation {
    height: 75px;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-bg-secondary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    box-sizing: border-box;

    & .brand-name {
        height: 45px;
    }
    & .button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: none;
        border-radius: 6px;
        padding: 5px;
        cursor: pointer;
    }
    & .button:hover, .button:focus, .button:active {
        background-color: #c3c4c780;
        transition: 0.3s;
    }
    .dropdown {
        display: inline-block;
    }

    .dropdown-toggle {
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        font-size: 16px;
        border-radius: 6px;

        & img {
            height: 30px;
            width: 30px;
        }
    }

    .dropdown-menu {
        position: fixed;
        top: 76px;
        left: 0;
        background: var(--color-bg);
        box-shadow: 0 4px 12px rgba(16, 11, 11, 0.1);
        display: none;
        z-index: 10;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dropdown-menu.active {
        display: block;
    }

    .dropdown-menu-list {
        list-style: none;
        padding-inline: 30px 20px;
    }

    .dropdown-menu-list li {
        align-items: center;
        margin: 18px 0;

        & a {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: space-between;
            text-decoration: none;
            color: #333;
            font-weight: 500;
        }
    }
    .social-icons {
        display: flex;
        gap: 20px;
        justify-content: start;
        margin-bottom: 10px;
        padding-left: 30px;
        list-style: none;
    }
    .social-icons img {
        width: 24px;
        height: 24px;
    }
    .btn-primary {
        margin: 20px 0 20px 30px;
    }
	/* Centrar botón Contacto dentro del dropdown (mobile) */
	.dropdown-menu > a {
		display: block;
		text-align: left;
	}
	.dropdown-menu .btn-primary {
		margin: 20px 0 20px 30px;
	}
	/* Override: centrar botón dentro del dropdown sin afectar los demás <a> */
	.dropdown-menu > a > .btn-primary {
		display: block;
		width: fit-content;
		margin: 20px 0 20px 30px; /* botón alineado a la izquierda en mobile */
		text-align: center; /* texto centrado dentro del botón */
	}
}
@media (min-width: 992px) {
    .main-navigation {
        height: auto;
        justify-content: center;
        margin-bottom: 90px;

        .site-branding {
            padding-block: 70px 20px;
        }
        .brand-name {
            height: 75px;
        }
        .dropdown-menu {
            display: block;
            position: absolute;
            top: 173px;
        }
        .dropdown-toggle {
            display: none;
        }
        .dropdown-menu-list {
            display: flex;
            justify-content: center;
            gap: 30px;

            & img {
                display: none;
            }
        }
        .dropdown-menu-list li {
            & span::after {
                content: "";
                position: absolute;
                text-decoration: underline;
                right: 0;
                bottom: -3px;
                width: 0%;
                height: 2px;
                background: var(--color-primary);
                transition: width 0.3s ease-in-out;
            }
            & span:hover::after {
                width: 50%;
            }
            /* activo según clases estándar WP y aria-current */
            &.current-menu-item span::after,
            &.current_page_item span::after,
            &.current-menu-ancestor span::after,
            &.current_page_ancestor span::after,
            & a[aria-current="page"] span::after {
                width: 50%;
            }
        }
        .social-icons {
            position: absolute;
            top: -80px;
            right: 100px;
        }
        .btn-primary {
            position: absolute;
            top: 0;
            right: 100px;
        }
    }
}
@media (min-width: 1200px) {
    .main-navigation {
        .btn-primary {
            width: 140px;
        }
    }
}

/* SECCION HERO */
.hero {
    width: 100%;
    position: relative;

    img {
        display: block;
        width: 100%;
        height: 620px;
        object-fit: cover;
        object-position: 60%;
    }
    .hero-info {
        position: absolute;
        background-color: #F7542A60;
        display: flex;
        top: 100px;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        gap: 20px;
        padding: 50px 0 60px 15px;

        & h1 {
            color: var(--color-bg);
            max-width: 30ch;
            line-height: 96%;
            font-weight: 500;
        }
    }
}
@media (min-width: 768px) {
    .hero {
        .hero-info {
            padding: 50px 130px 60px 60px;
            top: 130px;
            
            & button {
                align-self: center;
            }
        }
    }
}
@media (min-width: 992px) {
    .hero {
        .hero-info {
            padding: 50px 130px 60px 90px;
                & h1 {
                    font-size: 48px;
                    line-height: 116%;
                }
        }
    }
}

/* SECCION PRESENTACION */
.presentation {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;

    h2, p, span, a {
        margin-inline: 15px;
    }
    .presentation-image {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-bottom: 2px solid var(--color-bg-secondary);
    }
    img {
        margin-bottom: -3px;
        height: 305px;
    }
    strong {
        color: var(--color-primary);
    }
}

@media (min-width: 768px) {
    .presentation {
        padding-inline: 60px;
        position: relative;
        overflow: hidden;

        & img {
            position: absolute;
            bottom: 0;
            right: 0;
            height: 440px;
        }
        & a {
            max-width: 260px;
        }
        .text div:nth-of-type(2) {
            width: 50%;
        }
    }
}
@media (min-width: 992px) {
    .presentation {
        max-width: 1200px;
        margin-inline: auto;
        padding-inline: 90px;
        padding-bottom: 0;

        h2 {
            font-size: 48px;
            font-weight: 500;
        }
        & .presentation-image {
            border-bottom: none;
        }
        & img {
            height: 500px;
        }
        & a {
            position: absolute;
            bottom: 50px;
        }
        .text div {
            width: 240px;
        }
        .text div:nth-of-type(2) {
            width: 240px;
        }
        .text {
            display: flex;
            margin: 20px 0;
        }
    }
}
@media (min-width: 1200px) {
    .presentation {
        font-size: 18px;

        h2 {
            font-size: 80px;
        }
        & img {
            right: -5%;
            height: 95%;
        }
        .text div {
            width: 290px;
        }
        .btn-primary {
            max-width: 180px;
        }
    }
}

/* SECCION LIBRO */
.book {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;

    .book-image {
        width: 80%;
        max-width: 400px;
        background-color: #669ACA;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        margin: 30px 20px;

        & img {
            max-width: 140px;
            object-fit: cover;
        }
    }
    .book-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding-inline: 20px;
        margin-bottom: 50px;
    }
    .text {
        margin-block: 30px 10px;
        
        & h2 {
            text-align: start;
        }
        & .capitalize-letter {
            margin-top: -15px;
            margin-bottom: 15px;
            line-height: 1;
            transform: translateY(0);
        }
        & .p-reducido {
            max-width: 370px;
            margin-bottom: 30px;
        }
        & p {
            max-width: 370px;
        }
        .btn-primary {
            display: block;
        }
    }
    .date-text {
        align-self: self-start;
        color: rgba(0, 0, 0, 0.72);

        & p {
            margin: 0;
            margin-bottom: 10px;
        }
        & .date {
            border-left: 1px solid var(--color-bg-secondary);
            padding-left: 10px;
            margin-bottom: 30px;
        }
    }
    .points-img {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        margin-block: 50px;

        a {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        img {
            display: block;
            max-width: 100%;
            height: auto;
        }
    }
}

@media (min-width: 768px) {
    .book {
        .points-img {
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;

            a {
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }
        .tittle-section {
            width: calc(100% - 120px);
        }
        .book-image {
            top: 150px;
            left: 40px;
            width: 300px;
            height: 80%;
            align-self: center;
        }
        .book-content {
            flex-direction: row;
            
        }
        .text {
            flex-direction: column;
            align-self: end;
            width: 40%;
            & p {
                width: 100%;
                justify-self: end;
            }
            & .p-reducido {
                max-width: none;
                width: 85%;
                padding-left: 0;
                margin-right: 0;
            }
            & .capitalize-letter {
                font-size: 80px;
                margin-top: 0;
                position: absolute;
            }
            .date {
                transform: translateX(10px);
            }
        }
    }
}
@media (min-width: 992px) {
    .book {
        .text{
            max-width: 400px;
            p {
                max-width: 480px;
            }
            .p-reducido {
                max-width: 420px;
            }
        }
        .book-image {
            width: 500px;
            height: 480px;

            & img {
                max-width: none;
                height: 360px;
            }
        }
        .date-text {
            display: flex;
            width: 100%;
            gap: 10px;
            margin-top: 30px;

            p:first-of-type {
                max-width: fit-content;
            }
        }
    }
}
@media (min-width: 1200px) {
    .book {
        padding-inline: 90px;
        font-size: 18px;

        gap: 50px;
        .book-content {
            max-width: 1200px;
            justify-content: space-between;

            .book-image {
                max-width: 50%;
            }
            .text {
                max-width: 50%;
            }
        }
        .date-text {
            font-size: 16px;
        }
        .btn-primary {
            display: inline-block;
            padding-inline: 0;
        }
    }
}

/* SECCION VIDEOS */
.videos {
    background-color: var(--color-bg-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;


    .highlight-word {
        margin-inline: auto;
        color: var(--color-bg);
        margin-block: 30px;
        z-index: 1;
    }
    .swiper {
        width: 100%;
        padding: 40px 0;
        margin: 0;
        margin-bottom: 50px;
        border-top: 1px solid var(--color-bg);
        position: relative;
    }
    .swiper-slide {
        height: 300px;
        text-align: center;
        font-size: 18px;
    }
    .swiper-slide iframe {
        max-width: 240px;
        height: 100%;
        object-fit: cover;
    }
    .swiper-button-next, .swiper-button-prev {
        background-color: transparent;
        height: 100%;
        position: absolute;
        top: 0;
    }
    .swiper-button-next {
        width: 60px !important;
        right: 0;
        padding-left: 10px;
    }
    .swiper-button-prev {
        width: 60px !important;
        left: 0;
        padding-right: 10px;
    }
    .swiper-button-next::after, .swiper-button-prev::after {
        content: '';
        width: 60px !important;
        height: 40px;
        background-image: url('./assets/circle-arrow.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        z-index: 10000;
    }
        .swiper-button-prev::after {
        transform: rotate(180deg);
    }
    .swiper-button-disabled {
        opacity: 0.8 !important;
        
        & .swiper-button-next::after, .swiper-button-prev::after {
            opacity: .1;
        }
    }
    .swiper-pagination{
        position: absolute;
        bottom: -20%;

        & span {
            background-color: #fff;
            width: 9px;
            height: 9px;
            opacity: 1;
            border-radius: 12px;
        }
        & .swiper-pagination-bullet-active {
            background-color: var(--color-primary);
            width: 36px;
            height: 10px;
        }
    }
}
@media (min-width: 1200px) {
    .videos {
        align-items: center;
        position: relative;
        overflow: visible;
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
        max-width: 100%;
        .swiper {
            max-width: 100%;
            width: 100%;
            padding-left: 0;
            padding-right: 0;
            overflow: visible;
            box-sizing: border-box;
        }
        .swiper-wrapper {
            max-width: 100%;
            margin: 0 auto;
            width: 100%;
        }
        .swiper-slide {
            height: 350px;
        }
        .swiper-slide iframe {
            max-width: 400px;
            width: 400px;
        }
        .swiper-button-next {
            right: -60px;
            display: flex !important;
        }
        .swiper-button-prev {
            left: -60px;
            display: flex !important;
        }
    }
}
@media (min-width: 1400px) {
    .videos {
        .swiper-wrapper {
            max-width: 1400px;
        }
    }
}
@media (min-width: 1800px) {
    .videos {
        .swiper-slide iframe {
            max-width: 380px;
            width: 380px;
        }
    }
}

@media (max-width: 767px) {
	.videos {
		.swiper-pagination {
			bottom: 10px;
			left: 0;
			right: 0;
		}
	}
}

/* SECCION NEWSLETTER */
.newsletter {
    border-block: 1px solid var(--color-bg-secondary);
    margin-top: 30px;

    h2 {
        border-block: none;
    }
    form {
        padding-bottom: 25px;
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        gap: 0;
        margin: 0;

        & input {
            width: 80%;
            max-width: 400px;
            margin-left: 20px;
            margin-right: 0;
            border-radius: 15px 0 0 15px;
        }
        & .btn-primary {
            margin-right: 20px;
            margin-left: 0;
            padding: 8px 12px;
            border-radius: 0 15px 15px 0;
            box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
            width: auto;
        }
    }
    /* Estilos específicos para CF7 en newsletter - sobrescribiendo completamente los estilos globales */
    .wpcf7-form {
        padding-bottom: 25px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0 !important;
        margin: 0 !important;
    }
    /* Los <p> deben desaparecer del flujo para que sus hijos sean hijos directos del flex container */
    .wpcf7-form > p {
        margin: 0 !important;
        padding: 0 !important;
        display: contents !important;
    }
    /* Wrapper del input debe ocupar el ancho correcto y tener margen izquierdo */
    .wpcf7-form > p:first-of-type .wpcf7-form-control-wrap {
        width: 80% !important;
        max-width: 400px !important;
        margin-left: 20px !important;
        margin-right: 0 !important;
        display: block !important;
        flex-shrink: 0 !important;
    }
    /* Botón debe tener margen derecho */
    .wpcf7-form > p:last-of-type .wpcf7-submit {
        margin-right: 20px !important;
        margin-left: 0 !important;
    }
    /* Input de email - sobrescribir TODOS los estilos globales */
    .wpcf7-form .wpcf7-email,
    .wpcf7-form .wpcf7-text {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 5px 0 0 5px !important;
        height: 50px !important;
        border: none !important;
        font-size: 14px !important;
        text-indent: 15px !important;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12) !important;
        padding: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        display: block !important;
    }
    /* Ocultar los <br> que CF7 inserta */
    .wpcf7-form br {
        display: none !important;
    }
    /* Botón de submit - estilos completos */
    .wpcf7-form .wpcf7-submit.btn-primary {
        margin: 0 !important;
        padding: 0 85px !important;
        border-radius: 0 15px 15px 0 !important;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12) !important;
        width: auto !important;
        min-width: auto !important;
        height: 50px !important;
        line-height: 50px !important;
        background-color: var(--color-primary) !important;
        color: var(--color-bg) !important;
        border: 1px solid var(--color-primary) !important;
        font-family: 'Lato Bold', sans-serif !important;
        font-size: 16px !important;
        font-weight: bold !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: 0.3s !important;
        text-align: center !important;
        text-decoration: none !important;
        white-space: nowrap !important;
    }
    .wpcf7-form .wpcf7-submit.btn-primary:hover {
        background-color: var(--color-bg) !important;
        color: var(--color-primary) !important;
    }
    /* Mensajes de respuesta */
    .wpcf7-response-output {
        width: 100% !important;
        margin-top: 10px !important;
        padding: 10px !important;
        clear: both !important;
    }
    /* Ocultar spinner si existe */
    .wpcf7-spinner {
        display: none !important;
    }
}
@media (min-width: 768px) {
    .newsletter {
        display: flex;
        align-items: center;
        padding-block: 60px;

        form,
        .wpcf7-form {
            padding-bottom: 0 !important;
        }
    }
}
@media (min-width: 1200px) {
    .newsletter {
        width: calc(100% - 120px);
        justify-self: center;
        max-width: 1600px;

        h2 {
            width: 50%;
        }
        form input {
            margin-left: 0;
        }
        .wpcf7-form > p:first-of-type .wpcf7-form-control-wrap {
            margin-left: 0 !important;
        }
    }
}

/* SECCION CONTACTO */
.contact {
    padding-top: 35px;
    .container-max {
        position: relative;
        background: 
            linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
            url('./assets/bg-contact-mobile.webp') center/cover no-repeat;
        padding: 30px 20px 40px 20px;
        border-radius: 15px 15px 0 0;
    }
    .info-contact {
        .social-icons {
            & img {
                filter: brightness(0) invert(1);
                transition: filter 0.3s ease-in-out;
            }
            & a:hover img {
                filter: invert(47%) sepia(73%) saturate(2063%) hue-rotate(349deg) brightness(100%) contrast(97%);
            }
        }
    }
    .highlight-word{
        z-index: 1;

    }
    h2, p, label {
        color: var(--color-bg);
    }
    p, label {
        font-size: 18px;
        width: 100%;
        margin: 0;
    }
    .info-contact p {
        width: 100%;
        display: block;
    }
    form {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    /* Estilos para Contact Form 7 */
    .wpcf7-form {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 10px;
        width: 100%;
    }
    /* Ocultar los <br> que CF7 inserta automáticamente */
    .wpcf7-form br {
        display: none;
    }
    .wpcf7-form label {
        display: block;
        margin-bottom: 5px;
        color: var(--color-bg);
        font-size: 18px;
        width: 100%;
    }
    .wpcf7-form-control-wrap {
        width: 100%;
        display: block;
    }
    .wpcf7-form-control-wrap label {
        display: block;
        margin-bottom: 5px;
        color: var(--color-bg);
        font-size: 18px;
    }
    /* Eliminar margin-bottom del párrafo contenedor antes del select */
    .wpcf7-form p:has(.select-wrapper) {
        margin-bottom: 0 !important;
        margin-top: 0;
    }
    /* Fallback para navegadores que no soportan :has() */
    .wpcf7-form-control-wrap:has(.select-wrapper) {
        margin-bottom: 0 !important;
        margin-top: 0;
    }
    /* Estilos específicos para el select y su wrapper */
    .wpcf7-form .select-wrapper {
        width: 95%;
        margin-bottom: 10px;
        margin-top: 0;
        padding: 0;
    }
    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-textarea {
        width: 95%;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        text-indent: 15px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
        margin-bottom: 10px;
    }
    .wpcf7-text,
    .wpcf7-email {
        height: 50px;
    }
    .wpcf7-textarea {
        padding-top: 12px;
        height: 100px;
        resize: none;
    }
    .wpcf7-select {
        width: 100% !important;
        height: 50px !important;
        border: none;
        border-radius: 4px;
        font-size: 14px;
        text-indent: 15px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
        color: var(--color-text);
        padding-inline: 12px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F7542A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 10px;
    }
    .wpcf7-submit.btn-primary {
        width: 95%;
        margin-top: 30px;
    }
    .wpcf7-response-output {
        width: 95%;
        margin-top: 10px;
    }
    input, select {
        margin-bottom: 10px;
    }
    textarea, input, .btn-primary {
        width: 95%;
        resize: none;
    }
    select {
        width: 100%;
    }
	.select-wrapper {
		width: 95%;
	}
    .btn-primary {
        margin-top: 30px;
    }
}
@media (min-width: 768px) {
    .contact {
        .container-max {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            padding-block: 60px 50px;
        }
        .highlight-word {
            width: fit-content;
        }
        .info-contact {
            max-width: 400px;
            display: flex;
            flex-direction: column;
            gap: 30px;

            & p {
                margin-top: 0;
            }
            .social-icons {
                & img {
                    filter: brightness(0) invert(1);
                    transition: filter 0.3s ease-in-out;
                }
                & a:hover img {
                    filter: invert(47%) sepia(73%) saturate(2063%) hue-rotate(349deg) brightness(100%) contrast(97%);
                }
            }
        }
        form {
            width: 300px;

            input {
                margin-bottom: 30px;
            }
        }
        /* Estilos responsive para Contact Form 7 - Tablet */
        .wpcf7-form {
            width: 300px;
        }
        .wpcf7-form .select-wrapper {
            width: 100%;
            margin-bottom: 30px;
            margin-top: 0;
            padding: 0;
        }
        .wpcf7-text,
        .wpcf7-email,
        .wpcf7-textarea {
            width: 100%;
            margin-bottom: 30px;
        }
        .wpcf7-select {
            width: 100% !important;
            margin: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }
        .wpcf7-submit.btn-primary {
            width: 100%;
        }
        .wpcf7-response-output {
            width: 100%;
        }
    }
}
@media (min-width: 1200px) {
    .contact {
        .container-max {
            justify-content: center;
            gap: 60px;
            padding-inline: 90px;
        }
        .info-contact {
            max-width: 520px;
            .social-icons {
                & img {
                    filter: brightness(0) invert(1);
                    transition: filter 0.3s ease-in-out;
                }
                & a:hover img {
                    filter: invert(47%) sepia(73%) saturate(2063%) hue-rotate(349deg) brightness(100%) contrast(97%);
                }
            }
        }
        form {
            width: 600px;

            & input, textarea {
                width: 100%;
            }
            & .select-wrapper {
                width: 100%;
            }
            & .btn-primary {
                width: 260px;
            }
        }
        /* Estilos responsive para Contact Form 7 - Desktop */
        .wpcf7-form {
            width: 600px;
        }
        .wpcf7-form .select-wrapper {
            width: 100%;
            margin-bottom: 0;
            margin-top: 0;
            padding: 0;
        }
        .wpcf7-text,
        .wpcf7-email,
        .wpcf7-textarea {
            width: 100%;
        }
        .wpcf7-select {
            width: 100% !important;
            margin: 0 !important;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }
        .wpcf7-submit.btn-primary {
            width: 260px;
        }
        .wpcf7-response-output {
            width: 100%;
        }
    }
}

/* PAGINA DE CONTACTO */
.page-contacto {
    .contact {
        padding: 0;
    }
    .container-max {
        border-radius: 0;
    }
}

/* FOOTER */
.site-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;

    .brand-name {
        height: 110px;
    }
    .social-icons {
        margin-block: 45px 30px;
        gap: 30px;

        & img {
            height: 34px;
            width: 34px;
            z-index: -1;
			transition: filter 0.2s ease-in-out;
        }
        & a {
            display: block;
            width: 100%;
            height: 100%;
        }
        & a:hover {
            opacity: 1;
        }
		/* Asegura área clicable y cursor correcto sobre los íconos */
		& li a {
			display: inline-block;
			width: auto;
			height: auto;
			cursor: pointer;
		}
		/* Hover color #F7542A aplicado vía filtro sobre imágenes SVG */
		& a:hover img {
			filter: invert(47%) sepia(73%) saturate(2063%) hue-rotate(349deg) brightness(100%) contrast(97%);
		}
        & a svg, svg path, svg mask, mask path {
            fill: var(--color-bg-secondary);
            transition: all 0.3s ease-in-out;
        }
        & a:hover svg, svg:hover path  {
            fill: var(--color-primary);
        }
    }
    h3 {
        margin-top: 0;
        font-size: 20px;
    }
    p, h3 {
        text-align: center;
    }
    p {
        font-size: 18px;
        & img {
            height: 24px;
            width: 24px;
        }
    }
    .footer-content {
        padding: 0;
        text-align: center;
        
        & li {
            position: relative;
            margin-bottom: 10px;
        }
        & a::after {
            content: "";
            position: absolute;
            text-decoration: underline;
            left: 0;
            right: 0;
            justify-self: center;
            bottom: -3px;
            width: 0%;
            height: 2px;
            background: var(--color-primary);
            transition: width 0.3s ease-in-out;
        }
        & a:hover::after {
            width: 30%;
        }
    }
    .footer-contact {
        display: flex;
        align-items: center;
        gap: 20px;
        font-size: 18px;
    }
    .footer-note {
        margin-top: 22px;
        font-size: 16px;
        border-top: 1px solid var(--color-bg-secondary);
        padding-top: 10px;
    }
}
@media (min-width: 992px) {
    .site-info {
        position: relative;
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        align-items: center;
        margin-bottom: 50px;
        padding-top: 0;
        padding-inline: 0;
        overflow-x: hidden;

        .footer-note, .social-icons {
            position: absolute;
            bottom: 0;
        }
        .footer-note {
            width: 100%;
            text-align: start;
            padding: 25px 0 0 60px;
            margin-top: 25px;
			z-index: 1;
        }
        .social-icons {
            right: 60px;
            margin-bottom: 0;
			z-index: 2;
        }
        .content {
            display: flex;
            padding-block: 40px;
            gap: 100px;
            
            .footer-content {
                margin-top: 0;
                font-size: 18px;
            }
            .footer-content, h3 {
                text-align: start;
            }
        }
        .footer-content a::after  {
            justify-self: start;
        }
        .social-icons {
            margin-top: 0;

            img {
                width: 24px;
                height: 24px;
            }
        }
    }
}
.section-construir-juntos {
    background-color: var(--color-bg-secondary);
    padding: 55px 20px;
    color: var(--color-bg);
    z-index: -2;
    
    .construir-juntos-image {
        width: 100%;
        display: flex;
        justify-content: center;

        & img {
            min-width: 200px;
            max-width: 400px;
            object-fit: cover;
            border-radius: 8px;
        }
    }
    .text {
        max-width: 400px;
        justify-self: center;
    }
    h2 {
        display: none;
        justify-self: center;
        color: var(--color-bg);
        max-width: 20ch;
        padding-bottom: 30px;
    }
    h2.mobile {
        display: block;
    }
    .capitalize-letter {
        color: var(--color-primary);
    }
    .highlight-word {
        z-index: 1;
    }
    p {
        margin-bottom: 25px;
    }
}
@media (min-width: 768px) {
    .section-construir-juntos {
        display: flex;
        justify-content: center;
        gap: 60px;

        .text {
            margin-block: 0;
            align-self: center;
        }
        h2.mobile {
            display: none;
        }
        h2 {
            display: block;
            padding-top: 0;
        }
    }
}
@media (min-width: 992px) {
    .section-construir-juntos {
        padding: 20px 90px;
        font-size: 18px;

        .construir-juntos-image {
            max-width: 600px;

            & img {
                max-width: 500px;
            }
        }
        .text {
            max-width: 500px;
        }
        h2 {
            text-align: start;
            max-width: fit-content;
        }
    }
}
@media (min-width: 1400px) {
    .section-construir-juntos {
        .construir-juntos-image {
        img {
                max-width: 600px;
            }
        }
    }
}
.page-error-404 {
    .container-max {
        background: 
            linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
            url('./assets/bg-contact-mobile.webp') center/cover no-repeat;
        padding: 30px 20px 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: calc(100vh - 700px);
        padding-block: 55px 80px;
        color: var(--color-bg);

        & h2 {
            color: var(--color-bg);
            font-size: 60px;
            z-index: 1;
        }
        & .highlight-word::after {
            transform: translateY(-30px) translateX(-3%);
        }
        & p {
            font-size: 30px;
            text-align: center;
            margin: 0;
        }
        .content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }
        .btn-primary {
            font-size: 16px;
            width: 80%;
        }
    }
}
@media (min-width: 1200px) {
    .page-error-404 {
        .container-max {
            padding-block: 90px;

            .content {
                gap: 60px;
            }
            & h2 {
                font-size: 80px;
            }
            & p {
                font-size: 48px;
            }
            .btn-primary {
                width: 260px;
            }
            & .highlight-word::after {
                transform: translateY(-40px) translateX(-3%);
            }
        }
    }
}
/* SECCION OPINIÓN */
.section-opinion {
    padding-block: 20px;
    overflow: visible;
    width: 100%;

    .tittle-section {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        z-index: 1;
        padding: 20px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .opinion-content {
        padding: 20px;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        gap: 40px;
        max-width: 1400px;
        justify-self: center;
        overflow: visible;
    }
    .opinion-filtros {
        position: relative;
        align-self: flex-end;
        margin-left: auto;
    }
    .filtro-selector {
        position: relative;
        cursor: pointer;
        width: fit-content;
    }
    .filtro-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        border: 1px solid var(--color-primary);
        border-radius: 15px;
        color: var(--color-primary);
        background-color: var(--color-bg);
        width: fit-content;
        min-width: 150px;
    }
    .filtro-arrow {
        transition: transform 0.3s;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        
        svg {
            width: 12px;
            height: 8px;
            display: block;
        }
    }
    .filtro-selector.active .filtro-arrow {
        transform: rotate(180deg);
    }
    .filtro-options {
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        right: auto;
        width: 100%;
        min-width: 100%;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        display: none;
        z-index: 10;
    }
    .filtro-selector.active .filtro-options {
        display: block;
    }
    .filtro-option {
        padding: 12px 20px;
        color: var(--color-text);
        cursor: pointer;
        transition: background-color 0.2s, color 0.2s;
        text-align: center;
        font-size: 16px;
    }
    .filtro-option:hover {
        background-color: var(--color-primary);
        color: #fff;
    }
    .filtro-option.active {
        background-color: var(--color-primary);
        color: #fff;
    }
    .filtro-header h3 {
        margin: 0;
        font-size: 16px;
    }
    h3 {
        font-size: 16px;
        margin: 0;
    }
    .opinion-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
        gap: 10px;
        position: relative;
        z-index: 1;
        overflow: visible;
    }
    .opinion-card {
        display: flex;
        flex-direction: column;
        padding: 10px 20px 20px;
        border: 1px solid var(--color-bg-secondary);
        box-shadow: 0 2.699px 8.096px 0 rgba(0, 0, 0, 0.20);
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 1;
        transform: scale(1);
        position: relative;
        overflow: visible;
        z-index: 1;
    }
    .opinion-card:has(.share-modal.active) {
        z-index: 10000;
        position: relative;
    }

        h3 {
            margin-bottom: 12px;
            font-weight: 500;
        }
        & .opinion-card-image,
        & > img:first-of-type:not(.share-modal img):not(.desc-card img),
        & > picture:first-of-type img {
            border-radius: 10px;
            width: 100%;
            height: 200px;
            object-fit: cover;
            object-position: center;
            max-width: 100%;
            display: block;
        }
        & .opinion-card-date {
            font-size: 16px;
            color: var(--color-text);
            margin: 10px 0;
            font-weight: normal;
        }
        & .desc-card {
            display: flex;
            gap: 10px;
            padding-block: 10px;
            position: relative;
            overflow: visible;
            z-index: 1;

            & svg {
                margin-top: 10px;
            }
            & a {
                height: fit-content;
            }
            & .share-btn-wrapper {
                position: relative;
                height: fit-content;
                z-index: 10000000;
                isolation: isolate;
            }
            & button.share-btn {
                background: none;
                border: none;
                padding: 0;
                cursor: pointer;
                height: fit-content;
                display: flex;
                align-items: center;
            }
        }
        & p {
            font-size: 18px;
            font-weight: normal;
            margin: 0;
        }
        & .outline {
            font-size: 16px;
            border-color: var(--color-primary);
            width: 120px;
            height: 36px;
            padding: 0;
            align-content: center;
        }
    }
    .opinion-card .btn-primary {
        margin-top: auto;
    }
    .share-modal {
        position: absolute;
        top: 0;
        left: calc(100% + 10px);
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        display: none;
        z-index: 9999999 !important;
        min-width: 200px;
        max-width: 250px;
        isolation: isolate;
    }
    .share-modal.active {
        position: absolute;
    }
    @media (min-width: 769px) {
        .share-modal {
            /* Asegurar que el modal no se salga del viewport */
            max-width: min(250px, calc(100vw - 40px));
        }
    }
    .share-modal.active {
        display: block;
    }
    @media (max-width: 768px) {
        .share-modal {
            left: auto;
            right: 0;
            top: calc(100% + 10px);
            min-width: 180px;
        }
    }
    .share-modal.active {
        display: block;
    }
    .share-modal-header {
        background-color: var(--color-primary);
        color: #fff;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-size: 16px;
        font-weight: 500;
    }
    .share-modal-header svg {
        width: 20px;
        height: 20px;
    }
    .share-modal-options {
        padding: 8px 0;
    }
    .share-option {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        color: var(--color-text);
        text-decoration: none;
        transition: background-color 0.2s;
        font-size: 16px;
    }
    .share-option:hover {
        background-color: #f5f5f5;
    }
    .share-option img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }
    .pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;

        & .number-pagination.active {
            background-color: var(--color-primary);
            color: var(--color-bg);
        }
        & .number-pagination {
            font-size: 20px;
            padding: 0 6px;
            border-radius: 6.5px;
        }
    }
    .btn-prev, .btn-next {
        border: none;
        background-color: transparent;
        padding: 0;
        cursor: pointer;
    }
    .btn-prev {
        transform: rotate(180deg);
    }
    .pagination .btn-prev img,
    .pagination .btn-next img {
        width: auto;
        height: auto;
        max-width: 30px;
        max-height: 30px;
        display: block;
    }
    /* Estilos para paginación generada por WordPress */
    .pagination ul.page-numbers {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .pagination ul.page-numbers li {
        margin: 0;
        padding: 0;
    }
    .pagination ul.page-numbers a,
    .pagination ul.page-numbers span {
        font-size: 20px;
        padding: 0 6px;
        border-radius: 6.5px;
        text-decoration: none;
        display: inline-block;
        color: inherit;
    }
    .pagination ul.page-numbers .page-numbers.current {
        background-color: var(--color-primary);
        color: var(--color-bg);
    }
    .pagination ul.page-numbers .prev,
    .pagination ul.page-numbers .next {
        border: none;
        background-color: transparent;
        padding: 0;
        cursor: pointer;
    }
    .pagination ul.page-numbers .prev {
        transform: rotate(180deg);
    }
    .pagination ul.page-numbers .prev img,
    .pagination ul.page-numbers .next img {
        width: auto;
        height: auto;
        max-width: 30px;
        max-height: 30px;
        display: block;
    }
    .pagination ul.page-numbers .screen-reader-text {
        position: absolute;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        width: 1px;
        height: 1px;
        overflow: hidden;
        word-wrap: normal !important;
    }

@media (min-width: 768px) {
    .section-opinion {

        .opinion-list {
            grid-row-gap: 40px;
        }
        .opinion-filtros {
            align-self: end;
            width: 200px;
        }
    }
}
@media (min-width: 1200px) {
    .section-opinion {
        margin-top: 260px;
        padding-top: 60px;
        width: calc(100% - 120px);
        margin-left: auto;
        margin-right: auto;
        justify-self: center;

        .tittle-section {
            padding-block: 30px;
            max-width: 1400px;
            margin: 0 auto;
            text-align: start;
            padding-left: 0;
            width: 100%;
            box-sizing: border-box;
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }
        .opinion-content {
            padding-top: 40px;
        }
        .opinion-list {
            gap: 20px;
            grid-template-columns: repeat(3, minmax(260px, 1fr));
            grid-row-gap: 60px;
            
        }
        .opinion-card {
            padding-bottom: 35px;
            max-width: 360px;

            & h3 {
                font-size: 18px;
                margin-bottom: 20px;
            }
            & .outline {
                width: 190px;
                padding-block: 10px;
            }
            & .desc-card {
                padding-block: 20px;
            }
        }
    }
}
.content-single-opinion {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    
    .breadcrumb {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 30px 20px 50px;
        border-bottom: 1px solid var(--color-bg-secondary);
        width: 100%;
        box-sizing: border-box;

        & p {
            color: var(--color-bg-secondary);
            margin: 0;
        }
        & svg {
            margin-left: 0;
        }
        .breadcrumb-link {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--color-bg-secondary);
            transition: opacity 0.3s ease;
            cursor: pointer;
            
            &:hover {
                opacity: 0.7;
            }
            
            & span {
                color: var(--color-bg-secondary);
            }
        }
    }
    .tittle-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        border: none;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        width: 100%;
    }
    h2 {
        display: block;
        font-weight: 400;
        padding-block: 30px;
        border-bottom: 1px solid var(--color-bg-secondary);
        width: 100%;
        text-align: left;
    }
    .share-btn-wrapper {
        position: relative;
        margin: 20px 0;
        z-index: 10;
        isolation: isolate;
    }
    .tittle-section .share-btn-wrapper {
        margin: 20px 0 0 0;
        z-index: 10;
        align-self: flex-start;
    }
    .tittle-section .share-btn-wrapper .outline {
        display: flex;
        align-items: center;
        border: 1px solid var(--color-primary);
        padding: 0 20px;
        height: 50px;
        max-width: fit-content;
        gap: 10px;
        margin: 0;
    }
    .tittle-section .share-modal {
        top: calc(100% + 10px);
        left: auto;
        right: 0;
    }
    svg {
        width: 17px;
        height: 20px;
    }
    .content-post {
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        color: var(--color-bg-secondary);
        max-width: 1400px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;

        & img {
            width: 100%;
            object-fit: cover;
            max-height: 310px;
            border-radius: 15px;
            margin-bottom: 20px;
        }
        & picture span {
            border-left: 2px solid var(--color-primary);
            padding-left: 10px;
            font-size: 16px;
        }
        & picture {
            margin-bottom: 10px;
        }
        & p {
            margin: 0;
            text-align: justify;
        }
        & p span {
            color: var(--color-primary);
            font-weight: 600;
            font-size: inherit;
        }
        & .entry-content {
            text-align: justify;
            
            & a {
                color: var(--color-primary);
                text-decoration: underline;
                transition: opacity 0.3s ease;
                
                &:hover {
                    opacity: 0.8;
                }
            }
        }
    }
}
@media (min-width: 1200px) {
    .content-single-opinion {
        width: calc(100% - 120px);
        margin-inline: auto;
        max-width: 1400px;

        .breadcrumb {
            padding: 60px 0 30px;
            max-width: 1400px;
            margin: 0 auto;
            justify-content: flex-start;
            padding-left: 0;
        }
        .tittle-section {
            max-width: 1400px;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--color-bg-secondary);
            padding: 0;
            padding-left: 0;
            margin: 0 auto;
            width: 100%;
            box-sizing: border-box;
        }
        h2 {
            padding-left: 0;
            border-bottom: none;
            margin: 0;
        }
        .content-post {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px 200px 20px 200px; /* Alineado con el título, pero sin romper el ancho */
            box-sizing: border-box;
            overflow-x: hidden;
        }
        .outline {
            margin: 0 20px 0 0;
        }
    }
}

/* SECCION CONSTRUIR PERSONAL */
.section-construir-personal {
    margin-top: 30px;

    .highlight-word::after {
        width: 105%;
    }
    .construir-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-items: center;
        gap: 20px;
        padding: 30px 20px;
    }
    hgroup {
        width: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20);
        transition: all 0.3s ease;

        & h3 {
            font-size: 30px;
            color: var(--color-primary);
            margin: 0;
        }
        & p {
            text-align: center;
            max-width: 20ch;
            font-size: 18px;
            font-weight: 500;
        }
    }
    hgroup:hover {
        background-color: var(--color-bg-secondary);
        color: var(--color-bg);
        width: 290px;

        & h3 {
            color: var(--color-bg);
        }
    }
}
@media (min-width: 1200px) {
    .section-construir-personal {
        width: calc(100% - 120px);
        margin-inline: auto;
        max-width: 1600px;

        & h2 {
            text-align: start;
            padding-left: 20px;
        }
        .construir-cards {
            grid-row-gap: 40px;
        }
    }
}

/* SECCION CONSTRUIR CORPORATIVA  */
.section-construir-corporativa {
    margin-top: 30px;
    padding: 30px 20px;
    background-color: var(--color-bg-secondary);

    .tittle-section {
        color: var(--color-bg);
    }
    .highlight-word {
        z-index: 0;
    }
    .highlight-word::after {
        width: 105%;
    }
    .construir-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        justify-items: center;
        gap: 20px;
        padding: 30px 0;
    }
    hgroup {
        background-color: var(--color-bg);
        width: 260px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 20px;
        border-radius: 15px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20);
        transition: all 0.3s ease;

        & h3 {
            font-size: 30px;
            color: var(--color-primary);
            margin: 0;
        }
        & p {
            text-align: center;
            max-width: 20ch;
            font-size: 18px;
            font-weight: 500;
        }
    }
    hgroup:hover {
        background-color: var(--color-primary);
        color: var(--color-bg);
        transform: rotate(-5deg);

        & h3 {
            color: var(--color-bg);
        }
    }
}
@media (min-width: 1200px) {
    .section-construir-corporativa {
        .container-max{
            width: calc(100% - 120px);
            margin-inline: auto;
            max-width: 1600px;
        }
        h2 {
            text-align: start;
            padding-left: 20px;
        }
    }
}

/* SECCION METODOLOGÍA  */
.section-metodologia {
    margin-top: 30px;

    .metodologia-cards {
        display: grid;
        grid-template-columns: 1fr;
    }
    p {
        max-width: 55ch;
        padding: 20px;
        text-align: center;
        justify-self: center;
    }
    h3 {
        width: 100%;
        position: relative;
        text-align: center;
        font-size: 48px;
        margin: 0;
        border-bottom: 3px solid var(--color-bg-secondary);
    }
    hgroup {
        position: relative;
        border-left: 3px solid var(--color-bg-secondary);
        padding: 0 0 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        
        & p {
            max-width: 260px;
            margin: 35px 10px 0;
            border-radius: 15px;
            box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20);
            transition: all 0.3s ease;
        }
    }
    h3::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        transform: translateY(50%);
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: inherit;
        background-color: var(--color-bg-secondary);
        z-index: 1;
    }
    hgroup:nth-of-type(1)::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 20px;
        height: 20px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: inherit;
        background-color: var(--color-bg-secondary);
        z-index: 1;
    }
    hgroup:last-of-type::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 20px;
        height: 20px;
        transform: translateX(-50%);
        border-radius: 50%;
        background: inherit;
        background-color: var(--color-bg-secondary);
        z-index: 1;
    }
    hgroup:nth-of-type(1n) p:hover {
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20), 8px -8px 0 0 var(--color-primary);
    }
    hgroup:nth-of-type(2n) p:hover {
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.20), 0 8px 0 0 var(--color-primary);
    }
    .metodologia-cards {
        padding-inline: 20px;
    }
}
@media (min-width: 768px) {
    .section-metodologia {
        margin-bottom: 60px;

        .metodologia-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            padding-block: 40px;
        }
        p {
            font-size: 18px;
        }
        hgroup {
            flex-direction: row-reverse;
            gap: 20px;
            padding-bottom: 0;

            & p {
                width: 260px;
                margin: 0;
                transform: translateY(50%);
            }
            & h3 {
                width: 50%;
            }
        }

        hgroup:nth-child(1) {
            grid-column: 1;
            grid-row: 1;
        }
        hgroup:nth-child(2) {
            grid-column: 2;
            grid-row: 2;
        }
        hgroup:nth-child(3) {
            grid-column: 1;
            grid-row: 3;
        }
        hgroup:nth-child(4) {
            grid-column: 2;
            grid-row: 4;
        }
        hgroup:nth-child(5) {
            grid-column: 1;
            grid-row: 5;
        }
        hgroup:nth-child(6) {
            grid-column: 2;
            grid-row: 6;
        }
        hgroup:nth-child(7) {
            height: 100px;
            grid-column: 1;
            grid-row: 7;
        }
        hgroup {
            border-right: 3px solid var(--color-bg-secondary);
            border-left: none;
        }
        hgroup:nth-of-type(2n) {
            border-left: 3px solid var(--color-bg-secondary);
            border-right: none;
            transform: translateX(-3px);
            flex-direction: row;
        }
        hgroup:nth-of-type(1)::after {
            right: 0;
            left: auto;
            transform: translateX(50%);
        }
        hgroup:nth-of-type(odd) h3::after {
            right: auto;
            left: 0;
        }
        hgroup:last-of-type::after {
            left: auto;
            right: 0;
            transform: translateX(50%);
        }
    }
}
@media (min-width: 1200px) {
    .section-metodologia {
        width: calc(100% - 120px);
        margin-inline: auto;
        max-width: 1600px;
    }
}

/* SECCION ASESORIAS  */
.section-asesorias {
    padding-top: 30px;

    .asesorias-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 25px 20px 20px;
        gap: 25px;
    }
    article {
        padding: 15px;
        border: 0.443px solid var(--Negro, #181717);
        background: var(--Blanco, #F3F3F3);
        box-shadow: 0 1.771px 5.312px 0 rgba(0, 0, 0, 0.20);
        border-radius: 6px;
        height: 600px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
        transition: height 0.5s ease-in-out;

        & img {
            width: 100%;
            height: 90%;
            object-fit: cover;
            border-radius: 8px;
            transition: all 0.5s ease-in-out;
            object-position: top;
            flex-shrink: 0;
        }
        & h3 {
            color: var(--color-primary);
            font-size: 16px;
            margin: 0;
            flex-shrink: 0;
            margin-top: 10px;
        }
    }
    .outline {
        max-width: 100px;
        border-color: var(--color-primary);
        width: auto;
    }
    .content-card-asesorias {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-block: 15px;
        opacity: 0; 
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.5s ease-in-out, max-height 0.5s ease-out, padding 0.5s ease-in-out;
        flex-shrink: 0;
        margin-top: auto;

        & p {
            margin: 0;
            font-size: 14px;
            line-height: 1.5;
        }
        & .btn-primary {
            margin-top: 5px;
            align-self: flex-start;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100%;
            padding: 10px 20px;
            font-size: 14px;
            width: auto;
            min-width: fit-content;
        }
    }
    article:hover {
        & img {
            height: 60%;
            min-height: 330px;
            object-position: top;
        }
        & .content-card-asesorias {
            opacity: 1;
            max-height: 350px;
            padding-block: 15px;
        }
    }
}
@media (min-width: 768px) {
    .section-asesorias {
        .asesorias-content {
            grid-template-columns: 1fr 1fr;
        }
        article {
            & h3 {
                margin-top: 10px;
                font-size: 20px;
            }
        }
    }
}
@media (min-width: 992px) {
    .section-asesorias {
        padding-top: 60px;

        .asesorias-content {
            padding-top: 60px;
            gap: 40px;
        }
    }
}
@media (min-width: 1200px) {
    .section-asesorias {
        width: calc(100% - 120px);
        margin-inline: auto;
        max-width: 1600px;
        
        h2 {
            text-align: start;
            padding-left: 20px;
        }
    }
}

/* MODAL DE ÉXITO CF7 */
.cf7-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.cf7-success-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.cf7-success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.cf7-success-modal-content {
    position: relative;
    background-color: var(--color-bg);
    border-radius: 15px;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.cf7-success-modal.active .cf7-success-modal-content {
    transform: scale(1) translateY(0);
}

.cf7-success-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-secondary);
    transition: color 0.3s ease;
    z-index: 2;
}

.cf7-success-modal-close:hover {
    color: var(--color-primary);
}

.cf7-success-modal-close svg {
    width: 24px;
    height: 24px;
}

.cf7-success-modal-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cf7-success-modal-title {
    color: var(--color-primary);
    font-size: 32px;
    font-weight: bold;
    margin: 0 0 15px 0;
    font-family: 'Lato Bold', sans-serif;
    animation: fadeInUp 0.5s ease 0.3s both;
}

.cf7-success-modal-message {
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    animation: fadeInUp 0.5s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cf7-success-modal-button {
    animation: fadeInUp 0.5s ease 0.5s both;
}

/* Ocultar mensajes predeterminados de éxito de CF7 (el modal los reemplaza) */
.wpcf7-response-output.wpcf7-mail-sent-ok,
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-mail-sent {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .cf7-success-modal-content {
        padding: 50px 40px;
        max-width: 600px;
    }
    
    .cf7-success-modal-title {
        font-size: 20px;
        font-weight: 700;
        line-height: 30px;
    }
    
    .cf7-success-modal-message {
        font-size: 16px;
        line-height: 150%;
    }
}