/* Reset completo para forzar ancho total */
body,
html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Forzar ancho completo de la página */
.terapia-pareja-page {
    font-family: 'Montserrat', sans-serif;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow-x: hidden;
    position: relative;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.terapia-pareja-page * {
    box-sizing: border-box;
}

/* Forzar que el contenedor padre ocupe todo el ancho */
.terapia-pareja-page .site-main,
.terapia-pareja-page .content-area,
.terapia-pareja-page .site-content,
.terapia-pareja-page .container,
.terapia-pareja-page .entry-content {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ocultar elementos del tema */
.terapia-pareja-page .site-header,
.terapia-pareja-page .site-footer,
.terapia-pareja-page .breadcrumbs,
.terapia-pareja-page .page-header {
    display: none !important;
}

/* =========================
   HERO
========================= */

.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 88px);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

/* Imagen equivalente al antiguo ::before */
.hero-bg-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* El contenido debe estar encima de la imagen */
.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    min-height: calc(100vh - 88px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-spacer {
    flex: 1;
}

/* Redes encima del fondo */
.social-icons {
    position: absolute;
    z-index: 3;
}

/* Social Media Icons - Posicionados dentro del hero */
.social-icons {
    position: fixed;
    right: 20px;
    top: 20%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.social-icon {
    display: block;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    padding: 40px 0;
}

.hero-spacer {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 52.92px;
    line-height: 60px;
    color: #9C1A95;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    color: #9C1A95;
    margin: 0 0 24px 0;
}

.hero-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    color: #333;
    margin: 0 0 32px 0;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9C1A95;
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
}

.hero-button:hover {
    background: #7d1577;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 26, 149, 0.3);
}



.hero-button:hover::after {
    transform: translateX(4px);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* MÓDULO 2 - ESTILOS */
.modulo2-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: linear-gradient(180deg, #A367A545 0%, #FFFFFF 100%);
    overflow: hidden;
}

.modulo2-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.modulo2-title1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    color: #9C1A95;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.modulo2-title2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 40px;
    color: #FE9D16;
    margin: 0 0 32px 0;
    letter-spacing: -0.3px;
}

.modulo2-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 40px auto;
    max-width: 800px;
    padding: 24px;
}

.modulo2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9C1A95;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    position: relative;
}

.modulo2-button:hover {
    background: #e8890c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 157, 22, 0.3);
}

.modulo2-button:hover::before {
    transform: translateX(-4px);
}

.modulo2-button:hover::after {
    transform: translateX(4px);
}

.modulo2-imagen-izquierda {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    z-index: 1;
}

.modulo2-imagen-derecha {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: auto;
    z-index: 1;
}

.modulo2-imagen-izquierda img,
.modulo2-imagen-derecha img {
    width: 100%;
    height: auto;
    display: block;
}

/* MÓDULO 3 - ESTILOS */
.modulo3-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.modulo3-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.modulo3-imagen-container {
    flex: 1;
    max-width: 50%;
}

.modulo3-imagen {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modulo3-items-container {
    flex: 1;
    max-width: 50%;
}

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

.modulo3-item {
    border: none;
    background: none;
    margin: 0;
}

.modulo3-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
    border-bottom: 2px solid;
    transition: all 0.3s ease;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
}

.modulo3-item:nth-child(odd) .modulo3-item-header {
    border-bottom-color: #9C1A95;
}

.modulo3-item:nth-child(even) .modulo3-item-header {
    border-bottom-color: #FE9D16;
}

.modulo3-item-header:hover {
    opacity: 0.8;
}

.modulo3-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.modulo3-item-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.modulo3-item:nth-child(odd) .modulo3-item-icon {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo3-item:nth-child(even) .modulo3-item-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(61%) saturate(2618%) hue-rotate(10deg) brightness(101%) contrast(102%);
}

.modulo3-item-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    margin: 0;
}

.modulo3-item:nth-child(odd) .modulo3-item-title {
    color: #9C1A95;
}

