@use "vars" as *;
@use "mixins" as *;

* {
    box-sizing: border-box;
}

html,
body {
    background: $color-bg;
    color: $color-text;
    font-family: $font-main;
}

body {
    line-height: 1;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: $font-heading;
    font-weight: 700;
}

p,
li,
a,
input,
select,
textarea,
button,
span {
    font-family: $font-main;
}

strong,
b {
    font-weight: 500;
}

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

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    @include container;
    padding: 0 $container-padding;
}

.site {
    position: relative;
    overflow: hidden;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;

    &.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-radius: $radius-sm;
    border: 0;
    background: $color-accent;
    color: $color-text;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    box-shadow: $shadow-accent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;

    &:hover {
        transform: translateY(-2px);
    }

    &:active {
        transform: translateY(0);
    }

    &--small {
        padding: 10px 24px;
        font-size: 14px;
        line-height: 20px;
        /*box-shadow: 0 10px 15px rgba(231, 0, 11, 0.4), 0 4px 6px rgba(231, 0, 11, 0.4);*/
		font-weight:400;
		text-transform:uppercase;
    }

    &--ghost {
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(41, 49, 51, 0.6);
        box-shadow: none;
    }
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    border-bottom: 1px solid rgba(207, 23, 23, 0.2);
    background: rgba(18, 18, 18, 0.95);
    animation: slide-down 0.65s ease both;

    &__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 72px;
    }

    &__nav {
        display: flex;
        align-items: center;
        gap: 32px;
        margin-left: auto;
        margin-right: 32px;

        a {
            color: rgba(255, 255, 255, 0.8);
            font-size: 14px;
            font-weight: 500;
            line-height: 20px;
            transition: color 0.2s ease;

            &:hover {
                color: $color-text;
            }
        }
    }
}

.logo {
    display: inline-flex;
    width: 137px;
    height: 30px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hero {
    position: relative;
    min-height: 852px;
    padding-top: 72px;

    &__bg {
        position: absolute;
		filter: blur(3px);
        inset: 0;
        background:
            linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(0, 0, 0, 0) 100%),
            url("../images/renders/led.jpg") center / cover no-repeat;

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px),
                repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px);
            mix-blend-mode: soft-light;
        }
    }

    &__content {
        position: relative;
        z-index: 1;
        max-width: 1000px;
        margin-left: 528px;
        padding-top: 104px;
        padding-bottom: 100px;

        > * {
            opacity: 0;
            animation: fade-up 0.7s ease forwards;
        }

        h1 {
            animation-delay: 0.15s;
        }

        p {
            animation-delay: 0.28s;
        }

        .hero__tags {
            animation-delay: 0.4s;
        }

        .hero__actions {
            animation-delay: 0.52s;
        }
    }

    h1 {
        max-width: 1000px;
        margin-bottom: 24px;
        font-size: 72px;
        font-weight: 700;
        line-height: 90px;

        span {
            color: $color-accent;
			font-family: Montserrat, Inter, Segoe UI, Segoe UI Variable, Helvetica Neue, Arial, sans-serif;
			font-weight:700;
        }
    }

    p {
        max-width: 768px;
        margin-bottom: 32px;
        color: $color-text-soft;
        font-size: 23px;
        line-height: 1.5; 
		font-weight:300;
    }

    &__tags {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 15px;

        li {
            padding: 20px 20px;
            border: 1px solid $color-border-strong;
            /*background: rgba(41, 49, 51, 0.6);*/
            font-size: 14px;
            font-weight: 300;
            line-height: 20px;
            white-space: nowrap;
            transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
			
			background-color: rgba(255, 255, 255, 0.2);
			backdrop-filter: blur(53px);
			-webkit-backdrop-filter: blur(10px);
			border: 0px solid rgba(255, 255, 255, 0.3);
			border-radius: 12px;

            &:hover {
                transform: translateY(-1px);
                border-color: rgba(207, 23, 23, 0.55);
                background: rgba(41, 49, 51, 0.9);
            }
        }
    }

    &__actions {
        display: flex;
        gap: 16px;
		
		.btn{
			font-size:14px;
			font-weight:600;
			text-transform:uppercase;
		}
    }
}

