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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root {
    --bg: #fafaf8;
    --bg2: #f2f0ec;
    --bg3: #ffffff;
    --ink: #111111;
    --ink2: #333333;
    --muted: #555555;
    --light: #999999;
    --border: rgba(0, 0, 0, 0.12);
    --accent: #b8860b;
    --accent2: #d4a017;
    --accent-light: rgba(184, 134, 11, 0.12);
    --fd: 'Playfair Display', serif;
    --fb: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--fb);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

.hdr {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 72px;
    height: 76px;
    transition: all .4s;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
}

.hdr.s {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: var(--fd);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
}
.logo .sup{
    font-size:1.1em;
    vertical-align:super;
}

.logo em {
    font-style: normal;
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 44px;
    list-style: none;
}

.nav a {
    color: var(--ink2);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color .25s;
}

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

.hcta {
    background: var(--ink);
    border: none;
    color: #fff;
    padding: 11px 28px;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
}

.hcta:hover {
    background: var(--accent);
}

/* Burger */
.brg {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.brg span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: all .3s;
    transform-origin: center;
}

.brg.op span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.brg.op span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.brg.op span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mob-ov {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}

.mob-ov.op {
    opacity: 1;
    pointer-events: all;
}

/* Mobile nav drawer */
.mob-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
    width: 90%;
    height: 100dvh;
    background: var(--bg3);
    border-left: 1px solid var(--border);
    padding: 88px 32px 48px;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
}

.mob-nav.op {
    transform: translateX(0);
}

.mob-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mob-nav-list a {
    display: block;
    padding: 12px 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: color .25s;
}

.mob-nav-list a:hover {
    color: var(--accent);
}

.mob-cta {
    margin-top: 32px;
    background: var(--ink);
    border: none;
    color: #fff;
    padding: 14px 28px;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
    width: 100%;
}

.mob-cta:hover {
    background: var(--accent);
}

.hero {
    position: relative;
    height: fit-content;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 76px;
    box-sizing: border-box;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(.22) saturate(.4);
}

.hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(250, 250, 248, .97) 0%, rgba(250, 250, 248, .85) 45%, rgba(250, 250, 248, 0) 75%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 72px;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--accent-light);
    border: 1px solid rgba(184, 134, 11, 0.25);
    padding: 8px 20px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fu .7s .2s ease forwards;
    width: fit-content;
    margin-top: 30px;
}

