:root {
    --stone: #F4F6F3;
    --porcelain: #FFFFFF;
    --ink: #12211B;
    --ink-2: #173226;
    --brass: #2E8B57;
    --brass-light: #4FAE7C;
    --sage: #8FBFA3;
    --text: #152420;
    --text-muted: #5B6A62;
    --line: rgba(18, 33, 27, 0.12);
    --line-dark: rgba(255, 255, 255, 0.14);

    /* Анімації та Тіні */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 4px 12px rgba(18, 33, 27, 0.05);
    --shadow-md: 0 12px 30px rgba(18, 33, 27, 0.08);
    --shadow-lg: 0 20px 45px rgba(18, 33, 27, 0.12);
    --shadow-glow: 0 10px 25px -5px rgba(46, 139, 87, 0.35);
}

html {
    scroll-behavior: smooth;
}

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

body {
    background: var(--stone);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Кастомний стильний скролбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--stone);
}

::-webkit-scrollbar-thumb {
    background: var(--sage);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brass);
}

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

.wrap {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.eyebrow {
    font-size: 23px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 600;
}

/* ---------- tile texture helpers ---------- */
.tex-marble {
    background:
        radial-gradient(120% 90% at 15% 20%, rgba(255, 255, 255, 0.5), transparent 55%),
        radial-gradient(90% 70% at 85% 75%, rgba(46, 139, 87, 0.18), transparent 60%),
        linear-gradient(155deg, #DCD4C4 0%, #C9BFAB 38%, #E8E1D2 60%, #B9AE97 100%);
    position: relative;
}

.tex-marble::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 41%, transparent 43%),
        linear-gradient(70deg, transparent 60%, rgba(46, 139, 87, 0.22) 61%, transparent 63%),
        linear-gradient(20deg, transparent 25%, rgba(255, 255, 255, 0.25) 26%, transparent 28%);
}

.tex-slate {
    background: linear-gradient(160deg, #232B27, #1B211E 60%, #262E29);
}

.grout {
    background-image:
        linear-gradient(var(--line-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
    background-size: 34px 34px;
}

/* ---------- header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(237, 231, 221, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: all 0.3s var(--ease-out);
}

header.scrolled {
    background: #f7f5f0;
    box-shadow: 0 8px 20px rgba(18, 33, 27, 0.06);
}

header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo .word {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.logo .sub {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
}

/* Навігація з анімованим підкресленням */
nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    font-size: 14px;
    font-weight: 500;
}

nav a {
    position: relative;
    color: var(--text);
    opacity: 0.85;
    padding: 4px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brass);
    transition: width 0.3s var(--ease-out);
}

nav a:hover {
    opacity: 1;
    color: var(--brass);
}

nav a:hover::after {
    width: 100%;
}

/* Кнопки з підйомом та неоновою тінню */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.btn-brass {
    background: var(--brass);
    color: var(--porcelain);
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.2);
}

.btn-brass:hover {
    background: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: var(--text);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(18, 33, 27, 0.04);
    border-color: var(--text);
    transform: translateY(-2px);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.phone {
    font-size: 14px;
    font-weight: 600;
    position: relative;
}

.phone:hover {
    color: var(--brass);
}

/* ---------- hero ---------- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
    animation: fadeIn 0.8s var(--ease-out);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    max-width: 560px;
    margin-left: auto;
}

.hero-copy h1 {
    font-size: 56px;
    margin: 18px 0 22px;
}

.hero-copy h1 em {
    font-style: italic;
    color: var(--brass);
    font-weight: 500;
}

.hero-copy p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-actions .link {
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--brass);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.hero-actions .link:hover {
    color: var(--brass);
    letter-spacing: 0.04em;
}

.hero-img {
    position: relative;
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero-img:hover img {
    transform: scale(1.03);
}

.hero-img .tag {
    position: absolute;
    left: 32px;
    bottom: 32px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    display: flex;
    gap: 22px;
    box-shadow: var(--shadow-md);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s var(--ease-out);
}

.hero-img .tag:hover {
    transform: translateY(-4px);
}

.hero-img .tag div {
    display: flex;
    flex-direction: column;
}

.hero-img .tag b {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
}

.hero-img .tag span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- stats strip ---------- */
.stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--porcelain);
}

.stats .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat {
    padding: 38px 40px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.3s ease;
}

.stat:hover {
    background: rgba(46, 139, 87, 0.03);
}

.stat:first-child {
    border-left: none;
}

.stat b {
    font-family: 'Fraunces', serif;
    font-size: 38px;
    font-weight: 500;
    color: var(--brass);
    transition: transform 0.3s var(--ease-out);
}

.stat:hover b {
    transform: scale(1.05);
}

.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- section shell ---------- */
section {
    padding: 110px 0;
}

.section-head {
    max-width: 620px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: 38px;
    margin-top: 14px;
}

.section-head p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 15px;
}

/* ---------- about ---------- */
.about {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-media {
    aspect-ratio: 4/5;
    position: relative;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s var(--ease-out);
}

.about-media:hover img {
    transform: scale(1.02);
}

.about-media .frame {
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--brass);
    z-index: -1;
    transition: transform 0.4s var(--ease-out);
}

.about-media:hover .frame {
    transform: translate(-6px, -6px);
}

.about-text p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 18px;
    max-width: 480px;
}

.about-text .lede {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 21px;
    color: var(--ink);
    margin-bottom: 22px;
    font-weight: 500;
}

/* ---------- why us ---------- */
.why {
    background: var(--ink);
    color: var(--porcelain);
}

.why .section-head p {
    color: rgba(255, 255, 255, 0.6);
}

.why .eyebrow {
    color: var(--brass-light);
}






/* ---------- portfolio ---------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 14px;
}

.p-item {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.p-item.tall {
    grid-row: span 3;
}

.p-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.p-item:hover img {
    transform: scale(1.06);
}

.p-item .cap {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: var(--porcelain);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out);
    z-index: 2;
}

.p-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(18, 33, 27, 0.75), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    z-index: 1;
}

.p-item:hover::after {
    opacity: 1;
}

.p-item:hover .cap {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- process ---------- */
.process-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: relative;
}

.process-strip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 19px;
    height: 1px;
    background: var(--line);
}

.p-step {
    padding-right: 20px;
    position: relative;
}

.p-step .num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--stone);
    border: 1px solid var(--brass);
    color: var(--brass);
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    transition: all 0.3s var(--ease-out);
}

.p-step:hover .num {
    background: var(--brass);
    color: var(--porcelain);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(46, 139, 87, 0.4);
}

.p-step h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.p-step p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- reviews ---------- */
.reviews {
    background: var(--sage);
    color: var(--ink);
}

.reviews .section-head p {
    color: rgba(18, 33, 27, 0.65);
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.review-card {
    background: var(--porcelain);
    padding: 34px;
    border-radius: 4px;
    transition: all 0.35s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

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

.review-card .score {
    font-family: 'Fraunces', serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--brass);
    margin-bottom: 14px;
}

.review-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.review-card .who {
    font-size: 13px;
    font-weight: 600;
}

/* ---------- cta ---------- */
.cta {
    background: var(--ink);
    color: var(--porcelain);
}

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

.cta h2 {
    font-size: 36px;
    color: var(--porcelain);
}

.cta p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    margin-top: 16px;
    max-width: 420px;
}

.form-card {
    background: var(--porcelain);
    padding: 32px;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.form-card .f-row {
    margin-bottom: 16px;
}

.form-card label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.form-card input,
.form-card .fake-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    outline: none;
    background: transparent;
    transition: border-color 0.3s ease;
}

.form-card input:focus {
    border-color: var(--brass);
}

.form-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
}

/* ---------- faq ---------- */
.faq-item {
    border-top: 1px solid var(--line);
    padding: 26px 12px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border-radius: 4px;
}

.faq-item:hover {
    background: rgba(46, 139, 87, 0.03);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Fraunces', serif;
}

.faq-q .x {
    color: var(--brass);
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s var(--ease-out);
}

.faq-item.open .x {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-a {
    max-height: 200px;
    opacity: 1;
}

.faq-a p {
    font-size: 14px;
    color: var(--text-muted);
    padding-top: 14px;
    max-width: 640px;
}

/* ---------- footer ---------- */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.55);
    padding: 56px 0 32px;
    font-size: 13px;
}

footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line-dark);
    margin-bottom: 24px;
}

footer .word {
    color: var(--porcelain);
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    display: flex;
    gap: 24px;
}

footer a:hover {
    color: var(--brass-light);
}

footer .bottom {
    display: flex;
    justify-content: space-between;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width: 860px) {

    .hero,
    .about,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 100%;
        margin: 0;
        padding: 60px 24px;
        padding-top: 15px;
    }

    .hero-img {
        min-height: 340px;
    }



    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wrap {
        padding: 0 24px;
    }

    section {
        padding: 70px 0;
    }

    .hero-copy h1 {
        font-size: 38px;
    }
}

/* ==========================================================================
   Scroll Reveal Animations (IntersectionObserver)
   ========================================================================== */

/* Початковий стан для всіх елементів, що мають анімуватися */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Стан після потрапляння в область видимості */
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Stagger Effects (Почергова поява елементів у сітках)
   -------------------------------------------------------------------------- */

/* Статистика & Відгуки & Картки "Why us" */
.why-card.reveal-on-scroll:nth-child(2),
.stat.reveal-on-scroll:nth-child(2),
.review-card.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.15s;
}

.why-card.reveal-on-scroll:nth-child(3),
.stat.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.why-card.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.45s;
}

/* Кроки процесу (Process Strip) */
.p-step.reveal-on-scroll:nth-child(2) {
    transition-delay: 0.12s;
}

.p-step.reveal-on-scroll:nth-child(3) {
    transition-delay: 0.24s;
}

.p-step.reveal-on-scroll:nth-child(4) {
    transition-delay: 0.36s;
}

.p-step.reveal-on-scroll:nth-child(5) {
    transition-delay: 0.48s;
}

/* Елементи Портфоліо (Галерея) */
.portfolio-grid .p-item.reveal-on-scroll:nth-child(2n) {
    transition-delay: 0.12s;
}

.portfolio-grid .p-item.reveal-on-scroll:nth-child(3n) {
    transition-delay: 0.24s;
}

.portfolio-grid .p-item.reveal-on-scroll:nth-child(4n) {
    transition-delay: 0.36s;
}


/* Фікс розміру цифр у Hero */
.hero-img .tag b .counter {
    font-size: 20px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: normal;
}



/* Прибираємо padding-top тільки для першої секції (Hero) */

.hero-wrapper {
    padding-top: 0 !important;
}



/* Максимально точний фікс для цифр у блоці .stats */
.stats .stat b,
.stats .stat b span,
.stats .stat b span.counter {
    font-size: 38px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: inline-block !important;
}


/* ==========================================================================
   PORTFOLIO SECTION STYLES
   ========================================================================== */

/* Відступи між слайдами у Slick */
.portfolio-grid .slick-slide {
    padding: 0 10px;
}

/* Контейнер картки портфоліо */
.p-item {
    position: relative;
    height: 380px;
    border-radius: 6px;
    overflow: hidden;
    display: flex !important;
    align-items: flex-end;
    padding: 24px;
    cursor: pointer;
}

/* Плавний градієнтний оверлей (з'являється при hover) */
.p-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(15, 25, 20, 0.85) 0%,
            rgba(15, 25, 20, 0.45) 45%,
            rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

/* Фото та відео всередині картки */
.p-item img,
.p-item video.p-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

/* Ховер ефекти для фону */
.p-item:hover::before {
    opacity: 1;
}

.p-item:hover img,
.p-item:hover video.p-video {
    transform: scale(1.05);
}

/* Текст підпису (Місто · тип роботи) */
.p-item .cap {
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Ховер ефекти для тексту */
.p-item:hover .cap {
    opacity: 1;
    transform: translateY(0);
}

/* Примусово кажемо Slick Slider розтягувати картку на всю ширину колонки */
.portfolio-grid .slick-slide>div,
.portfolio-grid .p-item {
    width: 100% !important;
    box-sizing: border-box;
}


/* 1. Прибираємо flex/grid з контейнера, щоб Slick міг сам керувати сіткою */
.portfolio-grid {
    display: block !important;
    width: 100% !important;
}

/* 2. Примусово розтягуємо слайди та внутрішні обгортки Slick */
.portfolio-grid .slick-slide {
    height: auto !important;
}

.portfolio-grid .slick-slide>div {
    width: 100% !important;
}

/* 3. Фіксуємо картку та її вміст */
.portfolio-grid .p-item {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Якщо всередині є картинка чи відео — розтягуємо на всю ширину картки */
.portfolio-grid .p-item img,
.portfolio-grid .p-item video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
}


/* 1. Дозволяємо Slick-треку розтягувати слайди по висоті */
.portfolio-grid .slick-track {
    display: flex !important;
    align-items: stretch;
}

.portfolio-grid .slick-slide {
    height: auto !important;
}

.portfolio-grid .slick-slide>div {
    height: 100%;
    padding: 0 10px;
    /* Проміжний відступ (gap) між картками у слайдері */
}

/* 2. Налаштування картки */
.portfolio-grid .p-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
}

