/* ============================================
   CUSTOM CSS — Documentos y Gestiones
   Colores: Verde oscuro profesional + blanco + negro
   ============================================ */

/* === Variables de color del cliente === */
:root {
    --verde-principal: #0E7369;
    --verde-oscuro: #012623;
    --verde-medio: #012D2C;
    --gris-fondo: #E8EAED;
    --blanco: #ffffff;
    --negro: #1a1a1a;
}

/* ============================================
   PRELOADER — Pantalla de carga profesional
   ============================================ */
.loading-screen {
    background: #012D2C !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}
.loading-screen .bar {
    display: none !important;
}
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(14, 115, 105, 0.4));
    mix-blend-mode: lighten;
}
.preloader-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}
.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0E7369, #ffffff);
    border-radius: 3px;
    transition: width 0.05s linear;
}
@keyframes preloaderPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* === Logo del sitio === */
.header-logo .logo-img {
    max-height: 55px;
    width: auto;
    border-radius: 8px;
    padding: 3px;
    background: #ffffff;
}

.footer_logo .logo-img-footer {
    max-height: 80px;
    width: auto;
    border-radius: 0;
    padding: 0;
    background: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    mix-blend-mode: lighten;
    margin-bottom: 15px;
}

/* === Botón flotante WhatsApp === */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-float i {
    line-height: 60px;
}

/* === Ajuste del header para one-page === */
.consalt-header-area .header-menu ul.nav_scroll > li > a {
    cursor: pointer;
}

/* === FIX: Botón header WhatsApp — visible, redondeado, texto blanco === */
.consalt_header-right.style_two .header-button a {
    border-radius: 30px !important;
    padding: 12px 28px !important;
    background-color: #0E7369 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    border: none !important;
    position: relative;
}
.consalt_header-right.style_two .header-button a:before {
    display: none !important;
}
.consalt_header-right.style_two .header-button a:hover {
    background-color: #012D2C !important;
    color: #ffffff !important;
}
.consalt_header-right.style_two .header-button a i {
    font-size: 16px;
    color: #ffffff;
}
/* Sticky state */
.sticky .consalt_header-right.style_two .header-button a {
    background-color: #0E7369 !important;
    color: #ffffff !important;
}

/* ============================================
   SELECTOR DE IDIOMA — Language Switcher
   ============================================ */
.lang-selector {
    position: fixed;
    top: 28px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    z-index: 9999;
    flex-shrink: 0;
}
.lang-selected {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: 1.5px solid rgba(1, 45, 44, 0.25);
    border-radius: 50px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #012D2C;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.lang-selected:hover {
    background: #012D2C;
    color: #ffffff;
}
.lang-selected:hover .lang-arrow {
    color: #ffffff;
}
.lang-selected.open {
    background: #012D2C;
    color: #ffffff;
}
.lang-selected.open .lang-arrow {
    color: #ffffff;
    transform: rotate(180deg);
}
.lang-flag {
    width: 22px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}
.lang-arrow {
    font-size: 11px;
    color: #012D2C;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-left: 2px;
}
/* Dropdown */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(1, 38, 35, 0.15), 0 2px 8px rgba(0,0,0,0.06);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 170px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.lang-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #012D2C;
    cursor: pointer;
    transition: all 0.2s ease;
}
.lang-dropdown li:hover {
    background: #E8EAED;
    color: #0E7369;
}
.lang-dropdown li.active {
    background: #012D2C;
    color: #ffffff;
}
.lang-dropdown li.active:hover {
    background: #0E7369;
    color: #ffffff;
}
.lang-dropdown li .lang-flag {
    width: 24px;
    height: 17px;
    border-radius: 2px;
    object-fit: cover;
}

