/* Reset and Base Styles */
:root {
    --primary-color: #01A8C4; /* Cian brillante */
    --secondary-color: #98F5E1; /* Menta pálido */
    --dark-bg: #121212;
    --light-text: #f0f0f0;
    --medium-text: #a0a0a0;
}

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

body, html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #121212;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #01A8C4 0%, #98F5E1 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(1, 168, 196, 0.3);
    background: linear-gradient(135deg, #018da0 0%, #82d9c5 100%);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #222;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-top: 10px;
}

.logo i {
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-link-special,
.header-link-special:visited,
.header-link-special:hover,
.header-link-special:active {
    color: #FF4F5A !important;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-link-special:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: #121212;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #121212;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.features-grid-rider {
    grid-template-columns: repeat(2, 1fr);
}

.feature-card {
    background: #1a1a1a;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(1, 168, 196, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #01A8C4 0%, #98F5E1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #a0a0a0;
}

.feature-title-light {
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #01A8C4 0%, #98F5E1 100%);
    color: #121212;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #121212;
}

.testimonials-swiper {
    padding: 2rem 0;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 1rem;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: #a0a0a0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #a0a0a0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: #121212;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #01A8C4;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #01A8C4;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-header .container {
        justify-content: space-between;
    }
    
    .logo-img {
        height: 25px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-actions {
        gap: 0.5rem;
        margin-left: auto;
    }
    
    .header-link-special {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-rider {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Swiper Customization */
.swiper-pagination-bullet {
    background: #01A8C4;
}

.swiper-pagination-bullet-active {
    background: #01A8C4;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Client Logos Section */
.client-logos-section {
    padding: 60px 0;
    background: #1a1a1a;
    overflow: hidden;
}

.client-logos-section .container {
    position: relative;
    z-index: 1;
}

.client-logos-swiper {
    padding: 2rem 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
}

.client-logo img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

/* Separador curvo para Flex Delivery */
.curved-separator-section {
    background: #121212;
    position: relative;
    padding: 0;
    margin-bottom: 0;
}
.curved-separator-section .container {
    position: relative;
    z-index: 3;
    padding-top: 80px;
    padding-bottom: 80px;
}
@media (max-width: 600px) {
    .curved-separator-section .container {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* Sección con bordes redondeados arriba y abajo, estilo Pomelo */
.curved-block-section {
    background: #1a1a1a;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 84px 20px 125px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -60px;
    z-index: 30;
    position: relative;
}
@media (min-width: 1024px) {
    .curved-block-section {
        border-top-left-radius: 100px;
        border-top-right-radius: 100px;
        border-bottom-left-radius: 100px;
        border-bottom-right-radius: 100px;
        padding-top: 141px;
        padding-bottom: 141px;
    }
}

/* Botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Menú mobile lateral */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #1a1a1a;
    box-shadow: -2px 0 24px rgba(0,0,0,0.2);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
    right: 0;
}
.close-mobile-menu {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    align-self: flex-end;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.mobile-menu a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.mobile-menu a:hover {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .nav-menu, .header-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
@media (min-width: 993px) {
    .mobile-menu {
        display: none !important;
    }
}
