/* ===== style.css - ESTILOS UNIFICADOS PARA HALETSE ===== */

/* Variables Globales */
:root {
    --color-primary: #92A23A;
    --color-primary-dark: #7e8c32;
    --color-secondary: #18224C;
    --color-dark: #1b1e21;
    --color-gray-dark: #343a40;
    --color-gray: #4a5568;
    --color-light-bg: #f8f9fd;
    --color-white: #fff;
    --font-primary: 'Montserrat', Arial, sans-serif;
}

/* ===== ESTILOS BASE (DE LA PLANTILLA ORIGINAL) ===== */
body {
    font-family: var(--font-primary);
    background: var(--color-white);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    color: gray;
}

a {
    transition: .3s all ease;
    color: var(--color-primary);
    text-decoration: none;
}
a:hover, a:focus {
    color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5 {
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* Header Superior (Wrap) */
.wrap {
    position: relative;
    z-index: 0;
    width: 100%;
}
.wrap .bg-wrap {
    background: var(--color-secondary);
    padding: 0;
    position: relative;
    z-index: 0;
}
.wrap .bg-wrap:after {
    position: absolute;
    top: 0;
    left: -40px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 40px 40px;
    border-color: transparent transparent var(--color-secondary) transparent;
    z-index: -1;
}
.wrap .bg-wrap:before {
    position: absolute;
    top: 0;
    right: -40px;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 40px 40px 0 0;
    border-color: var(--color-secondary) transparent transparent transparent;
    z-index: -1;
}
@media (max-width: 991.98px) {
    .wrap .bg-wrap:before { right: -39px; }
    .wrap .bg-wrap:after { right: -39px; }
}
@media (max-width: 767.98px) {
    .wrap .bg-wrap { padding-left: 20px; padding-right: 20px; }
    .wrap .bg-wrap:after, .wrap .bg-wrap:before { display: none; }
}
.wrap .phone { z-index: 1; }
.wrap .phone span { color: var(--color-white); }
.wrap .phone a { color: var(--color-white); font-size: 12px; }

/* Redes Sociales */
.social-media { display: inline-block; }
.social-media p a {
    width: 40px;
    height: 40px;
    margin-right: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}
.social-media p a:hover {
    background: var(--color-primary);
}

/* Navbar */
.ftco-navbar-light {
    background: var(--color-white) !important;
    z-index: 3;
    padding: 0;
    box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
}
@media (max-width: 991.98px) {
    .ftco-navbar-light {
        background: var(--color-white);
        position: relative;
        top: 0;
        padding: 10px 15px;
    }
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
    font-size: 14px;
    padding-top: 2.3rem;
    padding-bottom: 2.3rem;
    padding-left: 18px;
    padding-right: 18px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    position: relative;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.5s ease-in-out 0s;
}
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover { color: var(--color-primary); }
.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover:before {
    visibility: visible;
    background-color: var(--color-primary);
    transform: scaleX(1);
}
@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
        padding-left: 0; padding-right: 0; padding-top: .9rem; padding-bottom: .9rem;
    }
}
.ftco-navbar-light .navbar-nav > .nav-item.active > a { color: var(--color-primary); }
.ftco-navbar-light .navbar-nav > .nav-item.active > a:before {
    visibility: visible;
    background-color: var(--color-primary);
    transform: scaleX(1);
}
@media (max-width: 991.98px) {
    .ftco-navbar-light .navbar-nav > .nav-item.active > a { color: #000000; }
    .ftco-navbar-light .navbar-nav > .nav-item.active > a:before { display: none; }
}

/* Secciones y Utilidades */
.ftco-section { padding: 7em 0; position: relative; }
@media (max-width: 767.98px) { .ftco-section { padding: 6em 0; } }
.ftco-no-pt { padding-top: 0 !important; }
.ftco-no-pb { padding-bottom: 0 !important; }
.bg-light { background: #f8f9fd !important; }

.heading-section .subheading {
    font-size: 17px;
    display: inline-block;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #02254B;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}
.heading-section h2 {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-dark);
}
@media (max-width: 767.98px) { .heading-section h2 { font-size: 28px; } }
.heading-section h2 span { color: var(--color-primary); }

/* Servicios v2 (los de la sección "Acerca de") */
.services-2 {
    width: 100%;
    margin-bottom: 20px;
}
.services-2 .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0px 10px 30px -4px rgba(0, 0, 0, 0.15);
}
.services-2 .icon span { font-size: 40px; color: var(--color-white); }
.services-2 .text { width: calc(100% - 60px); }
.services-2 .text h4 { font-size: 20px; font-weight: 700; }

/* ===== ESTILOS NUEVOS (MEJORADOS) ===== */
/* Tarjetas de servicio genéricas */
.service-card {
    background: var(--color-white);
    border-radius: 24px !important;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(146, 162, 58, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px -15px rgba(146, 162, 58, 0.3) !important;
    border-color: rgba(146, 162, 58, 0.3) !important;
}
.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(146, 162, 58, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary);
}
.service-card:hover .service-icon i { color: var(--color-white); }
.service-icon i { font-size: 2.5rem; color: var(--color-primary); transition: all 0.3s ease; }
.service-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--color-dark); margin-bottom: 1rem; }
.service-card p { color: var(--color-gray); font-size: 0.95rem; line-height: 1.6; }
.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 1.5rem;
}
.feature-list li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    display: flex;
    gap: 0.5rem;
    color: var(--color-gray);
}
.feature-list li i { color: var(--color-primary); margin-top: 0.2rem; width: 18px; }
.badge-custom {
    background: rgba(146, 162, 58, 0.15);
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 1px solid rgba(146, 162, 58, 0.3);
    display: inline-block;
    margin-bottom: 1.2rem;
}
.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
}
.more-link {
    color: var(--color-gray);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.more-link:hover { color: var(--color-primary); gap: 0.8rem; }
.btn-service {
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.btn-service:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(146, 162, 58, 0.4);
}

/* Banner de Consulta Gratuita */
.free-consultation-banner {
    background: linear-gradient(135deg, #0B2F5C 0%, #2c3035 100%) !important;
    padding: 2.5rem !important;
    border-radius: 30px !important;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}
.free-consultation-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(146, 162, 58, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotateSlow 20s infinite linear;
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.free-consultation-banner h3 { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.free-consultation-banner p { font-size: 1.1rem; margin-bottom: 0; opacity: 0.9; }
.free-consultation-banner strong { color: var(--color-primary); }
.btn-banner {
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 1rem 2rem !important;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}
.btn-banner:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(146, 162, 58, 0.3);
    color: var(--color-white);
}

/* Modales */
.modal-content { border-radius: 30px; border: none; }
.modal-header { border-bottom: 2px solid rgba(146, 162, 58, 0.1); padding: 1.5rem 1.5rem 1rem; }
.modal-title { font-weight: 700; color: var(--color-dark); }
.modal-body { padding: 1.5rem; }
.form-control, .form-select {
    border-radius: 15px;
    padding: 0.8rem 1.2rem;
    border: 2px solid #edf2f7;
    transition: all 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(146, 162, 58, 0.25);
}
.btn-submit {
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.8rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
}
.btn-submit:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* Contador */
.ftco-counter { padding: 4em 0; }
.ftco-counter .text .number {
    line-height: 1;
    font-weight: 700;
    font-size: 50px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 10px;
}
.ftco-counter .text span { text-transform: uppercase; letter-spacing: 1px; color: #000000; }

/* Testimonios */
.testimony-wrap {
    display: block;
    position: relative;
    background: var(--color-white);
    padding: 0 20px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.02);
    box-shadow: 0px 30px 33px -41px rgba(0, 0, 0, 0.24);
}
.testimony-wrap .icon {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}
.testimony-wrap .user-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}
.testimony-wrap .name { font-weight: 500; font-size: 20px; margin-bottom: 0; color: #000000; }
.testimony-wrap .position { font-size: 14px; color: #333333; }

/* FAQs */
.ftco-faqs .myaccordion .btn {
    width: 100%;
    font-weight: 600;
    color: black;
    padding: 1rem;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-bottom: 10px;
    border-radius: 40px !important;
    box-shadow: 0px 2px 8px -4px rgba(0, 0, 0, 0.21) !important;
}
.ftco-faqs button[aria-expanded="true"] {
    background-color: var(--color-primary);
    color: var(--color-white) !important;
}
.ftco-faqs button[aria-expanded="true"] i { color: var(--color-white) !important; }
.ftco-faqs button[aria-expanded="false"] { background-color: var(--color-white); }
.ftco-faqs [data-toggle="collapse"] .fa:before { content: "\f078"; font-family: "FontAwesome"; font-style: normal; }
.ftco-faqs [data-toggle="collapse"].collapsed .fa:before { content: "\f077"; }

/* Blog */
.blog-entry {
    background: var(--color-white);
    box-shadow: 0px 10px 18px -8px rgba(0, 0, 0, 0.1);
}
.blog-entry .text .heading {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 400;
}
.blog-entry .text .heading a { color: #000000; }
.blog-entry .text .heading a:hover { color: var(--color-primary); }
.blog-entry .meta > div {
    display: inline-block;
    margin-right: 5px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.blog-entry .meta > div a { color: #999999; }
.blog-entry .meta > div a:hover { color: #333333; }

/* Footer */
.footer {
    padding: 0;
    overflow: hidden;
    background: #252525;
}
.footer a { color: var(--color-primary); }
.footer .footer-heading {
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
}
.footer ul.list-unstyled li a { color: rgba(255, 255, 255, 0.5); }
.footer .form-consultation .form-control {
    height: 44px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 14px;
    border-radius: 5px;
    border: none;
}
.footer .form-consultation .form-control:focus { outline: none; box-shadow: none; }
.footer .form-consultation .submit {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border: none;
    padding: 0.8rem;
}
.footer .aside-stretch-right { background: #333333; }
@media (max-width: 767.98px) {
    .footer .aside-stretch-right { background: transparent; }
    .footer .aside-stretch-right:after { display: none; }
}
.ftco-footer-social li {
    list-style: none;
    margin: 0 10px 0 0;
    display: inline-block;
}
.ftco-footer-social li a {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: rgba(255,255,255,0.5);
}
.ftco-footer-social li a:hover { color: var(--color-white); }

/* Loader */
#ftco-loader {
    position: fixed;
    width: 96px;
    height: 96px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 24px 64px rgba(0, 0, 0, 0.24);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease-out, visibility 0s linear .2s;
    z-index: 1000;
}
#ftco-loader.show {
    transition: opacity .4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
#ftco-loader .circular {
    animation: loader-rotate 2s linear infinite;
    position: absolute;
    left: calc(50% - 24px);
    top: calc(50% - 24px);
    display: block;
    transform: rotate(0deg);
}
#ftco-loader .path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: loader-dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}
@keyframes loader-rotate {
    100% { transform: rotate(360deg); }
}
@keyframes loader-dash {
    0% { stroke-dasharray: 1, 200; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 89, 200; stroke-dashoffset: -35px; }
    100% { stroke-dasharray: 89, 200; stroke-dashoffset: -136px; }
}


/* ===== ESTILOS MEJORADOS PARA EL SLIDER ===== */

/* Texto del slider */
.hero-wrap .slider-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,1);
}

.hero-wrap .slider-text h1 span {
    color: #012248;
    position: relative;
}

.hero-wrap .slider-text h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(146, 162, 58, 0.3);
    z-index: -1;
    border-radius: 5px;
}

.hero-wrap .slider-text .subheading {
    font-size: 1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    background: #012248;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 1.5rem;
}

.hero-wrap .slider-text .lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
}

/* Botón de WhatsApp personalizado */
.btn-whatsapp {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: transparent;
    color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

/* Botón blanco mejorado */
.btn-white {
    background: white;
    border: 2px solid white;
    color: var(--color-dark);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-white:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.2);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 1s infinite;
}

.scroll-indicator a {
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator a:hover {
    opacity: 1;
}

.scroll-indicator i {
    font-size: 1.2rem;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Overlay más suave */
.hero-wrap .overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-wrap .slider-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-wrap .slider-text .subheading {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
    
    .hero-wrap .slider-text .lead {
        font-size: 1rem;
    }
    
    .btn-whatsapp, .btn-white {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-wrap .slider-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-wrap .slider-text .subheading {
        font-size: 0.7rem;
    }
}
    
/*imagen bout*/
 .img-container {
  overflow: hidden;
  border-radius: 15px;
  position: relative;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover */
.img-container:hover img {
  transform: scale(1.05);
}

/* Badge */
.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #012248;
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* los servicios */

/* Mejora para los servicios-2 */
.services-2 {
    background: white;
    padding: 1.2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.services-2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(146, 162, 58, 0.1);
    border-color: rgba(146, 162, 58, 0.3);
    background: white;
}

.services-2 .icon {
    width: 70px;
    height: 70px;
    background: rgba(146, 162, 58, 0.1);
    border-radius: 18px;
    transition: all 0.3s;
}

.services-2:hover .icon {
    background: var(--color-primary);
    transform: rotate(5deg);
}

.services-2:hover .icon i {
    color: white;
}

.services-2 .icon i {
    font-size: 2rem;
    color: var(--color-primary);
    transition: all 0.3s;
}

.services-2 .text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}

.services-2 .text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Botón mejorado */
.btn-primary {
    background: var(--color-primary);
    border: 2px solid var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(146, 162, 58, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .img-video {
        min-height: 300px;
        margin-bottom: 2rem;
    }
    
    .services-2 {
        padding: 1rem;
    }
    
    .services-2 .icon {
        width: 50px;
        height: 50px;
    }
    
    .services-2 .icon i {
        font-size: 1.5rem;
    }
    
    .services-2 .text h4 {
        font-size: 1.1rem;
    }
    
    .services-2 .text p {
        font-size: 0.85rem;
    }
}


/* ===== ESTILOS PARA LA SECCIÓN DE MEMBRESÍA ===== */
.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.d-flex:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary-dark);
}

.btn-membership {
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--color-primary);
}

.btn-membership:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(146, 162, 58, 0.3);
}

.membership-image img {
    transition: all 0.5s ease;
    border: 5px solid white;
}

.membership-image:hover img {
    transform: scale(1.02);
}

.floating-badge {
    background: white;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(146, 162, 58, 0.2);
    animation: float 6s infinite alternate ease-in-out;
}

@keyframes float {
    0% { transform: translate(-20px, 40px); }
    100% { transform: translate(-20px, 20px); }
}

.floating-badge:last-child {
    animation: float2 7s infinite alternate ease-in-out;
}

@keyframes float2 {
    0% { transform: translate(-30px, -30px); }
    100% { transform: translate(-30px, -50px); }
}

.membership-pricing {
    transition: all 0.3s ease;
}

.membership-pricing:hover {
    box-shadow: 0 15px 30px rgba(146, 162, 58, 0.2);
    transform: translateY(-5px);
}

@media (max-width: 991.98px) {
    .membership-content {
        margin-bottom: 3rem;
    }
    
    .floating-badge {
        display: none !important;
    }
}
   

/* ===== ESTILOS PARA HERRAMIENTAS CONTABLES ===== */
.tool-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.tool-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
}

.tool-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.tool-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.tool-body {
    padding: 1.5rem;
}

.tool-body .form-control {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.tool-body .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(146, 162, 58, 0.25);
}

.tool-body .form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

.tool-body .form-switch .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.tool-result {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 16px;
    margin-top: 1rem;
}

.tool-result .d-flex {
    font-size: 0.95rem;
}

.tool-footer {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.03);
    font-size: 0.85rem;
}

.progress {
    border-radius: 30px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    border-radius: 30px;
    transition: width 0.3s ease;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 20px;
}

/* Estilos para los resultados en tiempo real */
#iva_calculado, #total_con_iva, #flujo_neto, #impuesto_estimado {
    font-size: 1.1rem;
    color: var(--color-dark);
    transition: all 0.3s;
}