/* 3. Фіксуємо висоту картинок / відео, щоб вони не згорталися в нуль */
.portfolio-grid .p-item img,
.portfolio-grid .p-item video,
.portfolio-grid .p-media {
    width: 100% !important;
    height: 320px !important;
    /* Або бажана висота картки */
    object-fit: cover !important;
    /* Картинка заповнить блок без спотворень */
    position: relative !important;
}


/* Відновлюємо Bento Grid сітку для портфоліо */
.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 158px !important;
    gap: 14px !important;
    width: 100% !important;
}

/* Налаштування окремих карток */
.portfolio-grid .p-item {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 4px;
}

/* Перша та остання картка розтягуються на 2 ряди (високі) */
.portfolio-grid .p-item:nth-child(1),
.portfolio-grid .p-item:nth-child(5) {
    grid-row: span 2 !important;
}

/* Зображення та відео займають весь простір своєї комірки */
.portfolio-grid .p-item img,
.portfolio-grid .p-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    position: absolute !important;
    top: 0;
    left: 0;
}

/* Мобільна адаптивність */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 200px !important;
    }
}

@media (max-width: 550px) {
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 250px !important;
    }

    .portfolio-grid .p-item:nth-child(1),
    .portfolio-grid .p-item:nth-child(5) {
        grid-row: span 1 !important;
    }
}


/* ==========================================
   BENTO GRID (1 Велика + 4 Малих)
   ========================================== */
.portfolio-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 220px !important;
    /* Фіксована висота рядка */
    gap: 20px !important;
    width: 100% !important;
}

.portfolio-grid .p-item {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 12px;
    background-color: #1a1a1a;
}

/* Перша картка робиться великою акцентною (2x2) */
.portfolio-grid .p-item:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
}

/* Скинути можливі інші спани для решти елементів */
.portfolio-grid .p-item:nth-child(n+2) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
}

/* Зображення та відео розтягуються на всю висоту своєї картки */
.portfolio-grid .p-item img,
.portfolio-grid .p-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Мобільна адаптивність */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 200px !important;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 260px !important;
    }

    .portfolio-grid .p-item:nth-child(1) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}


/* Вказівник миші для елементів портфоліо */
.portfolio-grid .p-item {
    cursor: pointer;
}

/* Lightbox вспливаюче вікно */
.p-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.p-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.p-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
}

.p-lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
}

.p-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s;
}

.p-lightbox-close:hover {
    opacity: 0.7;
}

.p-lightbox-media img,
.p-lightbox-media video {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.p-item .cap {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    z-index: 3;
    margin: 0;
}



/* --- Header General Layout --- */
.site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
}

.site-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.site-header .site-title-text {
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: inherit;
}

/* Nav Menu Styles */
.site-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.site-nav a {
    text-decoration: none;
    color: inherit;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Burger Button Base */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
}

/* --- Mobile Styles (Breakpoint <= 992px) --- */
@media (max-width: 992px) {
    .burger-menu {
        display: flex;
    }

    /* Slide-out Mobile Navigation */
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 24px 30px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .site-nav.is-open {
        right: 0;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    /* Animation for Burger when Active */
    .burger-menu.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.is-active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .header-cta .phone {
        display: none;
        /* Приховуємо телефон на зовсім малих екранах за потреби */
    }
}


/* 1. Блокуємо горизонтальний скролл та розтягування сторінки */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* 2. Ховаємо зайві елементи з хедера на мобільних пристроях */
@media (max-width: 768px) {

    /* Ховаємо кнопку і телефон у верхній панелі, щоб залишити лише Логотип та Бургер */
    .site-header .header-cta .btn,
    .site-header .header-cta .phone {
        display: none;
    }

    .site-header .logo {
        max-width: 65%;
    }

    .site-header .logo img {
        max-width: 100%;
        height: auto;
    }
}

/* 3. Виправляємо позиціонування мобільного меню (через transform замість right) */
@media (max-width: 992px) {
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
        padding: 80px 24px 30px;
        z-index: 999;

        /* Використовуємо transform та visibility, щоб меню не створювало скролл */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
    }

    /* Коли додається клас .is-open при кліку на бургер */
    .site-nav.is-open {
        transform: translateX(0);
        visibility: visible;
    }
}


/* Ховаємо мобільний блок CTA на десктопі */
.mobile-nav-cta {
    display: none;
}

/* Мобільні стилі */
@media (max-width: 991px) {

    /* Ховаємо телефон і кнопку у верхньому ряду шапки, залишаємо лише бургер */
    .header-cta .desktop-only {
        display: none !important;
    }

    /* Налаштовуємо панель мобільного меню */
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 90px 30px 40px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* Розтягуємо вміст: навігація вгорі, CTA внизу */
    }

    .site-nav.is-open {
        right: 0;
    }

    /* Стилізація блоку CTA всередині меню */
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 25px;
        border-top: 1px solid #eee;
        /* Розділювач */
    }

    .mobile-nav-cta .phone {
        font-size: 16px;
        font-weight: 500;
        color: #111111;
        text-decoration: none;
    }

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

/* Ховаємо мобільний блок CTA на десктопі */
.mobile-nav-cta {
    display: none;
}

/* Мобільні стилі */
@media (max-width: 991px) {

    /* Ховаємо телефон і кнопку у верхньому ряду шапки, залишаємо лише бургер */
    .header-cta .desktop-only {
        display: none !important;
    }

    /* Налаштовуємо панель мобільного меню */
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 90px 30px 40px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* Розтягуємо вміст: навігація вгорі, CTA внизу */
    }

    .site-nav.is-open {
        right: 0;
    }

    /* Стилізація блоку CTA всередині меню */
    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding-top: 25px;
        border-top: 1px solid #eee;
        /* Розділювач */
    }

    .mobile-nav-cta .phone {
        font-size: 16px;
        font-weight: 500;
        color: #111111;
        text-decoration: none;
    }

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

/* --- 1. Блокування скролу основної сторінки --- */
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
    /* Запобігає жестам скролу на iOS Safari */
}

/* --- 2. Налаштування мобільного меню --- */
@media (max-width: 991px) {
    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        /* Враховує плаваючу панель браузерів на iOS/Android */
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 24px 30px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;

        /* Вмикаємо внутрішній скрол для самого меню */
        overflow-y: auto;
        overscroll-behavior: contain;
        /* Не дає скролу "пробиватися" на основну сторінку */

        display: flex;
        flex-direction: column;
    }

    .site-nav.is-open {
        right: 0;
    }

    /* Навігаційні посилання */
    .site-nav .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
    }

    /* Блок з телефоном та кнопкою знизу */
    .mobile-nav-cta {
        margin-top: auto;
        /* Притискає блок до низу меню */
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 991px) {
    .site-nav {
        /* Фіксуємо меню відносно екрана при скролі сайту */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        padding: 80px 24px 30px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;

        display: flex;
        flex-direction: column;

        /* Внутрішній скрол для меню, якщо вміст не влазить на маленькому екрані */
        overflow-y: auto;
    }

    /* Відкрите меню непорушно висить справа, поки сторінка ззаду гортається */
    .site-nav.is-open {
        right: 0;
    }

    .site-nav .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
    }

    .mobile-nav-cta {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}


/* --- 1. Закріплена шапка нагорі сайту --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    /* Бургер та лого будуть поверх меню */
    background-color: #f7f5f0;
    /* Підбери колір під фон вашої шапки */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}



/* --- 2. Блокування скролу всієї сторінки --- */
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

/* --- 3. Повноекранне мобільне меню --- */
@media (max-width: 991px) {
    .header-cta .desktop-only {
        display: none !important;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background-color: #ffffff;
        z-index: 1000;

        /* Плавна поява меню */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 100px 30px 40px;
        /* Top padding створює простір під закріпленим хедером */
        overflow-y: auto;
    }

    /* Відкритий стан меню */
    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .site-nav .nav-menu a {
        font-size: 20px;
        font-weight: 500;
        color: #111;
        text-decoration: none;
    }

    /* Блок з контактами внизу меню */
    .mobile-nav-cta {
        margin-top: auto;
        padding-top: 25px;
        border-top: 1px solid #eee;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-nav-cta .phone {
        font-size: 18px;
        font-weight: 600;
        color: #111;
        text-decoration: none;
    }

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

/* --- Modal Background Overlay --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    /* Розмиття фону */
    z-index: 2000;
    /* Впевнено поверх закріпленого хедера */

    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Статус активного вікна */
.modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Modal Container --- */
.modal-container {
    position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 40px 30px 35px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Анімація появи (спливання знизу) */
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.is-visible .modal-container {
    transform: translateY(0) scale(1);
}

/* --- Close Button --- */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #111;
}

/* --- Modal Header --- */
.modal-header {
    margin-bottom: 25px;
    text-align: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 0 0 8px 0;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* --- Modal Form --- */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    background-color: #fcfcfc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3b8256;
    /* Зелений акцент під кнопку */
    box-shadow: 0 0 0 3px rgba(59, 130, 86, 0.15);
    background-color: #fff;
}

.modal-form .btn-submit {
    margin-top: 10px;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}


@media (max-width: 868px) {
    .stats .wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    /* Базові стилі та бордери для елементів */
    .stats .wrap>div {
        padding: 24px 16px;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    /* Прибираємо праву рамку у другого елемента (правий стовпчик) */
    .stats .wrap>div:nth-child(2) {
        border-right: none;
    }

    /* 3-й елемент розтягуємо на 2 колонки */
    .stats .wrap>div:nth-child(3) {
        grid-column: 1 / -1;
        /* Розтягує від 1 до останньої колонки */
        border-right: none;
        border-bottom: none;
        border-left: none;
        padding-top: 24px;
    }
}


@media (max-width: 868px) {
    .stats .wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stats .wrap>div {
        padding: 24px 16px;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        box-sizing: border-box;
    }

    /* Прибираємо праву рамку у 2-го елемента (правий стовпчик) */
    .stats .wrap>div:nth-child(2) {
        border-right: none;
    }

    /* --- 3-й елемент: центрування --- */
    .stats .wrap>div:nth-child(3) {
        grid-column: 1 / -1;
        /* Займає обидві колонки */
        border-right: none;
        border-bottom: none;

        /* Вирівнювання вмісту по центру */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}


/* ==========================================
   Секція WHY US (Адаптив)
   ========================================== */

/* --- 1. Планшети та смартфони (до 868px) --- */
@media (max-width: 868px) {

    /* Оптимізація відступів секції */
    section#why,
    .why {
        padding: 60px 0;
    }

    /* Шапка секції (Заголовок та підзаголовок) */
    .why .section-head {
        margin-bottom: 35px;
    }

    .why .section-head h2 {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .why .section-head p {
        font-size: 15px;
        line-height: 1.5;
        opacity: 0.8;
    }



    /* Внутрішній вміст картки */
    .why-card {
        padding: 24px 16px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* Номери (01, 02, 03, 04) */
    .why-card .number,
    .why-card>span:first-child {
        font-size: 14px;
        font-style: italic;
        margin-bottom: 16px;
        opacity: 0.6;
    }

    /* Заголовки карток */
    .why-card h3 {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    /* Текст у картках */
    .why-card p {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.85;
        margin: 0;
    }
}

/* --- 2. Мобільні телефони (до 576px) --- */
@media (max-width: 576px) {


    .why-card {
        padding: 28px 20px;
    }

    .why .section-head h2 {
        font-size: 24px;
    }
}


/* ==========================================
   Горизонтальний слайдер Portfolio на мобільних
   ========================================== */
@media (max-width: 868px) {

    /* 1. Контейнер з карточками перетворюємо на горизонтальну стрічку */
    .portfolio-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        /* Магнітна фіксація картки по центру */
        gap: 16px;

        /* Щоб картки скролилися від самого краю екрана, а не застрягали в padding .wrap */
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 15px;
        /* Запас для тіней/відступів */

        /* Плавний скрол для iOS Safari */
        -webkit-overflow-scrolling: touch;
    }

    /* 2. Приховуємо стандартну смугу прокрутки (скролбар) для чистого вигляду */
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* 3. Ширина кожної картки портфоліо */
    .portfolio-grid>div,
    .portfolio-card {
        flex: 0 0 82% !important;
        /* 82% ширини показує поточну картку + краєчок наступної */
        max-width: 82% !important;
        scroll-snap-align: center;
        /* При зупинці скролу картка стає по центру */
    }

    /* 4. Примусово вирівнюємо картинки всередині карток */
    .portfolio-card img,
    .portfolio-grid img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        /* Опціонально: закруглення кутів */
    }
}

@media (max-width: 868px) {

    /* 1. Горизонтальний контейнер слайдера */
    .portfolio-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        gap: 16px;
        align-items: flex-start;
        /* Не дає карткам неприродно розтягуватися по вертикалі */

        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 20px;

        -webkit-overflow-scrolling: touch;
    }

    /* Приховуємо скролбар */
    .portfolio-grid::-webkit-scrollbar {
        display: none;
    }

    .portfolio-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* 2. Скидаємо будь-які десктопні обмеження висоти для картки */
    .portfolio-grid>div,
    .portfolio-card {
        flex: 0 0 82% !important;
        max-width: 82% !important;
        height: auto !important;
        /* Знімаємо фіксовану висоту */
        max-height: none !important;
        scroll-snap-align: center;
    }

    /* 3. Скидаємо обмеження висоти для обгортки картинки (якщо вона є) */
    .portfolio-card .image-wrapper,
    .portfolio-card .portfolio-thumb,
    .portfolio-card figure {
        height: auto !important;
        max-height: none !important;
    }

    /* 4. Відновлюємо природні пропорції картинки */
    .portfolio-card img,
    .portfolio-grid img {
        width: 100% !important;
        height: auto !important;
        /* Зберігає оргінальне співвідношення сторін */
        max-height: none !important;
        object-fit: cover;
        display: block;
        border-radius: 8px;
    }
}


/* ==========================================
   Адаптив секції Portfolio (Slick Slider)
   ========================================== */

@media (max-width: 868px) {

    /* Секція та шапка */
    #portfolio {
        padding: 50px 0;
    }

    #portfolio .section-head {
        margin-bottom: 20px;
    }

    /* Налаштування контейнера Slick слайдера */
    #portfolio .portfolio-grid {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }

    #portfolio .slick-list {
        padding: 10px 0;
        /* Запас для тіней */
        overflow: hidden;
    }

    /* Окремий слайд Slick */
    #portfolio .slick-slide {
        padding: 0 10px;
        /* Відступи між картками */
        box-sizing: border-box;
        outline: none;
    }

    /* Картка елемента портфоліо (.p-item) */
    #portfolio .p-item {
        display: flex !important;
        flex-direction: column;
        height: auto !important;
        border-radius: 12px;
        overflow: hidden;
        background-color: #f9f9f9;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    /* Зображення та відео — задаємо красиву, правильну пропорцію */
    #portfolio .p-item img,
    #portfolio .p-item video.p-video {
        width: 100% !important;
        height: 250px !important;
        /* Повноцінна висота фото на планшетах/мобілці */
        object-fit: cover !important;
        /* Картинка заповнює блок без викривлення */
        display: block !important;
        border-radius: 12px 12px 0 0;
    }

    /* Підпис (.cap) під медіа */
    #portfolio .p-item .cap {
        display: block;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 500;
        color: #111;
        background: #ffffff;
    }

    /* Стилі для пагінації (Slick Dots) */
    #portfolio .slick-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 20px 0 0 0;
        gap: 8px;
    }

    #portfolio .slick-dots li {
        margin: 0;
    }

    #portfolio .slick-dots li button {
        font-size: 0;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ccc;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    #portfolio .slick-dots li.slick-active button {
        background-color: var(--brass, #3b8256);
        /* Акцентний колір */
        width: 22px;
        border-radius: 5px;
    }

    /* Стрілки перемикання */
    .slider-arrows {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        margin-bottom: 12px;
    }

    .slider-arrows button {
        background: #fff;
        border: 1px solid #e0e0e0;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }

    .slider-arrows button:hover {
        background: #f0f0f0;
    }
}