.modulo3-item:nth-child(even) .modulo3-item-title {
    color: #FE9D16;
}

.modulo3-item-arrow {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.modulo3-item:nth-child(odd) .modulo3-item-arrow {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo3-item:nth-child(even) .modulo3-item-arrow {
    filter: brightness(0) saturate(100%) invert(70%) sepia(61%) saturate(2618%) hue-rotate(10deg) brightness(101%) contrast(102%);
}

.modulo3-item.active .modulo3-item-arrow {
    transform: rotate(180deg);
}

.modulo3-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.modulo3-item.active .modulo3-item-content {
    max-height: 200px;
    padding: 20px 0;
}

.modulo3-item-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #242424;
    margin: 0;
    padding-left: 36px;
}

/* MÓDULO 4 - ESTILOS */
.modulo4-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FA 100%);
    overflow: hidden;
}

.modulo4-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.modulo4-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    color: #9C1A95;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

.modulo4-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 40px auto;
    max-width: 800px;
    padding: 24px;
}

.modulo4-timeline {
    margin-top: 60px;
}

/* Nuevo sistema para mostrar información de etapas seleccionadas */
.etapa-info-container {
    margin-top: 40px;
    min-height: 120px;
}

.etapa-nombre {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #9C1A95;
    text-align: center;
    margin: 0 0 20px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.etapa-nombre.visible {
    opacity: 1;
    transform: translateY(0);
}

.etapa-descripcion {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #9C1A95;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.etapa-descripcion.visible {
    opacity: 1;
    transform: translateY(0);
}

.etapa-placeholder {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #888;
    text-align: center;
    font-style: italic;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.etapa-placeholder.hidden {
    opacity: 0;
}

/* MÓDULO 5 - ESTILOS */
.modulo5-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #E8CCEB 100%);
    overflow: hidden;
}

.modulo5-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.modulo5-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    color: #9C1A95;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

.modulo5-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 60px auto;
    max-width: 800px;
    padding: 24px;
}

.modulo5-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.modulo5-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    max-width: 231px;
    max-height: 300px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modulo5-card:hover {
    transform: translateY(-8px);
    border-color: #9C1A95;
}

.modulo5-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.modulo5-card:hover::before {
    transform: scaleX(1);
}

.modulo5-card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0px auto;
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.modulo5-card:hover .modulo5-card-icon {
    transform: scale(1.1);
}

.modulo5-card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.modulo5-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #242424;
    margin: 0 0 0px 0;
}

.modulo5-card-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #242424;
    margin: 0;
}

/* MÓDULO 6 - ESTILOS */
.modulo6-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: #FFFFFF;
    overflow: hidden;
}

.modulo6-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.modulo6-title-container {
    margin-bottom: 32px;
}

.modulo6-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    margin: 0;
    letter-spacing: -0.5px;
}

.modulo6-title .morado {
    color: #9C1A95;
}

.modulo6-title .amarillo {
    color: #FE9D16;
}

.modulo6-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 20px auto;
    max-width: 800px;
    padding: 0 24px;
}

.modulo6-description-destacada {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 60px auto;
    max-width: 800px;
    padding: 0 24px;
}

.modulo6-cards-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
}