/* Badge de "En vivo" */
.tool-header {
    position: relative;
    overflow: hidden;
}

.tool-header::after {
    content: '⚡ En vivo';
    position: absolute;
    top: 10px;
    right: -25px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.2rem 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    transform: rotate(45deg);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .tool-header h3 {
        font-size: 1.3rem;
    }
    
    .tool-header i {
        font-size: 2.5rem;
    }
    
    .tool-header::after {
        display: none;
    }
}


/* ===== ESTILOS PARA GUÍAS GRATUITAS ===== */
.guide-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
}

.guide-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(146, 162, 58, 0.2);
}

.guide-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.guide-image:hover img {
    transform: scale(1.05);
}

.guide-features {
    margin: 0;
    padding: 0;
}

.guide-features li {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.guide-features li i {
    color: var(--color-primary);
    margin-top: 0.2rem;
}

.btn-guide {
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-guide:hover {
    background: var(--color-primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(146, 162, 58, 0.3);
}

.guide-form {
    background: white;
    border: 1px solid rgba(146, 162, 58, 0.2) !important;
    transition: all 0.3s;
}

.guide-form:hover {
    box-shadow: 0 15px 30px rgba(146, 162, 58, 0.1);
    border-color: var(--color-primary) !important;
}

.guide-mini-card {
    background: white;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent !important;
}

.guide-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--color-primary) !important;
}

.mini-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.guide-mini-card:hover .mini-icon {
    background: var(--color-primary) !important;
}

.guide-mini-card:hover .mini-icon i {
    color: white !important;
}

/* Badge de categoría */
.badge-custom {
    background: rgba(146, 162, 58, 0.15);
    color: var(--color-dark);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid rgba(146, 162, 58, 0.3);
    display: inline-block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .guide-content {
        padding-left: 0 !important;
        margin-top: 2rem;
    }
    
    .guide-image .position-absolute {
        display: none !important;
    }
}
  

/* ===== ESTILOS PARA CALCULADORAS PROFESIONALES ===== */
.calculator-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.03);
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(146, 162, 58, 0.15);
}

