/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #22c55e;
    --secondary-color: #1e293b;
    --text-color: #333;
    --light-gray: #f0fdf4;
    --white: #f8f8f8;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    transition: all 0.3s ease;
}

/* Tema Dark */
[data-theme="dark"] {
    --primary-color: #22c55e;
    --secondary-color: #0f172a;
    --text-color: #e2e8f0;
    --light-gray: #1e293b;
    --white: #0f172a;
    --shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Sistema de Tipografía - Clases reutilizables */
.text-xs {
    font-size: 0.75rem;
    line-height: 1.4;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.text-base {
    font-size: 1rem;
    line-height: 1.6;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.7;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.8;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 1.4;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 1.3;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 1.2;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1.1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

/* Clases de peso de fuente */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* Clases de color de texto */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

[data-theme="dark"] .text-secondary {
    color: #e2e8f0;
}

.text-white {
    color: #ffffff;
}

.text-gray {
    color: #666;
}

.text-light-gray {
    color: #999;
}

/* Clases de alineación */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Clases de margen */
.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-5 {
    margin-bottom: 1.25rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Clases específicas para headings */
.heading-1 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.heading-2 {
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.heading-3 {
    font-size: 1.875rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1rem;
}

.heading-4 {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.heading-5 {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.heading-6 {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: none;
}

[data-theme="dark"] header {
    background: var(--secondary-color);
    color: var(--text-color);
}

.top-bar {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 8px 7%;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.social-icons a {
    color: #ffffff;
    margin-left: 15px;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-color);
}



.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin: 0 7%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 12%;
}

.logo a {
    display: block;
    width: 100%;
}

.logo img {
    height: auto;
    width: 100%;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.theme-toggle #darkIcon {
    display: none;
}

[data-theme="dark"] .theme-toggle #lightIcon {
    display: none;
}

[data-theme="dark"] .theme-toggle #darkIcon {
    display: block;
}

.cta-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.cta-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 25%, #15803d 50%, #166534 75%, #14532d 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    margin: 0 7%;
    z-index: 2;
}

.tagline {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-slogan {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-bg-circle {
    display: none;
}

/* Presentación */
.presentation {
    padding: 100px 0;
    background: var(--white);
}

.presentation-content {
    text-align: center;
}



.presentation-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* Razones */
.reasons {
    padding: 100px 0;
    background: var(--light-gray);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.reason-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

[data-theme="dark"] .reason-item {
    background: #1e293b;
    color: var(--text-color);
}

.reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 2rem;
    color: var(--white);
}



.reason-item p {
    color: #666;
    line-height: 1.6;
}

/* Latinoamérica */
.latin-america {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.latin-content {
    text-align: center;
}





/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary-color);
    color: var(--white);
}

.cta-content {
    text-align: center;
}



.cta-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-section .cta-btn {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.cta-section .cta-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Trusted By */
.trusted-by {
    padding: 60px 0;
    background: var(--light-gray);
    text-align: center;
}

.trusted-by p {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.client-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logo {
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.section-tag {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}



.about-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.testimonials .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.testimonial-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.quote {
    position: relative;
}

.quote i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.quote p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.author {
    font-weight: bold;
    color: var(--primary-color);
}

.testimonial-image {
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
}

/* Why Choose */
.why-choose {
    padding: 100px 0;
    background: var(--white);
}

.why-choose .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}



.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.accordion-header:hover {
    color: var(--primary-color);
}



.accordion-content {
    padding: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

.why-image {
    height: 400px;
    background: var(--light-gray);
    border-radius: 10px;
}



/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: left;
    border: 2px solid transparent;
    max-width: 400px;
    margin: 0 auto;
}

[data-theme="dark"] .pricing-card {
    background: #1e293b;
    color: var(--text-color);
    border-color: #334155;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-card.featured {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

[data-theme="dark"] .pricing-card.featured {
    background: #0f172a;
    color: var(--text-color);
    border-color: var(--primary-color);
}



.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.plan-description {
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
}

.pricing-card.featured .plan-description {
    color: #ccc;
}

.includes, .features {
    margin-bottom: 25px;
}



.pricing-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    position: relative;
    padding-left: 20px;
}

[data-theme="dark"] .pricing-card li {
    border-bottom-color: #334155;
}

.pricing-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card.featured li {
    border-bottom-color: #444;
}

.delivery-time {
    margin: 25px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

[data-theme="dark"] .delivery-time {
    background: #334155;
    color: var(--text-color);
}

.pricing-card.featured .delivery-time {
    background: #2d3748;
}

[data-theme="dark"] .pricing-card.featured .delivery-time {
    background: #1e293b;
}

/* Footer */
footer {
    background: #1e293b;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}



.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social a {
    color: #ffffff;
    margin-left: 15px;
    font-size: 1.2rem;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.progress-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 0.8rem;
}

/* Quick Actions */
.quick-actions {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.cart-btn,
.menu-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-btn:hover,
.menu-btn:hover {
    background: #16a34a;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-slogan {
        font-size: 2.5rem;
    }
    
    .about .container,
    .testimonials .container,
    .why-choose .container {
        grid-template-columns: 1fr;
    }
    
    .services-icons .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .scroll-progress,
    .quick-actions {
        display: none;
    }
}