/* Корекція для вузьких екранів телефонів (до 480px) */
@media (max-width: 480px) {

    #portfolio .p-item img,
    #portfolio .p-item video.p-video {
        height: 220px !important;
        /* Оптимальна висота для смартфонів */
    }
}



/* ==========================================
   Фікс висоти та форми для .p-item на мобілці
   ========================================== */
@media (max-width: 868px) {

    /* 1. Налаштування контейнера-слайдера */
    .portfolio-grid,
    #portfolio .portfolio-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;

        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 20px !important;

        -webkit-overflow-scrolling: touch;
    }

    /* Приховуємо скролбар */
    .portfolio-grid::-webkit-scrollbar {
        display: none !important;
    }

    .portfolio-grid {
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    /* 2. ПЕРЕБИВАЄМО ДЕСКТОПНУ ВИСОТУ ДЛЯ .p-item */
    .portfolio-grid .p-item,
    #portfolio .p-item,
    div.p-item {
        flex: 0 0 82% !important;
        min-width: 82% !important;
        max-width: 82% !important;

        /* КЛЮЧОВИЙ ФІКС: міняємо жорсткі 180px на нормальну висоту картки */
        height: 320px !important;
        min-height: 320px !important;
        max-height: 320px !important;

        position: relative !important;
        scroll-snap-align: center !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }

    /* 3. Зображення та відео всередині .p-item */
    .portfolio-grid .p-item img,
    .portfolio-grid .p-item video,
    #portfolio .p-item img,
    #portfolio .p-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        /* Натягує картинку по всій висоті 320px без сплющення */
        display: block !important;
    }

    /* 4. Підпис поверх фото/відео */
    .portfolio-grid .p-item .cap,
    #portfolio .p-item .cap {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 12px 16px !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)) !important;
        color: #ffffff !important;
        font-size: 14px !important;
        z-index: 2 !important;
    }
}


/* ==========================================
   Адаптив для секції PROCESS
   ========================================== */

@media (max-width: 768px) {

    /* 1. Контейнер кроків у 1 колонку */
    .process-strip {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
        position: relative;
        padding-left: 20px;
        /* Запас під вертикальну лінію */
        margin-top: 30px;
    }

    /* 2. Вертикальна лінія таймлайну ліворуч */
    .process-strip::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 36px;
        /* Проходить чітко через центр кружечків */
        width: 2px;
        background-color: var(--line-color, #e0e0e0);
        z-index: 1;
    }

    /* 3. Окремий крок (.p-step) */
    .p-step {
        display: grid !important;
        grid-template-columns: 34px 1fr;
        /* Кружечок зліва, контент справа */
        column-gap: 16px;
        align-items: start;
        position: relative;
        z-index: 2;
    }

    /* 4. Кружечки з цифрами (1, 2, 3...) */
    .p-step .num {
        width: 34px !important;
        height: 34px !important;
        border-radius: 50% !important;
        border: 1px solid var(--brass, #3b8256) !important;
        background-color: #ffffff !important;
        /* Перекриває лінію позаду */
        color: var(--brass, #3b8256) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        grid-row: 1 / span 3;
        /* Фіксує цифру на висоті всього блоку */
    }

    /* 5. Заголовок кроку */
    .p-step h3 {
        grid-column: 2;
        font-size: 17px !important;
        line-height: 1.3 !important;
        margin: 4px 0 6px 0 !important;
    }

    /* 6. Опис кроку */
    .p-step p {
        grid-column: 2;
        font-size: 14px !important;
        line-height: 1.5 !important;
        opacity: 0.8;
        margin: 0 !important;
    }
}


/* ==========================================
   Адаптив REVIEWS (Горизонтальний свайп)
   ========================================== */

@media (max-width: 768px) {
    .reviews {
        padding: 50px 0;
        overflow: hidden;
    }

    /* 1. Перетворюємо сітку на горизонтальний скрол */
    .reviews .review-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;

        /* Розтягуємо скрол від краю до краю екрана */
        margin-left: -24px !important;
        margin-right: -24px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
        padding-bottom: 10px !important;

        -webkit-overflow-scrolling: touch;
    }

    /* Приховуємо смугу прокрутки */
    .reviews .review-grid::-webkit-scrollbar {
        display: none !important;
    }

    .reviews .review-grid {
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    /* 2. Ширина та адаптивна висота картки */
    .reviews .review-card {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        min-width: 85% !important;
        height: auto !important;
        /* Автоматична висота за вмістом */

        scroll-snap-align: center !important;

        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;

        padding: 24px 20px !important;
        border-radius: 12px !important;
        background-color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    }

    /* 3. Оцінка / Заголовок */
    .reviews .review-card .score {
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
        color: var(--brass, #3b8256) !important;
    }

    /* 4. Текст відгуку */
    .reviews .review-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        color: #333333 !important;
        margin: 0 0 16px 0 !important;
    }

    /* 5. Автор */
    .reviews .review-card .who {
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #777777 !important;
        margin-top: auto !important;
    }
}

/* Навігація футера */
.footer-nav {
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.7;
}

/* Посилання внизу */
footer .bottom a {
    color: inherit;
    text-decoration: none;
}

footer .bottom a:hover {
    text-decoration: underline;
}

/* Адаптив для мобільного */
@media (max-width: 768px) {
    .footer-links {
        justify-content: center;
        gap: 12px 18px;
    }
}

.sng-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

#sngFormStatus {
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}



/* ==========================================
   Header Styles (Dark Theme)
   ========================================== */

/* Контейнер та фоновий колір */
.site-header {
    background-color: #121612;
    /* Темно-зелений/майже чорний фон */
    color: #e2e8e0;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* 1. Логотип */
.site-logo {
    font-family: 'Cinzel', 'Times New Roman', serif;
    /* Преміальний серіф-шрифт */
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
}

.site-logo .amp {
    color: #c4e538;
    /* Яскраво-салатовий / лаймовий колір */
    font-style: italic;
    font-weight: 400;
}

/* 2. Навігаційне меню */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-list a {
    color: #a3b0a1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.main-nav .nav-list a:hover {
    color: #ffffff;
}

/* 3. Правий блок (Телефон та Кнопка) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Телефон */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a3b0a1;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.header-phone svg {
    stroke: #a3b0a1;
    transition: stroke 0.25s ease;
}

.header-phone:hover,
.header-phone:hover svg {
    color: #ffffff;
    stroke: #ffffff;
}

/* CTA Кнопка "Discuss Your Project" */
.btn-header-cta {
    background-color: #bfde50;
    /* Лаймовий колір з макету */
    color: #121612;
    padding: 10px 20px;
    border-radius: 15px;
    /* Закруглені кути */
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-header-cta:hover {
    background-color: #b2db26;
    transform: translateY(-1px);
}

/* Адаптив для планшетів і мобілок */
@media (max-width: 1100px) {
    .main-nav {
        display: none;
        /* Сховуємо меню на невеликих екранах (за потреби можна додати гамбургер) */
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 12px 16px;
    }

    .header-phone {
        display: none;
        /* Ховаємо телефон на малих екранах */
    }
}


/* ==========================================
   Hero Section
   ========================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #121612;
    /* Фоновий колір до завантаження фото */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px 80px 20px;
    color: #ffffff;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Малий заголовок зверху */
.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bfde50;
    /* Акцентний лаймовий */
    margin-bottom: 20px;
    display: inline-block;
}

/* 2. Головний заголовок */
.hero-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 4.5rem;
    line-height: 1.15;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
}

/* Акцентний лаймовий колір всередині заголовка */
.hero-title .highlight {
    color: #cce699;
    display: inline;
}

/* 3. Опис */
.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 0 12px 0;
}

/* 4. Малий підпис */
.hero-subtext {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 36px;
    display: block;
}

/* 5. Кнопки */
.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Головна кнопка (Лаймова) */
.hero-buttons .btn-primary {
    background-color: #bfde50;
    color: #121612;
    padding: 14px 48;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.hero-buttons .btn-primary:hover {
    background-color: #bfde50;
    transform: translateY(-2px);
}

/* Вторинна кнопка (Темна з обводкою) */
.hero-buttons .btn-secondary {
    background-color: rgba(18, 22, 18, 0.8);
    color: #ffffff;
    padding: 14px 48px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Адаптив під мобільні */
@media (max-width: 768px) {
    .hero-section {
        min-height: 75vh;
        padding: 80px 16px 60px 16px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}


/* ==========================================
   Hero Section з матовим ефектом (Blur)
   ========================================== */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px 80px 20px;
    color: #ffffff;
    overflow: hidden;
    /* Щоб розмиття не виходило за межі секції */
}

/* Матовий шар поверх фонового зображення */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    /* Затемнення + матове розмиття */
    background: rgba(12, 15, 12, 0.45);
    /* Легкий темний відтінок */

    z-index: 1;
}

/* Контент поверх матового фону */
.hero-container {
    position: relative;
    z-index: 2;
    /* Піднімаємо текст і кнопки над матовим шаром */
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================
   Services Section (Dark Theme)
   ========================================== */

.services-section {
    background-color: #0f130f;
    /* Темний фоновий колір */
    padding: 90px 20px;
    color: #ffffff;
}

/* Шапка секції */
.services-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.services-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bfde50;
    display: block;
    margin-bottom: 12px;
}

.services-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 55px;
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.services-title .highlight {
    color: #bfde50;
}

.services-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #81998D;
    font-weight: 800;
    margin: 0;
}