.calculator-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    color: white;
}

.calculator-header i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: inline-block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.calculator-header h3 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0;
}

.calculator-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.calculator-body .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-dark);
    margin-bottom: 0.3rem;
}

.calculator-input {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.calculator-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(146, 162, 58, 0.2);
    background: white;
}

.calculator-result {
    background: #f8fafc;
    padding: 1.2rem;
    border-radius: 18px;
    margin-top: 1rem;
    border: 1px solid rgba(146, 162, 58, 0.1);
}

.result-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.result-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.calculator-footer {
    background: #f8fafc;
    padding: 0.8rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.03);
    font-size: 0.8rem;
}

/* Estilos para los inputs numéricos */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    opacity: 0.5;
}

input[type=number]:hover::-webkit-inner-spin-button,
input[type=number]:hover::-webkit-outer-spin-button { 
    opacity: 1;
}

/* Progress bars personalizadas */
.progress {
    background: #e9ecef;
    border-radius: 30px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
    font-weight: 600;
    font-size: 0.7rem;
}

/* Form-check personalizado */
.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Animación de entrada para las calculadoras */
.ftco-animate {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
    .calculator-header h3 {
        font-size: 1.2rem;
    }
    
    .result-value {
        font-size: 1.2rem;
    }
    
    .calculator-body {
        padding: 1.2rem;
    }
}


