/* === ROLEX GREEN ATMOSPHERE === */
:root {
    --bg0: #0b0c0e;
    --bg1: #101214;
    /* Rolex Green (эмеральдный) */
    --rolex-rgb: 0 95 58;
    /* #005F3A */
    --rolex-soft: rgb(var(--rolex-rgb) / .10);
    --rolex-strong: rgb(var(--rolex-rgb) / .16);
}

a {
    cursor: pointer;
}

/* базовый глубокий фон (остаётся чёрный, как у тебя) */
html,
body {
    min-height: 100%;
}

body {
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .06) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg0) 0%, #0e1013 40%, var(--bg1) 100%);
    color: #e9edf2;
}

/* единый фиксированный слой с рассеянным зелёным с двух сторон + мягкое нижнее свечение */
html::before {
    content: "";
    position: fixed;
    inset: -18vh -12vw;
    pointer-events: none;
    z-index: -1;
    background:
        /* левый рассеянный изумрудный */
        radial-gradient(820px 500px at 10% 14%, var(--rolex-strong) 0%, var(--rolex-soft) 28%, transparent 64%),
        /* правый рассеянный изумрудный */
        radial-gradient(820px 500px at 90% 12%, var(--rolex-strong) 0%, var(--rolex-soft) 28%, transparent 64%),
        /* лёгкий акцент снизу (отражение) */
        radial-gradient(980px 560px at 72% 92%, rgb(var(--rolex-rgb) / .08) 0%, transparent 62%);
    mix-blend-mode: normal;
}

/* мягкая виньетка по краям, чтобы всё выглядело «матовым» */
html::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(120% 120% at 50% 8%, transparent 62%, rgba(0, 0, 0, .30) 100%);
}

/* едва заметный шум (если нужен — подключи свой noise.png как фон этого слоя) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-repeat: repeat;
    opacity: .12;
}

/* контент поверх атмосферы */
header,
main,
footer,
.section {
    position: relative;
    z-index: 0;
}

/* мобильная адаптация: пятна чуть меньше и ниже, чтобы не перекрывали контент */
@media (max-width: 767.98px) {
    html::before {
        inset: -14vh -14vw;
        background:
            radial-gradient(560px 360px at 12% 18%, var(--rolex-strong) 0%, var(--rolex-soft) 32%, transparent 66%),
            radial-gradient(560px 360px at 88% 16%, var(--rolex-strong) 0%, var(--rolex-soft) 32%, transparent 66%),
            radial-gradient(700px 420px at 70% 94%, rgb(var(--rolex-rgb) / .08) 0%, transparent 64%);
    }

    html::after {
        background:
            radial-gradient(150% 130% at 50% 6%, transparent 64%, rgba(0, 0, 0, .28) 100%);
    }
}

/* уважение к prefers-reduced-motion (если анимации появятся) */
@media (prefers-reduced-motion: reduce) {
    * {
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
    }
}


/* =========================
   PRELOADER (WAV letters)
   ========================= */
.preloader-wav {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 300ms ease-out;
}

.preloader-wav.is-fading {
    opacity: 0;
}

.preloader-wav__word {
    display: flex;
    gap: clamp(4px, 0.6vw, 8px);
    color: #fff;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-weight: 800;
    letter-spacing: -0.15em;
    font-size: clamp(52px, 8vw, 84px);
}

.preloader-wav__letter {
    display: inline-block;
    animation: wav-bounce 700ms infinite alternate;
    animation-delay: calc(var(--i)*0.2s);
    will-change: transform;
}

@keyframes wav-bounce {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.8);
    }
}

/* =========================
   RESET
   ========================= */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

*[hidden] {
    display: none;
}

body {
    line-height: 1;
}

menu,
ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* =========================
   BASE
   ========================= */
