/* --- Variables --- */
:root {
    --color-bg: #F8FAFC;
    --color-text: #334155;
    --color-text-light: #64748B;
    --color-primary: #1E293B; /* Deep Indigo */
    --color-accent: #14B8A6; /* Vibrant Teal */
    --color-accent-hover: #0F766E;
    --color-white: #ffffff;
    
    --font-main: 'Inter', sans-serif;
    --font-head: 'Outfit', sans-serif;
    
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- Reset & Global --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(20, 184, 166, 0.39);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* --- Header --- */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.header__logo-img {
    width: 32px;
    height: 32px;
}

.header__nav {
    display: flex;
}

.header__list {
    display: flex;
    gap: 32px;
}

.header__link {
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.header__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.header__link:hover {
    color: var(--color-accent);
}

.header__link:hover::after {
    width: 100%;
}

.header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer__logo-img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* White logo */
}

.footer__desc {
    color: #94A3B8;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer__title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.footer__list li, .footer__contacts li {
    margin-bottom: 12px;
}

.footer__link {
    color: #CBD5E1;
    font-size: 0.95rem;
}

.footer__link:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #CBD5E1;
    font-size: 0.95rem;
}

.footer__icon {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer__socials {
    display: flex;
    gap: 15px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.footer__social-link:hover {
    background-color: var(--color-accent);
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #64748B;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .header__nav {
        display: none; /* Add JS toggle later if needed */
    }
    .header__burger {
        display: block;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
    .header__actions .btn {
        display: none; /* Simplify header on mobile */
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4; /* Легка прозорість анімації */
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Content Side */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(20, 184, 166, 0.1);
    color: var(--color-accent-hover);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.hero__title {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #E2E8F0;
    color: var(--color-primary);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.5);
}

/* Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero__stat-item {
    display: flex;
    flex-direction: column;
}

.hero__stat-num {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.hero__stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background-color: #CBD5E1;
}

/* Visual Side */
.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero__image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero__img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Floating Elements */
.hero__card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255,255,255,0.5);
    animation: float 6s ease-in-out infinite;
}

.hero__card--1 {
    bottom: 40px;
    left: -30px;
}

.hero__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(20, 184, 166, 0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__card-title {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.hero__card-val {
    display: block;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero {
        padding-top: 100px;
        text-align: center;
        min-height: auto;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__desc {
        margin: 0 auto 32px;
    }
    
    .hero__actions {
        justify-content: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__image-wrapper {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero__card--1 {
        left: 0;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__actions {
        flex-direction: column;
    }
}

/* --- Global Section Styles --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    display: block;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* --- Solutions Grid --- */
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.solution-card {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* Glow effect on hover */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card__icon-box {
    width: 56px;
    height: 56px;
    background-color: #F0FDFA;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.solution-card__icon-box i {
    width: 28px;
    height: 28px;
}

.solution-card:hover .solution-card__icon-box {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: rotate(5deg);
}

.solution-card__title {
    font-family: var(--font-head);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.solution-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.solutions__footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.solutions__note {
    font-size: 0.85rem;
    color: #94A3B8;
    font-style: italic;
}

/* --- Reveal Animation Classes --- */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Solutions */
@media (max-width: 992px) {
    .solutions__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .solutions__grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
}

/* --- Blog Section --- */
.blog {
    background-color: var(--color-white);
}

.blog__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 30px;
    margin-bottom: 50px;
}

/* Base Card Styles */
.blog-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.blog-card__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

/* Dark overlay for better text contrast if needed, 
   though here we use content below image for small cards 
   and overlay for large one design choice */
.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--color-white);
    position: relative;
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #F1F5F9;
    color: var(--color-text-light);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    margin-right: 8px;
}

.blog-card__title {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.95rem;
}

.blog-card__link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__link i {
    transform: translate(4px, -4px); /* Arrow moves up-right */
}

/* Large Card Specifics */
.blog-card--large {
    grid-row: 1 / 3; /* Spans 2 rows */
    grid-column: 1 / 2;
}

.blog-card--large .blog-card__image-wrapper {
    height: 60%;
}

.blog-card--large .blog-card__content {
    height: 40%;
}

.blog-card--large .blog-card__title {
    font-size: 1.5rem;
}

/* Side Cards Specifics */
.blog-card:not(.blog-card--large) {
    display: grid;
    grid-template-columns: 140px 1fr;
}

.blog-card:not(.blog-card--large) .blog-card__image-wrapper {
    height: 100%;
}

.blog__footer {
    text-align: center;
}

/* Responsive Blog */
@media (max-width: 992px) {
    .blog__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .blog-card--large {
        grid-row: auto;
        grid-column: auto;
    }
    
    .blog-card:not(.blog-card--large) {
        display: flex;
        flex-direction: column; /* Stack image and text on mobile */
    }
    
    .blog-card:not(.blog-card--large) .blog-card__image-wrapper {
        height: 200px;
    }
}

/* --- Cases Section (Dark) --- */
.cases {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.cases__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cases__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cases__title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cases__desc {
    color: #94A3B8;
    margin-bottom: 40px;
    max-width: 450px;
    font-size: 1.05rem;
}

.cases__stats-grid {
    display: flex;
    gap: 40px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 5px;
}

/* Додаємо плюс після цифри через CSS */
.stat-box__num::after {
    content: '+';
    font-size: 1.5rem;
    vertical-align: top;
    opacity: 0.7;
}

.stat-box__label {
    color: #CBD5E1;
    font-size: 0.9rem;
}

.cases__visual {
    position: relative;
}

.cases__img {
    border-radius: 20px;
    border: 4px solid rgba(255,255,255,0.05);
}

.cases__quote {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 200px;
    font-size: 0.95rem;
    font-weight: 600;
}

.cases__quote span {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 400;
}

/* --- About Section --- */
.about {
    background-color: var(--color-bg);
}

.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    position: relative;
}

.about__img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.about__exp-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.3);
}

.about__exp-num {
    display: block;
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
}

.about__list {
    margin: 30px 0 40px;
}

.about__item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--color-text);
}

.about__item i {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
}

/* Responsive Cases & About */
@media (max-width: 992px) {
    .cases__wrapper, .about__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cases__visual, .about__image {
        order: -1; /* Image on top for mobile */
        max-width: 500px;
        margin: 0 auto;
    }

    .cases__quote {
        right: 0;
    }
}

@media (max-width: 576px) {
    .cases__stats-grid {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Contact Section --- */
.contact {
    background-color: #F8FAFC;
}

.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__benefits {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__benefit-item {
    display: flex;
    gap: 16px;
}

.contact__icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.contact__benefit-item h4 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--color-primary);
}

.contact__benefit-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Form Styles */
.contact__form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-primary);
}

.form__input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #F8FAFC;
}

.form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.captcha-group input {
    width: 100px; /* Smaller input for captcha */
}

.form__checkbox-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.form__checkbox-group input {
    margin-top: 3px;
    cursor: pointer;
}

.form__checkbox-group a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form__submit {
    width: 100%;
    justify-content: center;
}

/* Success Message */
.contact__success {
    display: none; /* Hidden by default */
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.contact__success.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: #D1FAE5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    width: 32px;
    height: 32px;
}

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

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none; /* Controlled by JS */
    animation: slideUp 0.5s ease forwards;
}

.cookie-popup__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

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

.cookie-popup a {
    color: var(--color-accent);
    text-decoration: underline;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

@keyframes slideUp {
    from { transform: translate(-50%, 50px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* --- Policy Pages Styles (Standard Text Pages) --- */
.pages {
    padding: 120px 0 80px; /* Space for fixed header */
}

.pages h1 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.pages h2 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 30px 0 15px;
}

.pages p {
    margin-bottom: 16px;
    color: var(--color-text);
}

.pages ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.pages li {
    margin-bottom: 8px;
    color: var(--color-text);
}

.pages a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
    }
    
    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }
}