.highlights {
    background: linear-gradient(90deg, $color-surface, $color-surface-2);
    padding: 96px 0;

    &__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

.info-card {
    @include card;
    min-height: 178px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;

    &:hover {
        transform: translateY(-6px);
        border-color: rgba(207, 23, 23, 0.45);
        background: rgba(18, 18, 18, 0.62);
    }

    h3 {
        margin-bottom: 8px;
        font-size: 20px;
        font-weight: 500;
        line-height: 28px;
    }

    p {
        color: $color-text-muted;
        font-size: 16px;
        line-height: 1.5;
		font-weight:200;
    }
}

.section {
    position: relative;
    padding: 96px 0;

    > .container {
        position: relative;
        z-index: 1;
    }

    &--pattern {
        background: $color-bg;

        &::before {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                radial-gradient(circle at 80px 80px, rgba(207, 23, 23, 0.25) 0 2px, transparent 2px 70px),
                radial-gradient(circle at 120px 120px, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 48px);
            background-size: 320px 320px;
            opacity: 0.4;
            pointer-events: none;
        }
    }

    &__head {
        margin-bottom: 64px;
        text-align: center;

        h2 {
            margin-bottom: 16px;
            font-size: 48px;
            font-weight: 700;
            line-height: 1;
        }

        p {
            color: $color-text-soft;
            font-size: 22px; 
            line-height: 1.15;
			font-weight:200;
        }
    }
}

.infrastructure {
    background: linear-gradient(90deg, #293133 0%, #2f3b40 100%);

    .section__head {
        margin-bottom: 56px;

        h2 {
            font-size: 48px;
            font-weight: 700;
            line-height: 1.05;
        }

        p {
            font-size: 22px;
            font-weight: 200;
            line-height: 1.2;
        }
    }

    &__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}

.feature-card {
    @include card;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 238px;
    padding: 32px 26px 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;

    &:hover {
        transform: translateY(-5px);
        border-color: rgba(207, 23, 23, 0.55);
        background: rgba(18, 18, 18, 0.6);
    }

    &__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
        border-radius: 18px;
        background: $color-accent;
        color: $color-text;
        box-shadow: 0 12px 24px rgba(231, 0, 11, 0.5);

        svg {
            width: 32px;
            height: 32px;
            display: block;
        }
    }

    h3 {
        margin-bottom: 7px;
        font-size: 18px;
        /*font-weight: 700;*/
        line-height: 1.2;
		font-weight:600;
    }

    p {
        color: $color-text-muted;
        font-size: 16px;
        line-height: 1.3;
		font-weight:300;
    }
}

.objects {
    background-image: url(../images/bg-pattern.svg);
    background-position: center;
    .section__head {
        margin-bottom: 64px;
    }
}

.object-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;

    &:last-child {
        margin-bottom: 0;
    }

    &--reverse {
        .object-card__image {
            order: 2;
        }

        .object-card__content {
            order: 1;
        }
    }

    &__image {
        min-height: 400px;
        border-radius: $radius-md;
        background-size: cover;
        background-position: center;
        transition: transform 0.5s ease;
    }

    &__content {
        @include card;
        align-self: center;
        min-height: 338px;
        padding: 33px;
        transition: transform 0.3s ease, border-color 0.3s ease;
        display: flex;
        flex-direction: column;
        justify-content: center;

        h3 {
            margin-bottom: 16px;
            font-size: 34px;
            font-weight: 700;
            line-height: 1.1;
			font-weight: 600;
        }

        p {
            margin-bottom: 24px;
            color: $color-text-muted;
            font-size: 18px;
            line-height: 28px;
			font-weight:300;
        }
		
		a.btn{
			min-width: 200px;
			width: 40%;
			padding: 10px 24px;
			border-radius: 10px;
			font-size: 14px;
			text-transform: uppercase;
			font-weight:400;
		}

        ul {
            margin-bottom: 24px;
        }

        li {
            position: relative;
            padding-left: 14px;
            color: $color-text-soft;
            font-size: 16px;
            line-height: 28px;

            & + li {
                margin-top: 8px;
            }

            &::before {
                content: "";
                position: absolute;
                left: 0;
                top: 12px;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: $color-accent;
            }
        }
    }

    &:hover {
        .object-card__image {
            transform: scale(1.02);
        }

        .object-card__content {
            transform: translateY(-4px);
            border-color: rgba(207, 23, 23, 0.4);
        }
    }
}