@font-face {
    font-family: Gilroy;
    src: url(/src/assets/fonts/Gilroy-Regular.eot);
    src: local("Gilroy Regular"), local("Gilroy-Regular"),
        url(/src/assets/fonts/Gilroy-Regular.eot?#iefix) format("embedded-opentype"),
        url(/src/assets/fonts/Gilroy-Regular.woff) format("woff"),
        url(/src/assets/fonts/Gilroy-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Gilroy;
    src: url(./src/assets/fonts/Gilroy-Bold.eot);
    src: local("Gilroy Bold"), local("Gilroy-Bold"),
        url(./src/assets/fonts/Gilroy-Bold.eot?#iefix) format("embedded-opentype"),
        url(./src/assets/fonts/Gilroy-Bold.woff) format("woff"),
        url(./src/assets/fonts/Gilroy-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
}

:root {
    font-size: 2.5641025641vw;
    --section-gap: clamp(8rem, 10vw, 12rem);
    --header-offset: clamp(7rem, 9vw, 11rem);
}

@media(min-width:768px) {
    :root {
        font-size: 1.3157894737vw;
    }
}

@media(min-width:1200px) {
    :root {
        font-size: .5208333333vw;
    }
}

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

body {
    font-family: Montserrat, sans-serif;
    user-select: none;
    /* background: #000; */
    color: #fff;
}

a {
    text-decoration: none;
}

.line {
    overflow: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

.container {
    padding: 0 4.5rem;
    width: 100%;
}

@media(min-width:1200px) {
    .container {
        padding: 0 15.6rem;
    }
}

.main {
    padding-top: var(--header-offset);
}

/* отступ под фиксированный header */
.section {
    margin-block: var(--section-gap);
}

/* универсальные отступы, если захочешь вёрсткой пометить блоки .section */

.pt {
    padding-top: 5rem;
}

.pb {
    padding-bottom: 10rem;
}

@media(min-width:1200px) {
    .pt {
        padding-top: 8rem;
    }
}

/* =========================
   HEADER & MENU
   ========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 2.4rem 0;
    opacity: 1;
    background: transparent
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 40px)
}

.header__logo {
    color: #fff;
    flex-shrink: 0;
    display: inline-block;
    font-weight: 700;
    letter-spacing: .02em;
    font-size: clamp(28px, 2.5vw, 58px);
    cursor: pointer;
    text-transform: uppercase
}

.header__menu-button {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    padding: 0;
    background: transparent;
    position: relative;
    cursor: pointer
}

.header__menu-button svg {
    position: absolute;
    inset: 0;
    margin: auto;
    transition: .3s
}

.header__menu-button svg:nth-child(2) {
    opacity: 0
}

.header__menu-button.active svg:nth-child(1) {
    opacity: 0
}

.header__menu-button.active svg:nth-child(2) {
    opacity: 1
}

@media(max-width:1199px) {
    .header {
        background: #000
    }

    .header__nav,
    .header__button {
        display: none
    }
}

@media(min-width:1200px) {
    .header {
        padding: 2.8rem 0
    }

    .header__menu-button {
        display: none
    }

    .header__nav {
        margin-inline: auto;
        display: flex;
        align-items: center;
        gap: clamp(36px, 6vw, 120px);
        padding: 0;
        background: transparent;
        border-radius: 0
    }

    .header__nav a {
        color: #fff;
        display: block;
        font-size: clamp(16px, 1.2vw, 20px);
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: .04em;
        position: relative;
        opacity: .95
    }

    .header__nav a::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -.4rem;
        height: 2px;
        background: #fff;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease
    }

    .header__nav a:hover::after {
        transform: scaleX(1)
    }

    .header__button {
        padding: 1.8rem 3.8rem;
        border: .2rem solid #fff;
        border-radius: 9999px;
        color: #fff;
        background: transparent;
        font-size: clamp(15px, 1.1vw, 18px);
        font-weight: 800;
        text-transform: uppercase;
        transition: background .2s ease, color .2s ease;
        white-space: nowrap
    }

    .header__button:hover {
        background: #fff;
        color: #000
    }
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: #000;
    padding: 11rem 4.5rem 2rem;
    transition: .3s;
    pointer-events: none;
    opacity: 0
}

.menu.active {
    pointer-events: auto;
    opacity: 1
}

.menu__nav {
    display: grid;
    gap: 4rem
}

.menu__nav a {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 700;
    font-family: Lato, sans-serif;
    color: #fff;
    text-transform: uppercase
}


/* =========================
   FOOTER
   ========================= */
.footer {
    padding-bottom: 5.6rem;
}

.footer .container {
    position: relative;
}

.footer__logo {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 3.5rem;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
}

.footer__nav a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
}

.footer__socials {
    position: absolute;
    top: -.8rem;
    right: 4.4rem;
    display: flex;
    gap: .6rem;
}

.footer__socials a {
    width: 4.4rem;
    height: 4.4rem;
}

.footer__socials a svg {
    width: 100%;
    height: auto;
}

@media(min-width:1200px) {
    .footer {
        padding-bottom: 9rem;
    }

    .footer .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer__logo {
        font-size: clamp(28px, 2.5vw, 58px);
        margin-bottom: 0;
    }

    .footer__nav {
        display: flex;
        align-items: center;
        gap: 6rem;
    }

    .footer__nav a {
        font-size: 2rem;
        position: relative;
        display: block;
    }

    .footer__nav a:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        border-bottom: .1rem solid #FFF;
        transition: .3s;
    }

    .footer__nav a:hover:after {
        width: 100%;
    }

    .footer__socials {
        position: relative;
        top: 0;
        right: 0;
        gap: 1.6rem;
    }

    .footer__socials a {
        transition: .3s;
        display: block;
    }

    .footer__socials a:hover {
        transform: translateY(-.4rem);
    }
}

/* =========================
   HERO v2 (карточка с кругами)
   ========================= */
.hero-section {
    margin-block: var(--section-gap);
    padding-bottom: 12rem;
}

.hero-card {
    --radius: 50px;
    --bw: 5px;

    position: relative;
    border-radius: var(--radius);
    padding: clamp(30px, 4vw, 50px) clamp(16px, 3vw, 40px);
    overflow: hidden;

    background:
        linear-gradient(135deg,
            rgba(177, 177, 177, 0.32) 0%,
            rgba(54, 53, 103, 0.20) 40%,
            rgba(54, 53, 103, 0.20) 100%,
            rgba(54, 53, 103, 0.12) 100%),
        rgba(14, 74, 48, 0.30);

    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);

    box-shadow:
        inset 0 0 0 var(--bw) #ffffff17,
        /* внутренний “бордер” по краям */
        inset 0 0 35px rgba(255, 255, 255, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 16px 40px rgba(0, 0, 0, 0.45);

    max-width: min(1080px, 80vw);
    margin-inline: auto;
}



.hero-title {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: clamp(22px, 2.6vw, 36px);
    margin-bottom: clamp(24px, 3vw, 40px);
}

.hero-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(6px, .8vw, 14px);
    justify-items: center;
    align-items: center;
    padding: 0;
}

@media(min-width:1200px) {
    .hero-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.hero-logos a {
    width: clamp(140px, 14vw, 230px);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    background: #000;
    border: .35rem solid #fff;
    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .18);
    transition: transform .35s ease, box-shadow .35s ease;
    will-change: transform, box-shadow;
}

.hero-logos a::before {
    content: "";
    position: absolute;
    inset: 6%;
    border-radius: 50%;
    border: .2rem solid rgba(255, 255, 255, .35);
    opacity: .7;
    transform: scale(.98);
    transition: transform .35s ease, opacity .35s ease;
    pointer-events: none;
}

.hero-logos img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35));
    transition: transform .35s ease;
    will-change: transform;
}

