/* ============================================
   JOE BLACK THEME - MAIN CSS
   Author: Dairew Design
   Version: 1.0
   ============================================ */

/* HEADER STICKY */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    color: var(--white);
    line-height: 1;
}

.logo-joe {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 13px;
    color: var(--white);
    margin-top: 2px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* REEMPLAZO PARA EL LOGO */
.site-logo {
    display: flex;
    align-items: center; /* Centra verticalmente */
    height: 100%;
}

.site-logo img {
    /* Forzamos que ignore el width="1" del HTML */
    width: 180px !important; 
    height: auto !important;
    display: block !important;
    
    /* Ajustes de posición */
    margin: 0 !important; 
    padding: 5px 0;
    object-fit: contain;
	margin-top: 20px !important;
}

/* AJUSTE PARA MÓVIL (Basado en tu imagen) */
@media (max-width: 768px) {
    .site-logo img {
        width: 90px !important; /* Más pequeño para que no choque con el menú */
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }
}

/* Menú navegación */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.primary-menu li a {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 15px;
    transition: 0.3s;
}

.primary-menu li a:hover {
    color: var(--primary-blue);
}

/* Búsqueda */
.search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-field {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: var(--white);
    width: 200px;
}

.search-field::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-submit {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 8px 15px;
    cursor: pointer;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 100vh; /* Cambia auto por 100vh para que reserve el espacio */
    width: 100%;
    overflow: hidden;
    background-color: #1a2847; /* Color de respaldo inmediato mientras carga la imagen */
}
.hero-section, 
.hero-slider, 
.hero-slide {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hero-slider {
    position: relative; /* Cambiar de absolute a relative ayuda al flujo */
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.hero-slide {
    height: 100vh;
}

.hero-background {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-bg-image {
    width: 100% !important;
    height: 100% !important; /* Forzamos el alto total del contenedor */
    object-fit: cover; 
    object-position: center;
    display: block;
    /* Esto ayuda a que el navegador renderice más rápido */
    content-visibility: auto; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-placeholder {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a2847 0%, #4A9FD8 100%);
}

/* Contenedor principal del contenido */
.hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
}

/* Títulos en la parte superior */
.hero-content {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 90px;
    font-weight: 900;
    color: var(--white);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 55px;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

/* Botón ABAJO DERECHA (centrado verticalmente con iconos) */
.btn-hero-cta {
    position: absolute;
    bottom: 115px;
    right: 92px;
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px 55px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 159, 216, 0.4);
    z-index: 15;
}

.btn-hero-cta:hover {
    background: #3d8abd;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 159, 216, 0.6);
}

/* Iconos ABAJO DERECHA (debajo del botón, centrados) */
.hero-social-icons {
    position: absolute;
    bottom: 58px;
    right: 65px;
    display: flex;
    gap: 10px;
    z-index: 12;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

/* Dots del slider ABAJO CENTRO */
.hero-slider .slick-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex !important;
    gap: 8px;
}

.hero-slider .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.hero-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
}

.hero-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--white);
    opacity: 0.6;
    width: 12px;
    height: 12px;
    line-height: 12px;
}

.hero-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary-blue);
}

/* ABOUT SECTION */
.about-section {
    padding: 100px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-title-1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.about-title-2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.about-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

.about-video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #9EAFC0;
    border-radius: 15px;
    overflow: hidden;
}

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

.video-placeholder {
    background: #9EAFC0;
    padding: 100px 40px;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
}

/* SERVICES SECTION */
.services-section {
    padding: 100px 20px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    text-align: center;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.services-description {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

/* Grid: 3 columnas, los 2 últimos items centrados */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border-radius: 10px;
    transition: 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 159, 216, 0.15);
}

/* Primeros 3 items: ocupan 2 columnas cada uno */
.service-item:nth-child(1),
.service-item:nth-child(2),
.service-item:nth-child(3) {
    grid-column: span 2;
}

/* Items 4 y 5: centrados debajo, cada uno ocupa 2 columnas */
.service-item:nth-child(4) {
    grid-column: 2 / 4;
}