/* === Sección Hero Slider (style_sixs) === */
section.hero_slider.style_sixs {
    background: #012D2C !important;
    background-image: none !important;
    margin: 0 !important;
    margin-top: -30px !important;
    padding-top: 30px !important;
    border-radius: 0 !important;
    min-height: 100vh;
}
section.hero_slider.style_sixs .swiper,
section.hero_slider.style_sixs .swiper-wrapper,
section.hero_slider.style_sixs .swiper-slide {
    min-height: 100vh;
}
.main_hero {
    height: 100vh !important;
    min-height: 650px;
}
.hero_slide_content h4 {
    color: #0E7369 !important;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero_slide_content h1 {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}
.hero_slide_content p {
    color: #c5d8d8 !important;
    font-size: 17px;
    line-height: 1.7;
    width: 90%;
}
.hero-thumbs img {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    max-height: 500px;
    object-fit: cover;
}
.banner_list ul li {
    color: #ffffffde !important;
}
.banner_list ul li i {
    color: #0E7369 !important;
    background-color: #ffffff !important;
}
/* Pagination dots override */
section.hero_slider.style_sixs .swiper-pagination-bullet-active {
    background: #0E7369 !important;
}
.slider-dotss .swiper-pagination-bullet:after {
    border-color: #0E7369 !important;
}
.slider-dotss {
    bottom: 25px !important;
}

/* === Marquee Divisor entre Hero y Servicios === */
.marquee_area {
    background: #ffffff;
    padding: 25px 0 30px;
}
.marquee.style2 .marquee-block h3 {
    font-size: 90px;
    -webkit-text-stroke-color: #0E7369;
}
.marquee.style2 .marquee-block span {
    color: #0E7369;
    font-size: 90px;
}

/* === Hero: botón blanco sobre fondo oscuro === */
.hero_btn a {
    background-color: #0E7369 !important;
    color: #ffffff !important;
    border-color: #0E7369 !important;
}
.hero_btn a:hover {
    background-color: #ffffff !important;
    color: #012D2C !important;
    border-color: #ffffff !important;
}

/* === Sección Proceso centrado === */
#proceso .service_content.text-center h3 {
    text-align: center;
}
#proceso .service_content.text-center p {
    text-align: center;
}

/* === Footer ajustado === */
.footer_area.style_five .footer_desc {
    color: #ccc;
}

/* === Responsive WhatsApp float === */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float i {
        line-height: 50px;
    }
}

/* ============================================
   AJUSTES UI/UX — Correcciones específicas
   ============================================ */

/* === Sección Servicios: título centrado === */
#servicios .section_title {
    text-align: center !important;
}
#servicios .section_title h1 {
    text-align: center !important;
    width: 100% !important;
}
#servicios .section_title h4 {
    text-align: center !important;
    display: block !important;
}
#servicios .section_title.home_five h4:before {
    display: none !important;
}

/* === Quitar margin-top negativo que oculta el título === */
section.feature_area.style_four {
    margin-top: 0 !important;
    padding-top: 30px !important;
}

/* === Sección Servicios: cajas misma altura === */
.feature_area .row {
    display: flex;
    flex-wrap: wrap;
}
.feature_area .row > [class*="col-"] {
    display: flex;
    margin-bottom: 30px;
}
.feature_item.style_four {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.feature_item.style_four .feature_content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.feature_item.style_four .feature_content p {
    flex: 1;
}

/* === Servicios: botón WhatsApp icono centrado y hover fix === */
.feature_btns a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.feature_item.style_four:hover .feature_btns a {
    width: auto !important;
    padding: 0 20px;
    height: 40px;
    border-radius: 20px;
}
.feature_btns span {
    white-space: nowrap;
}

/* === Servicios: número blanco en hover === */
.feature_item.style_four:hover h4.feature_numbers {
    color: transparent;
    -webkit-text-stroke: #ffffff;
    -webkit-text-stroke-width: 1px;
}

/* === Proceso: eliminar microcajas detrás en hover === */
.service_single_item.style_five .servoce_shape {
    display: none !important;
}

/* === Sección Opiniones: centrar contenido === */
section.testimonial_area.style_five {
    padding: 120px 40px 254px 40px !important;
}
section.testimonial_area.style_five > .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* === Footer: texto legible (blanco/gris claro) === */
.footer_area.style_five a {
    color: #ffffff !important;
}
.footer_area.style_five a:hover {
    color: #0E7369 !important;
}
.footer_area.style_five .footer-widget-menu ul li a {
    color: #d0e0e0 !important;
}
.footer_area.style_five .footer-widget-menu ul li a:hover {
    color: #ffffff !important;
}
.footer_area.style_five .footer-widget-address_text p,
.footer_area.style_five .footer-widget-address_text p a {
    color: #ffffff !important;
}
.footer_area.style_five .footer-bottom-content-copy p {
    color: #ffffff !important;
}
.agency-credit {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-top: 4px;
    letter-spacing: 0.5px;
}
.agency-credit a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}
.agency-credit a:hover {
    color: rgba(255, 255, 255, 0.7);
}
.footer_area.style_five .footer-bottom-menu ul li a {
    color: #d0e0e0 !important;
}
.footer_area.style_five .footer-bottom-menu ul li a:hover {
    color: #ffffff !important;
}