/* Сітка з 3-х карток */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1540px;
    margin: 0 auto;
}

/* Картка */
.service-card {
    background-color: #171d17;
    /* Темно-зелена заповнена картка */
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 235, 55, 0.2);
}

/* Зображення картки */
.service-card .card-image {
    width: 100%;
    height: 370px;
    overflow: hidden;
    position: relative;
    background-color: #222922;
}

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

.service-card:hover .card-image img {
    transform: scale(1.04);
}

/* Контент картки */
.service-card .card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Ціна */
.service-card .card-price {
    font-size: 14px;
    font-weight: 600;
    color: #bfde50;
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
}

/* Заголовок картки */
.service-card h3 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
}

/* Опис картки */
.service-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Посилання */
.service-card .card-link {
    font-size: 15px;
    font-weight: 600;
    color: #bfde50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.25s ease;
}

.service-card .card-link:hover {
    gap: 10px;
}

/* Адаптив під мобільні та планшети */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-section {
        padding: 60px 16px;
    }

    .services-title {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card .card-image {
        height: 200px;
    }
}



/* ==========================================
   Why Choose Us Section
   ========================================== */

.why-section {
    background-color: #0f130f;
    /* Глибокий темно-зелений/майже чорний */
    padding: 90px 20px;
    color: #ffffff;
}

/* Шапка секції */
.why-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.why-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bfde50;
    /* Акцентний лаймовий */
    display: block;
    margin-bottom: 12px;
}

.why-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 55px;
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.why-title .highlight {
    color: #bfde50;
}

.why-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #81998D;
    font-weight: 800;
    margin: 0;
}

/* Сітка 3х2 */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1540px;
    margin: 0 auto;
}

/* Картка */
.why-card {
    background-color: #141a15;
    /* Темна картка */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 235, 55, 0.25);
}

/* Іконка у закругленій плашці */
.why-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: rgba(197, 235, 55, 0.1);
    /* Прозорий лаймовий фон */
    border: 1px solid rgba(197, 235, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.why-icon svg {
    stroke: #c5eb37;
    /* Лаймовий колір іконки */
}

/* Заголовок картки */
.why-card h3 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Опис картки */
.why-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* Адаптив під планшети та мобільні */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 640px) {
    .why-section {
        padding: 60px 16px;
    }

    .why-title {
        font-size: 30px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-card {
        padding: 24px 20px;
    }
}



.testimonials-section {
    background-color: #0f130f;
    padding: 90px 20px;
    color: #ffffff;
}

.testimonials-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.testimonials-eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bfde50;
    display: block;
    margin-bottom: 12px;
}

.testimonials-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 55px;
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.testimonials-title .highlight {
    color: #bfde50;
}