.service-item:nth-child(5) {
    grid-column: 4 / 6;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.service-icon i {
    font-size: 60px;
    color: var(--primary-blue);
}

.service-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

.btn-more-services {
    display: inline-block;
    background: #4A9FD8;
    color: var(--white);
    padding: 15px 50px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-more-services:hover {
    background: #4A9FD8;
    transform: translateY(-2px);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 20px;
    background: #f5f5f5;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    text-align: center;
    font-size: 48px;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonials-description {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 60px;
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 60px;
}

/* Testimonial item (Site Reviews) */
.glsr-review {
    text-align: center;
    padding: 20px;
}

.glsr-review-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.glsr-review-avatar img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

.glsr-review-rating {
    display: none !important;
}

.glsr-review-content {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

.glsr-review-author,
.glsr-review-date {
    display: none !important;
}

.testimonials-slider .slick-prev,
.testimonials-slider .slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    z-index: 10;
    top: 140px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #333;
}

.testimonials-slider .slick-prev {
    left: -35px;
}

.testimonials-slider .slick-next {
    right: -35px;
}

.testimonials-slider .slick-prev:before,
.testimonials-slider .slick-next:before {
    display: none;
}

.testimonials-slider .slick-prev i,
.testimonials-slider .slick-next i {
    color: #333;
    font-size: 16px;
}

.testimonials-slider .slick-prev:hover,
.testimonials-slider .slick-next:hover {
    background: white;
}

.btn-go-reviews {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-go-reviews:hover {
    background: #333;
    transform: translateY(-2px);
}

/* CTA SECTION */
.cta-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2847 0%, #4A9FD8 100%);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,20,40,0.8) 0%, rgba(74,159,216,0.6) 100%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
}

.cta-line-1 {
    display: block;
    color: var(--primary-blue);
    font-size: 50px;
}

.cta-line-2,
.cta-line-3 {
    display: block;
    color: var(--white);
}

.btn-cta-contact {
    background: var(--primary-blue);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-cta-contact:hover {
    background: #3d8abd;
    transform: translateY(-2px);
}

/* FAQ SECTION */
.faq-section {
    padding: 100px 20px;
    background: #f9f9f9;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.faq-subtitle {
    color: var(--black);
    font-weight: 400;
    font-size: 24px;
}

.faq-accordion {
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: var(--black);
    color: var(--white);
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question:hover {
    background: #2a2a2a;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    transition: 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    background: var(--white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* FOOTER */
.site-footer {
    background: linear-gradient(90deg, #4A9FD8 0%, #1a2847 100%);
    padding: 60px 20px 30px;
    color: var(--white);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
}

.footer-left {
    flex: 1;
}

.footer-title {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 35px;
    font-weight: 900;
    letter-spacing: 1px;
}

.footer-menu {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.footer-menu a:hover {
    opacity: 0.7;
}

.footer-copyright {
    color: var(--white);
    font-size: 12px;
    opacity: 0.9;
}

.footer-right {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-info p {
    color: var(--white);
    font-size: 13px;
    margin: 5px 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: var(--white);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2847;
    transition: 0.3s;
    font-size: 16px;
}

.footer-social a:hover {
    background: rgba(255,255,255,0.85);
    transform: translateY(-2px);
}

.footer-language {
    min-width: 120px;
}

/* BACK TO TOP BUTTON */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: #3d8abd;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
	.testimonials-cta {
		justify-self: center;
	}

    .main-navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--dark-bg);
        transition: 0.3s;
        padding: 20px;
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .primary-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content {
        top: 15%;
    }
    
    .hero-title {
        font-size: 48px;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 28px;
    }
    
    .btn-hero-cta {
        bottom: 85px;
        right: 30px;
        padding: 15px 40px;
        font-size: 15px;
    }
    
    .hero-social-icons {
        bottom: 35px;
        right: 20px;
        gap: 8px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .hero-slider .slick-dots {
        bottom: 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-item:nth-child(1),
    .service-item:nth-child(2),
    .service-item:nth-child(3),
    .service-item:nth-child(4),
    .service-item:nth-child(5) {
        grid-column: 1;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left,
    .footer-right {
        text-align: left;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-right {
        align-items: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-title {
        font-size: 36px;
    }
}

/* CTA SECTION (Contact Us) */
.cta-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.cta-background {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #1a2847;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.cta-container {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0 auto;
    padding: 100px 120px;
	margin-top: 90px;
}

.cta-text-left {
    text-align: left;
	margin-left: -55px;
}

.cta-line-1,
.cta-line-2 {
    font-size: 60px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button-center {
    margin-top: 50px;
}

.btn-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 159, 216, 0.4);
}

.btn-cta:hover {
    background: #3d8abd;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(74, 159, 216, 0.6);
}

/* FAQ SECTION */
.faq-section {
    padding: 100px 20px;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.faq-subtitle {
    font-size: 24px;
    color: var(--black);
    margin: 0;
    font-weight: 600;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.faq-question {
    padding: 0px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}



.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

.testimonials-cta {
	justify-self: center;
}

.cta-text-left .cta-line-2 {
    max-width: 300px; /* Ajusta este ancho hasta que la palabra "CUSTOMERS" baje sola */
    display: block;
    line-height: 1.1; /* Ajusta el espacio entre las dos líneas */
}



/* AJUSTES ESPECÍFICOS PARA MÓVIL (CTA SECTION) */
@media (max-width: 768px) {
    
    /* 1. Centramos el contenedor principal */
    .cta-container {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 80px 20px !important;
        display: flex !important;
    }

    /* 2. Ajustamos los títulos para que no se corten */
    .cta-line-1, 
    .cta-line-2 {
		max-width: 300px;
        font-size: 45px !important; /* Un poco más pequeño que 60px para que quepa la S */
        line-height: 1.1 !important;
        width: 100% !important;
        margin: 0 auto !important;
        word-wrap: break-word; /* Evita que las palabras largas se salgan */
    }

    .cta-text-left {
        width: 100% !important;
        margin-bottom: 30px !important; /* Espacio antes del botón */
    }

    /* 3. Centramos el botón y arreglamos su forma */
    .cta-button-center {
        width: 100% !important;
        display: flex !important;
        justify-content: left !important;
		margin-top: 0px;
    }

    .btn-cta {
        display: inline-block !important;
        background: #4A9FD8 !important; /* El azul de tu diseño */
        color: #ffffff !important;
        padding: 15px 40px !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        border-radius: 50px !important; /* Mantiene la forma ovalada */
        box-shadow: 0 4px 15px rgba(74, 159, 216, 0.3) !important;
        transition: transform 0.3s ease !important;
        white-space: nowrap !important; /* Evita que el texto del botón se rompa */
    }
}

/* AJUSTE RESPONSIVE FAQ */
@media (max-width: 768px) {
    .faq-header {
        display: flex !important;
        flex-direction: column !important; /* Esto manda el subtítulo abajo */
        align-items: center !important;    /* Centra ambos elementos */
        text-align: center !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .faq-title {
        font-size: 48px !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }

    .faq-subtitle {
        display: block !important;
        margin: 0 auto !important;
        font-size: 24px !important;
        width: 100% !important;
    }
}

/* --- RESPONSIVE TABLETS (Menos de 1024px) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 60px; /* Reducimos el título */
    }
    .hero-subtitle {
        font-size: 35px;
    }
    .btn-hero-cta {
        right: 50px; /* Acercamos el botón al borde */
    }
}

/* --- RESPONSIVE MÓVILES (Menos de 768px) --- */
@media (max-width: 768px) {
    /* 1. Ajustamos la altura para que no sea infinita en móvil */
    .hero-section, 
    .hero-slider, 
    .hero-slide, 
    .hero-background,
    .hero-content-wrapper,
    .hero-placeholder {
        height: 80vh !important; /* Un poco más corto para que se vea que hay contenido abajo */
    }
	.hero-section, 
    .hero-slider, 
    .hero-slide, 
    .hero-background,
    .hero-content-wrapper {
        height: 80vh !important; /* Altura consistente en todos los niveles */
    }

    .hero-bg-image {
        height: 100% !important; /* Forzamos que llene el alto del slider */
        object-fit: cover;
    }

    /* 2. Títulos: mucho más pequeños y centrados */
    .hero-content {
        top: 15%;
    }
    .hero-title {
        font-size: 38px;
        letter-spacing: 1px;
    }
    .hero-subtitle {
        font-size: 22px;
    }

    /* 3. Botón y Redes: Centrados abajo */
    /* En móvil es mejor que el botón esté en el centro para que sea fácil de clickear */
    .btn-hero-cta {
        bottom: 120px;
        right: 50%;
        transform: translateX(50%);
        padding: 15px 40px;
        font-size: 15px;
        width: 80%;
        text-align: center;
    }

    .btn-hero-cta:hover,
    .btn-hero-cta:active {
        transform: translateX(50%) translateY(-3px);
    }

    .hero-social-icons {
        bottom: 60px;
        right: 50%;
        transform: translateX(50%); /* Centramos los iconos */
        gap: 8px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}
.faq-answer p {
    white-space: pre-line; /* Esto le dice al navegador: "respeta los saltos de línea del editor" */
    padding: 0 25px 20px;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}
.hero-slider .slick-dots li.slick-active button:before {
	display: none
}


/* TESTIMONIALS SECTION */
.testimonials-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-title {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.testimonials-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* SLIDER */
.testimonials-slider {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 80px;
}

.testimonials-track {
    display: flex;
    gap: 40px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

/* CARD */
.testimonial-card {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* LOGO CIRCLE */
.testimonial-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-left: 70px;
}

.testimonial-logo:hover {
    transform: translateY(-5px);
}

.testimonial-logo img {
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
}

.testimonial-logo i {
    font-size: 80px;
    color: #ddd;
}

/* REVIEW TEXT */
.testimonial-review {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    max-width: 280px;
	font-family: 'Poppins'
}

/* ARROWS */
.slider-arrow {
	display: none !important;
    position: absolute;
    top: 140px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}
.slider-arrow {
    position: absolute;
    top: 140px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.arrow-left { left: 0; }
.arrow-right { right: 0; }

.slider-arrow:hover:not([style*="cursor: not-allowed"]) {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 0; }
.arrow-right { right: 0; }

.slider-arrow:hover {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
    transform: translateY(-50%) scale(1.1);
}

/* PAGINATION */
.testimonials-pagination {
    display: none;
}

/* BUTTON */
.testimonials-btn {
    display: inline-block;
    background: #000021;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}



/* FORM SECTION */
.reviews-form-section {
    padding: 80px 0;
    background: #f5f5f5;
}

.reviews-form-header h2 {
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.reviews-form-header p {
    font-size: 16px;
    color: #666;
	margin-bottom: 20px;
}

.glsr-form {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
}

.glsr-form input,
.glsr-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
}

.glsr-form button[type="submit"] {
    background: #1a1a1a;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .testimonials-slider { padding: 0 60px; }
    .testimonials-track { gap: 20px; }
    .testimonial-card { flex: 0 0 240px; }
    .testimonial-logo { width: 240px; height: 240px; margin-left: 0px; }
    .testimonial-review { max-width: 240px; }
}
@media (max-width: 768px) {
    .testimonials-slider .slick-slide > div {
        display: flex;
        justify-content: center;
    }
	.testimonials-slider .slick-slide {
        place-items: center;
    }
}

@media (max-width: 480px) {
    .testimonials-title { font-size: 32px; }
    .testimonials-slider { padding: 0 50px; }
    .testimonial-card { flex: 0 0 200px; }
    .testimonial-logo { width: 200px; height: 200px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 16px; }
}

.glsr-field--name,
.glsr-field-name,
[data-field="name"],
.glsr-field input[name="name"] {
    display: none !important;
}

/* Ocultar checkbox de terms */
.glsr-field--terms,
.glsr-field-terms,
[data-field="terms"] {
    display: none !important;
}

/* Centrar botón submit */

.glsr-form .wp-block-buttons {
    justify-self: center;
}

.glsr-form glsr-review-form {
	margin-top: 20px;
}
/* Hacer que las descripciones de servicios respeten los saltos de línea */
.services-description,
.service-desc,
.services-description p,
.service-desc p {
    white-space: pre-line;
}