/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8b0000;
    --secondary-color: #ff6600;
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --text-color: #666666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color:  #000000;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.top-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-banner-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-banner-label {
    font-weight: 600;
}

.top-banner-link {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}

.top-banner-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.top-banner-link i {
    font-size: 0.9rem;
}

.top-banner-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.social-icon:hover {
    transform: scale(1.2);
    opacity: 0.9;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color:  #000000;;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #000000;
}

.btn-login {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #6b0000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: 0.3s;
}

/* Hero Section */
.hero,
.hero-section {
    background: linear-gradient(135deg, rgba(85, 85, 85, 0.75) 0%, rgba(141, 141, 141, 0.75) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    background-blend-mode: overlay;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before,
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  /*  background: linear-gradient(135deg, rgba(187, 187, 187, 0.6) 0%, rgba(180, 180, 180, 0.6) 100%);
   */ z-index: 1;
}

.hero .container,
.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 1;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: #6b0000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: #000000;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 1.5rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-color);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-item {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.step-item h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.step-item p {
    color: #000000;
}

/* Stores Section */
.stores {
    padding: 5rem 0;
    background: var(--light-color);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.store-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.store-card:hover {
    transform: translateY(-5px);
}

.store-card i {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
}

.store-card h4 {
    color: var(--dark-color);
}

/* Categories Section */
.categories {
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, background 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--white);
}

.category-card:hover h4 {
    color: var(--white);
}

.category-card i {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.category-card:hover i {
    color: var(--white);
}

.category-card h4 {
    color: var(--dark-color);
    transition: color 0.3s;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a00 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Logo Image */
.logo-img {
    height: 70px;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Hero Updates */
.hero-subtitle-2 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 1;
    line-height: 1.6;
}

.hero-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.hero-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #000000;
}
.about-text strong {
    color: var(--dark-color);
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.stats-columns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-image {
    flex: 0 0 calc(50% - 1rem);
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stats-content {
    flex: 0 0 calc(50% - 1rem);
}

.stats-description {
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #000000;;
}

.stats-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #000000;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
}

.stats-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Casillero Section */
.casillero-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5b0000 100%);
    color: var(--white);
    text-align: center;
}

.casillero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.casillero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Categories Gallery */
.categories-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.category-item:hover {
    transform: scale(1.05);
}

.category-item img {
    width: 100%;
   /* height: 200px;*/
    object-fit: cover;
    display: block;
}

/* Stores Gallery */
/* Stores Carousel */
.stores-carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 60px;
}

.stores-carousel {
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
    scroll-behavior: smooth;
    transition: transform 0.6s ease-in-out;
}

.store-slide {
    min-width: calc((100% - 6rem) / 5);
    flex: 0 0 calc((100% - 6rem) / 5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}

.store-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: block;
    transition: transform 0.3s;
}

.store-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.3s, transform 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #6b0000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev-btn {
    left: 0;
}

.carousel-btn.next-btn {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--secondary-color);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #000000;;
    margin-bottom: 0.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%;
}

.how-it-works .section-subtitle {
    text-decoration: underline;
    text-decoration-color: #000000;;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3rem;
}

.how-it-works .section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #8b0000;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-description {
    text-align: center;
    color: #000000;;
    margin-bottom: 2rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--light-color);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
    text-align: center;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-arrow {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-arrow:hover {
    background: #6b0000;
}

/* Clients Section */
.clients {
    padding: 5rem 0;
    background: var(--white);
}

/* Clients Carousel */
.clients-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 60px;
}

.clients-carousel {
    display: flex;
    overflow: hidden;
    gap: 2rem;
    scroll-behavior: smooth;
}

.client-slide {
    min-width: calc((100% - 6rem) / 5);
    flex: 0 0 calc((100% - 6rem) / 5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s, transform 0.3s;
}

.client-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: block;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

.client-slide:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: #000000;
    font-size: 1.2rem;
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-container h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000000;
}

.contact-form textarea {
    resize: vertical;
}

/* Location Section */
.location-section {
    padding: 5rem 0;
    background: var(--white);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--dark-color);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--light-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    color: #000000;
}

.footer-col a {
    color: #000000;
    text-decoration: none;
    opacity: 0.8;
    transition: color 0.3s, opacity 0.3s;
}

.footer-col a:hover {
    color: #000000;
    opacity: 1;
}

.footer-col i {
    margin-right: 0.5rem;
    color: #000000;
}

.footer-col p {
    color: #000000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-color);
    color: #000000;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero,
    .hero-section {
        padding: 4rem 1.5rem;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-subtitle-2 {
        font-size: 1rem;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-features {
        gap: 1.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-columns {
        flex-direction: column;
        text-align: center;
    }

    .stats-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .stats-content {
        flex: 0 0 auto;
        width: 100%;
    }

    .stats-description {
        text-align: center;
    }

    .stats-content .section-title {
        text-align: center;
    }

    .stats-buttons {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stores-carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .store-slide img {
        max-width: 90%;
    }

    .clients-carousel-container {
        padding: 0 40px;
        max-width: 100%;
    }

    .client-slide {
        min-width: calc(50% - 0.75rem);
        flex: 0 0 calc(50% - 0.75rem);
    }

    .client-slide img {
        max-height: 150px;
    }

    .store-slide {
        min-width: calc(100% - 1rem);
        flex: 0 0 calc(100% - 1rem);
    }

    .top-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .top-banner-left {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .top-banner-right {
        justify-content: center;
    }

    .top-banner {
        font-size: 0.85rem;
        padding: 0.8rem 0;
    }
}
