:root {
    --ink: #111111;
    --ink-soft: #1c1c1e;
    --paper: #f5f5f7;
    --mist: #e8e8ed;
    --wire: #d2d2d7;
    --mid: #86868b;
    --body: #1d1d1f;
    --clay: #3a3a3c;
    --clay-h: #2c2c2e;
    --white: #ffffff;
    --gold: rgba(255, 200, 100, .8);
    --ease: cubic-bezier(0.25, 0.6, 0.35, 1);
    --t: .38s;
    --nav-h: 70px;
    --max: 1140px;
    --r: 3px;
}

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

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    background: var(--white);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
}

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

.sec {
    padding: 100px 0;
}

.lbl {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 20px;
}

.lbl::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--clay);
    flex-shrink: 0;
}

.lbl--lt {
    color: rgba(255, 255, 255, .5);
}

.lbl--lt::before {
    background: rgba(255, 255, 255, .3);
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(12, 11, 9, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    
    gap: 28px;
}

.nav-a {
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color var(--t), border-color var(--t);
}

.nav-a:hover {
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .3);
}

.nav-a.active {
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .5);
}
/* Армянская версия — уменьшаем шрифт и отступы в меню */
[lang="hy"] .nav-links {
    gap: 14px;
}

[lang="hy"] .nav-a {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    white-space: nowrap;  /* запрещаем перенос */
}

/* Ещё сильнее сжимаем на маленьких экранах */
@media (max-width: 1100px) {
    [lang="hy"] .nav-links {
        gap: 10px;
    }
    
    [lang="hy"] .nav-a {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
    }
}

.nav-cta {
    background: var(--clay);
    color: var(--white);
    border: 1px solid var(--clay);
    padding: 8px 20px;
    border-radius: var(--r);
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background var(--t);
}

.nav-cta:hover {
    background: var(--clay-h);
    border-color: var(--clay-h);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 22px;
    height: 1px;
    background: rgba(255, 255, 255, .6);
    transition: all var(--t);
}

.burger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    padding-top: var(--nav-h);

    display: grid;
    grid-template-rows: 1fr auto;

    overflow: hidden;

    text-align: center;

    background:
        #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E")
        repeat;

    background-size: 220px;
}

.hero-border {
    position: relative;

    display: grid;
    place-items: center;

    width: 100%;

    border-top: 1px solid;
    border-bottom: 1px solid;

    border-image:
        linear-gradient(
            to right,
            transparent,
            rgba(60,60,67,.07) 25%,
            rgba(60,60,67,.07) 75%,
            transparent
        ) 1;
}

/* =========================================================
   WATERMARK
========================================================= */

.hero-wm {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(90px, 14vw, 240px);
    font-weight: 300;
    letter-spacing: .15em;

    color: transparent;
    -webkit-text-stroke: 1px rgba(60,60,67,.04);

    user-select: none;
    pointer-events: none;

    white-space: nowrap;

    animation: wmDrift 16s ease-in-out infinite alternate;
}

@keyframes wmDrift {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-12px) scale(1.02);
    }
}

/* =========================================================
   CONTENT
========================================================= */