/* === Botón scroll-up: mejor contraste === */
.prgoress_indicator::after {
    color: #0E7369 !important;
}
.prgoress_indicator svg.progress-circle path {
    stroke: #0E7369 !important;
}
.prgoress_indicator:hover::after {
    color: #012D2C !important;
}

/* === Menú mobile: colores profesionales y logo === */
.mean-container .mean-bar {
    background: #012D2C !important;
    min-height: 65px !important;
}
.mean-container .mean-bar::before {
    content: "" !important;
    background: url(../images/logo_dyg.png) no-repeat center center;
    background-size: contain;
    width: 45px;
    height: 45px;
    display: block;
    position: absolute;
    left: 15px;
    top: 10px;
    border-radius: 6px;
}
.mean-container .mean-bar::after {
    display: none !important;
}
.mean-container .mean-nav {
    background: #012623 !important;
}
.mean-container .mean-nav ul li {
    background: #012623 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.mean-container .mean-nav ul li a {
    color: #ffffff !important;
    background: transparent !important;
    border-top: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 14px 5% !important;
    letter-spacing: 0.5px;
}
.mean-container .mean-nav ul li a:hover {
    background: #0E7369 !important;
    color: #ffffff !important;
}
.mean-container a.meanmenu-reveal {
    color: #fff !important;
    top: 8px !important;
}
.mean-container a.meanmenu-reveal span {
    background: #ffffff !important;
}
.mobile-menu-area {
    background: #012D2C !important;
}

/* ============================================
   ANIMACIONES Y TRANSICIONES — Mejoras UX
   ============================================ */

/* === Transiciones suaves globales === */
a, button, .btn,
.feature_item, .service_single_item,
.about_box, .testimonial_item,
.footer-widget-address, .consalt_btn a,
.header-button a {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Feature cards (Servicios) — hover animado === */
.feature_item.style_four {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature_item.style_four:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(1, 38, 35, 0.15);
}
.feature_item .feature_icon img {
    transition: transform 0.4s ease;
}
.feature_item:hover .feature_icon img {
    transform: scale(1.1) rotate(3deg);
}

/* === Botones — efecto hover más vivo === */
.hero_btn a, .about_btn a, .consalt_btn a, .header-button a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.hero_btn a:hover, .about_btn a:hover, .consalt_btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 115, 105, 0.35);
}
.header-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 115, 105, 0.3);
}

/* === Sección Info (¿Sabías que podemos ayudarte?) — animación sutíl === */
.info-civil-events img {
    transition: transform 0.5s ease;
}
.info-civil-events img:hover {
    transform: scale(1.03);
}
.info-civil-events > .container > .row > div:first-child > div {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.info-civil-events > .container > .row > div:first-child > div:hover {
    box-shadow: 0 8px 30px rgba(1, 38, 35, 0.12);
    transform: translateY(-4px);
}

/* === Botón CTA inline (info-civil + about) — hover animado === */
.info-civil-events a[href*="wa.me"] {
    transition: all 0.35s ease !important;
}
.info-civil-events a[href*="wa.me"]:hover {
    background-color: #012D2C !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 115, 105, 0.35);
    color: #fff !important;
    text-decoration: none;
}
/* === Botón About section — hover animado === */
.about_btn a, .about_button .about_btn a {
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease !important;
}
.about_btn a:hover, .about_button .about_btn a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(14, 115, 105, 0.35) !important;
}