.services {
    background: $color-bg;
    background-image: url(../images/bg-pattern.svg);
    background-position: center;

    .section__head {
        margin-bottom: 52px;

        h2 {
            font-size: 48px;
            line-height: 1.05;
        }

        p {
            font-size: 22px;
            line-height: 1.2;
        }
    }

    &__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
        max-width: 896px;
        margin: 0 auto;
    }

    &__cta {
        margin-top: 48px;
        text-align: center;
    }

    &__cta-btn {
        width: min(100%, 560px);
        min-height: 60px;
        padding: 16px 26px;
        font-size: 18px;
        line-height: 1.2;
        box-shadow: 0 18px 34px rgba(231, 0, 11, 0.45);
    }
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-height: 152px;
    padding: 20px;
    border: 1px solid rgba(207, 23, 23, 0.45);
    border-radius: $radius-md;
    background: #1d252b;
    color: $color-text;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;

    &__title {
        display: block;
        font-family: $font-heading;
        font-size: 21px;
        font-weight: 500;
        line-height: 1.15;
        position: relative;
        z-index: 1;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    &__description {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 18px;
        text-align: center;
        background: rgba(7, 10, 12, 1);
        opacity: 0;
        transform: translateY(10px);
        color: $color-text-muted;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.45;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    &:hover,
    &:focus-visible {
        transform: translateY(-3px);
        border-color: rgba(207, 23, 23, 0.75);
        background: #222c33;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);

        .service-card__title {
            opacity: 0.25;
            transform: scale(0.98);
        }

        .service-card__description {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.pricing {
    background: linear-gradient(90deg, $color-surface, $color-surface-2);

    .section__head {
        margin-bottom: 44px;
    }

    &__list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin-bottom: 28px;
		
		@media (max-width: 768px) {
            grid-template-columns: repeat(1, minmax(0, 1fr));
        }
    }
	
	

    &__note {
        margin-bottom: 30px;
        color: $color-text-soft;
        font-size: 14px;
        line-height: 1.45;
        text-align: center;
		font-weight:200;
    }

    &__cta {
        text-align: center;
    }

    &__cta-btn {
        width: min(100%, 420px);
        min-height: 60px;
        padding: 16px 26px;
        font-size: 18px;
        line-height: 1.2;
    }

    &-item {
        @include card;
        min-height: 144px;
        padding: 40px;

        h3 {
            margin-bottom: 10px;
            font-size: 22px;
            font-weight: 700;
            line-height: 1.25;
        }

        p {
            color: $color-accent;
            font-size: 24px;
            font-weight: 700;
            line-height: 1.2;
        }
		
		// Медиа-запрос для экранов меньше 600px
        @media (max-width: 600px) {
            padding: 40px;       // Пример: уменьшаем внутренние отступы
            min-height: auto;    // Пример: убираем фиксированную минимальную высоту
			text-align: center;
            
            h3 {
                font-size: 16px; // Пример: уменьшаем размер заголовка
            }
            
            p {
                font-size: 16px; // Пример: уменьшаем размер цены
				color:#dfdfdf;
            }
        }
		
    }
}

.gallery {
    background: linear-gradient(90deg, $color-surface, $color-surface-2);

    &__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    &__item {
        aspect-ratio: 16 / 10;
        border: 1px solid $color-border;
        border-radius: $radius-md;
        background-size: cover;
        background-position: center;
        transition: transform 0.45s ease, border-color 0.3s ease, filter 0.3s ease;

        &:hover {
            transform: scale(1.03);
            border-color: rgba(207, 23, 23, 0.55);
            filter: saturate(1.08);
        }
    }
}

.facts {
    background: $color-bg;
    background-image: url(../images/bg-pattern.svg);
    background-position: center;
}

.reviews {
    --reviews-visible: 3;
    --reviews-gap: 24px;
    background: linear-gradient(90deg, $color-surface, $color-surface-2);

    .section__head {
        margin-bottom: 44px;
    }

    &__slider {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 16px;
    }

    &__viewport {
        overflow: hidden;
    }

    &__track {
        display: flex;
        gap: var(--reviews-gap);
        transition: transform 0.45s ease;
        will-change: transform;
    }

    &__nav {
        width: 48px;
        height: 48px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        color: rgba(255, 255, 255, 0.88);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;

        &:hover:not(:disabled) {
            transform: translateY(-1px);
            border-color: rgba(207, 23, 23, 0.75);
            background: rgba(207, 23, 23, 0.18);
        }

        &:disabled {
            opacity: 0.35;
            cursor: default;
        }
    }

    &__dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 18px;
    }

    &__dot {
        width: 16px;
        height: 16px;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.17);
        cursor: pointer;
        transition: width 0.2s ease, background-color 0.2s ease;

        &.is-active {
            width: 16px;
            background: $color-accent;
        }
    }
}

.review-card {
    @include card;
    flex: 0 0 calc((100% - (var(--reviews-visible) - 1) * var(--reviews-gap)) / var(--reviews-visible));
    min-height: 250px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
	margin-top:5px;

    &:hover {
        transform: translateY(-5px);
        border-color: rgba(207, 23, 23, 0.4);
    }

    p {
        margin-bottom: 24px;
        color: $color-text-soft;
        font-size: 16px;
        line-height: 1.5;
		font-weight: 200;
		font-style: italic;
    }

    strong {
        display: block;
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.2;
    }

    &__meta {
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);

        a {
            /*color: #ffd2d2;*/
			color: #dfdfdf4a;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.4;
            text-decoration: underline;
            text-underline-offset: 2px;
            text-decoration-thickness: 1px;
            /*text-decoration-color: rgba(255, 210, 210, 0.75);*/
			text-decoration-color: rgb(169 169 169 / 28%);
            transition: color 0.2s ease, text-decoration-color 0.2s ease;

            &:hover {
                color: #ffe4e4;
                text-decoration-color: #ffe4e4;
            }
        }
    }
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;

    &__item {
        @include card;
        border: 0;
        background: $color-accent;
        min-height: 248px;
        padding: 34px 24px;
        text-align: center;
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        &:hover {
            transform: translateY(-5px);
        }
    }

    strong {
        display: block;
        margin-bottom: 14px;
        color: $color-text;
        font-size: clamp(80px, 9vw, 120px);
        font-weight: 700;
        line-height: 0.9;
        letter-spacing: 0.01em;
    }

    span {
        color: $color-text;
        font-size: 19px;
        font-weight: 500;
        line-height: 1.25;
        max-width: 320px;
    }
}

