/* ====================================================== */
/* VARIABLES Y ESTILOS GLOBALES */
/* ====================================================== */
:root {
    --primary-color: #0A2F5B;   /* Azul oscuro corporativo */
    --secondary-color: #00A896; /* Verde azulado para acentos */
    --light-gray-color: #f4f7f6;
    --dark-gray-color: #333333;
    --text-color: #555555;
    --white-color: #ffffff;
    
    /* Nuevos colores para la sección "Por qué elegirnos" */
    --accent-purple: #6A44A3;
    --section-bg-light-blue: #D4F8F3;

    --font-primary: 'Montserrat', sans-serif;
    --font-headings: 'Montserrat', serif;
    /*--font-headings: 'Playfair Display', serif;*/
    
    --container-width: 1200px;
    --border-radius: 25px;
    --transition-speed: 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); color: var(--text-color); line-height: 1.6; background-color: var(--white-color); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: var(--primary-color); transition: color var(--transition-speed); }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-headings); color: var(--primary-color); }

/* ====================================================== */
/* HEADER */
/* ====================================================== */
.main-header { background-color: var(--white-color); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.top-header { background-color: var(--light-gray-color); padding: 5px 0; font-size: 0.8rem; }
.top-header .container { display: flex; justify-content: space-between; align-items: center; }
.contact-info a { margin-right: 20px; color: var(--text-color); }
.contact-info a:hover { color: var(--secondary-color); }
.contact-info i { margin-right: 5px; color: var(--secondary-color); }
.social-media a { margin-left: 15px; font-size: 1rem; color: var(--text-color); }
.social-media a:hover { color: var(--secondary-color); }
.bottom-header .container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo img { height: 90px; }
.cta-button-header { background-color: var(--secondary-color); color: var(--white-color); padding: 10px 25px; border-radius: var(--border-radius); font-weight: 700; transition: background-color var(--transition-speed), transform var(--transition-speed); }
.cta-button-header:hover { background-color: #008f7e; transform: translateY(-2px); }
.cta-button { background-color: var(--secondary-color); color: var(--white-color); padding: 10px 25px; border-radius: var(--border-radius); font-weight: 700; transition: background-color var(--transition-speed), transform var(--transition-speed); }
.cta-button:hover { background-color: #008f7e; transform: translateY(-2px); }
.main-nav { background-color: var(--primary-color); }
.main-nav ul { display: flex; justify-content: center; align-items: center; }
.main-nav ul li a { display: block; padding: 15px 20px; color: rgba(255, 255, 255, 0.85); font-weight: 500; position: relative; transition: color var(--transition-speed); }
.main-nav ul li a:hover { color: var(--white-color); }
.main-nav ul li a:after { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--secondary-color); transition: width var(--transition-speed); }
.main-nav ul li a:hover:after, .main-nav ul li a.active:after { width: 50%; }

/* Dropdown Menu (Card Style) */
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; background-color: var(--secondary-color); box-shadow: 0 8px 25px rgba(0,0,0,0.1); border-radius: 12px; padding: 10px; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0s; }
/*.dropdown-menu li { border-bottom: 1px solid #f0f0f0; }*/
.dropdown-menu li:last-child { border-bottom: none; }
.dropdown-menu li a { white-space: nowrap; color: var(--primary-color); font-weight: 500; padding: 12px 15px; line-height: 1.4; transition: background-color var(--transition-speed); }
.dropdown-menu li a:hover { background-color: var(--primary-color); color: var(--primary-color); }
.dropdown-menu li a:after { display: none; }
.mobile-menu-toggle { display: none; }
.login-link { margin-left: auto; }






/* ====================================================== */
/* HERO SLIDER V2 (ESTILO DEL VIDEO - ZOOM SOLO EN IMAGEN) */
/* ====================================================== */
.hero-slider-v2 {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 800px;
    background-color: #d4f8f3;
    overflow: hidden;
}

.slide-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Transición de desvanecimiento simple para el texto */
    z-index: 1;
}
.slide-v2.active {
    opacity: 1;
    z-index: 2;
}

.slide-v2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 100%;
    gap: 40px;
}