/* === About boxes (100% Legal, Atención Personalizada) — SIN hover === */
.about_box {
    transition: none;
}
.about_box:hover {
    transform: none;
    box-shadow: none;
}
.about_icon img {
    transition: none;
}
.about_box:hover .about_icon img {
    transform: none;
}

/* === Proceso (3 pasos) — hover en cajas === */
.service_single_item.style_five {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}
.service_single_item.style_five:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(1, 38, 35, 0.15);
}
.service_single_item .service_icon2 img {
    transition: transform 0.4s ease;
}
.service_single_item:hover .service_icon2 img {
    transform: scale(1.1) rotate(-5deg);
}

/* === Testimonios — diseño mejorado === */
.testimonial_item.style_five {
    transition: none;
}
.testimonial_item.style_five:hover {
    transform: none;
    box-shadow: none;
}
.testimonial_item.style_five:hover .testimonial-content:before {
    border-top-color: #fff !important;
}
/* Tarjeta de testimonio: padding corregido y comillas decorativas */
.testimonial_item.style_five .testimonial-content {
    padding: 45px 30px 65px 30px;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(1, 38, 35, 0.06);
    border: 1px solid rgba(14, 115, 105, 0.08);
}
.testimonial_item.style_five .testimonial-content::after {
    content: "\201C";
    position: absolute;
    top: 12px;
    right: 20px;
    font-size: 72px;
    font-family: Georgia, serif;
    color: rgba(14, 115, 105, 0.12);
    line-height: 1;
    background: none;
    width: auto;
    height: auto;
}
.testimonial_item.style_five .testimonial-content p {
    font-size: 15px;
    line-height: 26px;
    color: #4a5a5a;
    font-style: italic;
    font-weight: 400;
}
/* Estrellas: refinadas */
.testimonial_item.style_five .testi-star {
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
    padding: 10px 80px 8px 25px;
    border-radius: 0 0 0 12px;
}
/* Author: más compacto */
.testimonial_item.style_five .tesit-auothor {
    margin-top: 28px;
    margin-left: 25px;
}
.testimonial_item.style_five .tesit-auothor .bio h4.name {
    font-size: 17px;
    font-weight: 600;
    color: #012D2C;
}
.testimonial_item.style_five .tesit-auothor .bio h5.designation {
    font-size: 14px;
    color: #0E7369;
    font-weight: 500;
}

/* === CTA Section — pulso suave en botón === */
@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(14, 115, 105, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(14, 115, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(14, 115, 105, 0); }
}
.contact_form .consalt_btn a {
    animation: ctaPulse 2.5s infinite;
}
.contact_form .consalt_btn a:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 115, 105, 0.4);
}

/* === Footer — links animados === */
.footer-widget-menu ul li a {
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-widget-menu ul li a:hover {
    padding-left: 5px;
}
.footer-widget-address {
    transition: transform 0.3s ease;
}
.footer-widget-address:hover {
    transform: translateX(5px);
}

/* === WhatsApp float — pulse animation === */
@keyframes whatsappPulse {
    0% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5); }
    100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
}
.whatsapp-float {
    animation: whatsappPulse 2s infinite ease-in-out;
}
.whatsapp-float:hover {
    animation: none;
}

/* === Estrellas testimonio — color acento === */
.testi-star i.fa-star.active {
    color: #0E7369;
}

/* === Section title h4 — acento consistente === */
.section_title.home_five h4 {
    color: #0E7369 !important;
}

/* === Navbar link hover — underline animado === */
.header-menu ul li a {
    position: relative;
}
.header-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0E7369;
    transition: width 0.35s ease;
}
.header-menu ul li a:hover::after {
    width: 100%;
}

