.container {
    width: min(100%, var(--max-width));
    margin: 0 auto;
    padding: 0 1.5rem;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body.page main {
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.btn {
    font: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    box-shadow: 0 12px 28px rgba(57, 45, 33, 0.08);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(57, 45, 33, 0.18);
}

.btn.secondary,
.btn.outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn.secondary:hover,
.btn.outline:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(117, 95, 72, 0.28);
}

.section-light {
    background: linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(249, 241, 232, 0.97));
    border: 1px solid rgba(117, 95, 72, 0.14);
    border-radius: calc(var(--radius) * 1.2);
    box-shadow: 0 30px 60px rgba(57, 45, 33, 0.08);
    padding: 4rem 0;
    margin: 2.25rem 0;
}

section {
    padding: 4.5rem 0;
}

.section-light .container {
    padding: 0;
}

/* Cookie Consent Banner */
.cookie-consent-banner,
.cookie-consent-modal__overlay {
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 2000;
    width: min(100%, 420px);
    max-width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.96);
    color: var(--color-text);
    border: 1px solid rgba(24, 48, 40, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 28px 65px rgba(24, 48, 40, 0.18);
    backdrop-filter: blur(16px);
    padding: 1.1rem 1.1rem 0.95rem;
    animation: cookieBannerEnter 0.45s ease-out;
}

.cookie-consent-banner__content {
    display: grid;
    gap: 0.85rem;
}

.cookie-consent-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(29, 111, 84, 0.12);
    color: var(--color-primary);
    width: fit-content;
}

.cookie-consent-banner__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 700;
}

.cookie-consent-banner__description,
.cookie-consent-modal__intro,
.cookie-consent-category p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

.cookie-consent-banner__actions,
.cookie-consent-modal__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: center;
}

.cookie-consent-banner__actions .btn,
.cookie-consent-modal__footer .btn {
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    min-width: auto;
}

.cookie-consent-modal__overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(24, 48, 40, 0.35);
    backdrop-filter: blur(6px);
    z-index: 2100;
}

.cookie-consent-modal__overlay.active {
    display: flex;
}

.cookie-consent-modal {
    width: min(100%, 620px);
    max-width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 1.5rem;
    border: 1px solid rgba(24, 48, 40, 0.08);
    box-shadow: 0 35px 90px rgba(14, 44, 27, 0.18);
    padding: 1.75rem;
}

.cookie-consent-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-consent-modal__header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.cookie-consent-close {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(24, 48, 40, 0.12);
    background: #ffffff;
    color: var(--color-text);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cookie-consent-category {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1rem;
    border: 1px solid rgba(24, 48, 40, 0.08);
    border-radius: 1.25rem;
    background: rgba(239, 247, 244, 0.75);
}

.cookie-consent-category h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.cookie-consent-category__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-consent-switch {
    position: relative;
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: rgba(24, 48, 40, 0.12);
    transition: background 0.25s ease;
}

.cookie-consent-switch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.cookie-consent-slider {
    position: absolute;
    inset: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(24, 48, 40, 0.12);
    transition: transform 0.25s ease, background 0.25s ease;
}

.cookie-consent-switch input:checked + .cookie-consent-slider {
    transform: translateX(24px);
    background: var(--color-secondary);
}

.cookie-consent-switch--disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-consent-switch--disabled input {
    cursor: not-allowed;
}

.cookie-consent-modal__footer {
    margin-top: 1rem;
}

.cookie-consent-note {
    font-size: 0.94rem;
    color: var(--color-muted);
    margin-top: 0.75rem;
}

/* Contact Page Styling */
.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-primary);
    box-shadow: 0 14px 35px rgba(24, 48, 40, 0.12);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1px solid rgba(24, 48, 40, 0.12);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(88, 164, 130, 0.1);
}

@keyframes cookieBannerEnter {
    from {
        transform: translateY(24px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes cookieBannerExit {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(24px);
        opacity: 0;
    }
}

@media (max-width: 680px) {
    .cookie-consent-banner {
        inset: auto 0.75rem 0.75rem;
        border-radius: 1.25rem;
        padding: 1.25rem 1.25rem 1rem;
    }

    .cookie-consent-banner__actions,
    .cookie-consent-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-modal {
        padding: 1.25rem;
    }
}