/* --- Contenido de Texto --- */
.slide-text-content .slide-pre-title { color: #e67e22; font-weight: 500; margin-bottom: 20px; display: inline-block; background-color: rgba(230, 126, 34, 0.1); padding: 5px 15px; border-radius: 5px; transform: translateX(-30px); opacity: 0; }
.slide-v2.active .slide-pre-title { animation: fadeInSlideRight 0.8s 0.3s forwards ease-out; }
.slide-main-title { font-size: 4.5rem; font-family: var(--font-headings); color: var(--primary-color); line-height: 1.2; margin-bottom: 20px; }
.title-line-mask { display: block; overflow: hidden; }
.title-line-mask span { display: block; transform: translateY(110%); }
.slide-v2.active .title-line-mask:nth-child(1) span { animation: slideUpReveal 0.8s 0.5s forwards ease-out; }
.slide-v2.active .title-line-mask:nth-child(2) span { animation: slideUpReveal 0.8s 0.7s forwards ease-out; }
.slide-description { font-size: 1.1rem; color: var(--text-color); max-width: 500px; margin-bottom: 30px; opacity: 0; }
.slide-v2.active .slide-description { animation: fadeIn 0.8s 0.9s forwards; }
.slide-button { background-color: var(--accent-purple, #6A44A3); color: #fff; padding: 15px 35px; text-decoration: none; font-weight: bold; border-radius: 50px; display: inline-block; opacity: 0; transition: all 0.3s ease; }
.slide-v2.active .slide-button { animation: fadeIn 0.8s 1.1s forwards; }
.slide-button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* --- Contenido de Imagen (CON ANIMACIÓN DE ZOOM) --- */
.slide-image-content { position: relative; display: flex; justify-content: center; align-items: center; }
.slide-image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    z-index: 5;
    transform: scale(0.5);
    opacity: 0;
}
.slide-v2.active .slide-image { animation: zoomInImage 2s forwards ease-out; }
.slide-v2.exiting .slide-image { animation: zoomOutImage 0.8s forwards ease-in; }
.rotating-arcs { position: absolute; width: 600px; height: 600px; z-index: 1; }
.arc { position: absolute; width: 100%; height: 100%; fill: none; stroke: #e0e0e0; stroke-width: 15; stroke-linecap: round; }
.arc-1 { animation: rotate-cw 20s linear infinite; }
.arc-2 { animation: rotate-ccw 20s linear infinite; }

/* --- Controles del Slider --- */
.slider-v2-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; align-items: center; gap: 20px;}
.slider-v2-nav { background: none; border: 1px solid #ccc; color: #888; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; transition: all 0.3s ease; }
.slider-v2-nav:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.slider-v2-pagination { display: flex; gap: 10px; }
.slider-v2-pagination .dot { width: 12px; height: 12px; border-radius: 50%; background-color: #ccc; cursor: pointer; transition: background-color 0.3s ease; }
.slider-v2-pagination .dot.active { background-color: var(--primary-color); }

/* --- Keyframes de Animaciones --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInSlideRight { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideUpReveal { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes rotate-cw { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotate-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes zoomInImage { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: scale(1); } }
@keyframes zoomOutImage { from { opacity: 1; transform: scale(0.8); } to { opacity: 0; transform: scale(0); } }

/* ... (el resto de tus estilos para las otras secciones y el footer) ... */







/* ====================================================== */
/* EXPERTS SECTION */
/* ====================================================== */
.experts-section { padding: 80px 0; background-color: var(--light-gray-color); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; max-width: 700px; margin: 0 auto; }
.experts-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.experience-circle { position: relative; width: 520px; height: 520px; border-radius: 50%; margin: 0 auto; }
.experience-circle img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 20px solid var(--white-color); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.experience-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(10, 47, 91, 0.8); color: var(--white-color); border-radius: 50%; width: 180px; height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; z-index: 3; }
.experience-text strong { font-size: 4rem; font-weight: 700; line-height: 1; }
.experience-text span { font-size: 1rem; text-transform: uppercase; }
.circular-text-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: rotate 45s linear infinite; }
.circular-text-svg { width: 100%; height: 100%; overflow: visible; }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.experts-right { display: flex; flex-direction: column; align-items: flex-start; }
.expert-button { background-color: var(--white-color); color: var(--primary-color); padding: 15px 30px; margin-bottom: 20px; border-radius: var(--border-radius); font-weight: 700; border: 2px solid var(--primary-color); transition: all var(--transition-speed); width: 80%; text-align: center; }
.expert-button:hover { background-color: var(--primary-color); color: var(--white-color); transform: translateX(10px); }
.expert-button.secondary { background-color: var(--secondary-color); border-color: var(--secondary-color); color: var(--white-color); }
.expert-button.secondary:hover { background-color: #008f7e; border-color: #008f7e; }






/* ====================================================== */
/* WHY CHOOSE US SECTION */
/* ====================================================== */
.why-choose-us-section {
    background-color: var(--section-bg-light-blue);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.section-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 5; }
.section-header .pre-title {
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 6px;
}
.section-header h2 { font-size: 2.8rem; }
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 5;
}
.reasons-column { display: flex; flex-direction: column; gap: 40px; }
.reasons-left { align-items: flex-end; }
.reasons-right { align-items: flex-start; }
.reason-item { display: flex; align-items: center; max-width: 400px; }
.reasons-left .reason-item { flex-direction: row; }
.reason-text-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.reason-icon-box {
    background-color: var(--accent-purple);
    color: var(--white-color);
    min-width: 70px;
    height: 70px;
    border-radius: 16px 5px 16px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    position: relative;
}
.reasons-right .reason-icon-box { border-radius: 5px 16px 16px 16px; }
.reason-icon-box::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 30px;
    background-color: var(--accent-purple);
    opacity: 0.5;
}
.reasons-left .reason-icon-box::after { right: 100%; margin-right: -5px; }
.reasons-right .reason-icon-box::after { left: 100%; margin-left: -5px; }

.center-image-container { display: flex; justify-content: center; align-items: center; }
.center-image {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 10px solid var(--white-color);
}
.background-text {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    white-space: wrap;
    text-align: center;
    
}







/* ====================================================== */
/* HOW WE WORK SECTION (CON EFECTO 3D COVERFLOW) */
/* ====================================================== */
.how-we-work-section {
    padding: 100px 0;
    background-color: #f0f2f5; /* Un fondo gris claro para que las tarjetas resalten */
    overflow: hidden;
}

.coverflow-work-slider {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.coverflow-work-slider .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px; /* Ancho de cada tarjeta */
    height: 380px; /* Altura fija para que todas sean iguales */
    -webkit-box-reflect: below 1px linear-gradient(transparent, transparent, #00000010); /* Reflejo muy sutil */
}

/* Ajustes a la tarjeta 'process-step' para el efecto 3D */
.process-step {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.step-image-wrapper {
    position: relative;
    margin: -30px -30px 20px -30px; /* Mover imagen a la parte superior */
    height: 150px; /* Altura fija para la imagen */
}
.step-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0; /* Quitamos la forma orgánica */
}
.step-icon {
    position: absolute;
    bottom: -30px; /* Posicionar el icono sobre el borde inferior de la imagen */
    left: 30px;
    transform: none;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border: 4px solid #fff;
}

.step-content {
    flex-grow: 1; /* Ocupa el espacio restante */
    display: flex;
    flex-direction: column;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}
.step-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1; /* Empuja el número hacia abajo */
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.08;
    text-align: right;
    line-height: 1;
}

/* Estilos para los botones de navegación */
.coverflow-work-slider .swiper-button-next,
.coverflow-work-slider .swiper-button-prev {
    color: var(--primary-color);
}
.coverflow-work-slider .swiper-button-next::after,
.coverflow-work-slider .swiper-button-prev::after {
    font-size: 24px;
    font-weight: bold;
}



/* Responsive para "How We Work" */
@media(max-width: 1200px) {
    /* En pantallas más pequeñas, volvemos a 3 columnas para que no se vea apretado */
    .process-steps-container.five-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        background-image: none; /* Ocultamos la línea compleja */
    }
}
@media(max-width: 992px) {
    .process-steps-container {
        grid-template-columns: 1fr;
        gap: 60px;
        background-image: none; /* Oculta la línea horizontal en móvil */
    }
}