.modulo6-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 388px;
    height: 400px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.modulo6-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.modulo6-card-image {
    width: 100%;
    height: 401px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.modulo6-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modulo6-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modulo6-card:nth-child(odd) .modulo6-card-content {
    border: solid #9C1A95;
}

.modulo6-card:nth-child(even) .modulo6-card-content {
    border: solid #FE9D16;
}



.modulo6-card.expanded .modulo6-card-content {
    height: 320px;
    padding: 30px 20px;
}

.modulo6-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modulo6-card-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.modulo6-card-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.modulo6-card:nth-child(odd) .modulo6-card-icon {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo6-card:nth-child(even) .modulo6-card-icon {
    filter: brightness(0) saturate(100%) invert(70%) sepia(61%) saturate(2618%) hue-rotate(10deg) brightness(101%) contrast(102%);
}

.modulo6-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    text-align: left;
}

.modulo6-card:nth-child(odd) .modulo6-card-title {
    color: #9C1A95;
}

.modulo6-card:nth-child(even) .modulo6-card-title {
    color: #FE9D16;
}

.modulo6-card:nth-child(3n) .modulo6-card-title {
    color: #9C1A95;
}

.modulo6-card:nth-child(3n) .modulo6-card-icon {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo6-card-arrow {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.modulo6-card:nth-child(odd) .modulo6-card-arrow {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo6-card:nth-child(even) .modulo6-card-arrow {
    filter: brightness(0) saturate(100%) invert(70%) sepia(61%) saturate(2618%) hue-rotate(10deg) brightness(101%) contrast(102%);
}

.modulo6-card:nth-child(3n) .modulo6-card-arrow {
    filter: brightness(0) saturate(100%) invert(17%) sepia(79%) saturate(1234%) hue-rotate(285deg) brightness(92%) contrast(92%);
}

.modulo6-card.expanded .modulo6-card-arrow {
    transform: rotate(180deg);
}

.modulo6-card-expanded-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0;
}

.modulo6-card.expanded .modulo6-card-expanded-content {
    opacity: 1;
    max-height: 220px;
}

.modulo6-card-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px !important;
    line-height: 20px;
    color: #333;
    margin: 0 0 0 0;
    text-align: left;
}

.modulo6-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9C1A95;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    gap: 8px;
}

.modulo6-card-button:hover {
    background: #7d1577;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 26, 149, 0.3);
}

.modulo6-card-button::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.modulo6-card-button:hover::after {
    transform: translateX(4px);
}

/* MÓDULO 7 - ESTILOS */
.modulo7-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
    overflow: hidden;
}

.modulo7-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.modulo7-content {
    flex: 1;
    max-width: 50%;
}

.modulo7-text-box {
    border: solid #FE9D16;
    border-radius: 20px;
    padding: 40px;
    background: #FFFFFF;
    margin-bottom: 0;
}

.modulo7-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 40px;
    margin: 0 0 24px 0;
    letter-spacing: -0.3px;
}

.modulo7-title .morado {
    color: #9C1A95;
}

.modulo7-title .amarillo {
    color: #FE9D16;
}

.modulo7-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #333;
    margin: 0;
}

.modulo7-images {
    flex: 1;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modulo7-image-principal {
    width: 100%;
    height: 460px;
    border-radius: 20px;
    overflow: hidden;
}

.modulo7-image-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modulo7-bottom-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.modulo7-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 2;
}

.modulo7-card {
    border-radius: 15px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.modulo7-card.amarillo {
    background: #FE9D16;
    border-color: #FE9D16;
}

.modulo7-card.transparente {
    background: transparent;
    border-color: #9C1A95;
}

.modulo7-card.morado {
    background: #9C1A95;
    border-color: #9C1A95;
}

.modulo7-card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.modulo7-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modulo7-card.amarillo .modulo7-card-icon img,
.modulo7-card.morado .modulo7-card-icon img {
    filter: brightness(0) invert(1);
}

.modulo7-card-content {
    flex: 1;
}

.modulo7-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 4px 0;
}

.modulo7-card.amarillo .modulo7-card-title,
.modulo7-card.morado .modulo7-card-title {
    color: #FFFFFF;
}

.modulo7-card.transparente .modulo7-card-title {
    color: #9C1A95;
}

.modulo7-card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    margin: 0;
}

.modulo7-card.amarillo .modulo7-card-subtitle,
.modulo7-card.morado .modulo7-card-subtitle {
    color: #FFFFFF;
}

.modulo7-card.transparente .modulo7-card-subtitle {
    color: #666;
}

.modulo7-image-secundaria {
    flex: 1;
    height: 260px;
    border-radius: 20px;
    overflow: hidden;
}