.hero-logos a:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .6), 0 0 0 .25rem rgba(255, 255, 255, .22);
}

.hero-logos a:hover::before {
    transform: scale(1);
    opacity: 1;
}

.hero-logos a:hover img {
    transform: translateY(-2px);
}

.hero-subtitle {
    text-align: center;
    font-family: Lato, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: clamp(16px, 2vw, 28px);
    margin-top: clamp(24px, 3vw, 40px);
}

.hero-section__list,
.hero-section__item,
.hero-section__item-socials,
.hero-section__logo,
.hero-section__footer {
    display: none !important;
    visibility: hidden !important;
}





/* =========================
   TITLES
   ========================= */
.titles {
    margin-block: var(--section-gap);
}

.titles__list {
    text-align: center;
}

.titles__list li {
    color: #fff6;
    font-size: 2.9rem;
    font-weight: 800;
    text-transform: uppercase;
    filter: blur(1.2122147083px);
}

@media(min-width:1200px) {
    .titles__list li {
        font-size: 15.5971rem;
    }

    .titles__list li:not(:last-child) {
        margin-bottom: -4rem;
    }
}

/* =========================
   GALLERY
   ========================= */
.gallery-section {
    margin-block: var(--section-gap);
}

.gallery-section__header {
    position: relative;
    margin-bottom: 3rem;
}

.gallery-section__bg-title {
    color: #fff6;
    font-size: 4rem;
    font-weight: 800;
    filter: blur(2.7470355034px);
}

.gallery-section__title {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
}

.gallery-section__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.gallery-section__item img {
    border-radius: .8rem;
    width: 100%;
    height: auto;
}

@media(max-width:1199px) {
    .gallery-section__item:nth-child(2n) {
        transform: translateY(3.4rem);
    }
}