.testimonials-desc {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1240px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: #141a15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 235, 55, 0.25);
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

.testimonial-card p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.testimonial-card .author {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

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

.trustpilot-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.25s ease;
}

.trustpilot-link strong {
    color: #ffffff;
}

.trustpilot-link:hover {
    color: #bfde50;
}

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

@media (max-width: 640px) {
    .testimonials-section {
        padding: 60px 16px;
    }

    .testimonials-title {
        font-size: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }
}


/* ==========================================
   CTA Banner Section
   ========================================== */

.cta-banner-section {
    background-color: #0f130f;
    /* Загальне темно-зелене тло */
    padding: 80px 20px;
}

.cta-banner-card {
    background-color: #131a15;
    /* Темне тло картки */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 80px 40px;
    max-width: 1020px;
    margin: 0 auto;
    text-align: center;

}

/* Eyebrow (Надзаголовок) */
.cta-eyebrow {
    display: block;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #bfde50;
    /* Акцентний салатовий */
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Заголовок */
.cta-title {
    font-family: 'Cinzel', 'Times New Roman', serif;
    font-size: 55px;
    line-height: 1.4;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 20px 0;
}

.cta-title .highlight {
    color: #bfde50;
}

/* Опис */
.cta-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgb(129, 153, 141);
    max-width: 800px;
    margin: 0 auto 14px auto;
}

/* Під-опис */
.cta-subdesc {
    font-size: 16px;
    line-height: 1.6;
    color: rgb(129, 153, 141);
    margin: 0 auto 36px auto;
}

/* Блок кнопок */
.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Спільні стилі для кнопок */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* Основна кнопка (Lime) */
.cta-btn-primary {
    background-color: #bfde50;
    color: #0c100d;
    border: 1px solid #bfde50;
}

.cta-btn-primary:hover {
    background-color: #bfde50;
    border-color: #bfde50;
    transform: translateY(-2px);
}

.cta-btn-primary svg {
    transition: transform 0.25s ease;
}

.cta-btn-primary:hover svg {
    transform: translateX(3px);
}

/* Вторинна кнопка (Dark Outline) */
.cta-btn-secondary {
    background-color: #17201a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-btn-secondary:hover {
    background-color: #1e2a22;
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
    .cta-banner-section {
        padding: 50px 16px;
    }

    .cta-banner-card {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-desc {
        font-size: 15px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-btn {
        width: 100%;
    }
}


/* ==========================================
   Fixed Header & Scroll Effect
   ========================================== */

/* Базові налаштування для зафіксованого хедера */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Стан хедера під час гортання (додається через JS) */
.site-header.scrolled {
    padding: 14px 0;
    /* Зменшуємо висоту хедера при скролі */
    background-color: rgba(12, 16, 13, 0.82);
    /* Темне напівпрозоре тло */
    backdrop-filter: blur(12px);
    /* Ефект розмиття контенту під хедером */
    -webkit-backdrop-filter: blur(12px);
    /* Підтримка Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Налаштування контейнера хедера */
.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Стан хедера під час гортання */
.site-header.scrolled {
    padding: 14px 0;

    /* Злегка зелений напівпрозорий фон (можете змінювати останню цифру 0.75 для прозорості) */
    background-color: rgba(22, 40, 28, 0.75);

    /* Ефект сильного розмиття заднього фону */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Легка зеленувата (лаймова) лінія знизу для підкреслення дизайну */
    border-bottom: 1px solid rgba(197, 235, 55, 0.15);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   Fixed Header (Green & Blurred by default)
   ========================================== */

/* 1. Початковий стан хедера в самому верху сторінки */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;

    /* Зелений напівпрозорий фон та блюр одразу зверху */
    background-color: rgba(22, 40, 28, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 235, 55, 0.1);

    transition: background-color 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 2. Стан хедера при гортанні (стає трохи компактнішим і щільнішим) */
.site-header.scrolled {
    padding: 14px 0;
    background-color: rgba(22, 40, 28, 0.88);
    /* Трохи темніший/щільніший колір */
    border-bottom-color: rgba(197, 235, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



/* ==========================================
   Scroll Reveal Animations
   ========================================== */

/* Базовий стан елемента до появи (прихований і зміщений вниз) */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* Стан після появи в полі зору */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 1. Почергова анімація для елементів у сітках (картки, блоки) */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.is-visible>*:nth-child(1) {
    transition-delay: 0.05s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(2) {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(3) {
    transition-delay: 0.25s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(4) {
    transition-delay: 0.35s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(5) {
    transition-delay: 0.45s;
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible>*:nth-child(6) {
    transition-delay: 0.55s;
    opacity: 1;
    transform: translateY(0);
}

/* Додатковий варіант: Плавна поява з зумом (для важливих карток чи баннерів) */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}



/* ==========================================
   Smooth Scroll Reveal Animations
   ========================================== */

/* Базовий прихований стан */
.reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Випливання знизу */
.reveal-fade-up {
    transform: translateY(40px);
}

/* 2. Випливання зверху (для nad-заголовків/eyebrows) */
.reveal-fade-down {
    transform: translateY(-25px);
}

/* 3. Плавне збільшення (для карток і баннерів) */
.reveal-scale-up {
    transform: scale(0.93) translateY(30px);
}

/* 4. Поява з легким відскоком (для іконок або кнопок) */
.reveal-pop {
    transform: scale(0.85);
}

/* Стан після появи в полі зору */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Затримки для послідовного виводу елементів */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Ховер-ефект для іконок після появи */
.why-card .why-icon svg {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-icon svg {
    transform: scale(1.15) rotate(5deg);
}



/* ==========================================
   Header Base Styles
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: rgba(18, 26, 21, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 235, 55, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    padding: 14px 0;
    background-color: rgba(18, 26, 21, 0.92);
    border-bottom-color: rgba(197, 235, 55, 0.2);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип */
.site-logo {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.site-logo .amp {
    color: #c5eb37;
    /* Фірмовий салатовий акцент */
}

/* Десктоп-навігація */
.nav-drawer {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-list a:hover {
    color: #c5eb37;
}

/* Правий блок дій */
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-phone:hover {
    color: #ffffff;
}

.btn-header-cta {
    display: inline-block;
    background-color: #c5eb37;
    color: #0f1712;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-header-cta:hover {
    background-color: #d6f552;
    transform: translateY(-1px);
}

/* Кнопка гамбургера (прихована на десктопі) */
.menu-toggle {
    display: none;
}

/* ==========================================
   Mobile Responsive Styles (< 992px)
   ========================================== */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        transition: border-color 0.2s ease;
    }

    .hamburger-bar {
        width: 18px;
        height: 2px;
        background-color: #ffffff;
        margin: 2px 0;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Анімація гамбургера в Хрестик при відкритті */
    .site-header.menu-open .menu-toggle {
        border-color: #c5eb37;
    }

    .site-header.menu-open .hamburger-bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.menu-open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .hamburger-bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Мобільне випадаюче меню (Overlay/Drawer) */
    .nav-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0f1712;
        padding: 100px 24px 40px 24px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
    }

    .site-header.menu-open .nav-drawer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Список посилань на мобільному */
    .main-nav {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .nav-list a {
        font-size: 18px;
        font-weight: 600;
        color: #ffffff;
        display: block;
        width: 100%;
    }

    /* Блок з телефоном та кнопкою на мобільному */
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
        margin-top: auto;
        /* Притискає донизу, якщо екран високий */
        padding-top: 20px;
    }

    .header-phone {
        font-size: 16px;
        color: #94a3b8;
    }

    .btn-header-cta {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 12px;
    }
}

/* Заборонити скрол сторінки при відкритому мобільному меню */
body.no-scroll {
    overflow: hidden;
}


/* ==========================================
   Base Header & Mobile Menu (Exact Match)
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0b110c;
    /* Темний фірмовий фон */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.site-logo {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.site-logo .amp {
    color: #c5eb37;
    /* Салатовий акцент */
}

/* ------------------------------------------
   Десктоп (від 992px)
   ------------------------------------------ */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-drawer {
        display: flex;
        align-items: center;
        gap: 36px;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-list a {
        color: #e2e8f0;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.2s;
    }

    .nav-list a:hover {
        color: #c5eb37;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #8e9a8d;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

    .btn-header-cta {
        background-color: #c5eb37;
        color: #000000;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
    }
}

/* ------------------------------------------
   Мобільна версія (до 991px)
   ------------------------------------------ */
@media (max-width: 991px) {
    .menu-toggle {
        background: transparent;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    /* Перемикання іконок ☰ та ✕ */
    .menu-toggle .icon-close {
        display: none;
    }

    .site-header.menu-open .menu-toggle .icon-burger {
        display: none;
    }

    .site-header.menu-open .menu-toggle .icon-close {
        display: block;
    }

    /* Мобільна панель (випадає вниз прямо під логотипом) */
    .nav-drawer {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0b110c;
        padding: 20px 20px 28px 20px;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);

        display: flex;
        flex-direction: column;
        gap: 22px;

        /* Плавне випадання */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .site-header.menu-open .nav-drawer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Список елементів меню */
    .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .nav-list a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        display: block;
    }

    /* Телефон та Кнопка */
    .header-actions {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 4px;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #8e9a8d;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
    }

    .btn-header-cta {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #c5eb37;
        color: #000000;
        font-weight: 700;
        font-size: 15px;
        padding: 14px 20px;
        border-radius: 10px;
        text-decoration: none;
        box-sizing: border-box;
        transition: opacity 0.2s;
    }

    .btn-header-cta:active {
        opacity: 0.88;
    }
}


/* ==========================================
   Header & Mobile Navigation (Pixel Perfect)
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0b110c;
    /* Фірмовий темний колір */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1540px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    /* Для позиціонування випадаючої панелі */
}

/* Логотип */
.site-logo {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
}

.site-logo .amp {
    color: #c5eb37;
    /* Салатовий акцент */
    font-style: italic;
    font-family: Georgia, serif;
}

/* ------------------------------------------
   Десктоп стилі (>= 992px)
   ------------------------------------------ */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-drawer {
        display: flex;
        align-items: center;
        gap: 36px;
        background: transparent;
        position: static;
        padding: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-list a {
        color: #e2e8f0;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.2s;
    }

    .nav-list a:hover {
        color: #c5eb37;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #8e9a8d;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

    .btn-header-cta {
        background-color: #c5eb37;
        color: #000000;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        text-decoration: none;
    }
}

/* ------------------------------------------
   Мобільні стилі (< 991px)
   ------------------------------------------ */
@media (max-width: 991px) {

    /* Кнопка перемикача */
    .menu-toggle {
        background: transparent;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    .menu-toggle .icon-close {
        display: none;
    }

    .site-header.menu-open .menu-toggle .icon-burger {
        display: none;
    }

    .site-header.menu-open .menu-toggle .icon-close {
        display: block;
    }

    /* Випадаюча панель (Точно як на макеті) */
    .nav-drawer {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        /* Авто-висота, не 100vh! */
        background-color: #0b110c;
        padding: 12px 20px 24px 20px;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);

        display: flex;
        flex-direction: column;
        gap: 20px;

        /* Плавна поява зверху вниз */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .site-header.menu-open .nav-drawer {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Список пунктів навігації */
    .main-nav {
        width: 100%;
    }

    .nav-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .nav-list a {
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 600;
        display: block;
        letter-spacing: -0.1px;
    }

    /* Блок з телефоном та кнопкою */
    .header-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 4px;
        width: 100%;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #8e9a8d;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
    }

    .btn-header-cta {
        display: block;
        width: 100%;
        text-align: center;
        background-color: #c5eb37;
        color: #000000;
        font-weight: 600;
        font-size: 14px;
        padding: 13px 20px;
        border-radius: 8px;
        text-decoration: none;
        box-sizing: border-box;
    }
}



/* ==========================================
   Fix: Force Mobile Navigation Visibility
   ========================================== */
@media (max-width: 991px) {

    /* Примусово показуємо обгортку навігації */
    .nav-drawer .main-nav {
        display: block !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Примусово показуємо список та робимо його вертикальним */
    .nav-drawer .nav-list,
    .nav-drawer ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-drawer .nav-list li,
    .nav-drawer ul li {
        display: block !important;
    }

    /* Стилі для самих посилань */
    .nav-drawer .nav-list a,
    .nav-drawer ul a {
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        display: block !important;
        line-height: 1.4 !important;
    }
}

/* ==========================================
   Fix Vertical Alignment for Desktop Header
   ========================================== */
@media (min-width: 992px) {

    /* 1. Вирівнюємо всі 3 головні блоки по центру */
    .site-header .header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* 2. Вирівнюємо навігацію та правий блок по центру */
    .site-header .nav-drawer,
    .site-header .main-nav,
    .site-header .nav-list,
    .site-header .header-actions {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Скинути небажані margin у кнопки, логотипу та телефону */
    .site-header .site-logo,
    .site-header .header-phone,
    .site-header .btn-header-cta {
        margin: 0 !important;
        /* Прибирає відступ зверху від WordPress */
        line-height: 1 !important;
    }

    /* 4. Ідеальне внутрішнє вирівнювання кнопки */
    .site-header .btn-header-cta {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 22px !important;
        height: auto !important;
    }
}


/* ==========================================
   Mobile Horizontal Slider (CSS Scroll Snap)
   ========================================== */
@media (max-width: 767px) {

    /* 1. Перетворюємо сітку на горизонтальний флекс-контейнер */
    .services-section .services-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        /* Плавний скрол на iOS */

        /* Розтягуємо слайдер від краю до краю мобільного екрана */
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 16px !important;

        gap: 16px !important;

        /* Приховуємо стандартну смугу прокрутки */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE / Edge */
    }

    .services-section .services-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    /* 2. Налаштовуємо параметри каруселі для карток */
    .services-section .service-card {
        flex: 0 0 85% !important;
        /* 85% ширини екрана (виглядає край наступної картки) */
        max-width: 85% !important;
        scroll-snap-align: center;
        /* Картка "магнітиться" по центру екрана */
        box-sizing: border-box;

        /* Запобігаємо збоям через анімації reveal */
        opacity: 1 !important;
        transform: none !important;
    }
}


/* На десктопі стрілочки ховаємо */
.services-slider-nav {
    display: none;
}

/* ==========================================
   Mobile 1-Card Slider with Arrows (< 768px)
   ========================================== */
@media (max-width: 767px) {

    /* 1. Слайдер на 100% ширини */
    .services-section .services-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        scrollbar-width: none;
        /* Ховаємо смугу прокрутки */
    }

    .services-section .services-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Рівно 1 картка на весь екран */
    .services-section .service-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
    }

    /* 3. Блок навігації зі стрілочками */
    .services-slider-nav {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
    }

    .slider-arrow {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background-color: #121913;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .slider-arrow:active {
        background-color: #c5eb37;
        color: #000000;
        border-color: #c5eb37;
    }
}



/* На десктопі стрілочки ховаємо */
.why-slider-nav {
    display: none;
}

/* ==========================================
   Why Choose Us: Mobile 1-Card Slider (< 768px)
   ========================================== */
@media (max-width: 767px) {

    /* 1. Горизонтальний Scroll Snap контейнер */
    .why-section .why-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        scrollbar-width: none;
    }

    .why-section .why-grid::-webkit-scrollbar {
        display: none;
    }

    /* 2. Рівно 1 картка на екран */
    .why-section .why-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        box-sizing: border-box;
        opacity: 1 !important;
        transform: none !important;
    }

    /* 3. Блок стрілочок навігації */
    .why-slider-nav {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
    }
}


/* ==========================================
   Footer Styles (Pixel-Perfect Match)
   ========================================== */
.site-footer {
    background-color: #080d09;
    /* Темно-зелений/майже чорний фон */
    color: #94a395;
    padding: 64px 0 32px;
    font-size: 14px;
    line-height: 1.5;
}

/* Верхня сітка футера */
.site-footer .footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.8fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

/* Колонка бренду */
.site-footer .footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.site-footer .footer-logo .amp {
    color: #c5eb37;
    /* Салатовий акцент */
    font-style: italic;
    font-family: Georgia, serif;
}

.site-footer .brand-desc {
    color: #8c9b8e;
    max-width: 310px;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.site-footer .brand-legal {
    color: #5d6a5e;
    font-size: 12px;
    margin: 0;
}

/* Заголовки колонок */
.site-footer .footer-title {
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 20px 0;
}

/* Списки посилань */
.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .footer-links a {
    color: #8c9b8e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: #ffffff;
}

/* Контактна інформація */
.site-footer .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer .footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8c9b8e;
}

.site-footer .footer-contact svg {
    color: #c5eb37;
    /* Салатовий колір іконок */
    flex-shrink: 0;
}

.site-footer .footer-contact a {
    color: #8c9b8e;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .footer-contact a:hover {
    color: #ffffff;
}

/* Нижня частина футера */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #6c7a6e;
}

.site-footer .copyright,
.site-footer .footer-tagline {
    margin: 0;
}

/* ==========================================
   Responsive Adaptability
   ========================================== */
@media (max-width: 991px) {
    .site-footer .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 48px 0 24px;
    }

    .site-footer .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
    }

    .site-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* ==========================================
   Bathroom Page Hero Section
   ========================================== */
.bath-hero {
    position: relative;
    background-color: #0b120c;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 130px 0 110px;
    color: #ffffff;
    overflow: hidden;
}

/* Напівпрозоре темно-зелене затемнення тла */
.bath-hero .bath-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(8, 14, 10, 0.72) 0%,
            rgba(8, 14, 10, 0.85) 100%);
    z-index: 1;
}

.bath-hero .bath-hero-wrap {
    position: relative;
    z-index: 2;
}

.bath-hero .bath-hero-content {
    max-width: 680px;
}

/* Маленький верхній текст (Eyebrow) */
.bath-hero-eyebrow {
    display: inline-block;
    color: #cce699;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Головний заголовок */
.bath-hero-title {
    font-family: Georgia, serif;
    font-size: 58px;
    font-weight: 600;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 22px 0;
    letter-spacing: -0.5px;
}

/* Зелений акцент у заголовку */
.bath-hero-title .highlight {
    color: #cce699;
    ;
    font-style: normal;
}

/* Опис */
.bath-hero-desc {
    color: #81998D;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 18px 0;
    font-weight: 800;
}

/* Мета-інформація (ціни, терміни) */
.bath-hero-meta {
    color: #728374;
    font-size: 16px;
    margin: 0 0 32px 0;
}

/* Салатова кнопка CTA */
.btn-bath-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #cce699;
    color: #080e0a;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(197, 235, 55, 0.15);
}

.btn-bath-cta:hover {
    background-color: #cce699;
    transform: translateY(-2px);
    color: #000000;
}

.btn-bath-cta svg {
    transition: transform 0.2s ease;
}

.btn-bath-cta:hover svg {
    transform: translateX(3px);
}

/* ==========================================
   Мобільна адаптація (< 768px)
   ========================================== */
@media (max-width: 767px) {
    .bath-hero {
        padding: 80px 0 60px;
    }

    .bath-hero-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .bath-hero-desc {
        font-size: 15px;
    }

    .btn-bath-cta {
        width: 100%;
        justify-content: center;
    }
}



/* ==========================================
   Bathrooms Gallery Banner Section
   ========================================== */
.bath-gallery-section {
    background-color: #0d0f0d;
    /* Темний фон під стиль сайту */
    padding: 60px 0;
}

.bath-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
}

.bath-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #161a17;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bath-gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    /* Пропорція як на скріншоті */
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ефект плавного збільшення при наведенні */
.bath-gallery-item:hover img {
    transform: scale(1.03);
}

/* Адаптивність для планшетів та смартфонів */
@media (max-width: 768px) {
    .bath-gallery-section {
        padding: 32px 0;
    }

    .bath-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bath-gallery-item {
        border-radius: 12px;
    }

    .bath-gallery-item img {
        aspect-ratio: 16 / 10;
    }
}


/* ==========================================
   Bathrooms Gallery Banner Section (Updated)
   ========================================== */
.bath-gallery-section {
    background-color: #0d0f0d;
    /* Додаємо бокові відступи, щоб при зменшенні екрана картинки не липли до країв */
    padding: 60px 80px;
}

.bath-gallery-grid {
    /* Обмежуємо максимальну ширину секції та центруємо її */
    max-width: 1360px;
    /* Можна змінити на ширину вашого основного контейнера сайту (наприклад, 1200px або 1400px) */
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.bath-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #161a17;
}

.bath-gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    /* Пропорція зображень */
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.bath-gallery-item:hover img {
    transform: scale(1.03);
}

/* Адаптив під мобільні пристрої */
@media (max-width: 1024px) {
    .bath-gallery-section {
        padding: 40px 24px;
        /* Зменшуємо бокові відступи на планшетах */
    }
}

@media (max-width: 768px) {
    .bath-gallery-section {
        padding: 32px 16px;
    }

    .bath-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ==========================================
   Bathrooms Packages Section
   ========================================== */
.bath-packages-section {
    background-color: #0d0f0d;
    padding: 80px 24px;
    color: #ffffff;
}

.bath-packages-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.bath-packages-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.bath-pkg-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #cce699;
    /* Lime stroke / eyebrow */
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bath-pkg-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.bath-pkg-title .highlight {
    color: #cce699;
}

.bath-pkg-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #a1a8a1;
}

/* Grid & Cards */
.bath-packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.bath-pkg-card {
    position: relative;
    background-color: #141714;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bath-pkg-card:hover {
    border-color: #cce699;
}

/* Popular Card Styling */
.bath-pkg-card.is-popular {
    border-color: #cce699;
    box-shadow: 0 0 30px #cce699;
    background-color: #161a16;
}

.bath-pkg-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #cce699;
    color: #0d0f0d;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bath-pkg-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.bath-pkg-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #8e968e;
    min-height: 40px;
    margin-bottom: 20px;
}

.bath-pkg-card-price {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #cce699;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Features List */
.bath-pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
}

.bath-pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #d1d5d1;
    margin-bottom: 12px;
}

.bath-pkg-features li .check-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #cce699;
}

/* Buttons */
.bath-pkg-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    background-color: #1e241f;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bath-pkg-btn:hover {
    background-color: #2a322b;
    border-color: rgba(255, 255, 255, 0.25);
}

.bath-pkg-btn.btn-highlight {
    background-color: #cce699;
    color: #0d0f0d;
    border: none;
}

.bath-pkg-btn.btn-highlight:hover {
    background-color: #cce699;
    box-shadow: 0 4px 15px rgba(204, 230, 153, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .bath-packages-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 480px;
        margin: 0 auto;
    }

    .bath-pkg-card-desc {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .bath-packages-section {
        padding: 50px 16px;
    }

    .bath-pkg-title {
        font-size: 36px;
    }
}



/* ==========================================
   Bathrooms Cost Breakdown Section
   ========================================== */
.bath-cost-section {
    background-color: #0d0f0d;
    padding: 90px 24px;
    color: #ffffff;
}

.bath-cost-container {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

/* Header */
.bath-cost-header {
    margin-bottom: 40px;
}

.bath-cost-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

.bath-cost-title .highlight {
    color: #cce699;
}

.bath-cost-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #a1a8a1;
    max-width: 640px;
    margin: 0 auto;
}

/* List Items */
.bath-cost-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    text-align: left;
}

.bath-cost-item {
    background-color: #131714;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.bath-cost-item:hover {
    border-color: rgba(198, 241, 53, 0.2);
    background-color: #161b17;
}

.bath-cost-check {
    flex-shrink: 0;
    color: #cce699;
}

.bath-cost-item span {
    font-size: 14.5px;
    line-height: 1.5;
    color: #d1d5d1;
}

/* Bottom Text */
.bath-cost-bottom-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Button */
.bath-cost-action {
    display: flex;
    justify-content: center;
}

.bath-cost-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #cce699;
    color: #0d0f0d;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bath-cost-btn:hover {
    background-color: #b5e028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 230, 153, 0.25);
}

.bath-cost-btn svg {
    transition: transform 0.3s ease;
}

.bath-cost-btn:hover svg {
    transform: translateX(4px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bath-cost-section {
        padding: 60px 16px;
    }

    .bath-cost-title {
        font-size: 32px;
    }

    .bath-cost-item {
        padding: 14px 18px;
        gap: 12px;
    }

    .bath-cost-item span {
        font-size: 13.5px;
    }

    .bath-cost-bottom-text {
        font-size: 14.5px;
    }
}


/* ==========================================
   SCROLL ANIMATIONS (BASE & UNIQUE EFFECTS)
   ========================================== */





/* ------------------------------------------
   1. HERO: Почерговий підйом текстів
   ------------------------------------------ */
.bath-hero-content>* {
    transform: translateY(35px);
}

.bath-hero-content .bath-hero-eyebrow.is-visible {
    transition-delay: 0.1s;
}

.bath-hero-content .bath-hero-title.is-visible {
    transition-delay: 0.25s;
}

.bath-hero-content .bath-hero-desc.is-visible {
    transition-delay: 0.4s;
}

.bath-hero-content .bath-hero-meta.is-visible {
    transition-delay: 0.55s;
}

.bath-hero-content .btn-bath-cta.is-visible {
    transition-delay: 0.7s;
}

/* ------------------------------------------
   2. GALLERY: Виліт карток з різних боків
   ------------------------------------------ */
.bath-gallery-item:nth-child(1) {
    transform: translateX(-60px) scale(0.95);
}

.bath-gallery-item:nth-child(2) {
    transform: translateX(60px) scale(0.95);
}

/* ------------------------------------------
   3. PACKAGES: Картки виринають по черзі
   ------------------------------------------ */
.bath-packages-header {
    transform: translateY(-25px);
}

.bath-pkg-card {
    transform: translateY(50px) scale(0.92);
}

.bath-pkg-card:nth-child(1).is-visible {
    transition-delay: 0.1s;
}

.bath-pkg-card:nth-child(2).is-visible {
    transition-delay: 0.25s;
}

.bath-pkg-card:nth-child(3).is-visible {
    transition-delay: 0.4s;
}

/* ------------------------------------------
   4. COST BREAKDOWN: Каскадний виліт списку
   ------------------------------------------ */
.bath-cost-header {
    transform: translateY(-20px);
}

.bath-cost-item {
    transform: translateX(-40px);
}

/* Каскадна затримка для кожного пункту */
.bath-cost-item:nth-child(1).is-visible {
    transition-delay: 0.05s;
}

.bath-cost-item:nth-child(2).is-visible {
    transition-delay: 0.12s;
}

.bath-cost-item:nth-child(3).is-visible {
    transition-delay: 0.19s;
}

.bath-cost-item:nth-child(4).is-visible {
    transition-delay: 0.26s;
}

.bath-cost-item:nth-child(5).is-visible {
    transition-delay: 0.33s;
}

.bath-cost-item:nth-child(6).is-visible {
    transition-delay: 0.40s;
}

.bath-cost-bottom-text {
    transform: translateY(20px);
    transition-delay: 0.45s;
}

.bath-cost-action {
    transform: scale(0.85);
    transition-delay: 0.55s;
}


/* ==========================================
   Kitchens Hero Section
   ========================================== */
.kitchen-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #0b0d0b;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 24px 80px;
    color: #ffffff;
    overflow: hidden;
}

.kitchen-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 13, 11, 0.88) 0%, rgba(11, 13, 11, 0.65) 50%, rgba(11, 13, 11, 0.4) 100%);
    z-index: 1;
}