/* ====================================================== */
/* FAQ SECTION */
/* ====================================================== */
.faq-section {
    display: grid;
    grid-template-columns: 200px 1fr; /* Columna izquierda fija, derecha flexible */
    background-color: var(--section-bg-light-blue);
}

.faq-left-panel {
    background-color: #F5F3F9; /* Lavender claro */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.vertical-text-background {
    font-size: 10rem;
    font-weight: 800;
    color: rgba(0,0,0,0.05);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    line-height: 1;
}

.faq-right-panel {
    padding: 100px 0;
    position: relative;
}

.faq-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.faq-image-column {
    text-align: center;
}

.faq-image-wrapper {
    display: inline-block;
    border-radius: 50%;
    padding: 10px;
    background-color: rgba(255,255,255,0.3);
}

.faq-image {
    width: 350px;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
}

.faq-button {
    display: inline-block;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    padding: 15px 30px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all var(--transition-speed);
}
.faq-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.faq-accordion-column .section-header {
    text-align: left;
    margin-bottom: 30px;
}

.accordion-item {
    background-color: rgba(255,255,255,0.7);
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 10px 25px;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.accordion-icon {
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    color: var(--primary-color);
    transition: all var(--transition-speed);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
    padding-bottom: 15px;
    border-top: 1px solid #eee;
    padding-top: 15px;
    color: var(--text-color);
    line-height: 1.7;
}

/* Estilos para el item ACTIVO */
.accordion-item.active .accordion-icon {
    background-color: var(--accent-purple);
    color: var(--white-color);
    transform: rotate(180deg);
}
.accordion-item.active .accordion-content {
    max-height: 300px; /* Altura suficiente para el contenido */
}

.faq-background-text {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    font-size: 12rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
    white-space: nowrap;
}










/* ====================================================== */
/* FOOTER */
/* ====================================================== */
.main-footer { background-color: var(--primary-color); color: var(--light-gray-color); padding-top: 60px; }
.main-footer .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-column h4 { font-family: var(--font-headings); font-size: 1.2rem; margin-bottom: 20px; color: var(--white-color); }
.footer-column ul li { margin-bottom: 10px; }
.footer-column ul li a { color: var(--light-gray-color); }
.footer-column ul li a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-social-media a { color: var(--white-color); font-size: 1.5rem; margin-right: 15px; }
.footer-social-media a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }





/* ... al final de style.css ... */

/* Estilos para el banner de página */
.page-banner {
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
    color: #fff;
}
.page-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(10, 47, 91, 0.6);
}
.page-banner .container {
    position: relative;
    z-index: 2;
}
.page-banner h1 {
    font-size: 3rem;
    color: #fff;
}
.blog-content-area {
    padding: 80px 0;
}






/* ... al final de style.css ... */

/* Estilos para el listado del blog (blog.php) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.blog-card {
    background-color: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.card-image-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.card-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
}
.card-title a {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--primary-color);
    text-decoration: none;
}
.card-excerpt {
    margin: 15px 0;
    flex-grow: 1;
}
.read-more-link {
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

/* Estilos para el post individual (post.php) */
.single-post-container {
    padding: 80px 0;
}
.single-post-container .container {
    max-width: 800px; /* Ancho de lectura cómodo */
}
.post-header {
    text-align: center;
    margin-bottom: 40px;
}
.post-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}
.post-meta {
    color: #888;
}
.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 40px;
}
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}
.post-content h1, .post-content h2, .post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.post-content p {
    margin-bottom: 20px;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.post-content blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}



/* Estilos para las categorías en las tarjetas del blog */
.card-categories {
    margin-bottom: 10px;
}
.category-badge, .subcategory-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    margin-right: 5px;
    text-transform: uppercase;
}
.category-badge {
    background-color: var(--primary-color);
    color: #fff;
}
.subcategory-badge {
    background-color: #eee;
    color: #555;
}







/* ====================================================== */
/* CONTACT PAGE SECTION */
/* ====================================================== */
.contact-page-section {
    background-color: var(--section-bg-light-blue);
    padding: 100px 0;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.contact-title-column .pre-title {
    font-weight: 700;
    color: var(--accent-purple);
}

.contact-title-column h2 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin: 15px 0 30px 0;
}

.contact-button-purple {
    display: inline-block;
    background-color: var(--accent-purple);
    color: var(--white-color);
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-speed);
}
.contact-button-purple:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-info-cards-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.contact-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}
.contact-card .card-header h3 {
    margin: 0;
}
.contact-card .card-header p {
    color: #888;
    margin: 5px 0 0 0;
    font-size: 0.9rem;
}
.contact-card .card-icon {
    font-size: 2rem;
    color: var(--accent-purple);
    opacity: 0.3;
}

.contact-card .card-body {
    padding: 20px 0;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.info-item:last-child {
    margin-bottom: 0;
}
.info-item i {
    color: var(--accent-purple);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}
.info-item h4 {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: #aaa;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.info-item p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

.contact-card .card-footer {
    text-align: right;
}
.contact-card .card-footer a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--light-gray-color);
    color: var(--primary-color);
}
.contact-card .card-footer-link a {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.map-section iframe {
    display: block; /* Elimina espacio inferior del iframe */
}







/* ===== ESTILOS PARA LA PÁGINA DE CITAS ===== */
.appointment-section { padding: 80px 0; }
.appointment-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.appointment-form h2 { text-align: center; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.appointment-form .input-group { margin-bottom: 20px; }
.appointment-form .input-group label {
    display: block; font-weight: 500; margin-bottom: 8px;
}
.appointment-form .input-group input,
.appointment-form .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-primary);
}
/* Estilo del calendario de Flatpickr */
input#appointment_date { cursor: pointer; background-color: #fff; }

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}
.hour-slot {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hour-slot:hover { background-color: #eef; }
.hour-slot.selected {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    font-weight: bold;
}
.hour-slot.disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
}



/* ===== ESTILOS PARA EL MODAL DE ÉXITO DE CITAS ===== */
.modal {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 0; /* Quitamos padding para darlo internamente */
    max-width: 450px;
    width: 90%;
}
.modal::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}
.success-content {
    padding: 40px;
    text-align: center;
}
.success-content .fa-check-circle {
    font-size: 4rem;
    color: var(--secondary-color);
}
.success-content h2 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}
.success-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}
.success-content .confirm-btn {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}