.booking {
    background: linear-gradient(90deg, $color-surface, $color-surface-2);

    &__wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    h2 {
        margin-bottom: 24px;
        font-size: 48px;
        font-weight: 700;
        line-height: 1.02;
    }

    p {
        margin-bottom: 32px;
        color: $color-text-soft;
        font-size: 19px;
        font-weight: 200;
        line-height: 1.4;
    }

    form {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    &__field {
        display: flex;
        flex-direction: column;
        gap: 8px;

        label {
            color: rgba(255, 255, 255, 0.88);
            font-size: 14px;
            font-weight: 500;
            line-height: 1.25;
			display:none;
        }

        .required-mark {
            color: $color-accent;
        }
    }

    &__submit {
        width: 100%;
        height: 64px;
        margin-top: 10px;
        padding: 0 24px;
        font-size: 19px;
        font-weight: 500;
        line-height: 1.2;
    }

    &__consent {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-top: 2px;
        color: $color-text-soft;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;

        input[type="checkbox"] {
            width: 18px;
            height: 18px;
            margin-top: 2px;
            accent-color: $color-accent;
            flex: 0 0 18px;
        }

        a {
            color: #ffd2d2;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
    }

    input,
    select,
    textarea {
        width: 100%;
        padding: 0 20px;
        border: 1px solid $color-border;
        border-radius: $radius-sm;
        background: rgba(18, 18, 18, 0.35);
        color: $color-text;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.35;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;

        &:focus {
            border-color: rgba(207, 23, 23, 0.85);
            box-shadow: 0 0 0 3px rgba(207, 23, 23, 0.25);
        }

        &::placeholder {
            color: rgba(255, 255, 255, 0.45);
        }
    }

    input,
    select {
        height: 56px;

    }
	select {
		/* 1. Сбрасываем стандартный стиль браузера (стрелка исчезнет) */
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-color: #1f2325;
	}

    textarea {
        min-height: 130px;
        padding: 16px 20px;
        resize: vertical;
    }
}

.contacts-card,
.hours-card {
    @include card;
    padding: 33px;
    transition: transform 0.3s ease, border-color 0.3s ease;

    &:hover {
        transform: translateY(-4px);
        border-color: rgba(207, 23, 23, 0.4);
    }
}

.contacts-card {
    margin-bottom: 32px;

    h3 {
        margin-bottom: 30px;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.05;
    }

    ul {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    li {
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }

    &__icon {
        flex: 0 0 24px;
        width: 24px;
        height: 24px;
        margin-top: 2px;

        svg {
            width: 24px;
            height: 24px;
            display: block;
        }
    }

    &__item-content {
        strong {
            display: block;
            margin-bottom: 8px;
            font-size: 16px;
            font-weight: 500;
            line-height: 1.1;
        }

        a {
            color: rgba(255, 255, 255, 0.9);
            font-size: 16px;
            line-height: 1.8; 
            text-decoration: underline;
            text-underline-offset: 2px;
        }

        span {
            color: $color-text-soft;
            font-size: 16px;
            line-height: 1.45;
			font-weight:300;
        }

        small {
            display: block;
            margin-top: 6px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
            line-height: 1.35;
        }
    }

    &__links {
        margin-top: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    &__messenger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
        transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;

        &:hover {
            transform: translateY(-1px);
            border-color: rgba(207, 23, 23, 0.7);
            background: rgba(207, 23, 23, 0.18);
        }

        &--secondary {
            background: rgba(255, 255, 255, 0.02);
        }
    }

    &__action-icon {
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;

        svg {
            width: 20px;
            height: 20px;
            display: block;
            color: currentColor;
            opacity: 0.9;
        }
    }

    &__links--social {
        margin-top: 14px;

        a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: rgba(255, 255, 255, 0.85);
            background: rgba(255, 255, 255, 0.03);
            transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
            text-decoration: none;
        }

        a:hover {
            border-color: rgba(207, 23, 23, 0.8);
            color: $color-text;
            background: rgba(207, 23, 23, 0.2);
        }
    }
}

.hours-card {
    h4 {
        margin-bottom: 16px;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
    }

    p {
        margin: 0;
        font-size: 16px;
        line-height: 1.25;
    }
}

.map-card {
    &__embed {
        width: 100%;
        margin-top: 18px;
        margin-bottom: 16px;
        overflow: hidden;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.15);

        iframe {
            width: 100%;
            min-height: 260px;
            border: 0;
            display: block;
        }
    }

    &__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;

        a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
        }

        a:hover {
            transform: translateY(-1px);
            border-color: rgba(207, 23, 23, 0.75);
            background: rgba(207, 23, 23, 0.18);
        }
    }

    &__action-icon {
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #ffd5d5;

        svg {
            width: 20px;
            height: 20px;
            display: block;
        }
    }

    &__route {
        min-width: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        box-shadow: none;
    }
}