.kitchen-hero-wrap {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.kitchen-hero-content {
    max-width: 680px;
}

.kitchen-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c6f135;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.kitchen-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.kitchen-hero-title .highlight {
    color: #c6f135;
}

.kitchen-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #c2c8c2;
    margin-bottom: 20px;
}

.kitchen-hero-meta {
    font-size: 14px;
    color: #8e968e;
    margin-bottom: 32px;
}

.btn-kitchen-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c6f135;
    color: #0d0f0d;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-kitchen-cta:hover {
    background-color: #b5e028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 241, 53, 0.25);
}

.btn-kitchen-cta svg {
    transition: transform 0.3s ease;
}

.btn-kitchen-cta:hover svg {
    transform: translateX(4px);
}

/* Анімація появи елементів для Kitchens Hero */
.kitchen-hero-content>* {
    opacity: 0;
    transform: translateY(35px);
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.kitchen-hero-content .kitchen-hero-eyebrow.is-visible {
    transition-delay: 0.1s;
}

.kitchen-hero-content .kitchen-hero-title.is-visible {
    transition-delay: 0.25s;
}

.kitchen-hero-content .kitchen-hero-desc.is-visible {
    transition-delay: 0.4s;
}

.kitchen-hero-content .kitchen-hero-meta.is-visible {
    transition-delay: 0.55s;
}

.kitchen-hero-content .btn-kitchen-cta.is-visible {
    transition-delay: 0.7s;
}

/* Адаптивність */
@media (max-width: 768px) {
    .kitchen-hero {
        min-height: auto;
        padding: 100px 16px 60px;
    }

    .kitchen-hero-title {
        font-size: 38px;
    }

    .kitchen-hero-desc {
        font-size: 14.5px;
    }
}


/* ==========================================
   Hero Section Animations (CSS Keyframes)
   ========================================== */

/* Базовий стан: за замовчуванням елементи ВИДИМІ (захист для Customizer та без-JS) */
.bath-hero-content>* {
    opacity: 1;
    transform: translateY(0);
}

/* Якщо сторінка завантажилася, запускаємо плавну появу відразу */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bath-hero-content>* {
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Почергова затримка для елементів Hero */
.bath-hero-eyebrow {
    animation-delay: 0.1s;
}

.bath-hero-title {
    animation-delay: 0.25s;
}

.bath-hero-desc {
    animation-delay: 0.4s;
}

.bath-hero-meta {
    animation-delay: 0.55s;
}

.btn-bath-cta {
    animation-delay: 0.7s;
}

/* Примусово показуємо все 100% в адмінці / Customizer */
.wp-customizer .bath-hero-content>*,
.customizer-preview .bath-hero-content>* {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}


/* ==========================================
   Kitchens Coordination Section
   ========================================== */
.kitchen-coord {
    background-color: #0c100d;
    padding: 100px 24px;
    text-align: center;
    color: #ffffff;
}

.kitchen-coord-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.kitchen-coord-title {

    font-size: 52px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 28px;
    color: #ffffff;
}

.kitchen-coord-title .highlight {
    color: #cce699;
}

.kitchen-coord-desc {
    font-size: 18px;
    line-height: 1.65;
    color: #81998D;
    margin-bottom: 24px;
    font-weight: 800;
}

.kitchen-coord-bold {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 700;
    color: #ffffff;
}

/* Адаптивність */
@media (max-width: 768px) {
    .kitchen-coord {
        padding: 60px 20px;
    }

    .kitchen-coord-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .kitchen-coord-desc,
    .kitchen-coord-bold {
        font-size: 15px;
    }
}


/* Повне вимкнення приховування та анімацій для всіх блоків */
/* .bath-packages-section,
.bath-packages-header,
.bath-packages-header>*,
.bath-packages-grid,
.bath-pkg-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
} */


/* ==========================================
   Kitchens CTA Section
   ========================================== */
.kitchen-cta-section {
    background-color: #0c100d;
    padding: 100px 24px;
    text-align: center;
    color: #ffffff;
}

.kitchen-cta-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.kitchen-cta-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #ffffff;
}

.kitchen-cta-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #b0b8b0;
    margin-bottom: 32px;
}

.kitchen-cta-action {
    display: flex;
    justify-content: center;
}

/* Примусова видимість (без анімацій) */
.kitchen-cta-section,
.kitchen-cta-wrap>* {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    .kitchen-cta-section {
        padding: 60px 20px;
    }

    .kitchen-cta-title {
        font-size: 32px;
    }

    .kitchen-cta-desc {
        font-size: 14.5px;
    }
}



/* ==========================================
   WHO THIS IS FOR SECTION
   ========================================== */
.who-for-section {
    background-color: #0b130e;
    /* Тільки темний фон сайту */
    padding: 100px 20px;
    color: #ffffff;
}

.who-for-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.who-for-title {
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 50px;
    font-family: Georgia, serif;
}

.who-for-title .highlight {
    color: #cce699;
    /* Салатовий колір для акцентного слова */
}

/* Сітка з 3 карток */
.who-for-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Картка */
.who-for-card {
    background-color: #121c15;
    border-radius: 12px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.who-for-card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 16px;
}

.who-for-card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #98a59c;
    margin: 0;
}

/* Мобільна адаптивність */
@media (max-width: 992px) {
    .who-for-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .who-for-section {
        padding: 60px 16px;
    }

    .who-for-grid {
        grid-template-columns: 1fr;
    }

    .who-for-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .who-for-card {
        padding: 28px 22px;
    }
}


/* ==========================================
   WHAT IT INCLUDES SECTION
   ========================================== */
.includes-section {
    background-color: #0b130e;
    padding: 100px 20px;
    color: #ffffff;
}

/* Вужчий контейнер для центрального списку */
.includes-container {
    max-width: 780px;
    margin: 0 auto;
}

.includes-header {
    text-align: center;
    margin-bottom: 48px;
}

.includes-title {
    font-size: 42px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    font-family: inherit;
}

.includes-title .highlight {
    color: #a3c965;
    /* Салатовий колір */
}

.includes-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #98a59c;
    margin: 0 auto;
    max-width: 600px;
}

/* Вертикальний список */
.includes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Картка пункту */
.includes-item {
    background-color: #121c15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.includes-item:hover {
    border-color: rgba(163, 201, 101, 0.25);
    transform: translateX(4px);
}

/* Іконка галочки */
.includes-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a3c965;
    flex-shrink: 0;
}

/* Текст пункту */
.includes-text {
    font-size: 16px;
    font-weight: 500;
    color: #e1e7e3;
    line-height: 1.4;
}

/* Адаптивність */
@media (max-width: 768px) {
    .includes-section {
        padding: 60px 16px;
    }

    .includes-title {
        font-size: 30px;
    }

    .includes-subtitle {
        font-size: 15px;
    }

    .includes-item {
        padding: 16px 18px;
        gap: 12px;
    }

    .includes-text {
        font-size: 15px;
    }
}


/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-page {
    background-color: #0b130e;
    padding: 80px 20px 120px;
    color: #ffffff;
    font-family: inherit;
}

.contact-page .container {
    max-width: 1140px;
    margin: 0 auto;
}

/* HEADER */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-tagline {
    display: inline-block;
    color: #a3c965;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 46px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-title .highlight {
    color: #a3c965;
}

.contact-subtitle {
    font-size: 16px;
    color: #98a59c;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* MAIN GRID LAYOUT */
.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: start;
}

/* LEFT CARD: FORM */
.contact-form-card {
    background-color: #121c15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 36px 32px;
}

.form-intro {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.45;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background-color: #0b130e;
    border: 1px solid #1c2b20;
    border-radius: 6px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #cce699;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4a594e;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2398a59c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.form-disclaimer {
    font-size: 12px;
    color: #728076;
    line-height: 1.5;
    margin-bottom: 24px;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    background-color: #cce699;
    /* Салатова кнопка як у макеті */
    color: #0d1610;
    border: none;
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #cce699;
    transform: translateY(-1px);
}

/* RIGHT SIDEBAR CARDS */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #121c15;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px 24px;
}

.info-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

/* CARD 1: CONTACT DIRECTLY */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.info-icon {
    color: #cce699;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-label {
    font-size: 12px;
    color: #98a59c;
    font-weight: 600;
}

