/* ============================================
   УК ДЛЯ СВОИХ — Design System
   ============================================ */

:root {
    --navy: #061A31;
    --navy-2: #092541;
    --footer: #041526;
    --orange: #FF8A19;
    --orange-hover: #e87d12;
    --text: #10233B;
    --muted: #657387;
    --line: #DCE3EA;
    --bg: #F7F8FA;
    --white: #FFFFFF;

    --container: 1240px;
    --gutter: clamp(16px, 3.2vw, 48px);
    --header-h: 72px;
    --logo-nav-gap: clamp(20px, 3.2vw, 44px);
    --logo-height: 52px;
    --logo-aspect: 3.001;
    /* доля ширины лого до начала «СВОИХ» */
    --hero-svoih-ratio: 0.485;
    --hero-text-offset: calc(var(--logo-height) * var(--logo-aspect) * var(--hero-svoih-ratio));
    --radius: 14px;
    --radius-sm: 12px;
    --radius-lg: 16px;
    --shadow: 0 8px 30px rgba(6, 26, 49, 0.06);
    --shadow-hover: 0 14px 40px rgba(6, 26, 49, 0.1);
    --ease: 200ms ease;
    --font: 'Inter', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* ===== TYPOGRAPHY ===== */
.kicker {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 14px;
}

.kicker--light {
    color: var(--orange);
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text);
}

.section-title--light {
    color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    border-radius: var(--radius-sm);
    transition: background var(--ease), border-color var(--ease), color var(--ease), filter var(--ease), transform var(--ease);
    white-space: nowrap;
    min-height: 44px;
    padding: 0 24px;
}

.btn:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
}

.btn--primary:hover {
    filter: brightness(1.06);
}

.btn--primary:active {
    transform: translateY(1px);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
}

.btn--outline-white:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
}

/* Hero secondary CTA — solid dark slab with subtle edge (as in reference) */
.btn--hero-dark {
    background: rgba(6, 26, 49, 0.55);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(2px);
}

.btn--hero-dark:hover {
    background: rgba(9, 37, 65, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.7);
}

.btn--navy {
    background: var(--navy);
    color: var(--white);
}

.btn--navy:hover {
    background: var(--navy-2);
}

.btn--sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 13px;
}

.btn--lg {
    min-height: 48px;
    padding: 0 28px;
    font-size: 14px;
}

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

/* ===== HEADER ===== */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
}

.header__inner {
    display: flex;
    align-items: center;
    height: var(--header-h);
}

.header__inner .logo {
    flex-shrink: 0;
    margin-right: clamp(32px, 6.5vw, 96px);
}

.header__inner .nav {
    flex-shrink: 1;
    min-width: 0;
}

.header__inner .header__right {
    margin-left: auto;
    padding-left: 24px;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo__img {
    display: block;
    height: var(--logo-height);
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
    mix-blend-mode: lighten;
}

.logo__img--footer {
    height: 58px;
    max-width: 240px;
}

.nav {
    display: flex;
    align-items: center;
}

.nav__link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 400;
    padding: 6px 11px;
    white-space: nowrap;
    transition: color var(--ease);
}

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

.header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 0;
    flex-shrink: 0;
}

.header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header__phone-number {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    transition: color var(--ease);
}

.header__phone-number:hover {
    color: var(--orange);
}

.header__phone-label {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.48);
}

