/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B6B;
    --secondary: #1D3557;
    --background: #FFFFFF;
    --surface: #F6F6F6;
    --text: #1A1A1A;
    --text-light: #666666;
    --border: #E0E0E0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
}

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

/* Navegación */
.nav {
    background: var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 20px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav a:hover::before,
.nav a.active::before {
    transform: translateX(-50%) scale(1);
}

.nav a:hover,
.nav a.active {
    background: rgba(255,255,255,0.2);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 1rem 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    background: none;
}

.dropdown-menu a::before {
    display: none;
}

.dropdown-menu a:hover {
    background: var(--surface);
    color: var(--primary);
    transform: translateX(5px);
}

/* Hero */
.hero {
    background: var(--primary);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

/* Secciones */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.section-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 3rem auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,107,107,0.2);
    border-color: var(--primary);
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card a:hover {
    color: var(--secondary);
}

/* Sección EVERYTHING IS POSSIBLE */
.everything-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.everything-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,107,107,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(29,53,87,0.1) 0%, transparent 50%);
    z-index: 1;
}

.everything-section .container {
    position: relative;
    z-index: 2;
}

.everything-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin: 0 0 4rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    line-height: 1.2;
}

.everything-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #FF8A80);
    border-radius: 2px;
}

.everything-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.everything-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.everything-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.everything-card:hover::before {
    transform: translateX(100%);
}

.everything-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.everything-card h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.everything-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-accent {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.everything-card:hover .card-accent {
    width: 80px;
}

/* Colores específicos */
.card-idea {
    border-top: 4px solid #ff6b6b;
}
.card-idea .card-accent {
    background: #ff6b6b;
}

.card-speed {
    border-top: 4px solid #4ecdc4;
}
.card-speed .card-accent {
    background: #4ecdc4;
}

.card-scale {
    border-top: 4px solid #45b7d1;
}
.card-scale .card-accent {
    background: #45b7d1;
}

.card-sales {
    border-top: 4px solid #f9ca24;
}
.card-sales .card-accent {
    background: #f9ca24;
}

/* CTA Section */
.cta-section {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #FF8A80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.6;
    color: #B0BEC5;
}

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

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

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

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #37474F;
}

.footer-badge {
    height: 60px;
    margin: 0 1rem 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .everything-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .nav ul {
        gap: 1.5rem;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--surface);
        margin: 0.5rem 0;
        border-radius: 8px;
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    
    .everything-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .everything-card {
        padding: 2rem 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}