/* Variables y Reset */
:root {
    --primary-color: #2D6B5F;
    --secondary-color: #4A3728;
    --accent-color: #3D8B7C;
    --bg-light: #F8F6F4;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --white: #FFFFFF;
    --border-color: #E0DDD9;
}

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

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

/* Header y Navegación */
header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cta-button.secondary {
    background-color: var(--primary-color);
    color: var(--white);
}

.cta-button.secondary:hover {
    background-color: var(--accent-color);
}

/* Sections */
.intro,
.features,
.services-intro,
.about-content,
.contact-content {
    padding: 5rem 0;
    padding-top: 2rem;
}

.intro {
    background-color: var(--bg-light);
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.intro p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--bg-light);;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 5rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* About Content */
.about-text h2,
.about-text h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: 2.5rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.value-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.value-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.value-item p {
    font-size: 1rem;
    color: var(--text-light);
}

.team-section,
.why-choose {
    margin-top: 4rem;
    padding: 2.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.team-section h3,
.why-choose h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.team-section p,
.why-choose p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Services */
.services-intro {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
}

.services-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-list {
    padding: 4rem 0;
}

.service-item {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2,
.map-container h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item .note {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.map-note {
    color: var(--text-light);
    font-size: 0.95rem;
    text-align: center;
}

.visit-us {
    margin-top: 4rem;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: 12px;
}

.visit-us h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.visit-us p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 0px;
}

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

.footer-logo {
    height: 90px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    margin: 0 0.3rem;
    transition: opacity 0.3s ease;
}

.footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ===============================
   COOKIE BANNER
================================ */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1.2rem 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-content a:hover {
    opacity: 0.9;
}

/* Botones */
.cookie-buttons {
    display: flex;
    gap: 0.8rem;
}

.cookie-buttons button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.6rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cookie-buttons button:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }
}