.info-val {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

a.info-val:hover {
    color: #a3c965;
}

/* CARD 2: CHECKLIST */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-list li {
    font-size: 14px;
    color: #b3c0b6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.check-icon {
    color: #cce699;
    font-weight: bold;
    flex-shrink: 0;
}

/* CARD 3: DESCRIPTION */
.info-card-desc {
    font-size: 14px;
    color: #8c9b90;
    line-height: 1.6;
    margin: 0;
}

/* ADAPTIVE MOBILE STYLES */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 34px;
    }

    .contact-page {
        padding: 50px 16px;
    }
}

@media (max-width: 576px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 18px;
    }

    .info-card {
        padding: 22px 18px;
    }
}

/* 1. Вмикаємо однакову висоту для обох колонок сітки */
.contact-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
    align-items: stretch;
    /* Прибираємо align-items: start, щоб колонки розтягувалися */
}

/* 2. Розтягуємо сайдбар на всю висоту сітки */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

/* 3. Останню картку розтягуємо до самого низу */
.contact-sidebar .info-card:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* або center, якщо хочете текст по центру картки */
}

/* На мобільних повертаємо стандартну висоту */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        height: auto;
    }

    .contact-sidebar .info-card:last-child {
        flex: initial;
    }
}

/* ==========================================
   SITE HEADER & NAVIGATION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0b130e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ДЕСКТОПНА ВЕРСІЯ (від 993px) */
@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }

    .nav-drawer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        margin-left: 40px;
    }

    /* ЦЕНТРУВАННЯ МЕНЮ */
    .main-nav {
        margin: 0 auto;
        /* Авто-відступи зліва і справа центрують блок */
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 36px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-list li {
        margin: 0;
        padding: 0;
    }

    .nav-list a {
        color: #e1e7e3;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 0.25s ease;
        position: relative;
        padding: 8px 0;
        display: inline-block;
    }

    .nav-list a:hover {
        color: #cce699;
    }

    /* АКТИВНЕ ПОСИЛАННЯ (HIGHLIGHT) */
    .nav-list .current-menu-item>a,
    .nav-list .current_page_item>a,
    .nav-list .current-menu-ancestor>a,
    .nav-list a.active {
        color: #cce699 !important;
        font-weight: 600;
    }

    /* Лінія під активним пунктом */
    /* .nav-list .current-menu-item > a::after,
    .nav-list .current_page_item > a::after,
    .nav-list .current-menu-ancestor > a::after,
    .nav-list a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #cce699;
        border-radius: 2px;
    } */

    /* ПРАВИЙ БЛОК (Телефон та Кнопка) */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.25s ease;
    }

    .header-phone:hover {
        color: #cce699;
    }

    .btn-header-cta {
        background-color: #cce699;
        color: #0d1610;
        padding: 10px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 0.25s ease;
    }

    .btn-header-cta:hover {
        background-color: #cce699;
    }
}

/* МОБІЛЬНЕ МЕНЮ (до 992px) */
@media (max-width: 992px) {
    .nav-drawer {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #0b130e;
        padding: 40px 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .site-header.menu-open .nav-drawer {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-list a {
        font-size: 20px;
        color: #ffffff;
        text-decoration: none;
    }

    .nav-list .current-menu-item>a,
    .nav-list a.active {
        color: #cce699;
    }

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

    .btn-header-cta {
        text-align: center;
        background-color: #cce699;
        color: #0d1610;
        padding: 14px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 700;
    }
}

/* ==========================================
   HEADER LAYOUT & PERFECT CENTERING
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #0b130e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    max-width: 1320px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ДЕСКТОПНА ВЕРСІЯ (від 993px) */
@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }

    /* 1. Логотип займає ліву рівну частину */
    .site-logo {
        flex: 1 0 0;
        white-space: nowrap;
        font-weight: 700;
        font-size: 16px;
        color: #ffffff;
        text-decoration: none;
        letter-spacing: 0.5px;
    }

    .site-logo .amp {
        color: #cce699;
    }

    /* 2. Обгортка drawer розтягується на решту простору */
    .nav-drawer {
        display: flex;
        align-items: center;
        flex: 2 0 0;
        justify-content: space-between;
    }

    /* 3. Навігація ставить себе строго по центру */
    .main-nav {
        margin: 0 auto;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 32px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-list a {
        color: #e1e7e3;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        transition: color 0.25s ease;
        display: inline-block;
    }

    .nav-list a:hover {
        color: #cce699;
    }

    /* ПІДСВІЧУВАННЯ АКТИВНОЇ СТОРІНКИ */
    .nav-list .current-menu-item>a,
    .nav-list .current_page_item>a,
    .nav-list a.active {
        color: #cce699 !important;
        font-weight: 600;
    }

    .nav-list .current-menu-item>a::after,
    .nav-list .current_page_item>a::after,
    .nav-list a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #cce699;
        border-radius: 2px;
    }

    /* 4. Блок дій займає праву рівну частину (дзеркально до логотипу) */
    .header-actions {
        flex: 1 0 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 24px;
        white-space: nowrap;
    }

    .header-phone {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.25s ease;
    }

    .header-phone:hover {
        color: #cce699;
    }

    .btn-header-cta {
        background-color: #cce699;
        color: #0d1610;
        padding: 10px 20px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: background-color 0.25s ease;
    }

    .btn-header-cta:hover {
        background-color: #cce699;
    }
}

/* МОБІЛЬНА ВЕРСІЯ (до 992px) */
@media (max-width: 992px) {
    .site-logo {
        font-size: 14px;
    }

    .menu-toggle {
        background: none;
        border: none;
        color: #ffffff;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .icon-close {
        display: none;
    }

    .site-header.menu-open .icon-burger {
        display: none;
    }

    .site-header.menu-open .icon-close {
        display: block;
    }

    .nav-drawer {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: #0b130e;
        padding: 32px 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .site-header.menu-open .nav-drawer {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav-list a {
        font-size: 20px;
        color: #ffffff;
        text-decoration: none;
    }

    .nav-list .current-menu-item>a,
    .nav-list a.active {
        color: #cce699;
    }

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

    .header-phone {
        color: #ffffff;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .btn-header-cta {
        text-align: center;
        background-color: #cce699;
        color: #0d1610;
        padding: 14px;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 700;
    }
}


/* ==========================================
   PREMIUM SCROLL ANIMATIONS
   ========================================== */

/* 1. Базові стани анімованих елементів */
.anim-fade-up,
.anim-fade-down,
.anim-slide-left,
.anim-slide-right,
.anim-zoom-in,
.anim-stagger-item {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Початкові трансформації (до появи на екрані) */
.anim-fade-up {
    transform: translateY(40px);
}

.anim-fade-down {
    transform: translateY(-30px);
}

.anim-slide-left {
    transform: translateX(-50px);
}

.anim-slide-right {
    transform: translateX(50px);
}

.anim-zoom-in {
    transform: scale(0.92) translateY(20px);
}

.anim-stagger-item {
    transform: translateY(35px);
}

/* 3. Активний стан при появі в зоні видимості */
.is-visible.anim-fade-up,
.is-visible.anim-fade-down,
.is-visible.anim-slide-left,
.is-visible.anim-slide-right,
.is-visible.anim-zoom-in,
.is-visible .anim-stagger-item,
.is-visible.anim-stagger-item {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* 4. Спеціальний акцент для популярної картки (Packages) */
.bath-pkg-card.is-popular {
    transition-duration: 1s;
}

.is-visible .bath-pkg-card.is-popular {
    transform: scale(1.03) translateY(-5px);
}

@media (max-width: 991px) {
    .is-visible .bath-pkg-card.is-popular {
        transform: none;
    }
}


/* ==========================================================
   GOTDR — Scroll Animations
   Уніфікована система анімацій при скролі.
   Стримані анімації для тексту, виразніші для карток/галереї.
   ========================================================== */

:root {
    --anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --anim-duration-text: 0.9s;
    --anim-duration-card: 0.75s;
    --anim-duration-media: 1s;
}

/* Базовий стан для всіх анімованих елементів — приховані до появи */
[data-animate] {
    opacity: 0;
    will-change: transform, opacity;
    transition-timing-function: var(--anim-ease);
    transition-delay: var(--anim-delay, 0ms);
}

[data-animate].is-inview {
    opacity: 1;
    transform: none !important;
}

/* -----------------------------------------
   ТЕКСТ — стримано: легкий підйом + fade
   ----------------------------------------- */
[data-animate="fade"] {
    transition-property: opacity;
    transition-duration: var(--anim-duration-text);
}

[data-animate="fade-up"] {
    transform: translateY(18px);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-text);
}

[data-animate="fade-down"] {
    transform: translateY(-14px);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-text);
}

/* -----------------------------------------
   КАРТКИ — ефектніше: підйом + легкий масштаб
   ----------------------------------------- */
[data-animate="rise"] {
    transform: translateY(42px) scale(0.97);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-card);
}

[data-animate="rise-lg"] {
    transform: translateY(64px) scale(0.95);
    transition-property: opacity, transform;
    transition-duration: 0.85s;
}

/* -----------------------------------------
   ГАЛЕРЕЯ / МЕДІА — виразний zoom-in
   ----------------------------------------- */
[data-animate="zoom"] {
    transform: scale(1.09);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-media);
}

/* -----------------------------------------
   БІЧНІ СЛАЙДИ — для чергування списків/пунктів
   ----------------------------------------- */
[data-animate="slide-left"] {
    transform: translateX(-56px);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-card);
}

[data-animate="slide-right"] {
    transform: translateX(56px);
    transition-property: opacity, transform;
    transition-duration: var(--anim-duration-card);
}

/* -----------------------------------------
   Прогресивний stagger усередині групи:
   додайте data-animate-group на контейнер —
   JS сам розставить затримки для прямих дітей
   з атрибутом data-animate.
   ----------------------------------------- */

/* Пошана до налаштувань доступності */
@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================
   GOTDR — Scroll Animations
   Уніфікована система анімацій при скролі.
   Стримані анімації для тексту, виразніші для карток/галереї.
   ========================================================== */

:root {
  --anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --anim-duration-text: 0.9s;
  --anim-duration-card: 0.75s;
  --anim-duration-media: 1s;
}

/* Базовий стан для всіх анімованих елементів — приховані до появи */
[data-animate] {
  opacity: 0;
  will-change: transform, opacity;
  transition-timing-function: var(--anim-ease);
  transition-delay: var(--anim-delay, 0ms);
}

[data-animate].is-inview {
  opacity: 1 !important;
  transform: none !important;
}

/* -----------------------------------------
   СУМІСНІСТЬ ЗІ СТАРОЮ СИСТЕМОЮ АНІМАЦІЙ
   Якщо десь ще залишились старі класи reveal/
   reveal-fade-up/reveal-scale-up/delay-N (кеш,
   стара версія footer.php тощо) — примусово
   показуємо елемент, щоб він ніколи не "завис"
   у прихованому стані через конфлікт систем.
   ----------------------------------------- */
.reveal,
.reveal-fade-up,
.reveal-fade-down,
.reveal-scale-up,
.reveal-stagger,
[class*="delay-"] {
  opacity: 1 !important;
  transform: none !important;
}

/* -----------------------------------------
   ТЕКСТ — стримано: легкий підйом + fade
   ----------------------------------------- */
[data-animate="fade"] {
  transition-property: opacity;
  transition-duration: var(--anim-duration-text);
}

[data-animate="fade-up"] {
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-text);
}

[data-animate="fade-down"] {
  transform: translateY(-14px);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-text);
}

/* -----------------------------------------
   КАРТКИ — ефектніше: підйом + легкий масштаб
   ----------------------------------------- */
[data-animate="rise"] {
  transform: translateY(42px) scale(0.97);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-card);
}

[data-animate="rise-lg"] {
  transform: translateY(64px) scale(0.95);
  transition-property: opacity, transform;
  transition-duration: 0.85s;
}

/* -----------------------------------------
   ГАЛЕРЕЯ / МЕДІА — виразний zoom-in
   ----------------------------------------- */
[data-animate="zoom"] {
  transform: scale(1.09);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-media);
}

/* -----------------------------------------
   БІЧНІ СЛАЙДИ — для чергування списків/пунктів
   ----------------------------------------- */
[data-animate="slide-left"] {
  transform: translateX(-56px);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-card);
}

[data-animate="slide-right"] {
  transform: translateX(56px);
  transition-property: opacity, transform;
  transition-duration: var(--anim-duration-card);
}

/* -----------------------------------------
   Прогресивний stagger усередині групи:
   додайте data-animate-group на контейнер —
   JS сам розставить затримки для прямих дітей
   з атрибутом data-animate.
   ----------------------------------------- */

/* Пошана до налаштувань доступності */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   LEGAL PAGES (Privacy Policy & Terms)
   ========================================== */

