/*
Theme Name: Venta de Grama Nicaragua
Description: Theme personalizado para Venta de Grama Nicaragua con landing page optimizada y formulario de contacto
Version: 3.2 - Con Swiper.js
Author: Venta de Grama Nicaragua
*/

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* BOTONES GLOBALES */
.btn-primary {
    background: #25D366 !important;
    color: white !important;
    padding: 18px 35px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6) !important;
    color: white !important;
    text-decoration: none !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 18px 35px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Botones WhatsApp especiales */
.btn-whatsapp {
    background: #25D366 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    display: inline-block !important;
    margin: 5px !important;
    transition: all 0.3s ease !important;
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.whatsapp-buttons {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.btn-facebook {
    background: #1877F2 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3) !important;
}

.btn-facebook:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

.section-title {
    text-align: center !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    color: #333 !important;
    margin-bottom: 20px !important;
}

.section-subtitle {
    text-align: center !important;
    font-size: 20px !important;
    color: #666 !important;
    margin-bottom: 60px !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* HEADER */
.vgn-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

.header-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.vgn-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.vgn-logo a {
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.vgn-logo a:hover {
    transform: scale(1.05) !important;
}

.logo-image { height: auto !important; width: auto !important; max-height: 90px !important; /* Ajuste sutil */ max-width: 300px !important; border-radius: 0 !important; /* Sin bordes redondeados */ }

.header-phone {
    background: #25D366 !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-phone:hover {
    transform: translateY(-2px) !important;
    color: white !important;
    text-decoration: none !important;
}

/* HERO SECTION */
.vgn-hero {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.9), rgba(76, 175, 80, 0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23228B22"/></svg>') !important;
    background-size: cover !important;
    color: white !important;
    text-align: center !important;
    padding: 150px 0 100px !important;
}

.hero-content h1 {
    font-size: 56px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    line-height: 1.1 !important;
    color: white !important;
}

.hero-subtitle {
    font-size: 24px !important;
    margin-bottom: 30px !important;
    font-weight: 300 !important;
    opacity: 0.95 !important;
    color: white !important;
}

.hero-benefits {
    display: flex !important;
    justify-content: center !important;
    gap: 40px !important;
    margin: 40px 0 !important;
    flex-wrap: wrap !important;
}

.benefit-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: white !important;
}

.benefit-icon {
    width: 24px !important;
    height: 24px !important;
    background: #FFD700 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
}

.cta-buttons {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-top: 50px !important;
    flex-wrap: wrap !important;
}

/* TIPOS DE GRAMA */
.grass-types {
    background: #f8f9fa !important;
    padding: 80px 0 !important;
}

.grass-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 20px !important;
    width: 100% !important;
}

.grass-card {
    background: white !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.grass-card:hover {
    transform: translateY(-10px) !important;
}

.grass-image-container {
    position: relative !important;
    height: 200px !important;
    border: 3px solid #2E7D32 !important;
    border-radius: 15px !important;
    margin: 15px !important;
    overflow: hidden !important;
    background: #f0f0f0 !important;
    transition: all 0.3s ease !important;
}

.grass-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.grass-image-container:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2) !important;
}

.grass-image-container:hover .grass-photo {
    transform: scale(1.05) !important;
}

.grass-content {
    padding: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
}

.grass-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2E7D32 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
}

.grass-features {
    list-style: none !important;
    margin-bottom: 15px !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

.grass-features li {
    padding: 3px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
}

.grass-features li::before {
    content: "✓" !important;
    color: #4CAF50 !important;
    font-weight: bold !important;
}

.grass-price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #2E7D32 !important;
    text-align: center !important;
    margin-top: auto !important;
    margin-bottom: 15px !important;
}

.grass-price.highlight {
    color: #FFD700 !important;
    transform: scale(1.1) !important;
}

/* ===== GALERÍA DE PROYECTOS CON SWIPER ===== */
.projects-gallery {
    background: white !important;
    padding: 80px 0 !important;
}

.projects-swiper {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
    position: relative !important;
}

.projects-swiper .swiper-slide {
    text-align: center !important;
    background: #f0f0f0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 500px !important;
}

.projects-swiper .swiper-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* Personalizar botones de navegación de Swiper */
.projects-swiper .swiper-button-next,
.projects-swiper .swiper-button-prev {
    color: #2E7D32 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    margin-top: -25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
}