@media(min-width:1200px) {
    .gallery-section__bg-title {
        font-size: 11.1113rem;
        filter: blur(6.95px);
    }

    .gallery-section__title {
        font-size: 6.4rem;
    }

    .gallery-section__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.4rem;
    }

    .gallery-section__item:nth-child(2),
    .gallery-section__item:nth-child(5) {
        transform: translateY(8.5rem);
    }

    .gallery-section__item:nth-child(3),
    .gallery-section__item:nth-child(6) {
        transform: translateY(19rem);
    }
}


/* текст под titles__list — крупнее, как на макете */
.titles__description {
    margin: clamp(24px, 4vw, 64px) auto 0;
    /* max-width: 120rem; */
    color: #fff;
    text-align: left;
    line-height: 1.5;
}

.titles__description p {
    font-family: "Gilroy", "Inter", system-ui, sans-serif;
    font-weight: 700;
    /* базовый размер на мобильных/планшетах */
    font-size: 2.2rem;
}

.titles__description p+p {
    margin-top: clamp(24px, 3vw, 40px);
}

/* на десктопе делаем по пропорции к большому title */
@media (min-width: 1200px) {
    .titles__description {
        margin-top: 6rem;
        line-height: 1.55;
        margin-right: 5rem;
        margin-left: 5rem;
        /* max-width: 120rem; чтобы строки не были слишком длинными */
    }

    .titles__description p {
        font-size: 4rem;
        /* ~30px при вашей шкале — как на скрине */
        letter-spacing: 0.01em;
    }
}


/* =========================
   ANIMATED TEXT
   ========================= */
.anim-text-section {
    margin-block: var(--section-gap);
}

.anim-text-section__inner {
    display: grid;
    gap: 2rem;
}

.anim-text-section p {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.anim-text-section__footer {
    display: flex;
    justify-content: center;
    margin-top: 4.5rem;
}

.anim-text-section__button {
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 1.6rem 4rem;
    border: .2rem solid #FFF;
    border-radius: 5.6rem;
}

@media(min-width:1200px) {
    .anim-text-section__inner {
        gap: 4rem;
        max-width: 150rem;
        margin: 0 auto;
    }

    .anim-text-section p {
        font-size: 4rem;
    }

    .anim-text-section__footer {
        justify-content: flex-end;
        max-width: 150rem;
        margin: 2.6rem auto 0;
    }

    .anim-text-section__button {
        transition: .3s;
    }

    .anim-text-section__button:hover {
        background: #fff;
        color: #000;
    }
}

/* =========================
   CONTACTS
   ========================= */
.contact-v2{margin-block:var(--section-gap)}
.contact-v2__title{
  margin:0 0 clamp(32px,5vw,72px);
  text-align:center;
  color:#fff;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  font-size:clamp(26px,4vw,52px);
}

.contact-v2__grid{
  display:grid;
  gap:clamp(20px,3vw,32px);
  justify-items:center;
}

.contact-v2__list{
  display:grid;
  gap:clamp(16px,2.4vw,24px);
  padding:0;
  margin:0 auto;
  list-style:none;
  width:100%;
  max-width:640px;
}

.contact-v2__item{margin:0}
.contact-v2__link{
  display:flex;
  align-items:center;
  gap:clamp(12px,2vw,18px);
  color:#fff;
  text-decoration:none;
}
.contact-v2__icon{
  width:clamp(36px,4.2vw,56px);
  height:auto;
  flex:0 0 auto;
  display:block;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.3));
}
.contact-v2__text{
  font-size:clamp(18px,2.2vw,26px);
  line-height:1.5;
}

.contact-v2__map{
  width:100%;
  max-width:820px;
  margin:0 auto;
}
.contact-v2__map-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  aspect-ratio:16/10;
  object-fit:cover;
}

@media (min-width:992px){
  .contact-v2__grid{
    grid-template-columns:1fr 1fr;
    align-items:center;
  }
  .contact-v2__list{
    justify-self:center;
    max-width:600px;
  }
  .contact-v2__map{
    justify-self:center;
    max-width:none;
    width:100%;
  }
}



/* UNSERE FIRMEN */

/* ===== Companies (UNSERE FIRMEN) — обновлённые стили ===== */

.companies {
    padding: clamp(40px, 6vw, 80px) 0;
}