.hero-tag span {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

.hero-title {
    font-family: var(--fd);
    font-size: clamp(56px, 6.5vw, 100px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.02em;
    margin-bottom: 36px;
    color: var(--ink);
    opacity: 0;
    animation: fu .8s .35s ease forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
    display: block;
    font-weight: 400;
}

.hero-title .sub {
    font-size: .32em;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    display: block;
    font-style: normal;
    margin-bottom: 8px;
    font-family: var(--fb);
}

.hero-desc {
    font-size: 16px;
    color: var(--ink2);
    line-height: 1.85;
    max-width: 440px;
    margin-bottom: 44px;
    white-space: pre-line;
    opacity: 0;
    animation: fu .8s .5s ease forwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fu .7s .65s ease forwards;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-prim {
    background: var(--ink);
    color: #fff;
    border: 2px solid var(--ink);
    padding: 17px 44px;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
}

.btn-prim:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--ink);
    padding: 17px 44px;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    text-decoration: none;
    display: inline-block;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-nums {
    position: absolute;
    right: 72px;
    bottom: 80px;
    z-index: 2;
    display: flex;
    gap: 0;
    opacity: 0;
    animation: fu .8s .8s ease forwards;
}

.hn {
    padding: 28px 36px;
    border: 1px solid var(--border);
    background: var(--bg3);
}

.hn+.hn {
    border-left: none;
}

.hnv {
    font-family: var(--fd);
    font-size: 44px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.hnl {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    opacity: 0;
    animation: fi 1s 1.3s ease forwards;
}

.sline-h {
    width: 48px;
    height: 1px;
    background: var(--accent);
}

.stxt {
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--muted);
    text-transform: uppercase;
}

@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fi {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.mstrip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 18px 0;
    background: #1a1a1a;
}

.mtrack {
    display: flex;
    animation: mq 30s linear infinite;
    white-space: nowrap;
}

@keyframes mq {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mitem {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 36px;
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mdot {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.sec {
    padding: 120px 72px;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.v {
    opacity: 1;
    transform: translateY(0);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.en {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .12em;
    font-weight: 600;
}

.et {
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
}

.sh {
    font-family: var(--fd);
    font-size: clamp(40px, 4.5vw, 66px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--ink);
}

.sh em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.adv-sec {
    background: var(--bg3);
    padding: 120px 72px;
}

.adv-lay {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 96px;
    align-items: start;
}

.adv-imgw {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
}

.adv-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform .6s;
}

.adv-imgw:hover .adv-img {
    transform: scale(1.04);
}

.adv-cap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 20px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent);
    font-size: 11px;
    letter-spacing: .14em;
    color: rgba(255, 255, 255, .9);
    text-transform: uppercase;
}

.adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(0, 0, 0, 0.15);
}

.adv-card {
    background: #242424;
    padding: 40px 32px;
    border: none;
    transition: background .3s;
    position: relative;
    color: #fff;
}

.adv-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s;
}

.adv-card:hover {
    background: #fff;
    color: #b8860b;
}

.adv-card:hover::after {
    transform: scaleX(1);
}

.adv-ico {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
}

.adv-t {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.adv-d {
    font-size: 14px;
    line-height: 1.75;
}

.numband {
    background: var(--ink);
    padding: 0 72px;
}

.numgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ncell {
    padding: 64px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.ncell:last-child {
    border-right: none;
}

.nv {
    font-family: var(--fd);
    font-size: 64px;
    font-weight: 600;
    color: var(--accent2);
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}

.nv sup {
    font-size: .4em;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
}

.nd {
    font-size: 12px;
    color: rgba(255, 255, 255, 1);
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.6;
}

.cat-sec {
    background: var(--bg2);
    padding: 120px 72px;
}

.cat-hdr {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

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

.pc {
    background: var(--bg3);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    transition: box-shadow .3s, transform .3s;
}

.pc:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.pc-imgw {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.pc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

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

.pc-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 11px;
    color: rgba(255, 255, 255, .9);
    letter-spacing: .1em;
    background: rgba(0, 0, 0, .5);
    padding: 4px 10px;
}

.pc-body {
    padding: 28px 24px 32px;
}

.pc-name {
    font-family: var(--fd);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--ink);
}

.pc-name em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.pc-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.ptag {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(184, 134, 11, 0.2);
    padding: 4px 10px;
}

.pc-btn {
    width: 100%;
    background: var(--ink);
    border: none;
    color: #fff;
    padding: 13px;
    font-family: var(--fb);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
}

.pc-btn:hover {
    background: var(--accent);
}

.proj-sec {
    background: var(--bg3);
    padding: 120px 72px;
}

.projmos {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 360px 260px;
    gap: 16px;
    margin-top: 64px;
}

.pj {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 2px;
}

.pj.feat {
    grid-row: 1 / 3;
}

.pj-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    transition: transform .7s, filter .5s;
    display: block;
}

.pj:hover .pj-img {
    transform: scale(1.05);
    filter: brightness(.65);
}

.pj-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, transparent 100%);
}

.pj-type {
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 500;
}

.pj-name {
    font-family: var(--fd);
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.pj-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    display: flex;
    gap: 16px;
}

.proc-sec {
    background: var(--ink);
    padding: 120px 72px;
}

.proc-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
}

.proc-inner .sh {
    color: #fff;
}

.proc-inner .sh em {
    color: var(--accent2);
}

.proc-inner .eyebrow .et {
    color: #fff;
}

.steps {
    margin-top: 56px;
}

.step {
    display: grid;
    grid-template-columns: 72px 1fr;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: padding-left .3s;
}

