:root {
    --primary-red: #E63946;
    --primary-orange: #F4A261;
    --primary-yellow: #E9C46A;
    --primary-green: #2D6A4F;
    --bg-light: #FFF8F0;
    --text-dark: #2B2B2B;
    --text-muted: #555555;
    --glass-bg: rgba(255, 248, 240, 0.7);
    --glass-border: rgba(230, 57, 70, 0.15);
    --shadow-soft: 0 8px 32px rgba(43, 43, 43, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Organic Blobs */
.bg-blob {
    position: absolute;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.4;
}
.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary-red);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}
.blob-2 {
    top: 40%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: var(--primary-yellow);
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
}
.blob-3 {
    bottom: -5%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: var(--primary-green);
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
a {
    text-decoration: none;
    color: var(--primary-red);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-orange);
}

/* Slim & Unstuck Header */
header.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: relative; /* Not sticky */
    z-index: 1000;
}

.brand-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo svg {
    width: 32px;
    height: 32px;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav.main-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

nav.main-nav a:hover {
    color: var(--primary-red);
}

.header-cta {
    background: var(--primary-red);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.header-cta:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 6rem 5%;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--primary-red), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.hero-image-wrapper {
    margin-top: 3rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

/* Cards Architecture */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(43, 43, 43, 0.12);
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary-green);
}

.card-content p {
    flex-grow: 1;
    font-size: 0.95rem;
}

.card-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-yellow);
    color: var(--text-dark) !important;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease;
}

.card-btn:hover {
    background: var(--primary-green);
    color: #fff !important;
}

/* Detail Pages & Legal Pages */
.page-header {
    padding: 4rem 5% 2rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(244, 162, 97, 0.1), transparent);
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--primary-green);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5% 5rem;
}

.article-hero-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
    max-height: 500px;
    object-fit: cover;
}

.content-container h2 {
    margin-top: 2.5rem;
    color: var(--primary-red);
}

.content-container ul, .content-container ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.content-container li {
    margin-bottom: 0.5rem;
}

/* Forms */
.contact-form {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(43, 43, 43, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: var(--text-dark);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(244, 162, 97, 0.2);
}

.submit-btn {
    background: var(--primary-green);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-red);
}

.company-info-box {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(233, 196, 106, 0.15);
    border-radius: 15px;
    text-align: center;
}

/* Footer (Mandatory) */
.site-footer {
    background: #1a1a1a;
    color: #f1f1f1;
    padding: 4rem 5% 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-col h4 {
    color: var(--primary-yellow);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: block;
}

.footer-col a:hover {
    color: var(--primary-orange);
}

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

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
    border: 2px solid var(--primary-green);
}

.cookie-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-accept {
    background: var(--primary-green);
    color: #fff;
}

.btn-accept:hover { background: #22523c; }

.btn-prefs {
    background: #e0e0e0;
    color: var(--text-dark);
}

.btn-prefs:hover { background: #cccccc; }

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 0;
    }
    nav.main-nav.active {
        display: block;
    }
    nav.main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .cookie-banner {
        bottom: 10px;
        padding: 1rem;
    }
    .cookie-actions {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}