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

:root {
    --sage-green: #9caf88;
    --sage-green-light: #b8c9a9;
    --sage-green-dark: #7a9568;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --background-light: #fafafa;
    --background-white: #ffffff;
    --border-light: #e9ecef;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    color: var(--sage-green-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

.navbar {
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--sage-green-dark);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-link {
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--sage-green-dark);
}

.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    overflow: hidden;
}

.hero-section .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
}

.section {
    padding: 5rem 0;
}

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

.section-alt {
    background: linear-gradient(180deg, var(--background-light) 0%, var(--background-white) 100%);
}

.content-block {
    background: var(--background-white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.content-block h2 {
    color: var(--sage-green-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--sage-green-light);
}

.content-block h3 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.content-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.content-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.image-grid .content-image {
    margin-bottom: 0;
}

.image-grid .content-image img {
    height: 180px;
}

.limiti-block {
    background: linear-gradient(135deg, var(--sage-green-light) 0%, var(--sage-green) 100%);
    color: var(--background-white);
    border-radius: 12px;
    padding: 3rem;
    margin: 3rem 0;
}

.limiti-block h2 {
    color: var(--background-white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.limiti-block p {
    color: rgba(255,255,255,0.95);
}

.cta-section {
    background: var(--background-white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--sage-green-dark);
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-block;
    background: var(--sage-green);
    color: var(--background-white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    background: var(--sage-green-dark);
    color: var(--background-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(156, 175, 136, 0.4);
}

.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e272e 100%);
    color: var(--background-light);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--sage-green-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

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

.footer a:hover {
    color: var(--sage-green-light);
}

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

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

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

.footer-disclaimer {
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-disclaimer p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.page-header {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-header h1 {
    color: var(--sage-green-dark);
    margin-bottom: 1rem;
}

.page-content {
    padding: 4rem 0;
}

.page-content .content-block {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form .form-control {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--sage-green);
    box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.2);
    outline: none;
}

.form-disclaimer {
    background: var(--background-light);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.thank-you-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content h1 {
    color: var(--sage-green-dark);
    margin-bottom: 1.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
}

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

.cookie-banner p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-banner .btn {
    margin-right: 0.5rem;
}

.btn-accept {
    background: var(--sage-green);
    color: var(--background-white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: var(--sage-green-dark);
}

.educational-notice {
    background: var(--sage-green-light);
    color: var(--text-primary);
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .content-block {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid .content-image img {
        height: 200px;
    }
    
    .limiti-block {
        padding: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
}