.hero-body {
    position: relative;
    z-index: 2;

    width: min(100%, 900px);

    padding:
        clamp(40px, 5vh, 80px)
        24px;

    animation: fadeUp .9s var(--ease) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

/* =========================================================
   EYEBROW
========================================================= */

.hero-ey {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    font-size: .68rem;
    font-weight: 500;

    letter-spacing: .22em;
    text-transform: uppercase;

    color: rgba(60,60,67,.5);

    margin-bottom: clamp(20px, 4vh, 36px);

    animation: fadeUp .9s .1s var(--ease) both;
}

.hero-ey::before,
.hero-ey::after {
    content: '';

    width: 24px;
    height: 1px;

    background: rgba(60,60,67,.2);
}

/* =========================================================
   LOGO
========================================================= */

.hero-mark {
    display: flex;
    justify-content: center;

    margin-bottom: clamp(24px, 5vh, 48px);

    animation: fadeUp .9s .18s var(--ease) both;
}

.hero-mark img {
    width: min(70vw, 520px);
    height: auto;

    display: block;
}

/* =========================================================
   SUBTITLE
========================================================= */

.hero-tl {
    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(15px, 1.5vw, 19px);

    font-style: italic;
    font-weight: 300;

    color: rgba(60,60,67,.5);

    letter-spacing: .04em;

    max-width: 700px;

    margin:
        0 auto
        clamp(28px, 6vh, 56px);

    animation: fadeUp .9s .26s var(--ease) both;
}

/* =========================================================
   ACTIONS
========================================================= */

.hero-acts {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 16px;

    animation: fadeUp .9s .34s var(--ease) both;
}
.btn {
        padding: 12px 24px;
        height: 45px;
        width: 210px;
        font-size: .7rem;
}
.btn-p {
    background: var(--clay);
    color: var(--white);
    border: 1px solid var(--clay);
}
.btn-o {
    background: transparent;
    color: rgba(60, 60, 67, .7);
    border: 1px solid rgba(60, 60, 67, .25);
}
/* =========================================================
   SCROLL
========================================================= */

.hero-scr {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding-bottom: 28px;

    color: rgba(60,60,67,.75);

    font-size: .65rem;
    letter-spacing: .28em;

    text-transform: uppercase;

    animation: scrFloat 2.8s ease-in-out infinite;
}

.hero-scr-l {
    width: 1px;
    height: 36px;

    background:
        linear-gradient(
            to bottom,
            rgba(60,60,67,.3),
            transparent
        );
}

@keyframes scrFloat {
    0%,100% {
        transform: translateY(0);
        opacity: .35;
    }

    50% {
        transform: translateY(7px);
        opacity: .7;
    }
}
/* ABOUT */
.ab-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 28px;
}

.ab-p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(235, 235, 240, .7);
    margin-bottom: 18px;
}

.ab-p strong {
    font-weight: 600;
    color: var(--white);
}

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

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.stat {
    padding: 28px 0;
    border-right: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat-n {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-l {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
}

.ab-panel {
    background: var(--ink-soft);
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    
}

.ab-panel::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(60, 60, 67, .08);
    pointer-events: none;
}

.ab-panel-n {
    font-family: 'Cormorant Garamond', serif;
    font-size: 7rem;
    font-weight: 300;
    color: rgba(60, 60, 67, .9);
    line-height: 1;
}

.ab-panel-q {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 300;
    font-style: italic;
    color: rgba(235, 235, 240, .82);
    line-height: 1.5;
}

.ab-panel-a {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(180, 180, 190, .5);
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ab-panel-a::before {
    content: '';
    width: 20px;
    height: 1px;
    background: rgba(60, 60, 67, .35);
}

/* SERVICES */
.svc-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 56px;
}

.svc-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--ink);
}

.svc-sub {
    max-width: 300px;
    font-size: .9rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--mid);
    flex-shrink: 0;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--wire);
    border: 1px solid var(--wire);
}

.svc-card {
    background: var(--white);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: background var(--t) var(--ease);
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t) var(--ease);
}

.svc-card:hover {
    background: var(--ink);
}

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

.svc-card:hover .svc-num {
    color: rgba(255, 255, 255);
}

.svc-card:hover .svc-icon {
    opacity: .45;
}

.svc-card:hover .svc-name {
    color: var(--white);
}

.svc-card:hover .svc-desc {
    color: rgba(246, 244, 240, .5);
}

.svc-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: rgba(60, 60, 67);
    line-height: 1;
    margin-bottom: 16px;
    transition: color var(--t);
}

.svc-icon {
    font-size: 1.4rem;
    margin-bottom: 14px;
    display: block;
    transition: opacity var(--t);
}

.svc-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color var(--t);
}

.svc-desc {
    font-size: .85rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--body);
    transition: color var(--t);
}

/* LEGAL SERVICE */
.ls-sec {
    background: var(--paper);
    padding: 100px 0;
}

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

.ls-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 20px;
}

.ls-p {
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 18px;
}

.ls-feats {
    display: flex;
    flex-direction: column;
}

.ls-feat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(60, 60, 67, .08);
}

.ls-feat:last-child {
    border-bottom: none;
}

.ls-feat-n {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(60, 60, 67, .9);
    line-height: 1;
    padding-top: 2px;
    min-width: 28px;
}

.ls-feat-t {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.ls-feat-d {
    font-size: .82rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.75;
}

/* OWNERS */
.own-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.own-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3.8vw, 3.1rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 22px;
}

.own-p {
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.85;
    color: var(--mid);
    margin-bottom: 40px;
}

.feat-list {
    display: flex;
    flex-direction: column;
}

