/* ===== VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --secondary-color: #059669;
    --accent-color: #7c3aed;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --white: #ffffff;
    --gray-light: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(5, 150, 105, 0.9) 100%), 
                url('../images/hero-bg.jpg') center/cover;
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 8rem 0 6rem;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title span {
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.divider-line {
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.section-divider i {
    font-size: 0.5rem;
    color: var(--primary-color);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ===== SERVICES SECTION ===== */
.featured-services {
    padding: 6rem 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    height: 10px;
    background: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--accent-color);
    transform: rotate(15deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.8rem;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent-color);
    gap: 0.8rem;
}

.service-hover-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: var(--primary-color);
    color: white;
    transition: var(--transition);
    z-index: -1;
    border-radius: 0 0 8px 8px;
}

.service-card:hover .service-hover-content {
    bottom: 0;
}

.service-hover-content h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-accent {
    background: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background: #6d28d9;
    color: white;
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.promo-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.promo-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.promo-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.promo-price {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.promo-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.timer-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    min-width: 80px;
}

.timer-item span:first-child {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.3rem;
}

.timer-item span:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.btn-white {
    background: white;
    color: var(--dark-color);
    font-weight: 500;
}

.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--dark-color);
}

/* ===== PRODUCTS SECTION ===== */
.featured-products {
    padding: 6rem 0;
    background: var(--light-color);
}

.products-tabs {
    margin-top: 3rem;
}

.tabs-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    margin: 0 0.5rem;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-btn:hover:not(.active) {
    color: var(--dark-color);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 1;
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-rating {
    color: #ffc107;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--text-color);
    margin-left: 0.5rem;
}

.product-price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-price .old-price {
    text-decoration: line-through;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-features {
    list-style: none;
    margin: 2rem 0;
}

.about-features li {
    padding: 0.8rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.about-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
}

.testimonial-card {
    min-width: 350px;
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content .rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--gray-light);
    line-height: 0;
    position: absolute;
}

.testimonial-content p::before {
    top: 0;
    left: -15px;
}

.testimonial-content p::after {
    bottom: -20px;
    right: -15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--dark-color);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.brands-slider {
    margin-top: 4rem;
    text-align: center;
}

.brands-slider h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.brands-list img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
    filter: grayscale(100%);
}

.brands-list img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===== FINAL CTA ===== */
.final-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner h2 {
        font-size: 1.8rem;
    }
    
    .promo-timer {
        gap: 0.5rem;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .timer-item span:first-child {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .promo-price {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .new-price {
        font-size: 2rem;
    }
    
    .testimonial-card {
        min-width: 280px;
    }
}

/* ===== ESTILOS DEL FOOTER ===== */
.footer {
    background-color: var(--dark-color);
    color: var(--gray-light);
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-col ul li:hover {
    transform: translateX(5px);
}

.footer-col a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-col i {
    color: var(--primary-color);
    width: 20px;
    margin-right: 0.5rem;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        margin-bottom: 1.5rem;
    }
    
    .footer-col h3 {
        margin-bottom: 1rem;
    }
}