/* =========================================================
   RIGGED WEBSITE
   Main stylesheet
========================================================= */

/* Local Manrope variable font */
@font-face {
    font-family: "Manrope";
    src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Variables */
:root {
    --color-bg: #0f0f10;
    --color-surface: #171717;
    --color-card: #111111;
    --color-primary: #ff671f;
    --color-primary-dark: #fa4616;
    --color-text: #ffffff;
    --color-text-muted: #b5b5b5;
    --color-border: #2a2a2a;
    --container-width: 1280px;
    --header-height: 80px;
    --desktop-logo-width: 268px;
}

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

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: var(--header-height);
}

body {
    font-family: "Manrope", Arial, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

body.no-scroll {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* Layout */
.container {
    width: min(92%, var(--container-width));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    background: rgba(15, 15, 16, 0.48);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-nav,
.nav-container {
    height: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.logo img {
    height: 48px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    transition: color 0.25s ease;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-call {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.3s ease, color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.nav-call:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(255, 103, 31, 0.08);
}

.nav-call svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.language-toggle {
    width: 44px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.language-toggle:hover {
    transform: translateY(-2px);
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(255, 103, 31, 0.08);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(255, 103, 31, 0.18);
}

.btn-secondary {
    border: 1px solid var(--color-border);
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    padding: calc(var(--header-height) + 58px) 0 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 58%, rgba(255, 103, 31, 0.10), transparent 34%),
        linear-gradient(180deg, #0f0f10 0%, #151515 48%, #0f0f10 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 80px;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-top: 26px;
}

.hero-tag {
    position: absolute;
    top: calc(var(--header-height) + 12px);
    left: max(4%, calc((100% - var(--container-width)) / 2));
    z-index: 2;
    width: var(--desktop-logo-width);
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-text h1 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.hero-text h1 span:first-child {
    color: var(--color-primary);
}

.hero-text h1 span:last-child {
    color: var(--color-text);
}

html[lang="en"] .hero-text h1 {
    font-size: clamp(48px, 5.3vw, 76px);
}

html[lang="en"] .hero-text h1 span {
    white-space: nowrap;
}

.hero-text p:not(.hero-tag) {
    max-width: 500px;
    margin-top: 18px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.hero-emergency {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-emergency::before {
    content: "";
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 0 rgba(255, 103, 31, 0.4);
    animation: emergency-pulse 2.4s ease-out infinite;
}

@keyframes emergency-pulse {
    0%,
    45% {
        box-shadow: 0 0 0 0 rgba(255, 103, 31, 0.4);
    }
    75%,
    100% {
        box-shadow: 0 0 0 7px rgba(255, 103, 31, 0);
    }
}

/* Hero animation */
.hero-animation {
    --rope-travel: clamp(
        150px,
        calc(100svh - var(--header-height) - 273px),
        365px
    );
    position: relative;
    height: clamp(
        360px,
        min(52vw, calc(100svh - var(--header-height) - 128px)),
        700px
    );
    overflow: visible;
}

.sun {
    position: absolute;
    left: 56%;
    bottom: 0;
    width: min(100%, 650px);
    aspect-ratio: 2 / 1;
    transform: translate(-50%, 48%);
    border-radius: 750px 750px 0 0;
    background: linear-gradient(
        180deg,
        #ff671f 0%,
        #ff671f 62%,
        #fa4616 82%,
        rgba(250, 70, 22, 0) 100%
    );
    box-shadow: 0 0 90px rgba(255, 103, 31, 0.22);
}

.sun::before {
    content: "";
    position: absolute;
    inset: -70px -90px -25px;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.24), transparent 68%);
    filter: blur(12px);
}

.rope {
    position: absolute;
    top: -180px;
    width: 3px;
    height: 1080px;
    background: #050505;
    z-index: 6;
}

.rope-one {
    left: 54.4%;
}

.rope-two {
    left: 72.1%;
}

.climber-track {
    position: absolute;
    left: 54.5%;
    top: 0;
    width: clamp(165px, 34%, 235px);
    height: 100%;
    transform: translateX(-50%);
    z-index: 5;
}

.climber-wrapper {
    position: absolute;
    left: 0;
    top: -20px;
    width: 100%;
    z-index: 5;
    will-change: transform;
    animation: rope-descent 7s ease-in-out infinite alternate;
}

.climber {
    width: 100%;
    height: auto;
}

@keyframes rope-descent {
    from { transform: translateY(0); }
    to { transform: translateY(var(--rope-travel)); }
}

/* Shared sections */
.services,
.references,
.about,
.contact {
    padding: 120px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-tag {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-heading h2,
.simple-section h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.04em;
}

/* Services */
.services {
    background: var(--color-card);
}

.services-heading {
    max-width: 820px;
}

.services-heading > p:not(.section-tag) {
    max-width: 720px;
    margin-top: 22px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.75;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 300px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
        #121212;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 103, 31, 0.42);
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
        #121212;
}

.service-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: var(--color-primary);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.06);
    border-color: rgba(255, 103, 31, 0.38);
    background: rgba(255, 103, 31, 0.06);
}

.service-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin-bottom: 18px;
    font-size: 25px;
    line-height: 1.15;
    color: var(--color-text);
}

.service-card h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 18px;
    background: var(--color-primary);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: balance;
}

/* References */
.references-swiper {
    position: relative;
    padding: 20px 0 70px;
}

.reference-slide {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: var(--color-surface);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.reference-slide:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(255, 103, 31, 0.15);
}

.reference-open {
    position: relative;
    display: block;
}

.reference-open:focus-visible {
    outline-offset: -4px;
}

.reference-slide img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reference-slide:hover img {
    transform: scale(1.08);
}

.reference-slide h3 {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(15, 15, 16, 0.28);
    color: #ffffff;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    font-size: 18px;
    font-weight: 700;
}

/* Swiper controls */
.swiper-button-prev,
.swiper-button-next {
    top: 151px;
    width: 54px;
    height: 54px;
    margin-top: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(15, 15, 16, 0.75);
    color: var(--color-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    border-color: var(--color-primary);
    background: rgba(255, 103, 31, 0.15);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 22px;
    font-weight: 900;
}

.swiper-pagination-bullet {
    background: var(--color-text-muted);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(15, 15, 16, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: min(900px, 92vw);
    max-height: calc(100dvh - 80px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    background: rgba(23, 23, 23, 0.88);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.lightbox-media {
    position: relative;
    display: flex;
    background: var(--color-card);
}

.lightbox-content img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    background: var(--color-card);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    background: rgba(15, 15, 16, 0.75);
    color: var(--color-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox-nav:hover {
    border-color: var(--color-primary);
    background: rgba(255, 103, 31, 0.15);
}

.lightbox-nav span {
    transform: translateY(-2px);
}

.lightbox-prev {
    left: 16px;
}

.lightbox-next {
    right: 16px;
}

.lightbox-text {
    padding: 24px 28px 28px;
}

.lightbox-text h3 {
    margin-bottom: 8px;
    font-size: 24px;
}

.lightbox-text p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(15, 15, 16, 0.65);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* About */
.about {
    background: var(--color-surface);
}

.simple-section {
    max-width: 850px;
}

.simple-section p:not(.section-tag) {
    margin-top: 24px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.8;
}

/* Contact */
.contact-box {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: start;
    gap: clamp(40px, 6vw, 80px);
    padding: 52px;
    border: 1px solid rgba(255, 103, 31, 0.25);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255, 103, 31, 0.18), transparent 34%),
        var(--color-surface);
}

.contact-copy > p:not(.section-tag) {
    margin-top: 18px;
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.contact-copy {
    max-width: 700px;
}

.contact-box h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.contact-title span {
    display: block;
    white-space: nowrap;
}

html[lang="en"] .contact-box h2 {
    font-size: clamp(32px, 3.5vw, 46px);
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.contact-action {
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 22px;
    min-width: 0;
}

.contact-action svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-action .icon-fill {
    fill: currentColor;
    stroke: none;
}

.company-card {
    display: grid;
    align-content: start;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: rgba(15, 15, 16, 0.74);
}

.company-card h3 {
    font-size: 24px;
    line-height: 1.25;
}

.company-list {
    display: grid;
}

.company-row {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.company-row:first-child {
    padding-top: 0;
}

.company-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.company-row dt {
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 700;
}

.company-row dd {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 600;
}

.privacy-details {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-details summary {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    cursor: pointer;
}

.privacy-details summary::marker {
    color: var(--color-primary);
}

.privacy-copy {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--color-text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
    .nav-menu {
        gap: 24px;
    }
    .nav-call {
        padding: 10px 12px;
    }
    .nav-call span {
        display: none;
    }
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
        gap: 28px;
    }
    .sun {
        left: 50%;
        width: min(92%, 520px);
        transform: translate(-50%, var(--sun-responsive-offset, 130%));
    }
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-box {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    .nav-container {
        gap: 12px;
    }
    .nav-menu {
        gap: 14px;
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 801px) and (max-height: 700px) {
    .hero {
        padding: calc(var(--header-height) + 28px) 0 40px;
    }
    .hero-animation {
        --rope-travel: clamp(
            150px,
            calc(100svh - var(--header-height) - 213px),
            365px
        );
        height: clamp(
            340px,
            min(52vw, calc(100svh - var(--header-height) - 68px)),
            700px
        );
    }
}

@media (max-width: 800px) {
    :root {
        --header-height: 70px;
    }
    .site-header {
        background: rgba(15, 15, 16, 0.92);
    }
    .nav-container {
        gap: 8px;
    }
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 4% 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(15, 15, 16, 0.98);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    }
    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-menu a {
        display: block;
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .nav-call {
        width: 42px;
        height: 42px;
        justify-content: center;
        padding: 0;
    }
    .nav-actions {
        margin-left: auto;
        gap: 8px;
    }
    .language-toggle,
    .nav-toggle {
        width: 42px;
        height: 42px;
    }
    .nav-toggle {
        display: block;
        flex-shrink: 0;
    }
    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    .logo img {
        height: 34px;
    }
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 34px) 0 54px;
        align-items: flex-start;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .hero-text {
        text-align: center;
    }
    .logo-wrapper {
        align-items: center;
        padding-top: 0;
    }
    .hero-tag {
        position: static;
        width: auto;
        transform: translateY(-10px);
        white-space: normal;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.16em;
    }
    .hero-text h1 {
        font-size: clamp(46px, 14vw, 66px);
    }
    html[lang="en"] .hero-text h1 {
        font-size: clamp(38px, 11.5vw, 52px);
    }
    .hero-text p:not(.hero-tag) {
        margin-right: auto;
        margin-left: auto;
        font-size: 16px;
        line-height: 1.65;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .hero-animation {
        --rope-travel: 215px;
        height: 430px;
        margin-top: 8px;
        margin-bottom: -54px;
        overflow: hidden;
    }
    .sun {
        width: min(92vw, 380px);
        transform: translateX(-50%);
    }
    .rope {
        top: -110px;
        height: 720px;
    }
    .climber-track {
        left: 50%;
        width: 165px;
    }
    .climber-wrapper {
        top: 12px;
    }
    .services,
    .references,
    .about,
    .contact {
        padding: 84px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        min-height: auto;
    }
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-box {
        padding: 32px;
    }
    .contact-box h2 {
        font-size: clamp(27px, 8.7vw, 34px);
    }
    .contact-actions {
        width: 100%;
    }
    .contact-box .btn {
        width: 100%;
    }
    .contact-actions {
        grid-template-columns: 1fr;
    }

    .company-card {
        padding: 22px;
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    .lightbox {
        padding: 18px;
    }
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
    .lightbox-prev {
        left: 10px;
    }
    .lightbox-next {
        right: 10px;
    }
    .lightbox-text {
        padding: 20px;
    }
}

@media (max-width: 370px) {
    .nav-container {
        gap: 6px;
    }
    .logo img {
        height: 28px;
    }
    .nav-actions {
        gap: 6px;
    }
    .nav-call,
    .language-toggle,
    .nav-toggle {
        width: 38px;
        height: 38px;
    }
    .contact-box {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .climber-wrapper {
        animation: none;
    }
    .hero-emergency::before {
        animation: none;
    }
}
