/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #f3f4f6;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

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

.nav a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: #779081;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background-image: url('assets/fondo1.jpeg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-highlight {
    color: #adadad;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    color: #e5e7eb;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    background: #779081;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hero-btn:hover {
    background: #49514c;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #ffffff;
}

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

.service-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.service-card:nth-child(1):hover {
    border-color: #dbeafe;
}

.service-card:nth-child(2):hover {
    border-color: #ccfbf1;
}

.service-card:nth-child(3):hover {
    border-color: #fed7aa;
}

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
}

.service-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.service-icon-teal {
    background: #ccfbf1;
    color: #0d9488;
}

.service-icon-orange {
    background: #fed7aa;
    color: #ea580c;
}

.service-card:hover .service-icon-blue {
    background: #bfdbfe;
}

.service-card:hover .service-icon-teal {
    background: #99f6e4;
}

.service-card:hover .service-icon-orange {
    background: #fdba74;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.service-link-blue {
    color: #2563eb;
}

.service-link-teal {
    color: #0d9488;
}

.service-link-orange {
    color: #ea580c;
}

.service-link:hover {
    transform: translateX(4px);
}

.service-link span {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.service-link:hover span {
    transform: translateX(4px);
}

/* Media Section */
.media-section {
    padding: 5rem 0;
    background: #f9fafb;
    text-align: center;
}

.image-placeholder {
    background: #e5e7eb;
    border-radius: 0.75rem;
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    width: 4rem;
    height: 4rem;
    background: #d1d5db;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.placeholder-content p {
    color: #6b7280;
    font-size: 1.125rem;
}

.video-section {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    max-width: 32rem;
    margin: 0 auto;
}

.video-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.video-section p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.video-btn {
    display: inline-flex;
    align-items: center;
    background: #dc2626;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.video-btn:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.video-btn svg {
    margin-right: 0.75rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #ffffff;
}

.items {
    width: 50%;
    margin: auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: #6b7280;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.contact-form-container {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 2rem;
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-btn {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item svg {
    color: #779081;
    margin-top: 0.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contact-value {
    color: #6b7280;
}

.consultation-cta {
    background: #dbeafe;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.consultation-cta h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.consultation-cta p {
    color: #6b7280;
    margin-bottom: 1rem;
}

.cta-btn {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: #1d4ed8;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-social {
    text-align: center;
}

.footer-social p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.logo-placeholder {
    width: 4rem;
    height: 4rem;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-placeholder span {
    color: #9ca3af;
    font-size: 0.75rem;
}

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

.footer-bottom p {
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .image-placeholder {
        height: 15rem;
    }
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    color: #fff;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

#cookie-banner p {
    margin: 0;
    max-width: 80%;
}

#cookie-banner a {
    color: #4ea3ff;
    text-decoration: underline;
}

#cookie-banner button {
    background: #4ea3ff;
    border: none;
    color: #fff;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 4px;
}

#cookie-banner button:hover {
    opacity: 0.9;
}