.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;

    &.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    &__overlay {
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 30% 10%, rgba(207, 23, 23, 0.2), transparent 55%), rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(4px);
    }

    &__content {
        position: relative;
        width: min(100%, 620px);
        padding: 36px 30px 30px;
        border: 1px solid rgba(207, 23, 23, 0.52);
        border-radius: 24px;
        background:
            linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
            linear-gradient(165deg, #202a30, #181f24 62%);
        box-shadow: 0 26px 58px rgba(0, 0, 0, 0.52);
    }

    &__status {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin-bottom: 18px;
        border-radius: 16px;
        background: rgba(207, 23, 23, 0.18);
        border: 1px solid rgba(207, 23, 23, 0.45);
        color: #ffd9d9;
        font-size: 28px;
        font-weight: 700;
        line-height: 1;
    }

    &__title {
        margin-bottom: 12px;
        padding-right: 42px;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.1;
    }

    &__text {
        margin-bottom: 24px;
        color: $color-text-soft;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.45;
    }

    &__actions {
        display: flex;
    }

    &__btn {
        min-width: 220px;
    }

    &__close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.92);
        font-size: 22px;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s ease, transform 0.2s ease;

        &:hover {
            background: rgba(207, 23, 23, 0.34);
            transform: rotate(90deg);
        }
    }
}