/* ===== ESTILOS ACTUALIZADOS PARA LA SECCIÓN DE CONTACTO ===== */

/* Tabla de horarios */
.schedule-table {
    font-size: 0.9rem;
}

.schedule-table .border-bottom {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.schedule-table .text-white {
    font-weight: 500;
}

.schedule-table .text-danger {
    color: #ff6b6b !important;
    font-weight: 600;
}

/* Estado actual (abierto/cerrado) */
.current-status {
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.current-status .badge {
    padding: 0.4rem 0.8rem;
    font-weight: 500;
}

/* Badges de correos mejorados */
.contact-card .badge.bg-primary {
    background-color: var(--color-primary) !important;
    color: var(--color-dark) !important;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
}

/* Iconos de días */
.fa-sun {
    color: #ffd966;
}

.fa-moon {
    color: #b7b7b7;
}

/* Mapa en formulario */
.map-container {
    border: 3px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.map-container:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(146, 162, 58, 0.2);
}

/* Mejora en los iconos de contacto */
.contact-card .dbox .icon {
    background: rgba(146, 162, 58, 0.15);
    border: 1px solid rgba(146, 162, 58, 0.3);
}

.contact-card .dbox:hover .icon {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* Enlace de dirección mejorado */
.contact-card a[href*="maps"] {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-card a[href*="maps"]:hover {
    background: var(--color-primary);
    color: var(--color-dark) !important;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-table {
        font-size: 0.8rem;
    }
    
    .schedule-table .d-flex {
        flex-wrap: wrap;
    }
    
    .current-status .badge {
        font-size: 0.7rem;
    }
}


/* ===== ESTILOS MEJORADOS PARA EL FOOTER ===== */
.footer {
    background: #0B1A2F; /* Color más oscuro y profesional */
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    border-top: 5px solid var(--color-primary);
}

.footer .footer-heading {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer .footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 5px;
}

.footer ul.list-unstyled li a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
    display: inline-block;
}

.footer ul.list-unstyled li a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer ul.list-unstyled li a i {
    color: var(--color-primary);
    font-size: 0.7rem;
}

/* Iconos de contacto */
.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(146, 162, 58, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.d-flex:hover .contact-icon {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

/* Redes sociales */
.ftco-footer-social {
    margin: 0;
    padding: 0;
}

.ftco-footer-social li {
    list-style: none;
    display: inline-block;
}

.ftco-footer-social li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.ftco-footer-social li a:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-5px);
}

/* Columna derecha (aside-stretch-right) */
.aside-stretch-right {
    background: #0D2137;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.aside-stretch-right:after {
    display: none; /* Eliminamos el pseudo-elemento que causaba problemas */
}

/* Mapa */
.map-container {
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.map-container:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Badge de horario */
.schedule-badge {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.schedule-badge:hover {
    border-color: var(--color-primary);
    background: rgba(146, 162, 58, 0.15) !important;
}

/* Créditos del desarrollador */
.developer-credit {
    font-size: 0.9rem;
}

.developer-credit a {
    transition: all 0.3s;
    position: relative;
    display: inline-block;
}

.developer-credit a:hover {
    color: white !important;
    transform: scale(1.05);
}

.developer-credit a i.fa-cat {
    font-size: 1rem;
    animation: catPulse 2s infinite;
}

@keyframes catPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); color: var(--color-primary); }
}

/* Responsive */
@media (max-width: 991.98px) {
    .aside-stretch-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer .footer-heading:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer ul.list-unstyled {
        text-align: center;
    }
    
    .developer-credit {
        margin-top: 10px;
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .contact-info .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-info .d-flex .ms-3 {
        margin-left: 0 !important;
        margin-top: 10px;
    }
}

/* ===== ESTILOS PARA LOS SERVICIOS EN GRID ===== */
.services-grid-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 20px;
    margin-bottom: 0;
}

.services-grid-container {
    display: flex;
    gap: 1.5rem;
    min-width: min-content;
    padding: 0.5rem 0.25rem;
}

.service-grid-item {
    flex: 0 0 auto;
    width: 320px;
    transition: all 0.3s ease;
}

/* Desktop: 3 columnas fijas sin scroll */
@media (min-width: 992px) {
    .services-grid-wrapper {
        overflow-x: visible;
    }
    
    .services-grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        min-width: 100%;
    }
    
    .service-grid-item {
        width: 100%;
    }
}

/* Tablet: 2 columnas */
@media (min-width: 768px) and (max-width: 991.98px) {
    .services-grid-wrapper {
        overflow-x: visible;
    }
    
    .services-grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        min-width: 100%;
    }
    
    .service-grid-item {
        width: 100%;
    }
}