.header__cabinet {
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 13px;
    min-height: 36px;
    padding: 0 14px;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--ease), opacity var(--ease), width var(--ease);
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 360px);
    height: 100dvh;
    background: var(--navy);
    z-index: 1100;
    padding: calc(var(--header-h) + 24px) 24px 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.mobile-menu__link {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mobile-menu__footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu__phone {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.mobile-menu__phone-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 21, 38, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* верх — плотнее под меню, как в референсе */
        linear-gradient(
            180deg,
            rgba(6, 26, 49, 0.8) 0%,
            rgba(6, 26, 49, 0.6) 5%,
            rgba(6, 26, 49, 0.36) 12%,
            rgba(6, 26, 49, 0.18) 22%,
            rgba(6, 26, 49, 0.06) 34%,
            transparent 48%
        ),
        /* правый верх — телефон и угол */
        linear-gradient(
            225deg,
            rgba(6, 26, 49, 0.42) 0%,
            rgba(6, 26, 49, 0.2) 14%,
            rgba(6, 26, 49, 0.06) 28%,
            transparent 42%
        ),
        /* левый край — со стороны лого */
        linear-gradient(
            90deg,
            rgba(6, 26, 49, 0.92) 0%,
            rgba(6, 26, 49, 0.8) 12%,
            rgba(6, 26, 49, 0.58) 26%,
            rgba(6, 26, 49, 0.34) 40%,
            rgba(6, 26, 49, 0.14) 54%,
            rgba(6, 26, 49, 0.04) 66%,
            transparent 80%
        ),
        /* низ — мягкая виньетка */
        linear-gradient(
            0deg,
            rgba(4, 17, 33, 0.34) 0%,
            rgba(4, 17, 33, 0.1) 16%,
            transparent 30%
        ),
        /* слабый синий на весь фон */
        linear-gradient(
            180deg,
            rgba(6, 26, 49, 0.12) 0%,
            rgba(9, 37, 65, 0.1) 100%
        );
}

.hero__layout {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 720px;
    padding-top: var(--header-h);
    padding-bottom: 48px;
    box-sizing: border-box;
}

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

.hero__content {
    max-width: 580px;
    margin-left: 0;
    padding: 0;
}

.hero__title {
    font-size: clamp(40px, 5.2vw, 72px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--white);
    margin-bottom: 22px;
}

.hero__subtitle {
    font-size: clamp(14px, 1.25vw, 17px);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 32px;
    max-width: 440px;
}

.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero__buttons .btn--primary {
    border-radius: 6px;
    min-height: 50px;
    padding: 0 32px;
    font-size: 15px;
}

.hero__buttons .btn--outline-white {
    border-radius: 6px;
    min-height: 50px;
    padding: 0 32px;
    font-size: 15px;
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== STATS ===== */
.stats {
    background: var(--white);
    padding: 44px 0;
    border-bottom: 1px solid var(--line);
}

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

.stats__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 8px 32px;
    border-right: 1px solid var(--line);
}

.stats__item:first-child {
    padding-left: 0;
}

.stats__item:last-child {
    border-right: none;
    padding-right: 0;
}

.stats__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--text);
}

.stats__icon svg {
    width: 32px;
    height: 32px;
}

.stats__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.stats__number {
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stats__label {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.35;
    max-width: 170px;
}

/* ===== SERVICES ===== */
.services {
    padding: 80px 0 46px;
    background: var(--white);
    overflow: hidden;
}

.services__layout {
    --services-right-inset: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    --services-photo-w: clamp(206px, 21.6vw, 277px);
    --services-photo-h: clamp(252px, 25.4vw, 325px);
    --services-photo-bleed: clamp(10px, 1.6vw, 20px);
    --services-cards-offset: clamp(300px, 30vw, 384px);
    position: relative;
    width: calc(100% - var(--services-right-inset));
    margin-right: var(--services-right-inset);
}

.services__photo {
    position: absolute;
    left: calc(-1 * var(--services-photo-bleed));
    top: 8px;
    width: var(--services-photo-w);
    height: var(--services-photo-h);
    margin: 0;
    pointer-events: none;
    /* L-образная форма и скругления запечены в PNG */
}

.services__photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
}

.services__main {
    position: relative;
    min-height: calc(var(--services-photo-h) + 12px);
    min-width: 0;
}

.services__intro {
    position: absolute;
    top: 0;
    left: clamp(72px, 8.8vw, 108px);
    width: clamp(160px, 20vw, 246px);
    margin: 0;
    padding: 0;
}

.services__title {
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--text);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-left: var(--services-cards-offset);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 20px 22px;
    min-height: 278px;
    display: flex;
    flex-direction: column;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: #c8d3de;
}

.service-card__icon {
    color: var(--text);
    margin-bottom: 26px;
    flex-shrink: 0;
}