.legal-page-body {
    background: $color-bg;
}

.legal-site {
    min-height: 100vh;
}

.legal-page {
    position: relative;
    min-height: 100vh;
    padding: 136px 0 88px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.92) 42%, rgba(18, 18, 18, 1)),
        $color-bg;

    &__bg {
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(18, 18, 18, 0.92), rgba(18, 18, 18, 0.72)),
            url("../images/renders/led.jpg") center / cover no-repeat;
        filter: blur(1px);
        transform: scale(1.01);
        opacity: 0.42;

        &::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
                repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
            mix-blend-mode: soft-light;
        }
    }

    &__inner {
        position: relative;
        z-index: 1;
    }

    &__back {
        display: inline-flex;
        margin-bottom: 28px;
        color: rgba(255, 255, 255, 0.68);
        font-size: 14px;
        line-height: 1.4;
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 0.2s ease;

        &:hover {
            color: $color-text;
        }
    }

    &__head {
        max-width: 980px;
        margin: 0 auto;
        margin-bottom: 36px;

        p {
            margin-bottom: 12px;
            color: #ffd2d2;
            font-size: 15px;
            font-weight: 500;
            line-height: 1.4;
            text-transform: uppercase;
        }

        h1 {
            font-size: clamp(34px, 5vw, 64px);
            font-weight: 700;
            line-height: 1.08;
        }
    }
}

.legal-document {
    max-width: 1040px;
    padding: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(18, 18, 18, 0.82);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(10px);
    margin: 0 auto;

    h2 {
        margin: 42px 0 18px;
        color: $color-text;
        font-size: clamp(24px, 3vw, 34px);
        font-weight: 700;
        line-height: 1.18;

        &:first-child {
            margin-top: 0;
        }
    }

    p {
        color: rgba(255, 255, 255, 0.78);
        font-size: 17px;
        font-weight: 300;
        line-height: 1.72;

        + p {
            margin-top: 14px;
        }
    }

    &__meta-line {
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 500 !important;
        line-height: 1.45 !important;
    }

    &__table-wrap {
        margin: 28px 0;
        overflow-x: auto;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
    }

    table {
        width: 100%;
        min-width: 640px;
        border-collapse: collapse;
        background: rgba(255, 255, 255, 0.03);
    }

    td {
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.78);
        font-size: 15px;
        font-weight: 300;
        line-height: 1.55;
        vertical-align: top;

        &:first-child {
            width: 104px;
            color: #ffd2d2;
            font-weight: 500;
        }
    }
}

.footer {
    border-top: 1px solid rgba(207, 23, 23, 0.1);
    background: #090a0f;
    padding: 64px 0 20px;

    &__top {
        display: grid;
        grid-template-columns: 1.45fr 1fr 1.15fr 1fr;
        gap: 36px;
        margin-bottom: 48px;
    }

    &__brand {
        p {
            max-width: 286px;
            margin-top: 16px;
            color: rgba(255, 255, 255, 0.65);
            font-size: 14px;
            line-height: 1.5;
			font-weight:300;
        }
    }

    &__nav,
    &__contacts {
        h4 {
            margin-bottom: 16px;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.1;
        }

        a {
            display: block;
            color: rgba(255, 255, 255, 0.65);
            font-size: 14px;
            line-height: 1.5;
			font-weight:300;
        }

        span {
            display: block;
            color: rgba(255, 255, 255, 0.65);
            font-size: 14px;
            line-height: 1.35;
        }

        a + a,
        span + span {
            margin-top: 10px;
        }
    }

    &__socials {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;

        a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            color: rgba(255, 255, 255, 0.92);
            transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
            margin-top: 0 !important;

            svg {
                width: 22px;
                height: 22px;
                display: block;
            }

            &:hover {
                transform: translateY(-2px);
                border-color: rgba(207, 23, 23, 0.75);
                background: rgba(207, 23, 23, 0.18);
            }
        }
    }

    &__bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        border-top: 1px solid rgba(207, 23, 23, 0.35);
        padding-top: 30px;

        span,
        a {
            color: rgba(255, 255, 255, 0.4);
            font-size: 14px;
            line-height: 1.3;
        }
    }

    &__legal {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 24px;
    }

    &__messengers {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 12px;

        a {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            padding: 0;
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.85) !important;
            background: rgba(255, 255, 255, 0.03);
            margin-top: 0 !important;
            text-decoration: none !important;
            transition: border-color 0.2s ease, background-color 0.2s ease;
        }

        a:hover {
            border-color: rgba(207, 23, 23, 0.72);
            background: rgba(207, 23, 23, 0.16);
        }
    }

    &__messenger-icon {
        width: 16px;
        height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;

        svg {
            width: 16px;
            height: 16px;
            display: block;
            color: currentColor;
        }
    }
}

