/*
Custom Css
*/

/* Top nav that hides on scroll down */
#templatemo_nav_top {
    position: fixed;
    top: 0;
    z-index: 1001;
    transition: transform 0.3s ease;
    width: 100%;
    margin-bottom: 0;
    border-bottom: none;
    min-height: 35px; /* Reduced from 40px */
}

/* Fixed navbar - positioned directly below top nav when visible */
.navbar.navbar-expand-lg.navbar-light.shadow {
    position: fixed;
    top: 35px; /* Adjusted to match reduced top nav height */
    width: 100%;
    z-index: 1000;
    background-color: white;
    transition: top 0.3s ease;
    margin-top: 0;
    border-top: none;
    padding: 0.25rem 0; /* Reduced padding */
    min-height: 45px; /* Reduced minimum height */
}

/* When top nav is hidden, move main navbar to top */
.navbar-main-top {
    top: 0 !important;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 95px; /* Adjusted for thinner navbar */
}

/* When top nav is hidden, reduce body padding */
.body-nav-top {
    padding-top: 50px !important; /* Adjusted for new navbar height */
}

/* Fixed navbar - positioned directly below top nav when visible */
.navbar.navbar-expand-lg.navbar-light.shadow {
    position: fixed;
    top: 40px; /* Reduced from 45px */
    width: 100%;
    z-index: 1000;
    background-color: white;
    transition: top 0.3s ease;
    margin-top: 0;
    border-top: none;
    padding: 0.25rem 0; /* Reduced padding */
    min-height: 45px; /* Reduced minimum height */
}

