/* Reset y variables CSS */
:root {
    --primary-color: #49c5b6;
    --primary-dark: #3a9b8a;
    --secondary-color: #4b176a;
    --accent-color: #ffe300;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-white: #fff;
    --bg-light: #f8fafd;
    --border-color: #ddd;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
    --radius: 8px;
    --radius-sm: 6px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 68px;
    width: auto;
}

/* Menú hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1000;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menú móvil desplegable */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-menu li:last-child {
    margin-bottom: 0;
}

.mobile-nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.mobile-nav-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    transform: translateX(5px);
}

.mobile-nav-link:hover i {
    transform: scale(1.1);
}

.mobile-nav-link .fab.fa-whatsapp {
    color: #25D366;
}

.mobile-nav-link:hover .fab.fa-whatsapp {
    color: #128C7E;
}

.mobile-nav-link .fas.fa-envelope {
    color: #EA4335;
}

.mobile-nav-link:hover .fas.fa-envelope {
    color: #D93025;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Efecto de palpitación para el dropdown */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(73, 197, 182, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(73, 197, 182, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(73, 197, 182, 0);
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(240deg, rgba(73, 197, 182, 0.9) 14%, rgba(58, 155, 138, 0.9) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://imgs.search.brave.com/rEySnVfNDYZ9GEuFURmxNwzV95JhjWnDuevhNwnB-6M/rs:fit:0:180:1:0/g:ce/aHR0cHM6Ly9zdGF0/aWMudmVjdGVlenku/Y29tL3N5c3RlbS9y/ZXNvdXJjZXMvdGh1/bWJuYWlscy8wMTAv/MzA0LzA1Mi9zbWFs/bC9idXNpbmVzcy1h/bmQtbGF3eWVycy1k/aXNjdXNzaW5nLWNv/bnRyYWN0LXBhcGVy/cy13aXRoLWJyYXNz/LXNjYWxlLW9uLWRl/c2staW4tb2ZmaWNl/LWxhdy1sZWdhbC1z/ZXJ2aWNlcy1hZHZp/Y2UtanVzdGljZS1h/bmQtbGF3LWNvbmNl/cHQtcGljdHVyZS13/aXRoLWZpbG0tZ3Jh/aW4tZWZmZWN0LWZy/ZWUtcGhvdG8uanBn');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    color: var(--text-white);
}

.hero-title {
    font-size: 56px;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: #e2e2e2;
    margin-bottom: 30px;
}

.hero-subtitle em {
    font-style: italic;
    color: var(--text-white);
}

/* Botones del hero */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: #f0d800;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 227, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-form {
    flex: 1;
    max-width: 640px;
}

/* Services Section */
.services {
    background: linear-gradient(360deg, var(--bg-white) 19%, #eaeaea 100%);
    padding: 140px 0 80px;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background-image: url('assets/images/top-border6-envato-kit0129-CC0.png');
    background-size: cover;
    background-position: center top;
    opacity: 1;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.services-title {
    font-size: 48px;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-icon i {
    font-size: 32px;
    color: var(--text-white);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.service-title {
    font-size: 19px;
    font-weight: 600;
    font-family: 'Comfortaa', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: var(--text-white);
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 3px solid var(--secondary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 5px;
    color: #bdc3c7;
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid var(--secondary-color);
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

.footer-bottom p {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Menú hamburguesa para móvil */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services {
        padding: 100px 0 60px;
    }
    
    .services-title {
        font-size: 24px;
    }
} 