.feat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(60, 60, 67, .08);
    opacity: 0;
    transform: translateX(12px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.feat.vis {
    opacity: 1;
    transform: translateX(0);
}

.feat:last-child {
    border-bottom: none;
}

.feat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(60, 60, 67, .8);
    line-height: 1;
    padding-top: 2px;
    min-width: 28px;
}

.feat-t {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.feat-d {
    font-size: .82rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.75;
}

/* CONTACT */
.con-sec {
    background: var(--ink-soft);
    padding: 100px 0;
}

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

.con-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.con-p {
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(235, 235, 240, .5);
    margin-bottom: 44px;
}

.con-dets {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.cd-l {
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 7px;
}

.cd-v {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    line-height: 1.6;
    transition: color var(--t);
}

.cd-v:hover {
    color: rgba(255, 255, 255, .7);
}
.svh-100{
    min-height: 100svh;
}
.cd-vs {
    font-size: .9rem;
    font-weight: 300;
    color: rgba(235, 235, 240, .55);
    display: block;
    line-height: 1.7;
    transition: color var(--t);
}
.cd-vs a {
    font-family: 'Inter', sans-serif;
    color: rgba(235, 235, 240, .55);
    line-height: 1.7;
    transition: color var(--t);
}
.cd-vs:hover a{
    color: rgba(255, 255, 255, .7);
}
.soc-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.soc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 500;
    color: rgba(235, 235, 240, .5);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 9px 16px;
    border-radius: var(--r);
    transition: all var(--t);
}

.soc-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.soc-btn:hover {
    border-color: rgba(255, 255, 255, .4);
    color: var(--white);
    background: rgba(255, 255, 255, .06);
}

.form-card {
    background: var(--white);
    padding: 44px 40px;
    border: 1px solid var(--wire);
    border-radius: 4px;
    box-shadow: 0 4px 32px rgba(12, 11, 9, .16);
}

.form-h {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 6px;
}

.form-s {
    font-size: .85rem;
    font-weight: 300;
    color: var(--mid);
    margin-bottom: 32px;
    line-height: 1.6;
}

.f-g {
    margin-bottom: 20px;
}

.f-l {
    display: block;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--body);
    margin-bottom: 8px;
}

.f-i,
.f-sel,
.f-ta {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: .925rem;
    font-weight: 300;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--wire);
    border-radius: var(--r);
    padding: 12px 16px;
    transition: border-color var(--t), box-shadow var(--t);
    outline: none;
    -webkit-appearance: none;
}

.f-i:focus,
.f-sel:focus,
.f-ta:focus {
    border-color: var(--clay);
    box-shadow: 0 0 0 3px rgba(60, 60, 67, .12);
    background: var(--white);
}

.f-ta {
    resize: vertical;
    min-height: 100px;
    line-height: 1.7;
}

.f-sel {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8178' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.f-sub {
    width: 100%;
    background: var(--clay);
    color: var(--white);
    border: none;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 15px 24px;
    border-radius: var(--r);
    cursor: pointer;
    transition: background var(--t);
    margin-top: 8px;
}

.f-sub:hover {
    background: var(--clay-h);
}

.f-sub:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.form-note {
    font-size: .72rem;
    font-weight: 300;
    color: var(--mid);
    text-align: center;
    margin-top: 14px;
    line-height: 1.6;
}

.f-msg {
    padding: 14px 18px;
    border-radius: var(--r);
    font-size: .875rem;
    margin-top: 16px;
    line-height: 1.6;
}

.f-msg.ok {
    background: rgba(56, 130, 90, .1);
    border: 1px solid rgba(56, 130, 90, .3);
    color: #1e5c38;
}

.f-msg.err {
    background: rgba(60, 60, 67, .06);
    border: 1px solid rgba(60, 60, 67, .25);
    color: #2c2c2e;
}

/* MAP */
.map-sec {
    padding: 0;
}

.map-fr {
    width: 100%;
    height: 460px;
    border: none;
    display: block;
    filter: saturate(.08) contrast(1.05);
    transition: filter .7s var(--ease);
}

.map-fr:hover {
    filter: saturate(.35);
}

.map-bar {
    background: var(--mist);
    padding: 28px 0;
    border-top: 1px solid var(--wire);
}

.map-bar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.map-addr {
    font-size: .875rem;
    font-weight: 300;
    color: var(--body);
}

.map-addr strong {
    font-weight: 500;
    color: var(--ink);
}

.map-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 500;
    color: var(--body);
    border: 1px solid var(--wire);
    padding: 9px 16px;
    border-radius: var(--r);
    transition: all var(--t);
}