/* Mobile specific styles */
@media (max-width: 991.98px) {
    /* Hide top nav on mobile */
    #templatemo_nav_top {
        display: none;
    }
    
    /* Main navbar at top on mobile */
    .navbar.navbar-expand-lg.navbar-light.shadow {
        top: 0;
    }
    
    /* Reduce body padding on mobile */
    body {
        padding-top: 45px; /* Adjusted for thinner navbar */
    }
    
    .body-nav-top {
        padding-top: 45px !important;
    }
    
    /* Center logo and menu on mobile */
    .navbar-brand {
        margin: 0 auto;
        display: block;
        text-align: center;
    }
    
    .navbar-collapse {
        text-align: center;
        margin-top: 20px;
    }
    
    .navbar-nav {
        justify-content: center !important;
        align-items: center;
    }
    
    .nav-item {
        text-align: center;
        margin: 5px 0;
    }
    
    /* Center the navbar content on mobile */
    .navbar .container {
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    /* Adjust toggle button position */
    .navbar-toggler {
        position: absolute;
        right: 15px;
        top: 15px;
    }
    
    /* Make sure language toggle is visible on mobile */
    .language-toggle {
        order: -1;
        margin-bottom: 10px;
    }
    
    /* Center navigation icons on mobile */
    .navbar .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.navbar-hide {
    transform: translateY(-100%);
}

/* Follajes Herrera Typography */
.footer-brand {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-size: 1.8rem !important;
    text-transform: uppercase;
    background: linear-gradient(45deg, #198754, #146c43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none !important;
}

/* Enhanced text readability */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Better contrast for headings */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

/* Improved banner text contrast */
.carousel-item .text-align-left {
    color: #2c3e50;
}

.carousel-item .text-align-left p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Enhanced footer text visibility */
.footer-link-list a {
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: #198754 !important;
}

/* Better button visibility */
.btn-success {
    background-color: #198754;
    border-color: #198754;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success:hover {
    background-color: #146c43;
    border-color: #146c43;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Language toggle switch - Neumorphic luxury design */
.toggle-container {
    position: relative;
    display: inline-block;
    padding: 4px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    display: block;
    width: 80px;
    height: 40px;
    background: linear-gradient(145deg, #7cef8f, #588d52);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        8px 8px 16px rgba(163, 177, 198, 0.6),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(163, 177, 198, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 32px;
    background: linear-gradient(145deg, #198754, #146c43);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        4px 4px 8px rgba(163, 177, 198, 0.4),
        -4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-text {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.toggle-text.left {
    left: 12px;
    opacity: 1;
}

.toggle-text.right {
    right: 12px;
    opacity: 0.5;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.8), 0 0 2px rgba(255, 255, 255, 0.3);
}

.toggle-checkbox:checked + .toggle-label {
    background: linear-gradient(145deg, #289965, #9acb9a);
    box-shadow: 
        8px 8px 16px rgba(163, 177, 198, 0.4),
        -8px -8px 16px rgba(255, 255, 255, 0.9),
        inset 4px 4px 8px rgba(25, 135, 84, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.toggle-checkbox:checked + .toggle-label .toggle-slider {
    transform: translateX(40px);
    background: linear-gradient(145deg, #198754, #146c43);
    box-shadow: 
        -4px 4px 8px rgba(163, 177, 198, 0.4),
        4px -4px 8px rgba(255, 255, 255, 0.9),
        inset 1px 1px 2px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-checkbox:checked + .toggle-label .toggle-text.left {
    opacity: 0.5;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.8), 0 0 2px rgba(255, 255, 255, 0.3);
}

.toggle-checkbox:checked + .toggle-label .toggle-text.right {
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.toggle-label:hover {
    transform: translateY(-1px);
    box-shadow: 
        10px 10px 20px rgba(163, 177, 198, 0.6),
        -10px -10px 20px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(163, 177, 198, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

/* Enhanced footer text visibility */
.footer-logo-alt {
    font-family: 'Montserrat', 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    font-size: 2.8rem !important;
    text-transform: uppercase;
    color: #ffffff !important;
    text-shadow: 
        0 0 10px rgba(25, 135, 84, 0.5),
        2px 2px 4px rgba(0,0,0,0.8) !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    margin-bottom: 1rem;
    line-height: 1.1;
    border-bottom: 3px solid #198754 !important;
}

/* Enhanced footer link visibility */
.footer-link-list a {
    color: #f8f9fa !important;
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: #198754 !important;
}

/* Better contrast for footer text */
.footer-link-list li {
    color: #f8f9fa !important;
}

/* Enhanced text readability */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Better contrast for headings */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50;
    font-weight: 600;
}

/* Enhanced banner text contrast */
.carousel-item .text-align-left {
    color: #2c3e50;
}

.carousel-item .text-align-left p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Better button visibility */
.btn-success {
    background-color: #198754;
    border-color: #198754;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success:hover {
    background-color: #146c43;
    border-color: #146c43;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(25, 135, 84, 0.3);
}

/* Animación de zoom para parallax */
@keyframes zoomIn {
    0% {
        background-size: 110% auto;
    }
    100% {
        background-size: 120% auto;
    }
}

/* Botón Glass de Lujo */
.btn-glass-luxury:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Optimización móvil para sección Nuestros Productos */
@media (max-width: 768px) {
    /* Sección de productos en móvil */
    section[style*="back.png"] {
        min-height: 100vh !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 97vw !important;
        margin-left: 0 !important;
        background-size: cover !important;
        background-position: center !important;
        background-attachment: scroll !important;
        animation: none !important;
    }

    /* Container glass en móvil */
    section[style*="back.png"] .container {
        padding: 15px !important;
        margin: 10px !important;
        border-radius: 15px !important;
        max-width: 95% !important;
        background: rgb(20 90 20 / 62%) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }

    /* Título principal en móvil */
    section[style*="back.png"] .h1 {
        font-size: 1.8em !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }

    /* Párrafo descriptivo en móvil */
    section[style*="back.png"] p {
        font-size: 1em !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
    }

    /* Imágenes de productos - cuadradas y centradas */
    section[style*="back.png"] .product-category-img {
        width: 300px !important;
        height: 300px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Columnas de productos en móvil */
    section[style*="back.png"] .col-12.col-md-4 {
        padding: 1rem 0.5rem !important;
        text-align: center !important;
    }

    /* Títulos de productos en móvil */
    section[style*="back.png"] .col-12.col-md-4 h5,
    section[style*="back.png"] .col-12.col-md-4 .h5 {
        font-size: 1.1em !important;
        margin-top: 10px !important;
        margin-bottom: 5px !important;
        font-weight: 600 !important;
    }

    /* Botón principal en móvil */
    section[style*="back.png"] .btn-glass-luxury {
        padding: 10px 25px !important;
        font-size: 1em !important;
        margin-top: 10px !important;
        width: auto !important;
        max-width: 280px !important;
    }

    /* Ajuste de filas en móvil */
    section[style*="back.png"] .row {
        margin: 0 !important;
    }

    /* Ajuste del contenedor de texto */
    section[style*="back.png"] .col-lg-8 {
        padding: 0 10px !important;
    }

    /* Optimización de Hero Carousel para móvil */
    .carousel-item {
        min-height: 100vh !important;
        height: 100vh !important;
    }

    /* Primera slide - Solo mostrar contenido HERRERA en móvil */
    .hero-slide-bg .col-lg-6:first-child {
        display: none !important;
    }

    .hero-slide-bg .col-lg-6:last-child {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-slide-bg .container-fluid {
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-slide-bg .row {
        height: auto !important;
    }

    /* Agregar título completo en la sección de Herrera para móvil */
    .hero-slide-bg .hero-glassmorphic::before {
        content: "FOLLAJES HERRERA";
        display: block;
        font-size: 1.5em !important;
        font-weight: 900;
        text-align: center;
        color: #ffffff;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
        margin-bottom: 15px;
        letter-spacing: 1px;
        font-family: 'Montserrat', 'Playfair Display', serif;
        line-height: 1.2;
        padding-top: 0;
        position: relative;
        top: 0;
    }

    /* Ajustar contenedor glassmorphic en móvil */
    .hero-glassmorphic {
        padding: 15px !important;
        margin: 0 10px !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: auto !important;
        max-height: fit-content !important;
    }

    /* Contenedor de texto centrado debajo del título */
    .hero-text-container {
        text-align: center;
        width: 100%;
    }

    /* Ocultar título HERRERA original en móvil ya que tenemos el completo */
    .hero-slide-bg .hero-title-herrera {
        display: none !important;
    }

    /* Ajustar subtítulo y descripción */
    .hero-slide-bg .hero-subtitle {
        font-size: 1em !important;
        margin-bottom: 10px !important;
        text-align: center;
        line-height: 1.3 !important;
    }

    .hero-slide-bg .hero-description {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
        text-align: center;
        padding: 0 5px;
    }

    /* Segunda slide - Hero Premium */
    .hero-slide-premium {
        min-height: 100vh !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-premium-container {
        padding: 15px !important;
        margin: 0 10px !important;
    }

    .hero-premium-left {
        padding: 20px 15px !important;
    }

    .hero-premium-title {
        font-size: 1.8em !important;
        margin-bottom: 10px !important;
    }

    .hero-premium-subtitle {
        font-size: 1em !important;
        margin-bottom: 10px !important;
    }

    .hero-premium-description {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
        padding: 0 5px;
    }

    .hero-premium-cta {
        font-size: 0.9em !important;
        padding: 10px 20px !important;
        margin-top: 15px !important;
    }

    /* Tercera slide - Hero Premium Third */
    .hero-slide-premium-third {
        min-height: 100vh !important;
        height: 100vh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-premium-container-third {
        padding: 15px !important;
        margin: 0 10px !important;
    }

    .hero-premium-left-third {
        padding: 20px 15px !important;
    }

    .hero-premium-title-third {
        font-size: 1.8em !important;
        margin-bottom: 10px !important;
    }

    .hero-premium-subtitle-third {
        font-size: 1em !important;
        margin-bottom: 10px !important;
    }

    .hero-premium-description-third {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
        padding: 0 5px;
    }
}

/* ====================================
   FOOTER MINIMALISTA
   ==================================== */
#tempaltemo_footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

#tempaltemo_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(25, 135, 84, 0.5) 50%, 
        transparent 100%);
}

/* Footer Logo */
.footer-logo-alt {
    font-size: 1.75rem !important;
    letter-spacing: 1px !important;
    color: #198754 !important;
    border-bottom: 2px solid rgba(25, 135, 84, 0.3) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Footer Headings */
#tempaltemo_footer h2.h5 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Links */
.footer-link-list {
    padding-left: 0;
}

.footer-link-list li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link-list li:hover {
    transform: translateX(5px);
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link-list a:hover {
    color: #198754 !important;
}

.footer-link-list i {
    color: #198754;
    margin-right: 8px;
    font-size: 0.9rem;
}

/* Footer Social Icons */
.footer-icons {
    margin-bottom: 0;
    padding-left: 0;
}

.footer-icons li {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.footer-icons li:hover {
    background: #198754;
    border-color: #198754 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.footer-icons li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-icons li:hover a {
    color: #fff !important;
}

/* Footer Copyright */
#tempaltemo_footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-logo-alt {
        font-size: 1.5rem !important;
        text-align: center;
    }

    .footer-description {
        text-align: center;
        margin-bottom: 2rem;
    }

    #tempaltemo_footer h2.h5 {
        text-align: center;
        margin-top: 1.5rem;
    }

    .footer-link-list {
        text-align: center;
    }

    .footer-icons {
        justify-content: center;
        margin-bottom: 1rem;
    }

    #tempaltemo_footer .text-md-end {
        text-align: center !important;
    }
}

/* ====================================
   SECCIÓN NUESTRAS FINCAS
   ==================================== */
.farms-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.farms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(25, 135, 84, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(25, 135, 84, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.farms-section .container {
    position: relative;
    z-index: 1;
}

.farms-section h1 {
    color: #2c3e50;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.farms-section h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #198754, transparent);
}

/* Tarjetas de Fincas */
.farms-section .card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.farms-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2);
}

.farms-section .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.farms-section .card:hover .card-img-top {
    transform: scale(1.1);
}

.farms-section .card-body {
    padding: 1.5rem;
    position: relative;
}

.farms-section .card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #198754, #20c997);
}

.farms-section .card-body .h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.farms-section .card:hover .card-body .h2 {
    color: #20c997;
}

.farms-section .card-text {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.farms-section .text-muted {
    font-size: 0.9rem;
    color: #198754 !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.farms-section .text-muted::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    color: #198754;
}

/* Responsive */
@media (max-width: 768px) {
    .farms-section .card-img-top {
        height: 200px;
    }
    
    .farms-section h1::after {
        width: 60px;
    }
}

/* ====================================
   BOTÓN FLOTANTE DE WHATSAPP
   ==================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

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

/* Animación de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

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

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

/* ====================================
   COIN FLIP SLIDER - PRODUCTOS MÓVIL
   ==================================== */

/* Ocultar slider móvil en desktop */
.products-mobile-slider {
    display: none;
}

/* Mostrar vista desktop por defecto */
.products-desktop {
    display: flex;
}

/* Activar slider móvil en pantallas pequeñas */
@media (max-width: 767px) {
    .products-desktop {
        display: none;
    }
    
    .products-mobile-slider {
        display: block;
        padding: 20px 0;
    }
}

/* Contenedor del slider con perspectiva 3D */
.coin-flip-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 400px;
    margin: 0 auto;
    perspective: 2000px;
    perspective-origin: center;
}

/* Tarjeta individual */
.coin-flip-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    opacity: 0;
    pointer-events: none;
    transition: none;
}

/* Tarjeta activa */
.coin-flip-card.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Tarjeta que está saliendo */
.coin-flip-card.flipping-out {
    animation: coinFlipOut 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 5;
}

/* Tarjeta que está entrando */
.coin-flip-card.flipping-in {
    animation: coinFlipIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    z-index: 15;
}

/* Contenedor interno con transformación 3D */
.coin-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Cara frontal - Efecto de moneda con grosor */
.coin-flip-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    transform-style: preserve-3d;
}

/* Contenedor de la imagen con efecto de moneda */
.coin-flip-front img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    position: relative;
    transform-style: preserve-3d;
    /* Borde tipo moneda con múltiples capas */
    box-shadow: 
        /* Borde dorado exterior */
        0 0 0 4px rgba(255, 215, 0, 0.8),
        0 0 0 6px rgba(218, 165, 32, 0.7),
        0 0 0 8px rgba(255, 215, 0, 0.6),
        /* Efecto de grosor lateral */
        -2px -2px 0 8px rgba(184, 134, 11, 0.4),
        2px 2px 0 8px rgba(255, 223, 0, 0.3),
        /* Sombras de profundidad */
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        /* Brillo superior */
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

/* Efecto hover en la imagen */
.coin-flip-card.active .coin-flip-front img:hover {
    box-shadow: 
        0 0 0 4px rgba(255, 215, 0, 1),
        0 0 0 6px rgba(218, 165, 32, 0.9),
        0 0 0 8px rgba(255, 215, 0, 0.8),
        -2px -2px 0 8px rgba(184, 134, 11, 0.6),
        2px 2px 0 8px rgba(255, 223, 0, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.4),
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        /* Resplandor dorado */
        0 0 30px rgba(255, 215, 0, 0.4);
}

/* Animación de salida - rotación tipo moneda más fluida */
@keyframes coinFlipOut {
    0% {
        transform: rotateY(0deg) scale(1) translateZ(0);
        opacity: 1;
        filter: brightness(1);
    }
    25% {
        transform: rotateY(45deg) scale(0.95) translateZ(20px);
        opacity: 0.9;
        filter: brightness(1.1);
    }
    50% {
        transform: rotateY(90deg) scale(0.85) translateZ(30px);
        opacity: 0.6;
        filter: brightness(1.2);
    }
    75% {
        transform: rotateY(135deg) scale(0.75) translateZ(20px);
        opacity: 0.3;
        filter: brightness(1.1);
    }
    100% {
        transform: rotateY(180deg) scale(0.6) translateZ(0);
        opacity: 0;
        filter: brightness(1);
    }
}

/* Animación de entrada - rotación tipo moneda más fluida */
@keyframes coinFlipIn {
    0% {
        transform: rotateY(-180deg) scale(0.6) translateZ(0);
        opacity: 0;
        filter: brightness(1);
    }
    25% {
        transform: rotateY(-135deg) scale(0.75) translateZ(20px);
        opacity: 0.3;
        filter: brightness(1.1);
    }
    50% {
        transform: rotateY(-90deg) scale(0.85) translateZ(30px);
        opacity: 0.6;
        filter: brightness(1.2);
    }
    75% {
        transform: rotateY(-45deg) scale(0.95) translateZ(20px);
        opacity: 0.9;
        filter: brightness(1.1);
    }
    100% {
        transform: rotateY(0deg) scale(1) translateZ(0);
        opacity: 1;
        filter: brightness(1);
    }
}

/* Indicadores del slider */
.coin-flip-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    padding: 10px 0;
}

.coin-flip-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.coin-flip-indicators .indicator:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.5);
}

.coin-flip-indicators .indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

/* Efecto de resplandor en la tarjeta activa */
.coin-flip-card.active .coin-flip-front {
    animation: cardGlow 3s ease-in-out infinite;
}

@keyframes cardGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.5));
    }
}

/* Efecto de reflejo metálico en el título */
.coin-flip-front h5 {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 1) 25%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 1) 75%,
        rgba(255, 255, 255, 0.9) 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .coin-flip-container {
        max-width: 280px;
        height: 360px;
    }
    
    .coin-flip-front img {
        width: 220px;
        height: 220px;
    }
    
    .coin-flip-front h5 {
        font-size: 1.1rem !important;
    }
}


/* ===========================
   Product Cards Premium Styles
   =========================== */

.product-wap {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #e8e8e8 !important;
    overflow: hidden;
}

.product-wap:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
    border-color: #59ab6e !important;
}

.product-wap .card-img-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-wap:hover .card-img-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.product-wap .card-body {
    padding: 1.5rem;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.product-wap .card-body a {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.product-wap .card-body a:hover {
    color: #59ab6e;
}

.product-wap img {
    transition: transform 0.5s ease;
}

.product-wap:hover img {
    transform: scale(1.08);
}

.product-overlay .btn {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-wap:hover .product-overlay .btn {
    transform: translateY(0);
    opacity: 1;
}

.product-overlay .btn:nth-child(1) {
    transition-delay: 0.1s;
}

.product-overlay .btn:nth-child(2) {
    transition-delay: 0.2s;
}

.product-overlay .btn-success {
    background: linear-gradient(135deg, #59ab6e 0%, #4a9d5f 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(89, 171, 110, 0.4);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-overlay .btn-success:hover {
    background: linear-gradient(135deg, #4a9d5f 0%, #3a8d4f 100%);
    box-shadow: 0 6px 20px rgba(89, 171, 110, 0.6);
    transform: scale(1.1);
}


/* ===========================
   Product Details Styles
   =========================== */

.product-name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: block !important;
}

.product-scientific-name {
    font-size: 0.95rem;
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 1rem;
    font-weight: 400;
    text-align: center;
}

.product-sizes-container {
    text-align: center;
    padding: 0.75rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.sizes-label {
    display: block;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.sizes-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.product-size {
    display: inline-block;
    background: linear-gradient(135deg, #59ab6e 0%, #4a9d5f 100%);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(89, 171, 110, 0.3);
    transition: all 0.3s ease;
}

.product-size:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(89, 171, 110, 0.5);
    background: linear-gradient(135deg, #4a9d5f 0%, #3a8d4f 100%);
}

.product-wap .card-body {
    padding: 1.5rem 1.25rem !important;
}

/* ===========================
   Mobile Responsive Styles
   =========================== */

/* Tablets y móviles grandes */
@media (max-width: 992px) {
    .product-name {
        font-size: 1.15rem !important;
    }
    
    .product-scientific-name {
        font-size: 0.9rem;
    }
}

/* Móviles */
@media (max-width: 768px) {
    /* Productos en una columna en móvil para mejor visualización */
    #products-container .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .product-wap {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        height: auto;
    }
    
    /* Reducir altura de la imagen para que todo quepa en pantalla */
    .product-wap .card img {
        max-height: 200px;
        object-fit: contain;
        width: 100%;
    }
    
    /* Agrandar títulos */
    .product-name {
        font-size: 1.5rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .product-scientific-name {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    /* Ajustar badges */
    .product-size {
        font-size: 1rem;
        padding: 0.4rem 0.7rem;
        min-width: 42px;
        font-weight: 700;
    }
    
    .sizes-wrapper {
        gap: 0.4rem;
    }
    
    /* Reducir padding del card body */
    .product-wap .card-body {
        padding: 1rem 1rem !important;
    }
    
    .product-sizes-container {
        padding: 0.5rem 0;
        margin-top: 0.3rem;
    }
    
    /* Ajustar overlay buttons */
    .product-overlay .btn-success {
        width: 40px;
        height: 40px;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    /* Imagen aún más pequeña en pantallas muy pequeñas */
    .product-wap .card img {
        max-height: 410px;
    }
    
    .product-name {
        font-size: 1.4rem !important;
    }
    
    .product-scientific-name {
        font-size: 1.05rem;
    }
    
    .product-size {
        font-size: 0.95rem;
        padding: 0.35rem 0.65rem;
    }
    
    .product-wap .card-body {
        padding: 0.9rem 0.8rem !important;
    }
}

/* Móviles muy pequeños (iPhone SE, etc.) */
@media (max-width: 400px) {
    .product-wap .card img {
        max-height: 160px;
    }
    
    .product-name {
        font-size: 1.3rem !important;
    }
    
    .product-scientific-name {
        font-size: 1rem;
    }
    
    .product-size {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
        min-width: 38px;
    }
}

/* ===========================
   Navbar Mobile Adjustments
   =========================== */

/* Ocultar buscador en menú móvil */
@media (max-width: 991px) {
    #inputMobileSearch {
        display: none !important;
    }
    
    .d-lg-none.flex-sm-fill {
        display: none !important;
    }
}


/* ===========================
   Shop Single - Product Detail Images
   =========================== */

/* Contenedor del carrusel y la imagen principal */
.product-detail-carousel {
    max-height: 70vh;
    overflow: hidden;
}

.product-detail-carousel .carousel-inner,
.product-detail-carousel .carousel-item {
    height: 70vh;
}

.product-detail-carousel img {
    width: 100%;
    height: 65vh;
    object-fit: contain;
    object-position: center;
}

/* Comprimir sección de detalles */
.product-detail-info {
    padding: 1.25rem 1.75rem !important;
}

.product-detail-info h1 {
    font-size: 1.85rem !important;
    margin-bottom: 0.4rem !important;
    font-weight: 700 !important;
}

.product-detail-info h6 {
    font-size: 1.1rem !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.6rem !important;
    font-weight: 600 !important;
}

.product-detail-info p {
    font-size: 1.05rem !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.6 !important;
}

.product-detail-info ul {
    padding-bottom: 0.4rem !important;
    margin-bottom: 0.8rem !important;
}

.product-detail-info ul li {
    font-size: 1rem !important;
    padding: 0.2rem 0 !important;
    line-height: 1.5 !important;
}

/* Botón de Cotizar */
.btn-cotizar {
    background: linear-gradient(135deg, #59ab6e 0%, #4a9d5f 100%);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(89, 171, 110, 0.3);
    width: 100%;
}

.btn-cotizar:hover {
    background: linear-gradient(135deg, #4a9d5f 0%, #3a8d4f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(89, 171, 110, 0.4);
    color: white;
}

/* Responsive para m�vil */
@media (max-width: 768px) {
    .product-detail-carousel {
        max-height: 50vh;
    }
    
    .product-detail-carousel .carousel-inner,
    .product-detail-carousel .carousel-item {
        height: 50vh;
    }
    
    .product-detail-carousel img {
        height: 50vh;
    }
    
    .product-detail-info {
        padding: 0.75rem 1rem !important;
    }
    
    .product-detail-info h1 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .product-detail-carousel {
        max-height: 40vh;
    }
    
    .product-detail-carousel .carousel-inner,
    .product-detail-carousel .carousel-item {
        height: 40vh;
    }
    
    .product-detail-carousel img {
        height: 40vh;
    }
}


/* ===========================
   Related Products Section (Slider)
   =========================== */

#carousel-related-product .product-wap {
    transition: all 0.3s ease;
    margin: 0 5px;
}

#carousel-related-product .product-wap:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

#carousel-related-product .product-name {
    font-size: 1.1rem !important;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}

#carousel-related-product .product-scientific-name {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

#carousel-related-product .product-size {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    margin: 0 0.15rem;
}

/* Estilo de los dots del slider */
#carousel-related-product .slick-dots {
    bottom: -45px;
}

#carousel-related-product .slick-dots li button:before {
    font-size: 12px;
    color: #59ab6e;
}

#carousel-related-product .slick-dots li.slick-active button:before {
    color: #59ab6e;
    opacity: 1;
}


/* ===========================
   Shop Single - Detalles Comprimidos
   =========================== */

/* Comprimir solo el card-body de detalles del producto */
.product-detail-info .card-body {
    padding: 1rem 1.5rem 0.5rem 1.5rem !important;
}

.product-detail-info .list-inline {
    margin-bottom: 0.5rem !important;
}

.product-detail-info .list-inline-item {
    margin-bottom: 0.3rem !important;
}

.product-detail-info form .row {
    margin-bottom: 0.5rem !important;
}

.product-detail-info h6 {
    margin-top: 0.75rem !important;
    margin-bottom: 0.4rem !important;
}

.product-detail-info p {
    margin-bottom: 0.5rem !important;
}

.product-detail-info ul.list-unstyled {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.3rem !important;
}

.product-detail-info ul.list-unstyled li {
    padding: 0.1rem 0 !important;
}

/* Reducir espacio del bot\u00f3n de cotizar */
.product-detail-info .btn-cotizar {
    margin-top: 0.5rem !important;
}


/* ===========================
   Miniaturas - Adaptaci\u00f3n a Im�genes Verticales
   =========================== */

/* Contenedor de miniaturas m�s compacto */
.product-links-wap .row {
    margin-left: -5px !important;
    margin-right: -5px !important;
    justify-content: center;
}

.product-links-wap .col-4 {
    padding-left: 5px !important;
    padding-right: 5px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 120px;
}

.product-links-wap .col-4 a {
    display: block;
    height: 100%;
}

.product-links-wap img {
    width: 100% !important;
    height: auto !important;
    max-height: 120px;
    object-fit: contain;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-links-wap img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: #59ab6e;
}

.product-links-wap img.active {
    border-color: #59ab6e;
    box-shadow: 0 4px 12px rgba(89, 171, 110, 0.4);
}

@media (max-width: 768px) {
    .product-links-wap .col-4 {
        max-width: 90px;
    }
    
    .product-links-wap img {
        max-height: 90px;
    }
}


/* ===========================
   About Page Styles
   =========================== */

/* Hover lift effect for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

/* About hero section animations */
.about-hero-section {
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 1440 320\"><path fill=\"%23ffffff\" fill-opacity=\"0.1\" d=\"M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z\"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

/* Team cards with improved styling */
.team-card-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #59ab6e;
    margin-bottom: 1rem;
}

/* Values section icons */
.values-icon {
    font-size: 2.5rem;
    color: #59ab6e;
    transition: all 0.3s ease;
}

.values-icon:hover {
    transform: scale(1.2) rotate(10deg);
    color: #4a9d5f;
}

/* Facility cards hover effect */
.card .fa-leaf,
.card .fa-home,
.card .fa-box,
.card .fa-flask,
.card .fa-user-tie {
    transition: all 0.3s ease;
}

.card:hover .fa-leaf,
.card:hover .fa-home,
.card:hover .fa-box,
.card:hover .fa-flask,
.card:hover .fa-user-tie {
    transform: scale(1.1);
    color: #4a9d5f !important;
}

/* Smooth animations for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Story section image effects */
.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.story-image img {
    transition: transform 0.5s ease;
}

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

/* Background gradient for values section */
.values-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero-section {
        padding: 60px 0 !important;
    }
    
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
}

/* Custom scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Professional shadow effects */
.shadow-professional {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-professional:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}


/* ===========================
   Glass Container Effect
   =========================== */

.glass-container {
    background: rgb(255 255 255 / 58%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: all 0.3s ease;
}

.glass-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.3);
}

.glass-container img {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.glass-container:hover img {
    transform: scale(1.05);
}

/* ===========================
   History Slider Styles
   =========================== */

.history-slider-container {
    position: relative;
}

.history-slider {
    border-radius: 10px;
    overflow: hidden;
}

.history-slider .slick-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.history-slider .slick-prev,
.history-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(89, 171, 110, 0.3);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    opacity: 0.4;
}

.history-slider .slick-prev {
    left: 20px;
}

.history-slider .slick-next {
    right: 20px;
}

.history-slider .slick-prev:hover,
.history-slider .slick-next:hover {
    background: rgba(89, 171, 110, 0.7);
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.history-slider .slick-dots {
    bottom: 20px;
    z-index: 100;
}

.history-slider .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.5;
}

.history-slider .slick-dots li.slick-active button:before {
    color: #59ab6e;
    opacity: 1;
}

/* Smooth fade transition */
.history-slider .slick-slide {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.history-slider .slick-slide.slick-active {
    opacity: 1;
}

/* ===========================
   Team Member Images
   =========================== */

.team-member-img {
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(89, 171, 110, 0.3);
}

/* ===========================
   Responsive Adjustments
   =========================== */

@media (max-width: 768px) {
    .glass-container {
        padding: 1.5rem;
    }
    
    .history-slider .slick-slide img {
        height: 300px;
    }
    
    .history-slider .slick-prev,
    .history-slider .slick-next {
        width: 30px;
        height: 30px;
    }
    
    .history-slider .slick-prev {
        left: 10px;
    }
    
    .history-slider .slick-next {
        right: 10px;
    }
}

/* ===============================================
   FACILITIES SECTION - Instalaciones
   =============================================== */

.facility-item {
    margin-bottom: 4rem !important;
    animation: fadeInUp 0.8s ease-out;
}

.facility-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.facility-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.facility-image-container img {
    transition: transform 0.5s ease;
}

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

/* Overlay removido - solo queda el zoom sutil de la imagen */

.facility-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-badge i {
    color: #59ab6e;
    font-size: 1.5rem;
}

.facility-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

/* Responsive adjustments for facilities */
@media (max-width: 768px) {
    .facility-item {
        margin-bottom: 3rem !important;
        flex-direction: column !important;
    }
    
    .facility-item .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    /* En móvil, imagen siempre arriba, texto abajo */
    .facility-image-col {
        order: -1 !important;
    }
    
    .facility-text-col {
        order: 1 !important;
    }
    
    .facility-image-container img {
        height: 250px !important;
    }
}

/* ===============================================
   VALUES SECTION - Neumorphic Circles
   =============================================== */

.neumorphic-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow:
        8px 8px 16px #d1d9e6,
        -8px -8px 16px #ffffff;
    border: 1px solid #e6e6e6;
    transition: all 0.3s ease;
}

.neumorphic-circle:hover {
    box-shadow:
        12px 12px 24px #c8d0e7,
        -12px -12px 24px #ffffff,
        inset 2px 2px 4px rgba(255, 255, 255, 0.8),
        inset -2px -2px 4px rgba(193, 193, 193, 0.2);
    transform: translateY(-2px);
}

/* Responsive adjustments for neumorphic circles */
@media (max-width: 768px) {
    .neumorphic-circle {
        width: 70px;
        height: 70px;
    }
    
    .neumorphic-circle i {
        font-size: 1.8rem !important;
    }
}

/* ===============================================
   GLASS CONTAINER TEXT - Historia
   =============================================== */

.glass-container-text {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: all 0.3s ease;
}

.glass-container-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(31, 38, 135, 0.3);
}

/* Responsive adjustments for glass container text */
@media (max-width: 768px) {
    .glass-container-text {
        padding: 1.5rem;
        border-radius: 15px;
    }
}

/* ===============================================
   MOBILE RESPONSIVE HIDES
   =============================================== */

/* Ocultar iconos del navbar en desktop y móvil */
.navbar-icons .nav-icon {
    display: none !important;
}

/* Mantener solo el toggle de idioma en todas las pantallas */
.navbar-icons .language-toggle {
    display: block !important;
}

/* ===============================================
   TEAM SECTION - Cards Mejoradas
   =============================================== */

.team-card {
    border-radius: 15px !important;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(89, 171, 110, 0.2);
}

.team-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-member-img {
    transition: transform 0.4s ease;
    filter: brightness(1.05) contrast(1.05);
}

.team-card:hover .team-member-img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1) saturate(1.1);
}