/* Móvil: scroll horizontal */
@media (max-width: 767.98px) {
    .services-grid-wrapper {
        overflow-x: auto;
    }
    
    .services-grid-container {
        display: flex;
        gap: 1rem;
    }
    
    .service-grid-item {
        width: 280px;
    }
    
    /* Scrollbar personalizada solo en móviles */
    .services-grid-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .services-grid-wrapper::-webkit-scrollbar-track {
        background: rgba(146, 162, 58, 0.1);
        border-radius: 10px;
    }
    
    .services-grid-wrapper::-webkit-scrollbar-thumb {
        background: var(--color-primary);
        border-radius: 10px;
    }
    
    .services-grid-wrapper::-webkit-scrollbar-thumb:hover {
        background: var(--color-primary-dark);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .service-icon {
        width: 65px;
        height: 65px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
    
    .btn-service {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ===== ESTILOS PARA LA SECCIÓN DE VALORES ===== */
.value-card {
    background: #fff;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(146, 162, 58, 0.1);
}

/* Efecto de fondo al hacer hover */
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(146, 162, 58, 0.05) 0%, rgba(146, 162, 58, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(146, 162, 58, 0.15);
    border-color: rgba(146, 162, 58, 0.3);
}

.value-card:hover::before {
    opacity: 1;
}

/* Wrapper del icono */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Círculo del icono con animaciones */
.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(146, 162, 58, 0.1) 0%, rgba(146, 162, 58, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

/* Efecto de pulso en el círculo */
.icon-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: rgba(146, 162, 58, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.value-card:hover .icon-circle::before {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

/* Icono dentro del círculo */
.icon-circle i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Animaciones al hacer hover */
.value-card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-primary);
    box-shadow: 0 10px 25px rgba(146, 162, 58, 0.3);
}

.value-card:hover .icon-circle i {
    color: white;
    transform: scale(1.1);
}

/* Línea decorativa inferior */
.value-line {
    width: 0;
    height: 3px;
    background: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.value-card:hover .value-line {
    width: 50px;
}

/* Títulos */
.value-card h4 {
    font-weight: 700;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.value-card:hover h4 {
    color: var(--color-primary);
}

/* Texto descriptivo */
.value-card p {
    text-align: justify;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Animación de entrada para las tarjetas */
.value-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

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

/* Responsive para valores */
@media (max-width: 768px) {
    .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .icon-circle i {
        font-size: 2rem;
    }
    
    .value-card h4 {
        font-size: 1.2rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle i {
        font-size: 1.8rem;
    }
}

/* ===== SLIDER OPTIMIZADO - CARGA RÁPIDA Y DESLIZAMIENTO SUAVE ===== */

/* Contenedor principal del slider */
.hero-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Overlay optimizado - sin gradientes complejos */
.hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Slider principal - rendimiento optimizado */
.owl-carousel.home-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    z-index: 0;
}

/* Cada slide */
.owl-carousel.home-slider .slider-item {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 100vh;
    min-height: 600px;
    position: relative;
    z-index: 0;
}

/* Contenedor del texto - centrado verticalmente */
.owl-carousel.home-slider .slider-item .slider-text {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Texto del slider - tipografía limpia sin sombras complejas */
.owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.owl-carousel.home-slider .slider-item .slider-text h1 span {
    color: #92A23A;
}

/* Subtítulo */
.hero-wrap .slider-text .subheading {
    font-size: 0.9rem;
    color: #92A23A;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    background: rgba(1, 34, 72, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Texto de descripción */
.hero-wrap .slider-text .lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Botones optimizados */
.btn-whatsapp {
    background: #25D366;
    color: white;
    font-weight: 700;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #1b1e21;
    font-weight: 700;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-white:hover {
    background: #92A23A;
    color: white;
    transform: translateY(-2px);
}

/* Dots de navegación - más pequeños y rápidos */
.owl-carousel.home-slider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 5;
}

.owl-carousel.home-slider .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    transition: all 0.2s ease;
    cursor: pointer;
}

.owl-carousel.home-slider .owl-dots .owl-dot.active {
    background: #92A23A;
    width: 30px;
    border-radius: 5px;
}

/* Flechas de navegación - opcionales, más rápidas */
.owl-carousel.home-slider .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 5;
}

.owl-carousel.home-slider .owl-nav button {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    color: white !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    cursor: pointer;
    border: none;
}

.owl-carousel.home-slider .owl-nav button:hover {
    background: #92A23A !important;
    transform: scale(1.05);
}

/* Optimización para carga rápida - usar transform en lugar de animaciones complejas */
.owl-carousel .owl-item {
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Transiciones más suaves y rápidas */
.owl-carousel {
    transition: all 0.25s ease;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
    position: relative;
}

/* Responsive */
@media (max-width: 1200px) {
    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .owl-carousel.home-slider {
        height: 90vh;
        min-height: 550px;
    }
    
    .owl-carousel.home-slider .slider-item {
        height: 90vh;
        min-height: 550px;
    }
    
    .owl-carousel.home-slider .slider-item .slider-text {
        height: 90vh;
        min-height: 550px;
    }
    
    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-wrap .slider-text .lead {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .btn-whatsapp, .btn-white {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .owl-carousel.home-slider {
        height: 80vh;
        min-height: 500px;
    }
    
    .owl-carousel.home-slider .slider-item {
        height: 80vh;
        min-height: 500px;
    }
    
    .owl-carousel.home-slider .slider-item .slider-text {
        height: 80vh;
        min-height: 500px;
    }
    
    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-wrap .slider-text .subheading {
        font-size: 0.75rem;
        letter-spacing: 2px;
        padding: 0.4rem 1rem;
    }
    
    .hero-wrap .slider-text .lead {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-whatsapp, .btn-white {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .owl-carousel.home-slider .owl-nav {
        display: none;
    }
    
    .owl-carousel.home-slider .owl-dots {
        bottom: 20px;
    }
    
    .owl-carousel.home-slider .owl-dots .owl-dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    .owl-carousel.home-slider .owl-dots .owl-dot.active {
        width: 25px;
    }
}

@media (max-width: 576px) {
    .owl-carousel.home-slider .slider-item .slider-text h1 {
        font-size: 1.5rem;
    }
    
    .hero-wrap .slider-text .lead {
        font-size: 0.85rem;
    }
    
    .d-flex.flex-column {
        width: 100%;
        gap: 1rem !important;
    }
    
    .btn-whatsapp, .btn-white {
        width: 100%;
        justify-content: center;
    }
}

/* Optimización de imágenes de fondo para carga rápida */
.slider-item {
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Prevenir flickering durante transiciones */
.owl-carousel {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mejora de rendimiento para animaciones */
.owl-carousel .animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
}

/* Transición suave entre slides */
.owl-carousel .owl-item {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#mapa-container iframe {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

#cuerpo {
    text-align: justify;
    font-size: 16px;
    line-height: 1.6;
}


.social-vertical {
    position: fixed;
    left: 20px;
    top: 80%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* Botón estilo WhatsApp real */
.social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
}

/* Hover elegante */
.social-item:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    background: #20ba5a;
}

/* Tooltip profesional */
.social-item::before {
    content: "Chatea con nosotros";
    position: absolute;
    left: 70px;
    background: #92A23A;
    color: #fff;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
}

.social-item:hover::before {
    opacity: 1;
    left: 65px;
}


/* Animación flotante */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.social-item {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .social-item {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
    .social-item::before {
        display: none;
    }
}


    .is-invalid {
        border-color: #dc3545;
    }
    
    .invalid-feedback {
        display: none;
        font-size: 0.75rem;
        margin-top: 0.25rem;
        color: #dc3545;
    }
    
    .form-check-input:checked {
        background-color: #dc3545;
        border-color: #dc3545;
    }
    
    .card {
        transition: transform 0.3s ease;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    .alert-info {
        background: linear-gradient(135deg, #e3f2fd 0%, #bbdef5 100%);
        border-left: 4px solid #0d6efd;
    }
    
    small.text-muted {
        font-size: 0.75rem;
        margin-top: 0.25rem;
        display: block;
    }


   .ftco-footer-social {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    }

    .ftco-footer-social li {
        display: inline-block;
    }
        
