:root {
    --primary-color: #2F6A4C;
    --primary-hover: #245339;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.text-balanced {
    text-wrap: balance;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

#main-header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--primary-hover);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

main {
    margin-top: 76px;
}

.hero-section {
    height: 100vh;
    background-image: url('../images/hero-alpine-nature.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

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

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 9px;
    transition: all 0.3s ease;
    text-transform: none;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 106, 76, 0.3);
}

.content-section {
    padding: 90px 0;
}

.content-section.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

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

.content-image {
    width: 100%;
    height: auto;
    border-radius: 9px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

.component-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.component-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.component-list {
    list-style: none;
    padding: 0;
}

.component-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.component-list li:last-child {
    border-bottom: none;
}

.component-list strong {
    color: var(--primary-color);
}

.info-box {
    background-color: #e8f5e9;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 9px;
    margin-top: 2rem;
}

.info-box p {
    margin-bottom: 0;
}

.fact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s ease;
}

.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1.5rem;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    background-color: var(--bg-light);
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.disclaimer-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--primary-color);
}

.disclaimer-box h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.disclaimer-box h3:first-child {
    margin-top: 0;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 9px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 9px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(47, 106, 76, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 9px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 106, 76, 0.3);
}

#main-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

#main-footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

#main-footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.98);
    color: var(--white);
    padding: 1.5rem;
    z-index: 2000;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    color: var(--white);
}

#cookie-accept {
    white-space: nowrap;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-custom {
    background: var(--white);
    padding: 3rem;
    border-radius: 9px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-scrollable {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.modal-content-custom h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.modal-content-custom h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content-custom {
        padding: 2rem;
        margin: 1rem;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 70vh;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .component-card, .fact-card, .contact-form {
        padding: 1.5rem;
    }
}