.step:first-child {
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.step:hover {
    padding-left: 12px;
}

.snum {
    font-size: 12px;
    color: var(--accent2);
    letter-spacing: .1em;
    padding-top: 4px;
    font-weight: 600;
}

.stitle {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.stext {
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.7;
}

.proc-imgw {
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.proc-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    filter: brightness(.7);
    display: block;
    transition: transform .6s;
}

.proc-imgw:hover .proc-img {
    transform: scale(1.03);
    filter: brightness(.8);
}

.proc-lbl {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--accent);
    padding: 18px 24px;
}

.pll-t {
    font-family: var(--fd);
    font-size: 22px;
    font-style: italic;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 600;
}

.pll-s {
    font-size: 11px;
    color: rgba(0, 0, 0, .7);
    letter-spacing: .1em;
}

.calc-sec {
    background: var(--bg2);
    padding: 100px 0;
}

.calc-in {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.cl {
    padding: 80px 72px;
}

.cr {
    padding: 80px 72px;
    background: var(--bg3);
    border-left: 1px solid var(--border);
}

.cdesc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 380px;
    margin-top: 20px;
}

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

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

.pchk {
    width: 28px;
    height: 28px;
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 13px;
    flex-shrink: 0;
    font-weight: 600;
}

.ptxt {
    font-size: 14px;
    color: var(--muted);
}

.fld {
    margin-bottom: 20px;
}

.flbl {
    display: block;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 500;
}

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

.finp {
    width: 100%;
    background: var(--bg2);
    border: 1px solid var(--border);
    padding: 14px 18px;
    color: var(--ink);
    font-family: var(--fb);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border-color .3s;
}

.finp::placeholder {
    color: var(--light);
}

.finp:focus {
    border-color: var(--accent);
}

.bsub {
    width: 100%;
    background: var(--ink);
    color: #fff;
    border: none;
    padding: 18px;
    font-family: var(--fb);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
    margin-top: 8px;
}

.bsub:hover {
    background: var(--accent);
}

.fnote {
    font-size: 11px;
    color: var(--light);
    text-align: center;
    margin-top: 12px;
}

.about-sec {
    background: var(--bg3);
    padding: 120px 72px;
}

.abgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    margin-top: 72px;
    align-items: start;
}

.abp {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.abcerts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.cert {
    border: 1px solid rgba(184, 134, 11, 0.3);
    padding: 7px 16px;
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--accent);
    text-transform: uppercase;
    background: var(--accent-light);
}

.abvg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 16px;
}

