/* ===== IMPORTAR FUENTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ===== RESET Y VARIABLES ===== */
:root {
    --primary: #8B1E1E;
    --primary-dark: #6d1818;
    --secondary: #fbbf24;
    --dark: #0f172a;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-800: #1e293b;
}

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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
}

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

/* ===== MEJORAS PARA EL SLIDER ===== */
.simple-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray-200);
}

.simple-slider::-webkit-scrollbar {
    height: 8px;
}

.simple-slider::-webkit-scrollbar-track {
    background: var(--gray-200);
    border-radius: 10px;
}

.simple-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.simple-slider img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-slider img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(139,30,30,0.3);
}

/* ===== CABECERA ===== */
#templatemo_site_title_bar_wrapper {
    background: var(--white);
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--primary);
}

#templatemo_site_title_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#site_title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

#site_title h1 a {
    text-decoration: none;
    color: var(--gray-800);
    font-size: 1.8rem;
    font-weight: 700;
}

#site_title h1 span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ===== MENÚ ===== */
#templatemo_menu_wrapper {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

#templatemo_menu ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

#templatemo_menu ul li a {
    color: var(--gray-600);
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

#templatemo_menu ul li a:hover {
    color: var(--primary);
}

/* ===== BANNER PRINCIPAL ===== */
#templatemo_banner_wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1582131504857-351c4c0c0d5f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.8) 0%, rgba(15,23,42,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content {
    max-width: 800px;
    color: white;
    padding: 2rem;
}

/* ===== LOGO EN BANNER ===== */
.logo-banner-container {
    margin-bottom: 1.5rem;
    text-align: center;
}

.logo-banner-img {
    max-width: 100px;
    height: auto;
    display: inline-block;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo-banner-img:hover {
    transform: scale(1.05);
}

.logo-fallback {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.fallback-icon {
    font-size: 2rem;
}

.fallback-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* ===== TEXTO BANNER ===== */
.banner-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.banner-title span {
    color: var(--secondary);
    display: block;
    font-size: 2rem;
    font-weight: 300;
}

.banner-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SLIDER CON TUS IMÁGENES ===== */
#templatemo_banner_wrapper2 {
    background: var(--gray-50);
    padding: 4rem 0;
}

.simple-slider {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
}

.simple-slider img {
    width: 100%;
    max-width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.simple-slider img:hover {
    transform: scale(1.03);
}
/* ===== CONTENIDO PRINCIPAL ===== */
#templatemo_content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

.content_box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-200);
}

.content_box h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
}

.content_box p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===== SIDEBAR ===== */
.side_column_box {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary);
}

.side_column_box h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
}

/* ===== WHATSAPP ===== */
.whatsapp-box {
    background: linear-gradient(135deg, var(--whatsapp-dark), var(--whatsapp));
    color: var(--white);
    border: none;
    text-align: center;
}

.whatsapp-box h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.whatsapp-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: inline-block;
    background: var(--white);
    color: var(--whatsapp-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.whatsapp-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== PIE DE PÁGINA ===== */
#templatemo_footer_wrapper {
    background: var(--dark);
    color: var(--gray-300);
    padding: 4rem 0;
    text-align: center;
    border-top: 4px solid var(--primary);
}

.footer_nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0;
}

.footer_nav ul li a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer_nav ul li a:hover {
    color: var(--secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .banner-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #templatemo_site_title_bar {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    #templatemo_menu ul {
        flex-direction: column;
        text-align: center;
    }
    
    #templatemo_banner_wrapper {
        height: 400px;
    }
    
    #templatemo_content {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-title span {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.1rem;
    }
    
    .simple-slider img {
        max-width: 300px;
    }
    
    .footer_nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    #templatemo_banner_wrapper {
        height: 350px;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
    
    .logo-banner-img {
        max-width: 80px;
    }
    
    .simple-slider img {
        max-width: 250px;
    }
}

/* ===== ESTILOS JIMDO ===== */
var {
    display: block;
}