.service-card__icon svg {
    width: 30px;
    height: 30px;
}

.service-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.33;
    color: var(--text);
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 24px;
}

.service-card__link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    transition: gap var(--ease), color var(--ease);
}

.service-card__arrow {
    display: inline-block;
    width: 28px;
    height: 1px;
    background: currentColor;
    position: relative;
    vertical-align: middle;
}

.service-card__arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.service-card__link:hover {
    color: var(--navy-2);
    gap: 14px;
}

/* ===== ONLINE ===== */
.online {
    position: relative;
    background: var(--navy);
    padding: 88px 0;
    overflow: hidden;
}

.online::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(255, 138, 25, 0.05) 0%, transparent 70%),
        repeating-radial-gradient(circle at 20% 60%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.015) 40px, rgba(255, 255, 255, 0.015) 41px);
    pointer-events: none;
}

.online__pattern {
    position: absolute;
    left: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 25, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.online__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 48px;
    align-items: center;
}

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

.online-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-sm);
    transition: background var(--ease);
    min-height: 44px;
}

.online-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.online-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    transition: border-color var(--ease);
}

.online-item:hover .online-item__icon {
    border-color: rgba(255, 138, 25, 0.5);
}

.online-item__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 0;
}

.online-item__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.online-item__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

/* ===== OBJECTS ===== */
.objects {
    padding: 88px 0;
    background: var(--bg);
}

.objects__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.objects__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 6px;
    transition: gap var(--ease), color var(--ease);
    white-space: nowrap;
}

.objects__link:hover {
    gap: 10px;
    color: var(--navy-2);
}

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

.objects__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--ease), background var(--ease);
}

.objects__arrow:hover:not(:disabled) {
    border-color: var(--text);
}

.objects__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.objects__track {
    display: flex;
    gap: 18px;
    overflow: hidden;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.objects__track::-webkit-scrollbar { display: none; }

.object-card {
    position: relative;
    flex: 0 0 calc(33.333% - 12px);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 0;
}

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

.object-card:hover .object-card__img {
    transform: scale(1.03);
}

.object-card__info {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 2;
}

.object-card__name {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.object-card__address {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.object-card__arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform var(--ease);
}

.object-card:hover .object-card__arrow {
    transform: scale(1.06);
}

.object-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 26, 49, 0.45) 0%, transparent 35%, transparent 70%, rgba(6, 26, 49, 0.12) 100%);
    pointer-events: none;
}

.objects__dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.objects__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--ease), transform var(--ease);
}

.objects__dot.active {
    background: var(--orange);
    transform: scale(1.15);
}

/* ===== ABOUT ===== */
.about {
    padding: 88px 0;
    background: var(--white);
}

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

.about__text {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 18px 0 28px;
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.about__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.45;
}

.about__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.about__media {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.about__img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
}

/* ===== CTA ===== */
.cta {
    background: var(--navy-2);
    padding: 56px 0;
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.cta__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.58);
}

.cta__buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.52);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__desc {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.footer__social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: border-color var(--ease), color var(--ease), background var(--ease);
}

.footer__social-link:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 138, 25, 0.08);
}

.footer__heading {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.footer__col a,
.footer__col span {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.52);
    padding: 5px 0;
    transition: color var(--ease);
}

.footer__col a:hover {
    color: var(--orange);
}

.footer__map {
    color: var(--orange) !important;
    font-weight: 600;
    margin-top: 8px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.32);
    gap: 16px;
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.32);
    transition: color var(--ease);
}

