/* --- Variables & Reset --- */
:root {
    --color-bg: #F9F9F7;
    --color-text: #1A1A1A;
    --color-text-muted: #666666;
    --color-primary: #0F2E2E; /* Deep Green */
    --color-accent: #CCFF00; /* Neon Lime */
    --color-accent-hover: #b3e600;
    --color-border: #E0E0E0;
    
    --font-main: 'Inter', sans-serif;
    --font-head: 'Space Grotesk', sans-serif;
    
    --container-width: 1240px;
    --header-height: 80px;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --transition: all 0.3s ease;
}

*, *::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;
}

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

ul {
    list-style: none;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

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

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(249, 249, 247, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

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

.header__logo svg {
    color: var(--color-primary);
}

.header__nav {
    display: flex;
}

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

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

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

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

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

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

/* Mobile Menu Overlay Styles would go here if needed, keeping it simple for now */

@media (max-width: 992px) {
    .header__nav {
        display: none; /* Can be toggled with JS later */
    }
    
    .header__burger {
        display: block;
    }
    
    .header__btn {
        display: none;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 80px 0 40px;
    margin-top: auto; /* Push to bottom if content is short */
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer__col--brand {
    padding-right: 20px;
}

.header__logo--footer {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.header__logo--footer svg {
    color: var(--color-accent);
}

.footer__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 300px;
}

.footer__copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: auto;
}

.footer__title {
    font-family: var(--font-head);
    font-size: 18px;
    margin-bottom: 24px;
    color: #fff;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
/* --- Hero Section --- */
.hero {
    padding: 140px 0 80px; /* Top padding accounts for fixed header */
    position: relative;
    overflow: hidden;
    min-height: 90vh; /* Takes up most of the screen */
    display: flex;
    align-items: center;
}

.hero__container {
    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(15, 46, 46, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
    border: 1px solid rgba(15, 46, 46, 0.1);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(204, 255, 0, 0.4);
    animation: pulse 2s infinite;
}

.hero__title {
    font-family: var(--font-head);
    font-size: 56px;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--color-primary);
    position: relative;
    z-index: 1;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 0.4em;
    background-color: var(--color-accent);
    z-index: -1;
    opacity: 0.6;
}

.hero__desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn-icon-right {
    margin-left: 8px;
    width: 20px;
    height: 20px;
}

.hero__info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.hero__info-icon {
    color: var(--color-accent-hover); /* Darker lime for visibility */
    width: 20px;
    height: 20px;
}

/* Visual Side & Parallax */
.hero__visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* For 3D feel */
}

.hero__image-wrapper {
    width: 80%;
    height: 80%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    transition: var(--transition);
}

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

/* Floating Shapes */
.hero__shape {
    position: absolute;
    z-index: 2;
    pointer-events: none; /* Mouse passes through */
}

.hero__shape--1 {
    top: 10%;
    right: 5%;
}

.hero__shape--2 {
    bottom: 15%;
    left: 0;
}

.hero__shape--3 {
    top: 15%;
    left: 10%;
}

/* Floating Card Style */
.hero__card {
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--color-accent);
}

.hero__card-label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.hero__card-value {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(204, 255, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
}

@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__visual {
        height: 400px;
        order: -1; /* Image on top for mobile */
    }
    
    .hero__title {
        font-size: 40px;
    }
}

/* --- Sections Common --- */
.section {
    padding: 100px 0;
}

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

.section-title {
    font-family: var(--font-head);
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto; /* 2 рядки */
    gap: 24px;
}

.bento-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(204, 255, 0, 0.5); /* Accent border on hover */
}

/* Specific Sizes */
.bento-card--large {
    grid-column: span 2;
    grid-row: span 2; /* Займає 2 колонки і 2 рядки по висоті (велика картка зліва) */
    background: linear-gradient(145deg, #ffffff 0%, #f4f7f4 100%);
}

.bento-card--medium {
    grid-column: span 1;
}

.bento-card--accent {
    grid-column: span 1;
    background-color: var(--color-primary);
    color: #fff;
}

.bento-card--wide {
    grid-column: span 1; /* В десктопі змінимо логіку, якщо треба */
    display: flex;
    justify-content: center;
}

/* Content Styling */
.bento-card__icon {
    width: 40px;
    height: 40px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.bento-card--accent .bento-card__icon {
    color: var(--color-accent);
}

.bento-card__icon-bg {
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.bento-card__title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.bento-card--large .bento-card__title {
    font-size: 32px;
}

.bento-card__desc {
    font-size: 16px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.bento-card--accent .bento-card__desc {
    color: rgba(255,255,255, 0.8);
}

/* List in Large Card */
.bento-card__list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bento-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-primary);
}

.bento-card__list li svg {
    color: var(--color-accent-hover);
    width: 20px;
    height: 20px;
}

/* Wide Card Content */
.bento-card__row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    justify-content: space-between;
}

/* Fade In Animation State */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    .bento-card--large {
        grid-column: span 2;
        grid-row: auto;
    }
    .bento-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card--large, 
    .bento-card--medium, 
    .bento-card--accent, 
    .bento-card--wide {
        grid-column: span 1;
    }
}

/* --- Process / Solutions Section --- */
.section--light {
    background-color: #fff; /* White background to contrast with grey body */
}

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

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    margin-bottom: 50px;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.process-step__number {
    font-family: var(--font-head);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: rgba(204, 255, 0, 0.5); /* Transparent Lime */
    -webkit-text-stroke: 1px var(--color-primary); /* Outline effect */
    margin-bottom: 24px;
    position: relative;
    transition: var(--transition);
}

.process-step:hover .process-step__number {
    transform: scale(1.1);
    color: var(--color-accent);
    -webkit-text-stroke: 0;
}

.process-step__title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.process-step__desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Connector Arrows */
.process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Approximate height to align with numbers */
    color: var(--color-border);
}