/* === About section SVG circle text === */
.about_play .text-inner svg text {
    fill: #0E7369;
}

/* ============================================
   COLORES GLOBALES — Override con paleta nueva
   ============================================ */

/* Asegurar que los colores se aplican sobre la plantilla */
.consalt-header-area .style_bg.style_two {
    background: transparent;
}
.consalt-header-area.sticky {
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(1, 38, 35, 0.15), 0 1px 5px rgba(0, 0, 0, 0.08);
}

/* === Header button === */
.consalt_header-right .header-button a {
    background-color: #0E7369;
    color: #ffffff;
}
.consalt_header-right .header-button a:hover {
    background-color: #012D2C;
    color: #ffffff;
}

/* === Footer background === */
.footer_area.style_five {
    background: #012623;
}

/* === CTA form_bg === */
.contact_form .form_bg {
    background: #012D2C;
}

/* === FIX: CTA texto visible (blanco sobre fondo verde oscuro) === */
.contact_form .form_content h3 {
    color: #ffffff !important;
}
.contact_form .form_content h5 {
    color: #E8EAED !important;
}
.contact_form .form_content p {
    color: #d0e0e0 !important;
}
.contact_form .form_content p span {
    color: #ffffff !important;
    font-weight: 600;
}
.contact_form .consalt_btn a {
    background-color: #0E7369 !important;
    color: #ffffff !important;
    border-radius: 30px !important;
    padding: 14px 32px !important;
}
.contact_form .consalt_btn a:hover {
    background-color: #ffffff !important;
    color: #012D2C !important;
}

/* === FIX: Footer iconos más grandes (WhatsApp, email) === */
.footer-widget-address .footer_widget_icon i {
    font-size: 28px !important;
    color: #ffffff !important;
}
.footer-widget-address .footer_widget_icon {
    min-width: 40px;
}

/* === FIX: Tipografía coherente === */
.section_title.home_five h1 {
    font-size: 40px;
    line-height: 1.2;
    color: #012D2C;
    font-weight: 600;
}
.section_title.home_five p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
.feature_content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #012D2C;
}
.feature_content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}
.service_content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #012D2C;
}
.service_content p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* ============================================
   MOBILE OPTIMIZATION — max-width: 991px
   ============================================ */