.modulo7-image-secundaria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MÓDULO 8 - ESTILOS */
.modulo8-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    background: #F9F9F9;
    overflow: hidden;
}

.modulo8-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.modulo8-wrapper {
    position: relative;
    padding: 0 60px;
    /* Espacio para los botones */
}

.modulo8-navegacion-prev {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.modulo8-navegacion-next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.modulo8-carousel {
    position: relative;
}

.modulo8-testimonio-slide {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 20px 0;
}

.modulo8-video-container {
    flex: 1;
    max-width: 50%;
}

.modulo8-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.modulo8-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modulo8-content {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.modulo8-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
}

.modulo8-title .morado {
    color: #9C1A95;
}

.modulo8-title .amarillo {
    color: #FE9D16;
}

.modulo8-testimonio-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.modulo8-testimonio-nombre {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #9C1A95;
    margin: 0;
}

.modulo8-testimonio-fecha {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #9C1A95;
    margin: 0;
    padding-left: 12px;
    border-left: 2px solid #E0E0E0;
}

.modulo8-testimonio-descripcion {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #333;
    margin: 0;
    padding: 0;
    background: transparent;
}

.modulo8-navegacion {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    pointer-events: none;
}

.modulo8-nav-btn {
    pointer-events: all;
}

.modulo8-indicadores {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.modulo8-nav-btn {
    background: transparent;
    border: 2px solid #9C1A95;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modulo8-nav-btn:hover {
    background: #9C1A95;
}

.modulo8-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: #9C1A95;
    transition: fill 0.3s ease;
}

.modulo8-nav-btn:hover svg {
    fill: #FFFFFF;
}

.modulo8-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modulo8-indicadores {
    display: flex;
    gap: 8px;
}

.modulo8-indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E0E0E0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modulo8-indicador.active {
    background: #9C1A95;
    width: 30px;
    border-radius: 5px;
}

/* MÓDULO 9 - ESTILOS */
.modulo9-section {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 80px 0;
    overflow: hidden;
    background: radial-gradient(circle at center,
            #ffe6c7 0%,
            #fff3e3 40%,
            #ffffff 90%);

}

.modulo9-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.modulo9-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    line-height: 56px;
    margin: 0 0 24px 0;
    letter-spacing: -0.5px;
}

.modulo9-title .morado {
    color: #9C1A95;
}

.modulo9-title .amarillo {
    color: #FE9D16;
}

.modulo9-subtitulo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #333;
    margin: 0 auto 40px auto;
    max-width: 600px;
}

.modulo9-ubicaciones-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.modulo9-ubicacion-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    border-bottom-right-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid;
    background: #FFFFFF;
}

.modulo9-ubicacion-btn:nth-child(odd) {
    color: #9C1A95;
    border-color: #9C1A95;
}

.modulo9-ubicacion-btn:nth-child(even) {
    color: #FE9D16;
    border-color: #FE9D16;
}

.modulo9-ubicacion-btn:nth-child(odd):hover {
    background: #9C1A95;
    color: #FFFFFF;
}

.modulo9-ubicacion-btn:nth-child(even):hover {
    background: #FE9D16;
    color: #FFFFFF;
}

.modulo9-boton-principal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #FE9D16;
    color: #FFFFFF !important;
    padding: 24px 48px;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(254, 157, 22, 0.3);
    min-width: 600px;
}

.modulo9-boton-principal:hover {
    background: #e8890c;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(254, 157, 22, 0.4);
}

