:root {
    --primary: #2F343A;
    --accent-warm: #D9C2A3;
    --accent-teal: #5F9EA0;
    --accent-soft: #E8ECEF;
    --text-dark: #2F343A;
    --text-light: #FFFFFF;
    --border-light: #E8ECEF;
}

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

html, body {
    font-family: 'Roboto Condensed', 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.68;
    font-size: 18.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', 'DIN Next Pro Condensed', 'Impact', sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

h1 { font-size: 62px; }
h2 { font-size: 48px; }
h3 { font-size: 36px; }
h4 { font-size: 28px; }

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

a:hover {
    color: var(--accent-warm);
}

.teal-text {
    color: var(--accent-teal);
    font-weight: 600;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 20px;
    display: flex;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1500px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie, .btn-cookie-alt {
    padding: 8px 16px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie {
    background-color: var(--accent-warm);
    color: var(--primary);
    font-weight: 600;
}

.btn-cookie:hover {
    background-color: #E5D4B1;
}

.btn-cookie-alt {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-cookie-alt:hover {
    background-color: rgba(255,255,255,0.1);
}

.sticky-header {
    position: sticky;
    top: 0;
    background-color: var(--primary);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
    background-color: var(--primary) !important;
    padding: 16px 0;
}

.nav-container {
    max-width: 1500px;
    padding: 0 20px;
}

.navbar-brand {
    font-family: 'Bebas Neue', 'DIN Next Pro Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--accent-warm) !important;
}

.navbar-nav {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-warm) !important;
}

main {
    padding: 60px 0;
}

.hero-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(47, 52, 58, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 1200px;
    padding: 20px;
    z-index: 1;
}

.hero-title {
    font-size: 62px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
}

.content-section {
    padding: 80px 20px;
    background-color: #FFFFFF;
}

.content-section.alternate {
    background: linear-gradient(135deg, rgba(95, 158, 160, 0.05) 0%, rgba(217, 194, 163, 0.05) 100%);
}

.faq-section {
    background-color: rgba(232, 236, 239, 0.3);
}

.cta-section {
    background: linear-gradient(180deg, rgba(47, 52, 58, 0.95) 0%, rgba(47, 52, 58, 1) 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-section .section-title {
    color: var(--text-light);
}

.cta-section a {
    color: var(--accent-warm);
}

.content-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    margin-bottom: 40px;
    color: var(--primary);
    text-align: left;
}

.mechanism-card {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.mechanism-card.reverse {
    flex-direction: row-reverse;
}

.card-image {
    flex: 0 0 45%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.mechanism-card:hover .card-image img {
    transform: scale(1.02);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content p {
    margin-bottom: 16px;
    line-height: 1.68;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.blog-preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.preview-card {
    background-color: var(--text-light);
    border: 2px solid var(--accent-soft);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.preview-card:hover {
    border-color: var(--accent-teal);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(95, 158, 160, 0.15);
}

.card-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.card-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.card-link {
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: var(--accent-warm);
}

.preview-image {
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.preview-image img {
    width: 100%;
    height: auto;
    display: block;
}

.accordion {
    margin-bottom: 40px;
}

.faq-card {
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-card .card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 0;
}

.faq-card .btn-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 18px;
    display: block;
    width: 100%;
    text-align: left;
    padding: 20px;
    border: none;
}

.faq-card .btn-link:hover {
    color: var(--accent-teal);
    text-decoration: none;
    background-color: rgba(95, 158, 160, 0.05);
}

.faq-card .card-body {
    padding: 20px;
    background-color: rgba(232, 236, 239, 0.3);
}

.faq-card .card-body p {
    margin-bottom: 0;
    line-height: 1.68;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-warm);
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
    border: 2px solid var(--accent-warm);
}

.btn-cta:hover {
    background-color: transparent;
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

.cta-section .btn-cta {
    color: var(--primary);
}

.cta-section .btn-cta:hover {
    background-color: transparent;
    color: var(--accent-warm);
    border-color: var(--accent-warm);
}

.cta-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 24px;
}

.site-footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 60px 20px 40px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 0 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--accent-warm);
    margin-bottom: 16px;
    font-size: 20px;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-warm);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1500px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.img-responsive {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

@media (max-width: 768px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }

    .hero-section {
        height: 300px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .content-section {
        padding: 40px 20px;
    }

    .content-container {
        padding: 0 20px;
    }

    .mechanism-card {
        flex-direction: column;
        gap: 20px;
    }

    .mechanism-card.reverse {
        flex-direction: column;
    }

    .card-image {
        flex: 0 0 auto;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie, .btn-cookie-alt {
        width: 100%;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 8px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-preview-cards {
        grid-template-columns: 1fr;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html, body {
        font-size: 16px;
    }

    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }

    .hero-section {
        height: 250px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .content-section {
        padding: 30px 20px;
    }

    .navbar-brand {
        font-size: 24px;
    }

    .section-title {
        margin-bottom: 24px;
    }
}