.process-connector svg {
    width: 32px;
    height: 32px;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-connector {
        display: none; /* Hide arrows on mobile */
    }

    .process-step {
        width: 100%;
        padding: 0;
    }
    
    /* Add a connecting line for mobile vertical layout if desired, 
       or keep it clean. Let's keep it clean. */
}

/* --- Blog Section --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Image Area */
.blog-card__image-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
}

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

.blog-card:hover .blog-card__img {
    transform: scale(1.05); /* Slight zoom effect */
}

.blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-bg);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    z-index: 2;
}

/* Content Area */
.blog-card__content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card__meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.blog-card__title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--color-text);
    transition: var(--transition);
}

.blog-card:hover .blog-card__title {
    color: var(--color-primary);
}

.blog-card__excerpt {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-primary);
    margin-top: auto;
}

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

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

.blog-card__link:hover svg {
    transform: translateX(4px);
}

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

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card__image-wrap {
        height: 200px;
    }
}

/* --- Dark Section Theme --- */
.section--dark {
    background-color: var(--color-primary);
    color: #fff;
    position: relative;
    /* Optional geometric pattern background */
    background-image: radial-gradient(circle at 10% 20%, rgba(204, 255, 0, 0.05) 0%, transparent 20%);
}

.text-white {
    color: #fff !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* --- Reviews Grid --- */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* Центральна картка трохи ширша */
    gap: 24px;
    align-items: center; /* Вирівнювання по центру, щоб центральна могла бути вищою */
}

.review-card {
    background: rgba(255, 255, 255, 0.05); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Featured Card (Middle) */
.review-card--featured {
    background: #fff;
    color: var(--color-text);
    border-color: transparent;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: scale(1.05); /* Трохи більша за інші */
    z-index: 2;
}

.review-card--featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Card Elements */
.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-card__stars {
    display: flex;
    gap: 4px;
}

.review-card__stars svg {
    width: 16px;
    height: 16px;
    color: transparent; /* Fill color handled by class below */
}

.fill-accent {
    fill: var(--color-accent);
    stroke: var(--color-accent);
}

/* Change star color for white card */
.review-card--featured .fill-accent {
    fill: var(--color-primary);
    stroke: var(--color-primary);
}

.review-card__date {
    font-size: 12px;
    opacity: 0.6;
}

.review-card__quote-icon {
    margin-bottom: 20px;
}

.review-card__text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
    opacity: 0.9;
}

.review-card__text--large {
    font-size: 18px;
    font-weight: 500;
}

/* Author Info */
.review-card__author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.review-card--featured .review-card__avatar {
    border-color: var(--color-bg);
}

.review-card__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.review-card__role {
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card--featured {
        transform: none;
        order: -1; /* Featured first on mobile */
    }
    
    .review-card--featured:hover {
        transform: translateY(-5px);
    }
}
/* --- Contact Section --- */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact__info {
    padding-right: 20px;
}

.contact__benefits {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact__benefit-icon {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact__benefit-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.contact__benefit-desc {
    font-size: 14px;
    color: var(--color-text-muted);
}

.contact__note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(204, 255, 0, 0.2); /* Accent light */
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

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

.contact__form-title {
    font-family: var(--font-head);
    font-size: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
    transition: var(--transition);
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 48px; /* Space for icon */
    border: 2px solid #EEE;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--color-primary);
    background-color: #fff;
}

.form-input:focus + .input-icon, 
.input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

/* Captcha styling */
.captcha-input {
    padding-left: 16px; /* No icon */
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.checkbox-input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-label {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
    cursor: pointer;
}

/* Button & Loader */
.btn--block {
    width: 100%;
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

.form-submit-btn.loading .btn-text {
    display: none;
}

.form-submit-btn.loading .btn-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Validation Styles */
.error-msg {
    display: none;
    font-size: 12px;
    color: #ff4d4f;
    margin-top: 4px;
}

.form-group.error .form-input {
    border-color: #ff4d4f;
}

.form-group.error .error-msg {
    display: block;
}

/* Success State */
.form-success {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 10;
    animation: fadeIn 0.5s ease;
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-primary);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 9999;
    border: 1px solid var(--color-border);
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 20px;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-text {
    font-size: 14px;
    color: var(--color-text);
}

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

.btn--sm {
    padding: 8px 16px;
    font-size: 14px;
    align-self: flex-end;
}

/* --- Legal Pages Styling --- */
.pages {
    padding: 120px 0 80px;
}

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

.pages h2 {
    font-family: var(--font-head);
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

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

.pages ul {
    margin-bottom: 16px;
    padding-left: 20px;
    list-style: disc;
    color: var(--color-text-muted);
}

.pages li {
    margin-bottom: 8px;
}

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

@media (max-width: 992px) {
    .contact__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}