@include respond($bp-xxl) {
    .hero {
        &__content {
            margin-left: auto;
        }

        h1 {
            font-size: 64px;
            line-height: 1.15;
        }
    }
}

@include respond($bp-xl) {
    .container {
        padding: 0 20px;
    }

    .header {
        &__nav {
            gap: 20px;
            margin-right: 20px;
        }
    }

    .hero {
        &__content {
            margin-left: 280px;
            max-width: 700px;
        }

        h1 {
            font-size: 56px;
        }

        p {
            font-size: 18px;
            line-height: 1.6;
        }
    }

    .section__head {
        h2 {
            font-size: 40px;
        }

        p {
            font-size: 24px;
        }
    }

    .object-card__content {
        h3 {
            font-size: 30px;
        }
    }

    .booking {
        h2 {
            font-size: 48px;
        }
    }

    .contacts-card {
        h3 {
            font-size: 24px;
        }

        &__item-content {
            strong {
                font-size: 16px;
            }
        }
    }

    .hours-card {
        h4 {
            font-size: 16px;
        }

        p {
            font-size: 16px;
        }
    }

    .footer {
        &__brand p {
            font-size: 16px;
        }

        &__nav,
        &__contacts {
            h4 {
                font-size: 16px;
            }

            a,
            span {
                font-size: 14px;
            }
        }

        &__bottom {
            span,
            a {
                font-size: 14px;
            }
        }
    }
	.footer {
		&__nav,
		&__contacts{
			h4 {
				margin-top: 15px;
			}
		}
	}
}