.footer__bottom a:hover {
    color: rgba(255, 255, 255, 0.55);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   RESPONSIVE — 800px breakpoint
   ============================================ */
@media (max-width: 1180px) {
    .services__layout {
        --services-photo-w: clamp(150px, 18vw, 200px);
        --services-photo-h: clamp(220px, 24vw, 280px);
        --services-cards-offset: clamp(210px, 24vw, 280px);
    }

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

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

@media (max-width: 960px) {
    .services__layout {
        width: 100%;
        margin-right: 0;
        padding: 0 var(--gutter);
    }

    .services__photo {
        position: static;
        width: auto;
        height: auto;
        max-width: 420px;
        margin-bottom: 24px;
    }

    .services__photo-img {
        height: auto;
    }

    .services__main {
        min-height: 0;
    }

    .services__intro {
        position: static;
        width: auto;
        margin-bottom: 24px;
    }

    .services__grid {
        margin-left: 0;
    }

    .service-card {
        min-height: 0;
    }
}

@media (max-width: 620px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    :root {
        --header-h: 64px;
    }

    .container {
        padding: 0 24px;
    }

    .header__inner {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .header__inner .nav {
        display: none;
    }

    .header__phone,
    .header__cabinet {
        display: none;
    }

    .header__inner .header__right {
        justify-self: end;
    }

    .burger {
        display: flex;
        align-items: flex-start;
        gap: 6px;
    }

    .burger span:nth-child(1) { width: 24px; }
    .burger span:nth-child(2) { width: 17px; }
    .burger span:nth-child(3) { width: 11px; }

    .burger.active span:nth-child(1) { width: 22px; transform: translateY(8px) rotate(45deg); }
    .burger.active span:nth-child(2) { width: 22px; }
    .burger.active span:nth-child(3) { width: 22px; transform: translateY(-8px) rotate(-45deg); }

    /* Hero */
    .hero {
        min-height: 660px;
        border-radius: 0 0 32px 32px;
    }

    .hero__img {
        object-position: 48% 55%;
    }

    .hero__layout {
        display: flex;
        align-items: center;
        min-height: 660px;
        padding-top: var(--header-h);
        padding-bottom: 32px;
    }

    .hero__content {
        margin-left: 0;
        max-width: 100%;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    /* Stats */
    .stats {
        padding: 32px 0;
    }

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

    .stats__item {
        padding: 0;
        gap: 14px;
        border-right: none;
    }

    .stats__icon {
        width: 32px;
        height: 32px;
    }

    .stats__icon svg {
        width: 28px;
        height: 28px;
    }

    .stats__label {
        max-width: none;
    }

    .services {
        padding: 48px 0;
    }

    .online {
        padding: 56px 0;
        border-radius: 32px;
    }

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

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

    /* Objects */
    .objects {
        padding: 48px 0;
        margin-top: 14px;
        border-radius: 32px;
    }

    .objects__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
    }

    .objects__arrow {
        display: none;
    }

    .object-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .objects__track {
        scroll-snap-type: x mandatory;
        gap: 12px;
        overflow-x: auto;
    }

    .objects__dots {
        display: flex;
    }

    /* About */
    .about {
        padding: 56px 0;
    }

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

    .about__media {
        order: -1;
        justify-content: center;
    }

    .about__img {
        max-width: 100%;
    }

    .about__content .btn {
        width: 100%;
    }

    /* CTA */
    .cta {
        padding: 40px 0;
        border-radius: 32px 32px 0 0;
    }

    .cta__inner {
        flex-direction: column;
        text-align: center;
    }

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

    .cta__buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 48px 0 0;
    }

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

    .footer__desc {
        max-width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Fine-tune breakpoints from TZ */
@media (max-width: 430px) {
    .hero__title {
        font-size: 42px;
    }

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

@media (max-width: 375px) {
    .hero__title {
        font-size: 38px;
    }

    .stats__number {
        font-size: 26px;
    }
}

@media (max-width: 320px) {
    .hero__title {
        font-size: 34px;
    }

    .section-title {
        font-size: 26px;
    }

    .service-card {
        padding: 20px;
    }
}

@media (min-width: 1440px) {
    .container {
        padding: 0 40px;
    }

    .hero__content {
        max-width: 600px;
    }

    .hero__title {
        font-size: 76px;
    }
}

@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: env(safe-area-inset-top);
        height: calc(var(--header-h) + env(safe-area-inset-top));
    }

    .mobile-menu {
        padding-top: calc(var(--header-h) + env(safe-area-inset-top) + 24px);
    }
}