.companies .gallery-section__header {
    position: relative;
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.companies .gallery-section__title {
    position: static;
    transform: none;
    margin: 0;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(24px, 3.2vw, 42px);
}

/* без зазоров между карточками */
.companies__grid {
    display: grid;
    gap: 0;
}

/* карточка – две половины без бордеров/рамок */
.companies__item {
    display: grid;
    grid-template-columns: 1fr;
    border-radius: 0;
    overflow: hidden;
}

.companies__media {
    position: relative;
    height: clamp(300px, 40vw, 560px);
    overflow: hidden;
}

.companies__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* панель с текстом: без фона, единый центрированный блок */
.companies__content {
    padding: clamp(28px, 3.8vw, 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 2vw, 22px);
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    min-height: clamp(300px, 40vw, 560px);
}

.companies__title {
    margin: 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    font-size: clamp(20px, 2.4vw, 32px);
}

.companies__text {
    max-width: 72ch;
    margin: 0 auto;
    color: #e6e6e6;
    font-size: clamp(15px, 1.8vw, 20px);
    line-height: 1.6;
}

.companies__text p {
    margin: 0 0 .6em;
}

.companies__text p:last-child {
    margin-bottom: 0;
}

.companies__btn {
    display: inline-block;
    justify-self: center;
    align-self: center;
    margin-top: clamp(12px, 2vw, 20px);
    padding: clamp(12px, 1.4vw, 16px) clamp(22px, 2.8vw, 32px);
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 700;
    background: #fff;
    color: #111;
    border-radius: 9999px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.companies__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

@media (min-width: 768px) {
    .companies__item {
        grid-template-columns: 1fr 1fr;
    }

    .companies__item.is-reversed .companies__media {
        order: 2;
    }

    .companies__item.is-reversed .companies__content {
        order: 1;
    }
}

@media (max-width: 767.98px) {
    .companies__media {
        height: clamp(240px, 62vw, 480px);
    }

    .companies__content {
        max-width: 700px;
        margin: 0 auto;
        min-height: clamp(280px, 72vw, 520px);
    }
}



/* === ABOUT (ÜBER UNS) — без фона секции === */
.about-section {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0;
    /* background: #000;  ← удалено */
    overflow: hidden;
}

.about-section__container {
    position: relative;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 64px);
}


.about-section__bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%);
    width: 100vw;
    margin: 0;
    text-align: center;

    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: .9;
    font-size: clamp(180px, 22vw, 520px);
    color: rgba(255, 255, 255, .12);

    user-select: none;
    pointer-events: none;
    z-index: 0;
}


/* заголовок по центру */
.about-section__title {
    position: relative;
    z-index: 2;
    margin: 0 0 clamp(36px, 5vw, 64px);
    text-align: center;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(28px, 4vw, 56px);
    letter-spacing: .02em;
}

/* текст слева */
.about-section__text {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.6;
    max-width: 75ch;
    margin-inline: 0;
}

.about-section__text p+p {
    margin-top: clamp(16px, 2vw, 28px);
}

/* админ-подсказка */
.about-section__admin-hint {
    --hint-bg: #550;
    --hint-color: #ff6;
    display: inline-block;
    background: var(--hint-bg);
    color: var(--hint-color);
    padding: 8px;
    border-radius: 6px;
    margin-top: 12px;
    font: 14px/1.4 ui-monospace, monospace;
}

/* мобильная подстройка размера фона-надписи */
@media (max-width: 600px) {
    .about-section {
        padding: clamp(56px, 12vw, 96px) 0;
    }

    .about-section__bg {
        font-size: clamp(140px, 26vw, 320px);
    }
}


/* ===== MOBILE SPACING/CENTERING PATCH ===== */
@media (max-width: 767.98px){
  :root{
    /* ровный межсекционный интервал на мобилках */
    --section-gap: clamp(40px, 12vw, 72px);
  }

  /* мягкие боковые поля контейнера */
  .container{
    padding-inline: clamp(16px, 5vw, 24px);
  }

  /* hero: убираем лишний нижний паддинг и не ограничиваем ширину карточки */
  .hero-section{
    padding-bottom: clamp(12px, 4vw, 24px);
  }
  .hero-card{
    max-width: 100%;
  }

  /* галерея: без «скачков» по высоте на чётных плитках */
  .gallery-section__item:nth-child(2n){
    transform: none;
  }

  /* контакты: жёсткое центрирование обеих колонок */
  .contact-v2__grid{
    justify-items: center;
  }
  .contact-v2__list,
  .contact-v2__map{
    margin-inline: auto;
  }

  /* компании: аккуратные размеры и внутренние поля на телефонах */
  .companies{
    padding-block: var(--section-gap);
  }
  .companies__media{
    height: clamp(220px, 56vw, 420px);
  }
  .companies__content{
    min-height: auto;
    padding-inline: clamp(16px, 6vw, 24px);
  }

  /* about: контейнер остаётся компактным */
  .about-section__container{
    padding-inline: clamp(16px, 6vw, 24px);
  }
}