@media (max-width: 991px) {
    /* === Lang selector mobile === */
    .lang-selector {
        position: fixed;
        top: 15px;
        right: 65px;
        z-index: 9998;
        margin-right: 0;
    }
    .lang-selected {
        padding: 5px 10px;
        border-color: #ffffff;
        color: #ffffff;
        background: rgba(1, 45, 44, 0.7);
    }
    .lang-selected:hover,
    .lang-selected.open {
        background: #012D2C;
        border-color: #012D2C;
    }
    .lang-arrow {
        color: #ffffff;
    }
    .lang-dropdown {
        right: 0;
        left: auto;
        top: calc(100% + 6px);
    }
    /* === Logo mobile === */
    .header-logo .logo-img {
        max-height: 45px;
    }
    .footer_logo .logo-img-footer {
        max-height: 55px;
    }
    /* === Marquee mobile === */
    .marquee.style2 .marquee-block h3,
    .marquee.style2 .marquee-block span {
        font-size: 50px;
    }
    .marquee_area {
        padding: 15px 0 20px;
    }
    /* === Hero slider: mobile layout === */
    section.hero_slider.style_sixs {
        margin: 0 !important;
        border-radius: 0 !important;
        background: url(../images/home-five/portada-hero-mobile.png) center center / cover no-repeat #012D2C !important;
    }
    .main_hero {
        height: auto !important;
        min-height: 100vh;
        padding: 100px 0 60px !important;
    }
    .main_hero .row {
        flex-direction: column-reverse;
    }
    .hero_slide_content {
        text-align: center !important;
        padding: 20px 10px 0;
    }
    .hero_slide_content h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
    .hero_slide_content h4 {
        font-size: 13px !important;
    }
    .hero_slide_content p {
        width: 100% !important;
        font-size: 15px !important;
        text-align: center;
    }
    .hero-thumbs {
        text-align: center;
        margin-bottom: 20px;
    }
    .hero-thumbs img {
        max-height: 280px;
        width: auto;
        margin: 0 auto;
        border-radius: 16px;
    }
    .hero_btn {
        text-align: center;
    }
    .banner_list {
        text-align: center;
    }
    .banner_list ul {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0;
        margin: 0;
    }
    .banner_list ul li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        font-size: 14px;
    }
    .banner_list ul li i {
        flex-shrink: 0;
        width: 22px;
        text-align: center;
    }
    .slider-dotss {
        bottom: 10px !important;
    }

    /* === Servicios: título centrado === */
    #servicios h4, #servicios h1 {
        text-align: center !important;
        font-size: 14px;
    }
    #servicios h1 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    /* === Servicios: tarjetas full width === */
    .feature_area .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* === Info section: stack vertical === */
    .info-civil-events .col-lg-7,
    .info-civil-events .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .info-civil-events h3 {
        font-size: 19px !important;
        text-align: center;
    }
    .info-civil-events p {
        text-align: center;
        font-size: 15px !important;
    }
    .info-civil-events a[href*="wa.me"] {
        display: flex !important;
        justify-content: center;
        margin: 0 auto;
    }

    /* === About: stack vertical y centrado === */
    .about_area .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .about_thumb {
        text-align: center;
        margin-bottom: 30px;
    }
    .section_title.home_five {
        text-align: center !important;
    }
    .section_title.home_five h4 {
        text-align: center !important;
    }
    .section_title.home_five h1 {
        text-align: center !important;
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    .section_title.home_five p {
        text-align: center !important;
        font-size: 15px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .about_qute {
        text-align: center !important;
    }
    .about_button {
        text-align: center !important;
    }

    /* === Proceso: centrado === */
    #proceso .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .service_content.text-center h3 {
        font-size: 20px !important;
    }

    /* === Testimonios: stack vertical === */
    .testimonial_area .col-lg-4,
    .testimonial_area .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .testimonial_area .section_title.home_five {
        margin-bottom: 30px;
    }
    .testimonial_area .section_title p,
    section.testimonial_area.style_five .section_title p {
        width: 100% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* === CTA: centrado === */
    .contact_form .col-lg-7,
    .contact_form .col-lg-5 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }
    .form_content {
        text-align: center !important;
    }
    .form_content h3 {
        font-size: 24px !important;
    }
    .contact_form .consalt_btn {
        margin-top: 20px;
    }

    /* === Footer: centrado en mobile === */
    .footer_area .col-lg-4,
    .footer_area .col-lg-3,
    .footer_area .col-lg-1 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    .footer_logo {
        text-align: center !important;
    }
    .footer_desc {
        text-align: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 15px;
    }
    .footer-widget-title {
        text-align: center;
    }
    .footer-widget-menu ul {
        text-align: center;
        padding: 0;
    }
    .footer-widget-menu ul li {
        display: inline-block;
        margin: 5px 10px;
    }
    .footer-widget-address {
        display: flex !important;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }
    .footer_widget_icon i {
        float: none !important;
        margin-right: 0 !important;
    }
    .footer-widget-address_text {
        overflow: visible;
        text-align: left;
    }
    .footer-widget-address_text p {
        text-align: left;
    }
    .footer-bottom-content {
        text-align: center !important;
    }
    .footer-bottom-menu ul {
        text-align: center;
        justify-content: center;
    }
}

/* === Small phones — max-width: 480px === */
@media (max-width: 480px) {
    .hero_slide_content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    .hero_slide_content p {
        font-size: 14px !important;
    }
    .hero-thumbs img {
        max-height: 220px;
    }
    #servicios h1 {
        font-size: 24px !important;
    }
    .section_title.home_five h1 {
        font-size: 24px !important;
    }
    .form_content h3 {
        font-size: 20px !important;
    }
    .feature_content h3,
    .service_content h3 {
        font-size: 18px !important;
    }
}