@include respond($bp-lg) {
    .header {
        &__inner {
            min-height: 64px;
        }

        &__nav {
            display: none;
        }
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;

        &__content {
            margin-left: 0;
            max-width: 100%;
            padding-top: 0;
        }

        h1 {
            max-width: 640px;
            font-size: 48px;
            line-height: 1.15;
        }

        p {
            max-width: 640px;
        }

        &__actions {
            flex-wrap: wrap;
        }
    }

    .reviews {
        --reviews-visible: 2;
    }

    .highlights__grid,
    .gallery__grid,
    .reviews__grid,
    .stats,
    .footer__top,
    .infrastructure__grid,
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services__grid {
        max-width: none;
    }

    .object-card,
    .booking__wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .object-card--reverse {
        .object-card__image,
        .object-card__content {
            order: initial;
        }
    }

    .section {
        padding: 72px 0;

        &__head {
            margin-bottom: 40px;
        }
    }

    .booking__contacts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .contacts-card {
        margin-bottom: 0;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer {
        &__top {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 28px;
        }

        &__brand p {
            font-size: 16px;
            margin-top: 18px;
        }

        &__nav,
        &__contacts {
            h4 {
                font-size: 18px;
                margin-bottom: 16px;
            }

            a,
            span {
                font-size: 15px;
                line-height: 1.4;
            }
        }

        &__bottom {
            span,
            a {
                font-size: 14px;
            }
        }
    }
}

@include respond($bp-md) {
    .legal-page {
        padding: 112px 0 64px;

        &__head {
            margin-bottom: 28px;
        }
    }

    .legal-document {
        padding: 30px 22px;
        border-radius: 16px;

        p {
            font-size: 15px;
            line-height: 1.65;
        }

        td {
            padding: 12px;
            font-size: 14px;
        }
    }

    .reviews {
        --reviews-visible: 1;

        &__slider {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        &__nav {
            display: none;
        }
    }

    .container {
        padding: 0 16px;
    }

    .btn {
        width: 100%;

        &--small {
            width: auto;
        }
    }

    .hero {
        padding-top: 108px;

        h1 {
            max-width: 100%;
            font-size: 40px;
        }

        p {
            max-width: 100%;
            font-size: 16px;
            line-height: 1.5;
        }

        &__tags {
            li {
                white-space: normal;
            }
        }

        &__actions {
            .btn--ghost {
                width: 100%;
            }
        }
    }

    .section__head {
        h2 {
            font-size: 34px;
        }

        p {
            font-size: 20px;
            line-height: 1.3;
        }
    }

    .highlights__grid,
    .gallery__grid,
    .reviews__grid,
    .stats,
    .footer__top,
    .booking__contacts,
    .infrastructure__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }

    .feature-card h3,
    .object-card__content h3 {
        font-size: 24px;
    }
	.booking h2 {
        font-size: 32px;
    }

    .booking {
        input,
        select {
            height: 52px;
        }
    }

    .contacts-card {
        h3 {
            font-size: 34px;
            margin-bottom: 18px;
        }

        &__item-content {
            strong {
                font-size: 16px;
            }

            span {
                font-size: 16px;
            }
        }
    }

    .hours-card {
        h4 {
            font-size: 16px;
            margin-bottom: 12px;
        }

        p {
            font-size: 16px;
        }
    }

    .infrastructure .section__head h2,
    .services .section__head h2 {
        font-size: 38px;
    }

    .infrastructure .section__head p,
    .services .section__head p {
        font-size: 20px;
    }

    .service-card__title {
        font-size: 19px;
    }
	
    .footer {
        &__brand p {
            font-size: 16px;
            max-width: 100%;
        }

        &__nav,
        &__contacts {
            h4 {
                font-size: 16px;
            }

            a,
            span {
                font-size: 16px;
            }
        }

        &__bottom {
            span,
            a {
                font-size: 14px;
            }
        }
    }

    .stats strong {
        font-size: clamp(66px, 17vw, 96px);
    }

    .booking-modal {
        &__content {
            padding: 28px 18px 22px;
        }

        &__status {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            font-size: 24px;
            margin-bottom: 14px;
        }

        &__title {
            font-size: 26px;
        }

        &__text {
            font-size: 16px;
            margin-bottom: 18px;
        }

        &__btn {
            min-width: 100%;
        }
    }
}

@include respond($bp-sm) {
    .header__inner {
        gap: 12px;
    }

    .logo {
        width: 110px;
        height: 24px;
    }

    .btn {
        &--small {
            padding: 10px 16px;
            font-size: 13px;
        }
    }

    .hero {
        padding-top: 100px;

        h1 {
            font-size: 34px;
        }

        &__actions {
            gap: 12px;
        }
    }

    .section {
        padding: 64px 0;

        &__head {
            h2 {
                font-size: 32px;
            }

            p {
                font-size: 18px;
            }
        }
    }

    .info-card,
    .review-card,
    .stats__item,
    .hours-card,
    .object-card__content {
        padding: 24px;
    }
	
	.feature-card{
		padding: 34px 24px;
		background: hsl(0deg 0% 7% / 18%);
	}
	
	.contacts-card{
		padding:33px;
	}


    .object-card__image {
        min-height: 260px;
    }

    .service-card {
        min-height: 142px;
        padding: 16px;
    }

    .service-card__title {
        font-size: 18px;
    }

    .service-card__description {
        inset: 0;
        padding: 14px;
        opacity: 1;
        font-size: 14px;
        transform: translateY(0);
    }

    .services__cta-btn {
        width: 100%;
        font-size: 16px;
    }

    .footer__bottom {
        .footer__legal {
            flex-direction: column;
            gap: 12px;
        }
    }

    .footer {
        &__top {
            gap: 20px;
        }

        &__socials a {
            width: 44px;
            height: 44px;
        }
    }
}

@media (hover: none) {
    .service-card {
        justify-content: center;
    }

    .service-card__description {
        position: absolute;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .hero__content > * {
        opacity: 1 !important;
    }

    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