.abi {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

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

.abi-tall {
    grid-row: 1 / 3;
}

.abstats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.ast {
    padding: 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
}

.asv {
    font-family: var(--fd);
    font-size: 34px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.asl {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .08em;
}

.rev-sec {
    background: var(--bg2);
    padding: 120px 72px;
}

.revgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}

.rev {
    background: var(--bg3);
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow .3s;
}

.rev:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.rstar {
    color: var(--accent2);
    font-size: 14px;
}

.rqm {
    font-family: var(--fd);
    font-size: 56px;
    font-style: italic;
    color: rgba(184, 134, 11, 0.15);
    line-height: .8;
    display: block;
    margin-bottom: 12px;
}

.rtxt {
    font-size: 15px;
    font-weight: 300;
    color: var(--ink2);
    line-height: 1.8;
    margin-bottom: 28px;
}

.rauth {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.rav {
    width: 42px;
    height: 42px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 18px;
    font-style: italic;
    color: #fff;
    flex-shrink: 0;
}

.rname {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.rco {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .06em;
}

.faq-sec {
    background: var(--bg3);
    padding: 120px 72px;
}

.faq-lay {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 96px;
    align-items: start;
}

.faq-sticky {
    position: sticky;
    top: 100px;
}

.faq-imgw {
    margin-top: 40px;
    overflow: hidden;
}

.faq-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.faq-list {
    padding-top: 4px;
}

.faqitem {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.faqitem:first-child {
    border-top: 1px solid var(--border);
}

.faqq {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 15px;
    font-weight: 500;
    gap: 20px;
    transition: color .2s;
    color: var(--ink);
}

.faqitem.op .faqq {
    color: var(--accent);
}

.faqtog {
    width: 26px;
    height: 26px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transition: transform .3s, background .2s;
}

.faqitem.op .faqtog {
    transform: rotate(45deg);
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.faqa {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4, 0, .2, 1);
}

.faqitem.op .faqa {
    max-height: 200px;
}

.faqab {
    padding-bottom: 24px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.fcta {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: var(--ink);
}

.fcta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(.15) saturate(.3);
}

.fcta-cnt {
    position: relative;
    z-index: 2;
    padding: 100px 72px;
    max-width: 700px;
}

.fctitle {
    font-family: var(--fd);
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 24px;
    color: #fff;
}

.fctitle em {
    font-style: italic;
    color: var(--accent2);
    font-weight: 400;
}

.fcdesc {
    font-size: 16px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 500px;
}

.fcform {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.fccontacts {
    display: flex;
    gap: 44px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    flex-wrap: wrap;
}

.fcc {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fccico {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(184, 134, 11, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent2);
    flex-shrink: 0;
}

.fccval {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    margin-bottom: 2px;
    transition: color .2s;
}

.fccval:hover {
    color: var(--accent2);
}

.fccsub {
    font-size: 11px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .06em;
}

.fcform .finp {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .15);
    color: #fff;
}

.fcform .finp::placeholder {
    color: rgba(255, 255, 255, .35);
}

.fcform .finp:focus {
    border-color: var(--accent2);
}

#contact .et {
    color: #fff;
}

.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 32px 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcopy {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .06em;
}

.pop-ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.pop-ov.op {
    opacity: 1;
    pointer-events: all;
}

.pop-box {
    background: var(--bg3);
    border: 1px solid var(--border);
    padding: 56px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform .3s;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
}

.pop-ov.op .pop-box {
    transform: translateY(0);
}

.pop-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 20px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-close:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.pop-lbl {
    font-size: 10px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
    font-weight: 500;
}

.pop-title {
    font-family: var(--fd);
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.1;
}

.pop-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.pop-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.suc-box {
    text-align: center;
}

.suc-ico {
    width: 68px;
    height: 68px;
    border: 2px solid var(--accent);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent);
}

/* Gallery badge — catalog cards */
.pc-imgw.has-gallery {
    cursor: pointer;
}

.gal-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .72));
    display: flex;
    align-items: baseline;
    gap: 5px;
    pointer-events: none;
    z-index: 2;
}

.gal-cnt {
    font-family: var(--fd);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.gal-lbl {
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}

.pc-imgw.has-gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity .25s;
    z-index: 1;
}

.pc-imgw.has-gallery:hover::before {
    opacity: .12;
}

/* Gallery indicator — project cards */
.pj.has-gallery {
    cursor: pointer;
}

.pj.has-gallery::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Crect x='2' y='2' width='7' height='7' rx='1'/%3E%3Crect x='11' y='2' width='7' height='7' rx='1'/%3E%3Crect x='2' y='11' width='7' height='7' rx='1'/%3E%3Crect x='11' y='11' width='7' height='7' rx='1'/%3E%3C/svg%3E") center/18px no-repeat;
    border-radius: 6px;
    opacity: 1;
    transition: background-color .25s, transform .25s;
    z-index: 3;
}

.pj.has-gallery:hover::after {
    background-color: var(--accent);
    transform: scale(1.1);
}

/* Lightbox */
.lb-ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .93);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.lb-ov.op {
    opacity: 1;
    pointer-events: all;
}

.lb-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
    opacity: .7;
    transition: opacity .2s;
}

.lb-close:hover {
    opacity: 1;
}

.lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-size: 28px;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}

.lb-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lb-prev {
    left: 20px;
}

.lb-next {
    right: 20px;
}

.lb-content {
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-img {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    display: block;
}

.lb-vid {
    width: 900px;
    height: 506px;
    max-width: calc(100vw - 160px);
    border: none;
}

.lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    letter-spacing: .12em;
}

/* Video section */
.vid-sec {
    background: var(--bg2);
    padding: 120px 72px;
}

.vidgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.vid-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--ink);
}