.modulo9-boton-icono {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.modulo9-boton-icono img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.modulo9-boton-texto {
    text-align: left;
    line-height: 1.2;
}

.modulo9-boton-texto .morado {
    color: #9C1A95;
}

/* Responsive Módulo 9 */
@media (max-width: 768px) {
    .modulo9-section {
        padding: 60px 0;
    }

    .modulo9-title {
        font-size: 32px;
        line-height: 38px;
    }

    .modulo9-subtitulo {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 30px;
    }

    .modulo9-ubicaciones-container {
        gap: 12px;
        margin-bottom: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .modulo9-ubicacion-btn {
        font-size: 12px;
        padding: 10px 20px;
    }

    .modulo9-boton-principal {
        min-width: auto;
        width: 100%;
        font-size: 16px;
        padding: 20px 32px;
        flex-direction: column;
        gap: 12px;
    }

    .modulo9-boton-texto {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modulo9-title {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo9-ubicacion-btn {
        font-size: 11px;
        padding: 8px 16px;
    }

    .modulo9-boton-principal {
        font-size: 14px;
        padding: 16px 24px;
    }

    .modulo9-boton-icono {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        padding: 60px 20px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-spacer {
        display: none;
    }

    .hero-title {
        font-size: 36px;
        line-height: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
        line-height: 28px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    .social-icons {
        position: absolute;
        right: 20px;
        top: 40px;
        transform: none;
        justify-content: center;
        z-index: 100;
    }

    /* Módulo 2 Responsive */
    .modulo2-section {
        padding: 60px 0;
    }

    .modulo2-title1 {
        font-size: 32px;
        line-height: 38px;
    }

    .modulo2-title2 {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo2-description {
        font-size: 14px;
        line-height: 22px;
        padding: 20px;
    }

    .modulo2-imagen-izquierda,
    .modulo2-imagen-derecha {
        width: 120px;
    }

    /* Módulo 3 Responsive */
    .modulo3-container {
        flex-direction: column;
        gap: 40px;
    }

    .modulo3-imagen-container,
    .modulo3-items-container {
        max-width: 100%;
    }

    .modulo3-item-title {
        font-size: 14px;
    }

    .modulo3-item-description {
        font-size: 14px;
        padding-left: 20px;
    }

    /* Módulo 4 Responsive */
    .modulo4-section {
        padding: 60px 0;
    }

    .modulo4-title {
        font-size: 32px;
        line-height: 38px;
    }

    .modulo4-description {
        font-size: 14px;
        line-height: 22px;
        padding: 20px;
    }

    /* Módulo 5 Responsive */
    .modulo5-section {
        padding: 60px 0;
    }

    .modulo5-title {
        font-size: 32px;
        line-height: 38px;
    }

    .modulo5-description {
        font-size: 14px;
        line-height: 22px;
        padding: 20px;
        margin-bottom: 40px;
    }

    .modulo5-cards-container {
        gap: 20px;
    }

    .modulo5-card {
        min-width: 250px;
        max-width: 100%;
        padding: 24px 20px;
    }

    .modulo5-card-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }

    .modulo5-card-icon img {
        width: 28px;
        height: 28px;
    }

    .modulo5-card-title {
        font-size: 16px;
        line-height: 22px;
    }

    .modulo5-card-description {
        font-size: 13px;
        line-height: 18px;
    }

    /* Módulo 6 Responsive */
    .modulo6-section {
        padding: 60px 0;
    }

    .modulo6-title {
        font-size: 32px;
        line-height: 38px;
    }

    .modulo6-description,
    .modulo6-description-destacada {
        font-size: 14px;
        line-height: 22px;
        padding: 0 20px;
    }

    .modulo6-cards-container {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .modulo6-card {
        width: 100%;
        max-width: 350px;
        height: 380px;
    }

    .modulo6-card-content {
        height: 75px;
    }

    .modulo6-card-title {
        font-size: 14px;
    }

    .modulo6-card.expanded .modulo6-card-content {
        height: 300px;
    }

    /* Módulo 7 Responsive */
    .modulo7-section {
        padding: 60px 0;
    }

    .modulo7-container {
        flex-direction: column;
        gap: 30px;
    }

    .modulo7-content,
    .modulo7-images {
        max-width: 100%;
    }

    .modulo7-text-box {
        padding: 30px;
        border-width: 1px;
    }

    .modulo7-title {
        font-size: 28px;
        line-height: 34px;
    }

    .modulo7-description {
        font-size: 13px;
        line-height: 20px;
    }

    .modulo7-image-principal {
        height: 250px;
        border-width: 8px;
    }

    .modulo7-bottom-section {
        gap: 15px;
    }

    .modulo7-cards-container {
        gap: 10px;
    }

    .modulo7-card {
        border-width: 8px;
        padding: 12px;
        min-height: 70px;
    }

    .modulo7-image-secundaria {
        height: 200px;
        border-width: 8px;
    }

    .modulo8-section {
        padding: 60px 0;
    }

    .modulo8-testimonio-slide {
        display: block !important;
        gap: 30px;
    }

    .modulo8-video-container,
    .modulo8-content {
        max-width: 100%;
    }

    .modulo8-container {
        padding: 0 20px 0px 20px;
    }

    .modulo8-navegacion {
        position: relative;
        top: auto;
        transform: none;
        justify-content: center;
        gap: 20px;
        padding: 0;
        margin-top: 40px;
    }

    .modulo8-indicadores {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
    }

    .modulo8-video-wrapper {
        padding-bottom: 56.25%;
        height: 0;
    }

    .modulo8-title {
        font-size: 32px;
        line-height: 38px;
        text-align: center;
    }

    .modulo8-testimonio-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .modulo8-testimonio-fecha {
        padding-left: 0;
        border-left: none;
    }

    .modulo8-testimonio-descripcion {
        font-size: 14px;
        line-height: 22px;
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        line-height: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .hero-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .modulo2-title1 {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo2-title2 {
        font-size: 20px;
        line-height: 26px;
    }

    .modulo2-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .modulo2-imagen-izquierda,
    .modulo2-imagen-derecha {
        display: none;
    }

    .etapa-placeholder {
        font-size: 14px;
        padding: 15px;
    }

    .etapa-nombre {
        font-size: 20px;
        line-height: 26px;
    }

    .etapa-descripcion {
        font-size: 14px;
        line-height: 20px;
        padding: 15px;
    }

    .modulo5-title {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo5-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .modulo5-card {
        min-width: 100%;
        max-width: 350px;
    }

    .modulo6-title {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo6-card {
        height: 360px;
    }

    .modulo6-card-content {
        height: 75px;
    }

    .modulo6-card.expanded .modulo6-card-content {
        height: 280px;
    }

    .modulo7-title {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo7-text-box {
        padding: 20px;
        border-width: 1px;
    }

    .modulo7-card {
        border-width: 6px;
        padding: 10px;
    }

    .modulo8-title {
        font-size: 24px;
        line-height: 30px;
    }

    .modulo8-testimonio-nombre {
        font-size: 16px;
    }

    .modulo8-testimonio-fecha {
        font-size: 14px;
    }

    .modulo8-nav-btn {
        width: 40px;
        height: 40px;
    }

    .modulo8-nav-btn svg {
        width: 20px;
        height: 20px;
    }

}

/* ESTILOS DEL POP-UP */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.popup-overlay.show {
    display: flex;
}

.popup-container {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px 30px;
    min-width: 500px;
    width: auto;
    max-height: 90vh;
    overflow-y: auto;
    position: absolute;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    pointer-events: all;
}

/* Botón de cierre */
.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.popup-close:hover {
    background: #f0f0f0;
    transform: scale(1.1);
}

.popup-close img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Título del pop-up */
.popup-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 36px;
    color: #9C1A95;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: -0.3px;
}

/* Estilos del formulario */
.popup-form-input {
    width: 100% !important;
    padding: 15px 0px !important;
    border: none !important;
    border-bottom: 2px solid #E0E0E0 !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    color: #333 !important;
    background: transparent !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.popup-form-input:focus {
    border-bottom-color: #9C1A95 !important;
    outline: none !important;
    box-shadow: none !important;
}

.popup-form-input::placeholder {
    color: #999 !important;
    font-weight: 400 !important;
}

/* Fila con dos campos */
.popup-form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-bottom: 0;
}

.popup-form-input-half {
    flex: 1;
    margin-bottom: 20px !important;
}

/* Checkbox y términos */
.popup-form-checkbox {
    margin: 20px 0 25px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.popup-checkbox {
    margin: 0 !important;
    flex-shrink: 0;
    margin-top: 2px !important;
    width: 16px;
    height: 16px;
    accent-color: #9C1A95;
}

.popup-form-checkbox label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #666;
    margin: 0;
    flex: 1;
}

.popup-link {
    color: #9C1A95;
    text-decoration: underline;
    font-weight: 600;
}

.popup-link:hover {
    color: #7d1577;
}

/* Botón de envío */
.popup-submit-btn {
    width: 100% !important;
    padding: 16px 32px !important;
    background: #9C1A95 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-align: center !important;
}

.popup-submit-btn:hover {
    background: #7d1577 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(156, 26, 149, 0.3) !important;
}

.popup-submit-btn::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('https://theuniversityofconsciousness.com/wp-content/uploads/2025/07/ph_caret-circle-right-light.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.popup-submit-btn:hover::after {
    transform: translateX(4px);
}

/* Posicionamiento en desktop - lado derecho con margen para redes sociales */
@media (min-width: 769px) {
    .popup-overlay {
        justify-content: flex-end;
        align-items: center;
        padding-right: 120px;
        /* Aumentado para dar espacio a las redes sociales */
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .popup-overlay {
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .popup-container {
        min-width: auto;
        width: calc(100% - 40px);
        max-width: 450px;
        padding: 30px 25px;
        position: relative;
    }

    .popup-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 25px;
    }

    .popup-form-row {
        flex-direction: column;
        gap: 0;
    }

    .popup-form-input-half {
        margin-bottom: 20px !important;
    }

    .popup-form-checkbox {
        margin: 15px 0 20px 0;
    }

    .popup-form-checkbox label {
        font-size: 11px;
        line-height: 15px;
    }

    .popup-submit-btn {
        gap: 8px !important;
    }

    .popup-submit-btn::after {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        margin: 15px;
        padding: 25px 20px;
        width: calc(100% - 30px);
    }

    .popup-title {
        font-size: 20px;
        line-height: 26px;
    }

    .popup-form-input {
        padding: 12px 0px !important;
        font-size: 13px !important;
    }

    .popup-submit-btn {
        padding: 14px 28px !important;
        font-size: 14px !important;
        gap: 6px !important;
    }

    .popup-submit-btn::after {
        width: 16px;
        height: 16px;
    }
}

/* Estilos para mensajes de estado */
.popup-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.popup-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.popup-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.escala-form-container {
    width: 100%;
    margin-top: 16px;
}

.escala-form-container iframe {
    width: 100% !important;
    height: auto;
    min-height: 0 !important;
    border: none !important;
    border-radius: 8px;
}

.popup-container {
    width: min(92vw, 560px);
    max-width: 560px;
    max-height: 100%;
    overflow-y: auto;
    padding: 36px 42px 28px;
}

@media (max-width: 768px) {
    .popup-container {
        width: 94vw;
        max-height: 90vh;
        padding: 28px 22px 24px;
    }

    .escala-form-container iframe {
        height: 68vh !important;
    }
}

@media (max-width: 480px) {
    .popup-container {
        width: 95vw;
        padding: 24px 16px 20px;
    }

    .escala-form-container iframe {
        height: 70vh !important;
    }
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.modulo3-whatsapp-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.modulo7-button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.modulo7-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #9C1A95;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    text-align: center;
}

.modulo7-primary-button:hover {
    background: #7d1577;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(156, 26, 149, 0.3);
}

.modulo7-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white !important;
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.modulo7-whatsapp-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.modulo7-whatsapp-button::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-buttons .hero-button,
    .hero-buttons .whatsapp-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================
   CORRECCIÓN HERO: LAPTOPS, TABLETS HORIZONTALES Y PC PEQUEÑOS
   Debe permanecer al final del archivo CSS
========================================================== */

/*
 * El hero original usa 100vh y centra verticalmente el contenido.
 * Cuando la pantalla es baja, el contenido puede superar el espacio
 * disponible y quedar recortado por overflow:hidden.
 */
 .hero-section {
    height: auto;
}

/* ----------------------------------------------------------
   Escritorio intermedio:
   desde tablet horizontal hasta portátiles pequeños
---------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 1280px) {
    .hero-section {
        min-height: max(620px, calc(100svh - 88px));
        align-items: stretch;
    }

    .hero-container {
        width: 100%;
        max-width: 1200px;
        min-height: max(620px, calc(100svh - 88px));

        margin: 0 auto;
        padding:
            clamp(34px, 5vh, 60px)
            clamp(28px, 4vw, 54px);

        align-items: center;
        justify-content: space-between;
        gap: clamp(20px, 3vw, 48px);
    }

    .hero-content {
        flex: 0 1 54%;
        width: 54%;
        max-width: 620px;
        min-width: 0;

        margin: 0;
        padding: 0;
    }

    .hero-spacer {
        flex: 1 1 46%;
        width: 46%;
        max-width: none;
        min-width: 0;
    }

    .hero-title {
        margin: 0 0 14px;
        font-size: clamp(38px, 4.05vw, 49px);
        line-height: 1.08;
        letter-spacing: -0.4px;
        overflow-wrap: normal;
    }

    .hero-subtitle {
        margin: 0 0 18px;
        font-size: clamp(20px, 2vw, 23px);
        line-height: 1.3;
    }

    .hero-description {
        max-width: 520px;
        margin: 0 0 24px;
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: fit-content;
        max-width: 100%;
    }

    .hero-buttons .hero-button,
    .hero-buttons .whatsapp-button {
        width: auto;
        max-width: 100%;
        min-height: 54px;
        margin: 0;
        white-space: normal;
        text-align: center;
    }

    .hero-button {
        padding: 14px 28px;
    }

    .whatsapp-button {
        padding: 14px 28px;
    }

    .social-icons {
        right: 14px;
    }
}

/* ----------------------------------------------------------
   Pantallas particularmente bajas:
   portátiles, zoom del navegador y barra de WordPress activa
---------------------------------------------------------- */

@media (min-width: 769px) and (max-height: 760px) {
    .hero-section {
        min-height: 600px;
    }

    .hero-container {
        min-height: 600px;
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-title {
        margin-bottom: 12px;
        font-size: clamp(36px, 3.75vw, 46px);
        line-height: 1.06;
    }

    .hero-subtitle {
        margin-bottom: 14px;
        font-size: clamp(19px, 1.8vw, 22px);
        line-height: 1.25;
    }

    .hero-description {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.45;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-buttons .hero-button,
    .hero-buttons .whatsapp-button {
        min-height: 48px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

/* ----------------------------------------------------------
   Zona cercana al salto móvil:
   tablets horizontales y ventanas de escritorio angostas
---------------------------------------------------------- */

@media (min-width: 769px) and (max-width: 980px) {
    .hero-section {
        min-height: 610px;
    }

    .hero-container {
        min-height: 610px;
        padding-right: 28px;
        padding-left: 28px;
        gap: 18px;
    }

    .hero-content {
        flex-basis: 58%;
        width: 58%;
    }

    .hero-spacer {
        flex-basis: 42%;
        width: 42%;
    }

    .hero-title {
        font-size: clamp(34px, 4.4vw, 42px);
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.45;
    }

    .hero-buttons .hero-button,
    .hero-buttons .whatsapp-button {
        font-size: 14px;
        padding-right: 22px;
        padding-left: 22px;
    }
}

/* ----------------------------------------------------------
   Móvil:
   conserva el comportamiento actual, pero evita alturas raras
---------------------------------------------------------- */

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        height: auto;
        align-items: initial;
    }

    .hero-container {
        width: 100%;
        min-height: auto;
        padding: 60px 20px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}