.legal-page {
  
  padding-bottom: 90px;
  background-color: #0d0d0d;
  color: #e0e0e0;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero & Title */
.legal-hero {
  text-align: center;

  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-content-section {
    padding-top: 20px;
}

.legal-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.legal-updated {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Typographic Content */
.legal-content h2 {
  font-size: 1.65rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 40px;
  
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.legal-content li {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 10px;
}

.legal-content a {
  color: #b1f041; /* Акцентний колір кнопки / CTA */
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content blockquote {
  margin: 25px 0;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #b1f041;
  border-radius: 0 8px 8px 0;
}

/* Адаптивність */
@media (max-width: 768px) {
  .legal-page {
    
    padding-bottom: 60px;
  }

  .legal-title {
    font-size: 2rem;
  }

  .legal-content h2 {
    font-size: 1.4rem;
  }
}



/* ==========================================
   PREMIUM LEGAL PAGE STYLES
   ========================================== */

/* 1. Контейнер та загальний фон */
.legal-page {
  
  padding-bottom: 100px;
  background-color: #0d0f0d;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2. Заголовок та стилізована дата (Hero) */
.legal-hero {
  text-align: center;
  
}

.legal-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

/* Перетворюємо "Last updated" на стильний бейдж */
.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(177, 240, 65, 0.08); /* М'яке салатове підсвічування */
  border: 1px solid rgba(177, 240, 65, 0.25);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b1f041; /* Фірмовий колір кнопки */
  letter-spacing: 0.03em;
}

/* 3. Заголовки розділів (H2) */
.legal-content h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 48px;
  
  padding-bottom: 12px;
  
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Зелений вертикальний індикатор перед кожним H2 */
.legal-content h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background-color: #b1f041;
  border-radius: 4px;
}

/* 4. Текст та виділені слова */
.legal-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
  padding-left: 24px
}

.legal-content strong {
  color: #ffffff;
  font-weight: 600;
}

/* 5. Кастомні маркери списків (Чекмарки замість крапок) */
.legal-content ul {
  list-style: none !important;
  
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-content ul li {
  position: relative;
  padding-left: 32px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Салатова іконка-галочка перед кожним пунктом */
.legal-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: rgba(177, 240, 65, 0.12);
  border-radius: 50%;
  color: #b1f041;
  font-size: 0.75rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 6. Преміальна картка для блоку "Contact Us" у кінці */
.legal-content h2:last-of-type {
  margin-top: 60px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px 16px 0 0;
  border-bottom: none;
}

.legal-content h2:last-of-type ~ p,
.legal-content h2:last-of-type ~ ul {
  background: rgba(255, 255, 255, 0.03);
  border-x: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 24px;
  margin: 0;
}

.legal-content h2:last-of-type ~ ul {
  
  border-radius: 0 0 16px 16px;
  padding-bottom: 24px;
}

/* Адаптивність */
@media (max-width: 768px) {
  .legal-title {
    font-size: 2.2rem;
  }
  .legal-content h2 {
    font-size: 1.35rem;
  }
}



@media (max-width: 992px) {
  /* 1. Обмежуємо висоту меню за розміром контенту */
  .nav-drawer {
    position: absolute !important;
    top: 100% !important; /* Меню випадає чітко під шапкою */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important; /* Прибираємо 100vh */
    min-height: auto !important;
    
    background-color: rgba(18, 26, 21, 0.92) !important;
    padding: 24px 20px 30px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
    
    /* Перезбираємо внутрішній відступ між елементами */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 20px !important;
  }

  /* 2. Компактний список посилань */
  .nav-drawer nav,
  .nav-drawer ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .nav-drawer a {

    padding: 4px 0 !important;
  }

  /* 3. Компактний блок для контакту та кнопки */
  .nav-drawer .mobile-contact,
  .nav-drawer a[href^="tel:"] {
    margin-top: 8px !important;
    font-size: 0.95rem !important;
  }

  
  
}


.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-img {
    max-height: 120px; /* налаштуйте потрібну висоту під дизайн */
    width: auto;
    display: block;
    object-fit: contain;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: #141f17; /* темний фон при фокусі */
    color: #ffffff;            /* білий текст */
    border-color: #ccc599;
}


.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.25s ease;
  text-decoration: none;
}

.footer-social .social-link:hover {
  color: #ccc599; /* або акцентний колір вашого бренду */
  border-color: #ccc599;
  transform: translateY(-2px);
}

.footer-social .social-trustpilot:hover {
  color: #00b67a; /* фірмовий зелений колір Trustpilot */
  border-color: #00b67a;
}



a.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit; /* Зберігає стандартні кольори тексту всередині */
}

a.service-card:hover {
    color: inherit;
}

a.service-card:hover .card-link {
    text-decoration: underline; /* або ваш ефект ховеру для кнопки */
}


/* ==========================================
   1. СТИЛІ ГАЛЕРЕЇ ТА АЛЬБОМІВ
   ========================================== */
.page-gallery-section {
background-color: #0d0f0d;
  padding: 80px 0;
}

.gallery-album {
  margin-bottom: 60px;
}

.gallery-album h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

/* Декоративна лінія під заголовком альбому */
.gallery-album h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 35px;
  height: 2px;
  background: #ccc599;
  transition: width 0.35s ease;
}

.gallery-album:hover h3::after {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Картка фотографії */
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #141f17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-decoration: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

/* Теневий градієнт при наведенні */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 21, 16, 0.85) 0%, rgba(14, 21, 16, 0.1) 60%);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* Іконка збільшення (+) при ховері */
.gallery-item::after {
  content: '+';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 46px;
  height: 46px;
  background: rgba(204, 197, 153, 0.9);
  color: #0e1510;
  font-size: 26px;
  font-weight: 300;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

/* Ховер-ефекти картки */
.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================
   2. ЕФЕКТИ СЯЙВА ДЛЯ КАРТОК СЕКЦІЙ
   ========================================== */

/* Преміальне світіння при наведенні на картку */
.service-card, 
.gallery-item {
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover,
.gallery-item:hover {
  border-color: rgba(204, 197, 153, 0.4) !important;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(204, 197, 153, 0.12);
  transform: translateY(-4px);
}

/* Стилізація бейджиків (Eyebrow) */
.services-eyebrow, 
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(204, 197, 153, 0.08);
  border: 1px solid rgba(204, 197, 153, 0.25);
  color: #ccc599;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

/* ==========================================
   3. ПОЛІПШЕНІ АНІМАЦІЇ ПОЯВИ ПРИ СКРОЛІ
   ========================================== */

/* Плавний підйом із легким масштабуванням */
[data-animate="rise"] {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--anim-delay, 0ms);
  will-change: transform, opacity;
}

[data-animate="rise"].is-inview,
[data-animate="rise"].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Поява з випливанням */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--anim-delay, 0ms);
}

[data-animate="fade-up"].is-inview,
[data-animate="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================
   Шапка секції галереї
   ========================================== */
.gallery-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.gallery-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 12px 0;
  line-height: 1.2;
}

.gallery-main-title .highlight {
  color: #ccc599;
}

.gallery-main-desc {
  color: #a0a0a0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.album-title {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 20px;
  border-left: 3px solid #ccc599;
  padding-left: 12px;
}

/* ==========================================
   Заміна плюса на іконку Лупи
   ========================================== */
.gallery-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 48px;
  height: 48px;
  background-color: rgba(204, 197, 153, 0.95);
  /* SVG іконка лупи */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23141f17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  opacity: 0;
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Заглушка, якщо відео не з YouTube */
.video-placeholder {
  width: 100%;
  height: 100%;
  background: #101812;
}

/* Іконка Play для відеокарток */
.gallery-item.is-video::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23141f17' stroke='%23141f17' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'%3E%3C/polygon%3E%3C/svg%3E");
  background-position: 55% center; /* Трішки зміщуємо трикутник у центр */
}

/* Опціональний постійний маленький значок Play у кутку відео */
.gallery-item.is-video::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'%3E%3C/polygon%3E%3C/svg%3E") no-repeat center;
  border-radius: 50%;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* Kitchen Random Gallery Styles */
.kitchen-random-gallery {
    padding: 80px 0;
    background-color: #0b0b0b;
}

.kitchen-random-gallery .gallery-head {
    text-align: center;
    margin-bottom: 40px;
}

.kitchen-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kitchen-gallery-grid .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.kitchen-gallery-grid .image-wrapper {
    width: 100%;
    height: 100%;
}

.kitchen-gallery-grid .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kitchen-gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Адаптивність для планшетів та мобільних */
@media (max-width: 1024px) {
    .kitchen-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .kitchen-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Section Base */
.kitchen-random-gallery {
    padding: 80px 0;
    background-color: #0f130f;
}

.kitchen-random-gallery .gallery-head {
    text-align: center;
    margin-bottom: 40px;
}

.kitchen-random-gallery .gallery-eyebrow {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bfde50; /* Акцентний колір */
    margin-bottom: 10px;
    font-weight: 600;
}

.kitchen-random-gallery .gallery-title {
    font-size: 36px;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

.kitchen-random-gallery .gallery-title .highlight {
    color: #bfde50;
}

/* Grid & Cards */
.kitchen-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.kitchen-gallery-grid .gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.kitchen-gallery-grid .gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 168, 128, 0.6);
}

.kitchen-gallery-grid .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.kitchen-gallery-grid .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.kitchen-gallery-grid .gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #ffffff;
}

.kitchen-gallery-grid .gallery-item:hover .gallery-hover-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.93);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 38px;
    cursor: pointer;
    z-index: 100000;
    line-height: 1;
}

.lightbox-close:hover {
    color: #c5a880;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 22px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #c5a880;
    color: #000000;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

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

@media (max-width: 600px) {
    .kitchen-gallery-grid {
        grid-template-columns: 1fr;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* 404 Section Styling */
.error-404-section {
    padding: 140px 0 100px;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0b0d0b;
    text-align: center;
}

.error-404-content {
    max-width: 580px;
    margin: 0 auto;
}

.error-404-section .gallery-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d8f288; /* Жовто-салатовий акцент */
    margin-bottom: 16px;
}

.error-404-section .error-title {
    font-family: 'Fraunces', serif;
    font-size: 56px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.error-404-section .error-title .highlight {
    color: #d8f288;
}

.error-404-section .error-description {
    font-size: 16px;
    color: #a1a8a1;
    line-height: 1.6;
    margin-bottom: 36px;
}

/* Actions & Buttons */
.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Primary Button (Як "Discuss Your Project") */
.error-actions .btn-primary {
    background-color: #d8f288;
    color: #0d120a;
    border: 1px solid #d8f288;
}

.error-actions .btn-primary:hover {
    background-color: #e5fa9e;
    border-color: #e5fa9e;
    transform: translateY(-2px);
}

/* Secondary Button */
.error-actions .btn-secondary {
    background-color: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.error-actions .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-section {
        padding: 90px 0 60px;
    }
    .error-404-section .error-title {
        font-size: 40px;
    }
    .error-actions {
        flex-direction: column;
    }
    .error-actions .btn {
        width: 100%;
    }
}


/* Privacy Policy Checkbox */
.form-privacy {
    margin-bottom: 24px;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #a1a8a1;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.privacy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #d8f288; /* Жовто-салатовий колір при виборі */
    border-radius: 4px;
    cursor: pointer;
}

.privacy-label a {
    color: #d8f288;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s ease;
}

.privacy-label a:hover {
    opacity: 0.8;
}

/* Мобільний слайдер галереї */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding-bottom: 12px;
        
        /* Вихід за межі контейнера для комфортного свайпу від краю до краю */
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        
        /* Скасовуємо CSS Grid */
        grid-template-columns: none !important;
    }

    .gallery-grid .gallery-item {
        flex: 0 0 82% !important; /* Видно 82% поточного слайда та шматочок наступного */
        max-width: 82% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        height: 260px; /* Фіксована висота картки у слайдері */
    }

    .gallery-grid .gallery-item img,
    .gallery-grid .gallery-item video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Приховуємо стандартну смугу прокручування */
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    .gallery-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* Мобільні слайдери для головної сторінки */
@media (max-width: 768px) {

    /* 1. Галерея робіт (Recent Works) */
    .kitchen-gallery-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding-bottom: 12px;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        grid-template-columns: none !important;
    }

    .kitchen-gallery-grid .gallery-item {
        flex: 0 0 82% !important;
        max-width: 82% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        height: 260px;
    }

    .kitchen-gallery-grid .gallery-item .image-wrapper {
        width: 100%;
        height: 100%;
    }

    .kitchen-gallery-grid .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 2. Адаптація блоків Services та Why Choose Us під Scroll Snap */
    .services-grid,
    .why-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 16px !important;
        padding-bottom: 12px;
        grid-template-columns: none !important;
    }

    .services-grid .service-card,
    .why-grid .why-card {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    /* Приховуємо стандартні смуги прокрутки для всіх трьох сіток */
    .kitchen-gallery-grid::-webkit-scrollbar,
    .services-grid::-webkit-scrollbar,
    .why-grid::-webkit-scrollbar {
        display: none;
    }

    .kitchen-gallery-grid,
    .services-grid,
    .why-grid {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}