.vid-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}

.vid-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s, opacity .4s;
    opacity: .8;
}

.vid-card:hover .vid-thumb {
    transform: scale(1.05);
    opacity: .55;
}

.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s;
}

.vid-play::after {
    content: '';
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.vid-card:hover .vid-play {
    background: var(--accent);
    border-color: var(--accent);
}

.vid-info {
    padding: 16px 20px 20px;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-top: none;
}

.vid-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.5;
}

.scroll {
    display: block;
}

@media (max-width: 1250px) {
    .hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

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

    .hero-nums {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0;
        opacity: 1;
        animation: none;
    }

    .hn {
        border: none;
        border-top: 1px solid var(--border);
    }

    .hn+.hn {
        border-left: 1px solid var(--border);
    }
}

@media (max-width: 1100px) {
    .vidgrid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .vid-sec {
        padding: 80px 32px;
    }

    .hdr {
        padding: 0 32px;
    }

    .nav {
        gap: 24px;
    }

    .nav a {
        font-size: 11px;
    }

    .adv-lay {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .adv-imgw {
        margin-top: 0;
    }

    .adv-img {
        height: 280px;
    }

    .numgrid {
        grid-template-columns: 1fr 1fr;
    }

    .ncell {
        padding: 48px 32px;
    }

    .nv {
        font-size: 52px;
    }

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

    .projmos {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .pj.feat {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 320px;
    }

    .pj {
        height: 240px;
    }

    .proc-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .proc-sec {
        padding: 80px 48px;
    }

    .proc-imgw {
        margin-top: 0;
    }

    .proc-img {
        height: 360px;
    }

    .abgrid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .abvg {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 220px;
    }

    .abi-tall {
        grid-row: 1 / 3;
    }

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

    .faq-lay {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .faq-sticky {
        position: static;
    }

    .calc-in {
        grid-template-columns: 1fr;
    }

    .cl,
    .cr {
        padding: 56px 48px;
    }

    .cr {
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 768px) {

    section,
    html {
        overflow-x: hidden;
    }

    .hdr {
        padding: 0 20px;
        padding-right: 0;
        height: 64px;
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 12px;
        align-items: center;
    }

    .nav {
        display: none;
    }

    .hcta {
        display: none;
    }

    .brg {
        display: flex;
    }

    .mob-nav,
    .mob-ov {
        display: flex;
    }

    .logo {
        font-size: 20px;
    }

    .hcta {
        padding: 9px 16px;
        font-size: 10px;
        letter-spacing: .1em;
        white-space: nowrap;
    }

    .sec,
    .adv-sec,
    .cat-sec,
    .proj-sec,
    .proc-sec,
    .about-sec,
    .rev-sec,
    .faq-sec {
        padding: 56px 20px;
    }

    .numband {
        padding: 0 20px;
    }

    .hero {
        min-height: 100svh;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
        padding-top: 64px;
        padding-bottom: 160px;
    }

    .hero-grad {
        background: linear-gradient(180deg, rgba(250, 250, 248, .98) 0%, rgba(250, 250, 248, .92) 60%, rgba(250, 250, 248, .5) 100%);
    }

    .hero-content {
        flex: none;
        display: block;
        padding: 0 20px;
        padding-top: 20px;
    }

    .hero-tag {
        margin-bottom: 24px;
    }

    .hero-tag span {
        font-size: 10px;
    }

    .hero-title {
        font-size: clamp(44px, 12vw, 60px);
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
    }

    .btn-prim,
    .btn-ghost {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 11px;
    }

    .hero-nums {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0;
    }

    .hn {
        padding: 18px 12px;
        border: none;
        border-top: 1px solid var(--border);
    }

    .hn+.hn {
        border-left: 1px solid var(--border);
    }

    .hnv {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .hnl {
        font-size: 9px;
    }

    .scroll-hint {
        display: none;
    }

    .mitem {
        font-size: 16px;
        padding: 0 24px;
        gap: 20px;
    }

    .adv-lay {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .adv-img {
        height: 220px;
    }

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

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

    .adv-card[style*="grid-column"] {
        grid-column: 1;
    }

    .numgrid {
        grid-template-columns: 1fr 1fr;
    }

    .ncell {
        padding: 32px 20px;
        border-right: 1px solid rgba(255, 255, 255, .08);
    }

    .ncell:nth-child(2n) {
        border-right: none;
    }

    .ncell:nth-child(n+3) {
        border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .nv {
        font-size: 42px;
    }

    .nd {
        font-size: 10px;
    }

    .cat-hdr {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .cat-hdr p {
        max-width: 100% !important;
    }

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

    .pc-imgw {
        height: 220px;
    }

    .projmos {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
        margin-top: 40px;
    }

    .pj {
        height: 220px;
    }

    .pj.feat {
        grid-column: auto;
        grid-row: auto;
        height: 280px;
    }

    .pj-name {
        font-size: 17px;
    }

    .proc-sec {
        padding: 56px 20px;
    }

    .proc-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .proc-imgw {
        margin-top: 0;
    }

    .proc-img {
        height: 260px;
    }

    .steps {
        margin-top: 32px;
    }

    .step {
        grid-template-columns: 48px 1fr;
        padding: 22px 0;
    }

    .snum {
        font-size: 11px;
    }

    .stitle {
        font-size: 14px;
    }

    .stext {
        font-size: 13px;
    }

    .calc-in {
        grid-template-columns: 1fr;
    }

    .cl,
    .cr {
        padding: 40px 20px;
    }

    .cr {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .frow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cdesc {
        font-size: 14px;
    }

    .abgrid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .abvg {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
        gap: 10px;
    }

    .abi-tall {
        grid-row: 1 / 3;
    }

    .abstats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .ast {
        padding: 18px 14px;
    }

    .asv {
        font-size: 26px;
    }

    .abcerts {
        gap: 6px;
    }

    .cert {
        font-size: 9px;
        padding: 6px 12px;
    }

    .revgrid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .rev {
        padding: 28px 20px;
    }

    .faq-lay {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-sticky {
        position: static;
    }

    .faq-imgw {
        display: none;
    }

    .faqq {
        font-size: 14px;
    }

    .faqab {
        font-size: 13px;
    }

    .fcta {
        min-height: auto;
    }

    .fcta-cnt {
        padding: 60px 20px;
        max-width: 100%;
    }

    .fctitle {
        font-size: clamp(36px, 10vw, 52px);
        margin-bottom: 16px;
    }

    .fcdesc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .fcform {
        flex-direction: column;
        gap: 10px;
    }

    .fcform .finp {
        min-width: 0 !important;
        width: 100%;
    }

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

    .fccontacts {
        flex-direction: column;
        gap: 16px;
        padding-top: 24px;
    }

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

    .vid-sec {
        padding: 60px 20px;
    }

    .lb-nav {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .lb-prev {
        left: 8px;
    }

    .lb-next {
        right: 8px;
    }

    .lb-content {
        max-width: calc(100vw - 80px);
    }

    .lb-vid {
        height: auto;
        aspect-ratio: 16/9;
    }

    .site-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 24px 20px;
    }

    .fcopy {
        font-size: 14px;
    }

    .site-footer .fcopy:last-child {
        display: none;
    }

    .pop-box {
        padding: 32px 20px;
        margin: 16px;
        max-width: calc(100% - 32px);
    }

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

    .pop-sub {
        font-size: 13px;
        margin-bottom: 24px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 40px;
    }

    .sh {
        font-size: 36px;
    }

    .hnv {
        font-size: 24px;
    }

    .hero-nums {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .abvg {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .abi-tall {
        grid-row: auto;
    }

    .abi {
        height: 180px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CF7 OVERRIDES
═══════════════════════════════════════════════════════════════════════════════ */

/* Приховати вбудоване CF7-повідомлення про успіх (замінено модальним вікном) */
.wpcf7-response-output {
    display: none !important;
}

/* Помилка валідації під полем */
.wpcf7-not-valid-tip {
    font-size: 11px;
    color: #e05c3a;
    letter-spacing: .04em;
    margin-top: 5px;
    display: block;
}

/* Підсвітка невалідного поля */
.wpcf7-not-valid {
    border-color: #e05c3a !important;
}

/* ── Попап: два поля в рядок ── */
.cf7-flex {
    display: flex;
    gap: 12px;
    margin: 24px 0 16px;
    flex-wrap: wrap;
}

.cf7-flex .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 140px;
    display: block;
}

/* CF7 обгортка всередині .fcform займає всю ширину */
.fcform .wpcf7 {
    width: 100%;
}

/* ── Контактна форма: інлайн ── */
.cf7-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cf7-inline .wpcf7-form-control-wrap {
    flex: 1;
    min-width: 160px;
    display: block;
}

.cf7-inline input[type="submit"] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Примітка під контактною формою */
.fc-note {
    font-size: 11px;
    color: rgba(255, 255, 255, .75);
    letter-spacing: .06em;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════════════════════════ */

.err-sec {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    padding: 120px 72px;
    text-align: center;
}

.err-inner {
    max-width: 620px;
    width: 100%;
}

.err-num {
    font-family: var(--fd);
    font-size: clamp(120px, 20vw, 260px);
    font-weight: 700;
    color: rgba(0, 0, 0, .05);
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: -20px;
    user-select: none;
}

.err-title {
    font-family: var(--fd);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 24px;
}

.err-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

.err-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 460px;
    margin: 0 auto 44px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ТЕКСТОВА СТОРІНКА
═══════════════════════════════════════════════════════════════════════════════ */

.txt-page-wrap {
    padding-top: 76px;
}

.txt-hero {
    background: var(--ink);
    padding: 96px 72px 80px;
}

.txt-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.txt-hero .eyebrow .et {
    color: rgba(255, 255, 255, .45);
}

.txt-page-title {
    font-family: var(--fd);
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
    margin-top: 16px;
}

.txt-body {
    padding: 80px 72px;
    background: var(--bg3);
}

.txt-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
    color: var(--ink2);
}

.txt-content h1,
.txt-content h2,
.txt-content h3,
.txt-content h4 {
    font-family: var(--fd);
    color: var(--ink);
    margin: 40px 0 16px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.01em;
}

.txt-content h1 {
    font-size: 36px;
}

.txt-content h2 {
    font-size: 28px;
}

.txt-content h3 {
    font-size: 22px;
}

.txt-content h4 {
    font-size: 18px;
}

.txt-content p {
    margin-bottom: 20px;
}

.txt-content ul,
.txt-content ol {
    margin: 0 0 20px 24px;
}

.txt-content li {
    margin-bottom: 8px;
}

.txt-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.txt-content a:hover {
    color: var(--accent2);
}

.txt-content strong {
    font-weight: 600;
    color: var(--ink);
}

.txt-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 12px 24px;
    margin: 32px 0;
    color: var(--muted);
    font-style: italic;
}

.txt-back {
    max-width: 800px;
    margin: 48px auto 0;
}

#fpop input {
    margin-bottom: 10px;
}

#fpop .cf7-inline {
    display: block;
}

.err-inner .btn-prim {
    text-decoration: none;
}

@media (max-width: 768px) {
    .err-sec {
        padding: 80px 20px;
    }

    .txt-hero {
        padding: 64px 20px 56px;
    }

    .txt-body {
        padding: 48px 20px;
    }

    .txt-back {
        margin-top: 32px;
    }
}
.logo{
    transform: translateY(-11px);
}
.footer-links {
  display: block;          /* перенос на новий рядок */
  margin-top: 6px;
}

.footer-links a {
  color: inherit;          /* той самий колір що і копірайт */
  text-decoration: none;   /* прибрати підкреслення */
}

.footer-links a:hover {
  text-decoration: underline; /* легкий hover (опційно) */
  opacity: 0.8;
}

.footer-links .separator {
  margin: 0 6px;
  opacity: 0.6;
}
.fc-note {
  color: #000;
}

.fc-note a {
  color: #000;
  text-decoration: underline;
}

.fc-note a:hover {
  opacity: 0.7;
}