/* ===== ESTILOS PARA LA PÁGINA DE CARRERAS ===== */
.careers-section { padding: 80px 0; }
.form-description {
    text-align: center;
    color: #666;
    margin-top: -20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.appointment-form input[type="file"] {
    padding: 10px;
    background-color: #f9f9f9;
}










/* ====================================================== */
/* PÁGINA NOSOTROS */
/* ====================================================== */

/* --- Sección 1: Hero --- */
.about-hero-section { background-color: var(--section-bg-light-blue); padding: 80px 0; }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }
.about-hero-text .pre-title { font-weight: bold; color: #555; }
.about-hero-text h2 { font-size: 2.8rem; line-height: 1.3; }
.about-hero-text .subtitle { margin: 20px 0; }
.about-hero-image img { width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.mission-item { display: flex; gap: 15px; margin-top: 25px; }
.mission-item i { font-size: 1.5rem; color: var(--accent-purple); margin-top: 5px; }
.mission-item h4 { font-family: var(--font-primary); font-size: 1.1rem; }

/* --- Sección 2: Valores --- */
.values-section { padding: 80px 0; background-color: #2D3748; color: #A0AEC0; }
.values-section .section-header .pre-title { color: #A0AEC0; background: rgba(255,255,255,0.1); }
.values-section .section-header h2 { color: #fff; }
.value-card { background-color: #4A5568; padding: 30px; border-radius: 16px; height: 100%; }
.value-card .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.value-card .card-header span { font-size: 1.5rem; font-weight: bold; color: #718096; }
.value-card .card-header i { font-size: 1.5rem; color: #ED64A6; }
.value-card h3 { color: #fff; font-family: var(--font-primary); font-size: 1.3rem; margin-bottom: 15px; }
.values-slider { padding-bottom: 50px; } /* Espacio para la paginación */
.swiper-pagination-bullet { background-color: #718096; }
.swiper-pagination-bullet-active { background-color: #ED64A6; }

/* --- Sección 3: Industrias --- */
.industries-section { position: relative; min-height: 600px; display: flex; align-items: center; }
.industries-background-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2084&auto=format&fit=crop');
    background-size: cover; background-position: center; z-index: 1;
}
.industries-content-wrapper {
    position: relative; z-index: 2; display: grid;
    grid-template-columns: 1fr 1fr; gap: 40px;
    align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.industries-menu { background-color: #2D3748; color: #fff; padding: 40px; border-radius: 16px; }
.industries-menu h3 { color: #fff; margin-bottom: 30px; }
.industries-menu ul { list-style: none; padding: 0; }
.industries-menu li {
    padding: 15px 0; border-bottom: 1px solid #4A5568; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: color 0.3s;
}
.industries-menu li:hover, .industries-menu li.active { color: var(--secondary-color); }
.industries-menu li i { transition: transform 0.3s; }
.industries-menu li.active i { transform: translateX(10px); }
.industry-content-card {
    background-color: #fff; padding: 40px; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: none;
}
.industry-content-card.active { display: block; }
.industry-content-card h4 { font-size: 1.5rem; }
.cta-button-purple {
    display: inline-block; background-color: var(--secondary-color); color: #fff;
    padding: 12px 30px; border-radius: 8px; margin-top: 20px; text-decoration: none;
}





/* --- Sección 4: CTA Únete al Equipo --- */
.cta-join-team-section { padding: 80px 0; background-color: var(--section-bg-light-blue); }
.cta-join-team-section .container { max-width: 1500px; }
.cta-content {
    background-color: #2D3748; color: #fff; border-radius: 30px;
    padding: 60px; text-align: center; position: relative; overflow: hidden;
}


.cta-content h2 { color: #fff; font-size: 3rem; max-width: 500px; margin: 0 auto 20px auto;}
.cta-button-pink {
    display: inline-block; background-color: #ED64A6; color: #fff;
    padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: bold;
}



.cta-content{display: flex; justify-content: space-between;}

.cta-image-left {
    width: 250px; height: 250px; border-radius: 20px;
    background-image: url('../imagenes/callcenter.jpg');
    background-size: cover; left: 5%; top: 20%; transform: rotate(-15deg);
}


.cta-main{
    display: flex;
    flex-direction: column;
}

.cta-image-right{
    
    width: 250px; height: 250px; border-radius: 20px;
    background-image: url('../imagenes/pensando.jpg');
    background-size: cover; right: 5%; top: 20%; transform: rotate(15deg);
}

.cta-speech-bubble
.cta-phone-bubble





















/* Estilo para cuando no hay posts en una categoría */
.no-posts-message {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    width: 100%;
}
.no-posts-message p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 25px;
}









/* ====================================================== */
/* BUSCADOR MODERNO */
/* ====================================================== */
.main-nav .search-item button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 15px 20px;
}
.main-nav .search-item button:hover {
    color: #fff;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 47, 91, 0.98); /* Azul oscuro semi-transparente */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.search-overlay.open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s 0s;
}
.search-overlay .close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}
.search-overlay-content {
    width: 90%;
    max-width: 700px;
}
.search-form {
    position: relative;
    width: 100%;
}
.search-form input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    padding: 15px 60px 15px 0;
    font-size: 2rem;
    color: #fff;
    outline: none;
}
.search-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.search-form button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}


/* ... dentro de la sección del buscador en style.css ... */

/* Estilos para las sugerencias de búsqueda */
.search-suggestions {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.search-suggestions span {
    font-weight: bold;
    margin-right: 10px;
}
.search-suggestions a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 5px 10px;
    border-radius: 20px;
    margin: 0 5px;
    transition: all 0.3s ease;
}
.search-suggestions a:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}


/* ====================================================== */
/* ESTILOS PARA RESALTADO DE BÚSQUEDA */
/* ====================================================== */
mark {
    background-color: #7FFF00; /* Verde fluorescente (Chartreuse) */
    color: inherit; /* Mantiene el color de texto original */
    padding: 0.1em 0; /* Un poco de espacio vertical para que no se pegue */
    text-decoration: none; /* Quita el subrayado por defecto si lo hubiera */
}








/* ... en style.css, antes de @media ... */

/* ====================================================== */
/* SECCIÓN DE ÚLTIMAS PUBLICACIONES (INDEX) */
/* ====================================================== */
.latest-posts-section {
    padding: 80px 0;
}
.latest-posts-section .blog-grid {
    /* La clase .blog-grid ya existe, pero podemos añadir especificidad si es necesario */
    margin-bottom: 40px;
}








/* ... en servicio-detalle.css, antes de @media ... */

/* Estilos para el nuevo widget de subcategorías */
.subcategory-widget li a {
    /* Hereda la mayoría de los estilos de .service-menu-widget */
    padding-left: 35px; /* Añade indentación */
    position: relative;
    font-weight: 400; /* Fuente más ligera que los servicios principales */
    font-size: 0.95rem;
}

.subcategory-widget li a::before {
    content: '\f105'; /* Icono de flecha de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    opacity: 0.5;
    transition: all 0.2s ease;
}

.subcategory-widget li a:hover::before {
    opacity: 1;
}









/* ====================================================== */
/* CONTADOR DE VISITAS */
/* ====================================================== */
.visitor-counter-section {
    background-color: var(--light-gray-color);
    padding: 40px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.counter-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.count-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}
.count-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Responsividad para el contador */
@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
        gap: 40px 20px;
    }
}
@media (max-width: 480px) {
    .counter-item i { font-size: 2rem; }
    .count-number { font-size: 1.8rem; }
}









/* ====================================================== */
/* ESTILOS DE PAGINACIÓN MODERNA */
/* ====================================================== */
.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    border-radius: 50px; /* Bordes redondeados para el contenedor */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.page-item {
    margin: 0;
}

.page-link {
    display: block;
    padding: 12px 18px;
    min-width: 50px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
}

.page-item:first-child .page-link {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}
.page-item:last-child .page-link {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-right: none;
}

.page-item:not(.active):hover .page-link {
    background-color: var(--light-gray-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.page-item.disabled .page-link {
    color: #ccc;
    background-color: #f9f9f9;
    cursor: not-allowed;
}







/* ====================================================== */
/* RESPONSIVE DESIGN */
/* ====================================================== */
@media (max-width: 1200px) {
    .reasons-grid { grid-template-columns: 1fr 350px 1fr; gap: 15px; }
    .center-image { width: 350px; height: 350px; }
    .background-text { font-size: 10rem; }
}
@media (max-width: 992px) {
    .main-nav ul { justify-content: flex-start; }
    .experts-content { grid-template-columns: 1fr; }
    .experts-left { margin-bottom: 40px; }
    .experts-right { align-items: center; width: 100%; }
    .expert-button { width: 100%; max-width: 400px; }
    .experience-circle { width: 450px; height: 450px; }

    /* Why Choose Us Responsive */
    .reasons-grid { grid-template-columns: 1fr; }
    .center-image-container { order: 1; margin-bottom: 40px; }
    .reasons-left { order: 2; align-items: center; }
    .reasons-right { order: 3; align-items: center; }
    .reason-item, .reasons-left .reason-item { flex-direction: row; }
    .reason-icon-box, .reasons-right .reason-icon-box { border-radius: 5px 16px 16px 16px; }
    .reason-icon-box::after, .reasons-left .reason-icon-box::after { left: 100%; margin-left: -5px; right: auto; margin-right: 0; }
    .background-text { font-size: 8rem; bottom: -30px; }
}

@media (max-width: 768px) {
    .top-header .container { flex-direction: column; gap: 5px; }
    .bottom-header .container { padding: 10px 20px; }
    .mobile-menu-toggle { display: block; background: none; border: none; color: var(--primary-color); font-size: 1.8rem; cursor: pointer; }
    .main-nav { position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--primary-color); max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
    .main-nav.active { max-height: 100vh; }
    .main-nav ul { flex-direction: column; align-items: stretch; }
    .ul-principal{display: flex; flex-direction: column; flex-wrap: wrap; justify-content: center;}
    .ul-principal ul{width: 100%;}
    .ul-principal li{width: 100%; display: flex; flex-direction: column; justify-content: center;}
    .ul-principal ul li button i{display: flex !important; flex-direction: column; justify-content: center !important;}
    .main-nav ul li a { text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .login-link { margin-left: 0; }
    
    /* Dropdown Responsive */
    .dropdown-menu { position: static; background-color: rgba(0,0,0,0.2); box-shadow: none; padding-left: 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; opacity: 1; visibility: visible; transform: none; border-radius: 0; border: none; top: auto; }
    .dropdown-menu li { border-bottom: none; }
    .dropdown-menu.open-mobile { max-height: 300px; padding: 10px 0 10px 20px; }
    .dropdown-menu li a { color: var(--white-color); }
    .dropdown-menu li a:hover { background-color: rgba(255, 255, 255, 0.1); }
    .has-dropdown > a i { display: inline-block; margin-left: 5px; transition: transform 0.3s; }
    .has-dropdown > a.open-mobile i { transform: rotate(180deg); }

    .slide-title { font-size: 2.5rem; }
    .slide-text { font-size: 1rem; }
    .slider-nav { width: 40px; height: 40px; font-size: 1.2rem; }
    .slider-prev { left: 15px; }
    .slider-next { right: 15px; }
    .section-title h2 { font-size: 2rem; }
    .experience-circle { width: 380px; height: 380px; }
    .circular-text-svg text { font-size: 18px; }
    
    /* Why Choose Us Responsive */
    .section-header h2 { font-size: 2.2rem; }
    .center-image { width: 400px; height: 400px; }
    .reasons-column { gap: 25px; }
    .background-text { font-size: 6rem; bottom: -20px; }

    .main-footer .container { grid-template-columns: 1fr 1fr; }
    .footer-column { margin-bottom: 20px; }
}

@media (max-width: 480px) {
    .experience-circle { width: 300px; height: 300px; }
    .experience-text { width: 120px; height: 120px; }
    .experience-text strong { font-size: 2.5rem; }
    .main-footer .container { grid-template-columns: 1fr; }
    .background-text { display: none; } /* Ocultar el texto de fondo en pantallas muy pequeñas */
    .reason-item { flex-direction: column; text-align: center; }
    .reason-icon-box::after { display: none; }
    .reason-text-box { margin-top: 15px; }
}













/* Responsive para FAQ */
@media(max-width: 1024px) {
    .faq-section { grid-template-columns: 100px 1fr; }
    .faq-content-grid { grid-template-columns: 1fr 1.5fr; gap: 30px; }
    .faq-background-text { display: none; }
    .faq-image { width: 280px; height: 280px; }
}

@media(max-width: 768px) {
    .faq-section { grid-template-columns: 1fr; }
    .faq-left-panel { display: none; }
    .faq-right-panel { padding: 80px 0; }
    .faq-content-grid { grid-template-columns: 1fr; }
    .faq-image-column { margin-bottom: 40px; }
    .faq-accordion-column .section-header { text-align: center; }
}







/* Responsive para la página de Contacto */
@media(max-width: 992px) {
    .contact-details-grid {
        grid-template-columns: 1fr;
    }
    .contact-title-column {
        text-align: center;
        margin-bottom: 40px;
    }
}
@media(max-width: 768px) {
    .contact-info-cards-column {
        grid-template-columns: 1fr;
    }
}









/* ====================================================== */
/* RESPONSIVIDAD - PÁGINA NOSOTROS */
/* ====================================================== */

@media (max-width: 992px) {
    /* --- Sección 1: Hero (Tablet) --- */
    .about-hero-grid {
        grid-template-columns: 1fr; /* Apilar todo en una columna */
        text-align: center;
    }
    .about-hero-image {
        order: -1; /* Mover la imagen arriba del texto */
        margin-bottom: 30px;
    }
    .about-hero-text h2 {
        font-size: 2.2rem;
    }
    .mission-item {
        text-align: left; /* Mantener texto de misión y visión alineado a la izquierda */
    }

    /* --- Sección 3: Industrias (Tablet) --- */
    .industries-content-wrapper {
        grid-template-columns: 1fr; /* Apilar menú y contenido */
    }
    .industries-menu {
        margin-bottom: 30px;
    }

    /* --- Sección 4: CTA Únete al Equipo (Tablet) --- */
    .cta-content h2 {
        font-size: 2.5rem;
    }
    .cta-image-left, .cta-image-right, .cta-speech-bubble {
        /* Ocultar elementos decorativos para no saturar la pantalla */
        display: none; 
    }
}

@media (max-width: 768px) {
    /* --- Sección 1: Hero (Móvil) --- */
    .about-hero-section {
        padding: 60px 0;
    }
    .about-hero-text h2 {
        font-size: 1.8rem;
    }

    /* --- Sección 2: Valores (Móvil) --- */
    .values-section .section-header h2 {
        font-size: 2rem;
    }

    /* --- Sección 3: Industrias (Móvil) --- */
    .industries-section {
        padding: 60px 0;
    }
    .industries-content-wrapper {
        padding: 0 15px; /* Reducir padding lateral */
    }
    .industries-menu, .industry-content-card {
        padding: 30px; /* Reducir padding interno */
    }
    .industries-menu h3 {
        font-size: 1.5rem;
    }
    .industry-content-card h4 {
        font-size: 1.3rem;
    }

    /* --- Sección 4: CTA Únete al Equipo (Móvil) --- */
    .cta-join-team-section {
        padding: 60px 15px;
    }
    .cta-content {
        padding: 40px 20px;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
    .cta-phone-bubble {
        /* Ocultar también este en móvil */
        display: none;
    }
}





/* ====================================================== */
/* RESPONSIVIDAD - HERO SLIDER V2 */
/* ====================================================== */

@media (max-width: 992px) {
    .slide-v2-grid {
        grid-template-columns: 1fr; /* Apilar contenido en una sola columna */
        text-align: center;
        justify-items: center; /* Centrar elementos horizontalmente */
        gap: 20px;
        padding-top: 20px; /* Añadir espacio superior para que no se pegue al header */
    }

    .slide-image-content {
        order: -1; /* Mover la imagen arriba del texto */
        margin-bottom: 20px;
    }

    .slide-main-title {
        font-size: 3.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .slide-description {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-image {
        width: 450px;
        height: 450px;
    }
    .rotating-arcs {
        display: flex;
        width: 550px;
        height: 550px;
    }

    
}

@media (max-width: 768px) {
    .hero-slider-v2 {
        height: auto; /* Altura automática para que quepa todo el contenido */
        min-height: 1050px;
        
    }

    .slide-main-title {
        font-size: 2.5rem;
    }

    .slide-image {
        width: 380px;
        height: 380px;
    }

    .rotating-arcs {
        display: flex;
        width: 460px;
        height: 460px;
    }
    
    .arc {
        stroke-width: 10; /* Hacer los arcos más delgados */
    }

    .slider-v2-controls {
        bottom: 0px; /* Subir un poco los controles */
        margin-top: 50px;
    }



    .hero-slider-v2{
        display: flex;
        flex-direction: column;
    }
}





@media (max-width: 768px) {
    .cta-button-header { 
        display: none;
        background-color: var(--secondary-color); 
        color: var(--white-color); 
        padding: 5px 10px; 
        border-radius: var(--border-radius); 
        font-weight: 400; 
        transition: background-color var(--transition-speed), transform var(--transition-speed); }
    .cta-button-header:hover { 
        background-color: #008f7e; 
        transform: translateY(-2px); }
}



@media (max-width: 768px) {
    .social-media{
        display: none;
    }
}