/* Variables de color */
:root {
    --color-primary: #2A9D8F;
    --color-secondary: #E76F51;
    --color-accent: #E9C46A;
    --color-dark: #264653;
    --color-light: #F4F1DE;
    --color-white: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar-brand {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary) !important;
}

.btn-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: var(--color-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    padding: 150px 0 100px;
    margin-top: 76px;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    color: var(--color-dark);
}

.hero-content .lead {
    color: #666;
}

.hero-image img {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Stats Section */
.stats-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.stat-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    background: var(--color-white);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}

.icon-box {
    color: var(--color-primary);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    border-radius: 20px;
}

/* Footer */
.footer {
    background: var(--color-dark);
}

.footer a:hover {
    color: var(--color-primary) !important;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 1rem 0;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    margin-top: 76px;
}

/* Cards */
.card {
    border-radius: 15px;
    overflow: hidden;
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background: var(--color-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.4);
}

.btn-outline-light {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

/* Form Controls */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(42, 157, 143, 0.25);
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--color-primary) !important;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .stats-section .stat-card {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Utility Classes */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background: var(--color-primary) !important;
}