.map-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.map-btn:hover {
    border-color: var(--clay);
    color: var(--white);
    background: var(--clay);
}

.y-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FC3F1D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* FOOTER */
footer {
    background: var(--ink);
    padding: 64px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.ft-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 40px;
}

.ft-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 32px;
}

.ft-logo img {
    height: 44px;
    width: auto;
    filter: invert(1);
}

.ft-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ft-col-t {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-bottom: 16px;
}

.ft-col-i {
    font-size: .85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 10px;
    display: block;
    line-height: 1.5;
    transition: color var(--t);
}

.ft-col-i:hover {
    color: rgba(255, 255, 255, .8);
}

.ft-socs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-soc {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .45);
    transition: color var(--t);
}

.ft-soc svg {
    width: 15px;
    height: 15px;
    opacity: .6;
}

.ft-soc:hover {
    color: rgba(255, 255, 255, .85);
}

.ft-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ft-copy {
    font-size: .72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .04em;
}

.ft-phone {
    font-size: .82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, .3);
    transition: color var(--t);
}

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

/* SCROLL ANIMATIONS */
.r {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.r.vis {
    opacity: 1;
    transform: translateY(0);
}

.r-d1 {
    transition-delay: .07s;
}

.r-d2 {
    transition-delay: .14s;
}

/* LOGOS */
.nav-logo-box {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-box{
    display:flex;
    align-items:center;
    height:100%;
}

.nav-logo{
    display:block;
    object-fit:contain;

    width:auto;

    /* ключевой момент */
    height:clamp(34px, 3.2vw, 44px);

    filter: invert(1);
    transform: scaleX(1.8) scaleY(1.8);

    transition: transform .2s ease, opacity .2s ease;
}

.nav-logo:hover{
    transform: translateY(-1px);
    opacity: .9;
}
@media (max-width: 768px){
    .nav-logo{
        height:36px;
    }
}

@media (max-width: 480px){
    .nav-logo{
        height:32px;
    }
}
.nav-logo:hover{
    transform: scaleX(1.5) scaleY(1.5);
    opacity: .9;
}
.footer-logo{
    transform: scaleX(0.95);
}

.logo-img {
    object-fit: contain;
}

.hero-mark img {
    width: 520px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Планшеты */
@media (max-width: 1024px) {
    .hero-mark img {
        width: 460px;
    }
}

/* Большие телефоны */
@media (max-width: 768px) {
    .hero-mark img {
        width: 450px;
    }
}

/* iPhone 14/15, Galaxy и т.п. */
@media (max-width: 430px) {
    .hero-mark img {
        width: 340px;
        transform: scaleX(1.5) scaleY(1.5)
    }
}

/* Маленькие телефоны */
@media (max-width: 375px) {
    .hero-mark img {
        width: 310px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 320px) {
    .hero-mark img {
        width: 280px;
    }
}   
/* RESPONSIVE */
@media(max-width:980px) {
    .wrap,
    .nav-inner,
    .ft-inner,
    .map-bar-inner {
        padding: 0 24px;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(12, 11, 9, .98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-cta {
        display: none;
    }
    .burger {
        display: flex;
    }
    .grid2,
    .ls-grid,
    .own-grid,
    .con-grid,
    .ft-top {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .svc-grid {
        grid-template-columns: 1fr 1fr;
    }
    .svc-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .svc-sub {
        max-width: 100%;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .stat:nth-child(2) {
        border-right: none;
    }
    .f-row {
        grid-template-columns: 1fr;
    }
    .ft-cols {
        grid-template-columns: 1fr 1fr;
    }
    .ab-panel {
        min-height: auto;
    }
}

@media(max-width:600px) {
    .wrap,
    .nav-inner,
    .ft-inner,
    .map-bar-inner {
        padding: 0 20px;
    }
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-card {
        padding: 28px 24px;
    }
    .ft-cols {
        grid-template-columns: 1fr;
    }
    .ft-bot {
        flex-direction: column;
        text-align: center;
    }
    .sec,
    .ls-sec,
    .con-sec {
        padding: 72px 0;
    }
    .map-fr {
        height: 320px;
    }
    .map-bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .f-row {
        grid-template-columns: 1fr;
    }
    .form-card {
        padding: 28px 20px;
    }
    .btn {
        padding: 12px 24px;
        font-size: .7rem;
    }
}   