:root {
    --primary-color: #10b981;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --white-color: #ffffff;
    --gray-color-dark: #374151;
    --gray-color-light: #9ca3af;
    --primary-light: rgba(16, 185, 129, 0.2);
    --primary-hover: #059669;
    --shadow-light: rgba(0,0,0,0.05);
    --shadow-medium: rgba(0,0,0,0.1);
    --shadow-hover: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    --border-radius-full: 50%;
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-xxl: 24px;
    --font-family-base: 'Plus Jakarta Sans', sans-serif;
    --font-size-sm: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.1rem;
    --font-size-2xl: 1.25rem;
    --font-size-3xl: 1.5rem;
    --font-size-4xl: 2rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--gray-color-dark);
    background: var(--light-color);
    overflow-x: hidden;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: var(--spacing-xxl);
    font-size: var(--font-size-lg);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: var(--dark-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    padding: 5px 30px;
}

/* 🔧 CORRECCIÓN: clase mal usada en HTML */
.logo-img {
    width: 185px;
    height: auto;
    object-fit: contain;
}

/* 🔧 MANTENER compatibilidad (por si usas logo-icon en otro sitio) */
.logo-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* 🔧 CORRECCIÓN: ya no hay <p> dentro de .logo-text */
.logo-text {
    color: white;
    font-size: 1.2rem;
    
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-color);
}

.header-cta {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-speed);
}

.header-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    transition: all var(--transition-speed);
    border-radius: 3px;
}

/* HERO */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 40px;
    flex-wrap: wrap;
}

.btn-primary, 
.btn-secondary {
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* ABOUT */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px var(--shadow-light);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--gray-color-dark);
}

.about-image {
    width: 280px;
    border-radius: var(--border-radius-lg);
}

/* PRODUCTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
}

.product-card {
    background: var(--white-color);
    border-radius: var(--border-radius-xl);
    padding: 25px 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.product-card .product-icon {
    font-size: 32px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-card .product-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.product-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.product-card p {
    font-size: var(--font-size-sm);
    color: var(--gray-color);
    line-height: 1.4;
}

/* Colores servicios */
.product-card.dinero { background: linear-gradient(135deg, #fef3c7, #fffbeb); }
.product-card.sim { background: linear-gradient(135deg, #e0e7ff, #eef2ff); }
.product-card.recarga { background: linear-gradient(135deg, #fae8ff, #fdf2fb); }
.product-card.movil { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.product-card.latino { background: linear-gradient(135deg, #fce7f3, #fdf2f8); }
.product-card.natura { background: linear-gradient(135deg, #dcfce7, #f0fdf4); }
.product-card.bebida { background: linear-gradient(135deg, #cffafe, #ecfeff); }
.product-card.servicio { background: linear-gradient(135deg, #ede9fe, #f5f3ff); }

/* REVIEWS */
.reviews-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.reviews-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.rating-card {
    background: white;
    padding: 35px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 280px;
}

.rating-number {
    font-size: 56px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.rating-stars {
    font-size: 28px;
    margin: 10px 0;
}

.rating-text {
    color: var(--gray-color);
}

/* CONTACTO */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.c-card {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.c-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.c-card .c-icon {
        transform: none;
        width: 40px;
        height: 40px;
}

.c-card.c-phone .btn-contact{
    margin: 25px;
    padding: 11px 25px;



}


.c-card h3 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--gray-color-dark);
    letter-spacing: 1px;
}

.c-card .c-main {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 10px;
    word-break: break-all;
}

.btn-contact {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: var(--font-size-sm);
    transition: all var(--transition-speed);
}

.btn-contact:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Colores contacto */
.c-card:nth-child(1) { background: #ecfdf5; }
.c-card:nth-child(1) .btn-contact { background: #059669; }
.c-card:nth-child(2) { background: #fff7ed; }
.c-card:nth-child(2) .btn-contact { background: #ea580c; }
.c-card:nth-child(3) { background: #eff6ff; }
.c-card:nth-child(3) .btn-contact { background: #2563eb; }
.c-card:nth-child(4) { background: #fdf2f8; }
.c-card:nth-child(4) .btn-contact { background: #db2777; }

/* WHATSAPP FLOTANTE */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.floating-whatsapp img {
    width: 55px;
    height: auto;
    transition: none;
}

.floating-whatsapp img:hover {
    transform: none;
}

/* FOOTER */
footer {
    background: var(--dark-color);
    color: white;
    padding-top: 50px;
}

footer .footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
}

footer .footer-logo-img {
    width: 80px;
    margin-bottom: 15px;
}

footer h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 8px;
}

footer h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 1px;
}

footer p, 
footer a {
    color: rgba(255,255,255,0.65);
    font-size: var(--font-size-sm);
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all var(--transition-speed);
}

footer a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

footer .footer-newsletter input {
    padding: 10px;
    border-radius: var(--border-radius-sm);
    border: none;
    width: 100%;
    max-width: 160px;
    margin-right: 8px;
    margin-bottom: 10px;
}

footer .footer-newsletter button {
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    border: none;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all var(--transition-speed);
    font-weight: 600;
}

footer .footer-newsletter button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

footer .footer-social-links {
    display: flex;
    gap: 15px;
}

footer .footer-social-links img {
    width: 32px;
    height: 32px;
    transition: all var(--transition-speed);
    border-radius: var(--border-radius-sm);
}

footer .footer-social-links img:hover {
    transform: translateY(-4px);
}

footer .footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.45);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    footer .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.3rem;
    }
    
    .header-cta {
        display: none;
    }
    
    .header-cta.active {
        display: block;
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1001;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .logo-icon {
        width: 55px;
        height: 55px;
    }
    
    .logo-text p {
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        width: 200px;
    }
    
    .section {
        padding: 60px 0;
    }

 

}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social-links {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .c-card .c-main {
        font-size: 0.85rem;
        word-break: break-all;
    }
}

 


:root {
    --primary-color: #10b981;
}

/* =========================
   SECCIONES CON LÍNEA VERDE DEGRADADA
========================= */
.section {
    position: relative;
    padding: 80px 20px;
    background: #fff;
}

/* Línea inferior degradada para TODAS las secciones */
.section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--primary-color),
        #06b6d4,
        var(--primary-color),
        transparent
    );
    opacity: 0.8;
    border-radius: 3px;
}

/* La última sección (contacto) TAMBIÉN tiene línea */
.section:last-child::after {
    display: block;
}

/* Si no quieres línea en el footer */
footer::after {
    display: none !important;
}