.projects-swiper .swiper-button-next:after,
.projects-swiper .swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold !important;
}

.projects-swiper .swiper-button-next:hover,
.projects-swiper .swiper-button-prev:hover {
    background: #2E7D32 !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.projects-swiper .swiper-button-next {
    right: 20px !important;
}

.projects-swiper .swiper-button-prev {
    left: 20px !important;
}

/* Personalizar paginación (dots) de Swiper */
.projects-swiper .swiper-pagination {
    bottom: 20px !important;
    position: absolute !important;
}

.projects-swiper .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.7) !important;
    opacity: 1 !important;
    margin: 0 5px !important;
    transition: all 0.3s ease !important;
}

.projects-swiper .swiper-pagination-bullet-active {
    background: #2E7D32 !important;
    width: 30px !important;
    border-radius: 6px !important;
}

/* DIFERENCIADORES */
.differentiators {
    background: linear-gradient(135deg, #2E7D32, #4CAF50) !important;
    color: white !important;
    padding: 80px 0 !important;
}

.differentiators .section-title {
    color: white !important;
}

.differentiators .section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.diff-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.diff-item {
    text-align: center !important;
    padding: 25px 15px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    height: 100% !important;
    min-height: 320px !important;
}

.diff-icon {
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 15px !important;
    font-size: 30px !important;
    flex-shrink: 0 !important;
}

.diff-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: white !important;
    min-height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.diff-description {
    font-size: 14px !important;
    opacity: 0.9 !important;
    line-height: 1.5 !important;
    color: white !important;
    flex-grow: 1 !important;
    text-align: center !important;
    hyphens: auto !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* SECCIÓN DE VIDEOS DE INSTAGRAM */
.instagram-videos {
    background: #f8f9fa !important;
    padding: 80px 0 !important;
}

.videos-grid-horizontal {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.video-item-horizontal {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
}

.video-item-horizontal:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.video-item-horizontal .video-wrapper {
    position: relative !important;
    padding-bottom: 125% !important;
    background: #f0f0f0 !important;
    border-bottom: 3px solid #2E7D32 !important;
}

.video-wrapper iframe,
.video-wrapper blockquote {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.video-item-horizontal .video-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2E7D32 !important;
    padding: 12px 15px 8px !important;
    text-align: center !important;
}

.video-item-horizontal .video-description {
    font-size: 13px !important;
    color: #666 !important;
    padding: 0 15px 15px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* PROCESO */
.process {
    background: white !important;
    padding: 80px 0 !important;
}

.process-steps {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 40px !important;
}

.step {
    text-align: center !important;
}

.step-number {
    width: 60px !important;
    height: 60px !important;
    background: #2E7D32 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin: 0 auto 20px !important;
}

.step-title {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.step-description {
    color: #666 !important;
    font-size: 16px !important;
}

/* TESTIMONIOS */
.testimonials {
    background: #f8f9fa !important;
    padding: 80px 0 !important;
}

.testimonial-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
}

.testimonial {
    background: white !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}

.testimonial-item {
    background: white !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    opacity: 0 !important;
    animation: fadeInUp 0.6s ease forwards !important;
}

.testimonial-item:nth-child(1) { animation-delay: 0.1s !important; }
.testimonial-item:nth-child(2) { animation-delay: 0.2s !important; }
.testimonial-item:nth-child(3) { animation-delay: 0.3s !important; }

.testimonial-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    font-style: italic !important;
}

.testimonial-author {
    font-weight: 600 !important;
    color: #2E7D32 !important;
}

/* FORMULARIO DE CONTACTO */
.contact-form-section {
    background: white;
    padding: 80px 0;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.captcha-container {
    margin: 30px 0;
    text-align: center;
}

.form-submit-container {
    text-align: center;
    margin-top: 30px;
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

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

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

/* CTA FINAL */
.final-cta {
    background: linear-gradient(135deg, #1B5E20, #2E7D32) !important;
    color: white !important;
    text-align: center !important;
    padding: 80px 0 !important;
}

.cta-content h3 {
    font-size: 36px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    color: white !important;
}

.cta-content p {
    font-size: 20px !important;
    margin-bottom: 40px !important;
    opacity: 0.9 !important;
    color: white !important;
}

/* FOOTER */
.footer {
    background: #1B5E20 !important;
    color: white !important;
    padding: 40px 0 !important;
    text-align: center !important;
}

.footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

.footer-section h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 15px !important;
    color: white !important;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 8px !important;
    transition: color 0.3s ease !important;
}

.footer-section a:hover {
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding-top: 20px !important;
    font-size: 14px !important;
    opacity: 0.7 !important;
}

/* WHATSAPP FLOAT MEJORADO */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: #25D366 !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
    z-index: 1000 !important;
    animation: bounce 2s infinite !important;
    transition: all 0.3s ease !important;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6) !important;
}

.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.pulse {
    animation: pulse 1s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .videos-grid-horizontal {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .facebook-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px !important; }
    .hero-subtitle { font-size: 18px !important; }
    .hero-benefits { flex-direction: column !important; gap: 20px !important; }
    .cta-buttons { flex-direction: column !important; align-items: center !important; }
    .section-title { font-size: 32px !important; }
    .header-content { flex-direction: column !important; gap: 15px !important; padding: 15px 20px !important; }
    .btn-primary, .btn-secondary { padding: 15px 25px !important; font-size: 16px !important; }
    
    .grass-grid { 
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .diff-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .diff-item {
        padding: 20px 10px !important;
        min-height: 280px !important;
    }
    
    .diff-title { font-size: 16px !important; }
    .diff-description { font-size: 13px !important; }
    
    .grass-image-container { height: 150px !important; }
    .grass-title { font-size: 18px !important; }
    .grass-features li { font-size: 12px !important; }
    .grass-price { font-size: 16px !important; }
    
    .contact-form-container { padding: 30px 20px; }
    
    /* Responsive para Swiper */
    .projects-swiper .swiper-slide {
        height: 300px !important;
    }
    
    .projects-swiper .swiper-button-next,
    .projects-swiper .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    
    .projects-swiper .swiper-button-next:after,
    .projects-swiper .swiper-button-prev:after {
        font-size: 16px !important;
    }
    
    .projects-swiper .swiper-button-next {
        right: 10px !important;
    }
    
    .projects-swiper .swiper-button-prev {
        left: 10px !important;
    }
    
    .projects-swiper .swiper-pagination {
        bottom: 15px !important;
    }
    
    .videos-grid-horizontal {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .video-item-horizontal .video-title {
        font-size: 14px !important;
        padding: 10px 10px 5px !important;
    }
    
    .video-item-horizontal .video-description {
        font-size: 12px !important;
        padding: 0 10px 10px !important;
    }
}

@media (max-width: 480px) {
    .grass-grid { 
        grid-template-columns: 1fr !important;
    }
    
    .diff-grid {
        grid-template-columns: 1fr !important;
    }
    
    .header-content { 
        padding: 10px 15px !important; 
    }
    
    .logo-image { 
        max-height: 60px !important; 
    }
    
    .contact-form-container { padding: 20px 15px; }
    
    /* Responsive móvil para Swiper */
    .projects-swiper .swiper-slide {
        height: 200px !important;
    }
    
    .projects-swiper {
        border-radius: 10px !important;
    }
    
    .projects-swiper .swiper-button-next,
    .projects-swiper .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
        margin-top: -17px !important;
    }
    
    .projects-swiper .swiper-button-next:after,
    .projects-swiper .swiper-button-prev:after {
        font-size: 14px !important;
    }
    
    .projects-swiper .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
        margin: 0 3px !important;
    }
    
    .projects-swiper .swiper-pagination-bullet-active {
        width: 25px !important;
    }
    
    .videos-grid-horizontal {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .video-item-horizontal .video-wrapper {
        padding-bottom: 100% !important;
    }
    
    .whatsapp-buttons {
        flex-direction: column !important;
    }
    
    .btn-whatsapp {
        width: 100% !important;
        text-align: center !important;
    }
}

/* ===== ESTILOS PARA TESTIMONIOS EN LOOP ===== */
#testimonial-container {
    min-height: 280px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    align-items: stretch !important;
}

.testimonial {
    background: white !important;
    padding: 30px !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
}

.testimonial:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.testimonial-animated {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.testimonial-animated.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive para testimonios */
@media (max-width: 768px) {
    #testimonial-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .grass-card {
        min-height: auto !important;
    }
}

/* ===== OVERRIDE SWIPER STYLES PARA MEJOR INTEGRACIÓN ===== */
.projects-swiper .swiper-wrapper {
    align-items: center !important;
}

.projects-swiper .swiper-slide {
    overflow: hidden !important;
    border-radius: 0 !important;
}

/* Asegurar que las imágenes no se distorsionen */
.projects-swiper .swiper-slide img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-position: center !important;
}

/* Estilo para cuando Swiper está cargando */
.projects-swiper:not(.swiper-initialized) {
    opacity: 0.7 !important;
}

.projects-swiper.swiper-initialized {
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

/* Mejorar la accesibilidad de los botones */
.projects-swiper .swiper-button-next:focus,
.projects-swiper .swiper-button-prev:focus {
    outline: 2px solid #2E7D32 !important;
    outline-offset: 2px !important;
}

/* Personalizar aún más los dots */
.projects-swiper .swiper-pagination-bullet:hover {
    background: rgba(46, 125, 50, 0.7) !important;
    transform: scale(1.2) !important;
}

/* Efectos de transición suaves */
.projects-swiper {
    --swiper-theme-color: #2E7D32 !important;
    --swiper-navigation-size: 20px !important;
}
/* ===== ESTILOS PARA VIDEOS DE FACEBOOK ===== */
/* Agregar AL FINAL de tu style.css */

/* Sección de videos de Facebook */
.facebook-videos {
    background: #f8f9fa !important;
    padding: 80px 0 !important;
}

/* Grid de videos - 4 columnas */
.videos-grid-fb {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Cada item de video */
.video-item-fb {
    background: white !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease !important;
}

.video-item-fb:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Wrapper del video con aspect ratio responsivo */
.video-wrapper-fb {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 100% !important; /* Aspect ratio 1:1 para cuadrado */
    background: #f0f0f0 !important;
    border-bottom: 3px solid #1877F2 !important; /* Color Facebook */
    overflow: hidden !important;
}

/* iFrame responsivo */
.video-wrapper-fb iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

/* Título del video */
.video-item-fb .video-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1877F2 !important; /* Color Facebook */
    padding: 12px 15px 8px !important;
    text-align: center !important;
}

/* Descripción del video */
.video-item-fb .video-description {
    font-size: 13px !important;
    color: #666 !important;
    padding: 0 15px 15px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* Botón de Facebook */
.btn-facebook {
    background: #1877F2 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3) !important;
}

.btn-facebook:hover {
    background: #166FE5 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.4) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Animación de entrada */
.video-item-fb {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

/* ===== RESPONSIVE PARA VIDEOS DE FACEBOOK ===== */

/* Tablets - 2 columnas */
@media (max-width: 1024px) {
    .videos-grid-fb {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }
}

/* Móviles grandes - 2 columnas */
@media (max-width: 768px) {
    .videos-grid-fb {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .video-item-fb .video-title {
        font-size: 14px !important;
        padding: 10px 10px 5px !important;
    }
    
    .video-item-fb .video-description {
        font-size: 12px !important;
        padding: 0 10px 10px !important;
    }
    
    .btn-facebook {
        font-size: 16px !important;
        padding: 12px 24px !important;
    }
    
    .facebook-videos {
        padding: 60px 0 !important;
    }
}

/* Móviles pequeños - 1 columna */
@media (max-width: 480px) {
    .videos-grid-fb {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px !important;
    }
    
    .video-wrapper-fb {
        padding-bottom: 75% !important; /* Aspect ratio más rectangular para móvil */
    }
    
    .video-item-fb .video-title {
        font-size: 16px !important;
        padding: 12px 15px 8px !important;
    }
    
    .video-item-fb .video-description {
        font-size: 13px !important;
        padding: 0 15px 15px !important;
    }
    
    .btn-facebook {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
}

/* Optimización para carga de videos */
.video-wrapper-fb::before {
    content: "📹 Cargando video...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #999;
    font-size: 14px;
    z-index: 0;
}

.video-wrapper-fb iframe {
    z-index: 1;
    background: white;
}

/* Mejora visual para los bordes */
.video-item-fb {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.video-item-fb:hover {
    border-color: rgba(24, 119, 242, 0.2) !important;
}

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