.team-card .card-body {
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.team-card .card-title {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-card .text-success {
    color: #59ab6e !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
}

.team-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive adjustments for team cards */
@media (max-width: 768px) {
    .team-card {
        margin-bottom: 2rem;
    }

    .team-member-img {
        height: 220px !important;
    }

    .team-card .card-body {
        padding: 1.25rem !important;
    }

    .team-card .card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .team-member-img {
        height: 180px !important;
    }
}

/* Ocultar badge de experiencia en móvil */
@media (max-width: 768px) {
    .experience-badge {
        display: none !important;
    }
}

/* ========================================
   CONTACT PAGE LUXURY STYLES
   ======================================== */

/* Hero Map Section */
.hero-map-section {
    margin-top: -20px;
    overflow: hidden;
}

.map-container {
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-overlay {
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Contact Directory Section */
.contact-directory-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact-directory-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-card:hover::before {
    left: 100%;
}

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

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

/* Contact Icons */
.contact-icon {
    position: relative;
    display: inline-block;
}

.contact-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 0.3s ease;
}

.contact-card:hover .contact-icon::after {
    width: 60px;
}

/* Buttons */
.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Additional Info Section */
.additional-info {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

/* Business Hours */
.business-hours {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

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

.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-map-section {
        margin-top: 0;
    }

    .map-overlay {
        top: 20px !important;
        transform: translateX(-50%) !important;
        width: 90%;
    }

    .contact-card {
        margin-bottom: 20px;
    }

    .business-hours {
        margin-top: 20px;
    }
}

/* Luxury Typography */
.display-4 {
    font-weight: 300;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Card Titles */
.card-title {
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Gradient Backgrounds */
.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Shadow Effects */
.shadow-sm {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

