:root {
    --bg: #0d1010;
    --bg-soft: #141817;
    --surface: #181d1b;
    --surface-light: #f2efe8;
    --text: #f4f0e8;
    --text-dark: #171918;
    --muted: #a7aaa4;
    --muted-dark: #686c68;
    --accent: #c7a66a;
    --accent-light: #e4c996;
    --line: rgba(255,255,255,.13);
    --line-dark: rgba(15,18,17,.14);
    --container: 1240px;
    --header-h: 86px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --ease: cubic-bezier(.2,.75,.25,1);
    --shadow: 0 24px 80px rgba(0,0,0,.24);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    color: var(--text-dark);
    background: var(--surface-light);
    font-family: var(--sans);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 140px 0;
}

.section--dark {
    color: var(--text);
    background: var(--bg);
}

.eyebrow {
    margin: 0 0 22px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: .98;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(44px, 5.2vw, 76px);
    letter-spacing: -.035em;
}

h3 {
    font-size: 32px;
    letter-spacing: -.02em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid var(--accent);
    color: #111;
    background: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}

.button:hover {
    color: var(--text);
    background: transparent;
    transform: translateY(-2px);
}

.button svg {
    width: 21px;
    height: 21px;
}

.button--small {
    min-height: 46px;
    padding-inline: 21px;
    font-size: 10px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 7px;
    border-bottom: 1px solid currentColor;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.text-link svg {
    width: 18px;
    transition: transform .3s var(--ease);
}

.text-link:hover svg {
    transform: translateX(5px);
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: 999;
    opacity: .035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-content: center;
    gap: 22px;
    color: var(--text);
    background: var(--bg);
    transition: opacity .8s var(--ease), visibility .8s;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.page-loader__line {
    width: 190px;
    height: 1px;
    overflow: hidden;
    background: rgba(255,255,255,.15);
}

.page-loader__line::after {
    content: "";
    display: block;
    width: 45%;
    height: 100%;
    background: var(--accent);
    animation: loading 1.25s var(--ease) infinite;
}

.page-loader__text {
    text-align: center;
    font-size: 10px;
    letter-spacing: .42em;
}

@keyframes loading {
    from { transform: translateX(-110%); }
    to { transform: translateX(330%); }
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    color: var(--text);
    transition: background .4s var(--ease), border-color .4s var(--ease);
}

.header.is-scrolled {
    border-bottom: 1px solid var(--line);
    background: rgba(13,16,16,.88);
    backdrop-filter: blur(18px);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo__mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--serif);
    font-size: 24px;
}

.logo__text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .22em;
}

.navigation {
    margin-left: auto;
}

.navigation__list {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation a {
    position: relative;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 600;
    transition: color .3s;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;
    height: 1px;
    background: var(--accent);
    transition: right .35s var(--ease);
}

.navigation a:hover,
.navigation a.is-active {
    color: #fff;
}

.navigation a:hover::after,
.navigation a.is-active::after {
    right: 0;
}

.header__button {
    margin-left: 36px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
    transition: transform .3s, opacity .3s;
}

.menu-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 24px;
    color: var(--text);
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: .35s var(--ease);
}

.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.mobile-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu__list a {
    display: block;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 34px;
}

.mobile-menu__footer {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: var(--text);
    background: var(--bg);
}

.hero__background,
.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 16s ease-out both;
}

@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero__overlay {
    background:
        linear-gradient(
            90deg,
            rgba(8, 10, 9, 0.72) 0%,
            rgba(8, 10, 9, 0.28) 48%,
            rgba(8, 10, 9, 0.05) 78%
        ),
        linear-gradient(
            180deg,
            rgba(8, 10, 9, 0.12) 0%,
            rgba(8, 10, 9, 0.03) 55%,
            rgba(8, 10, 9, 0.55) 100%
        );
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    min-height: calc(100svh - 160px);
    padding-top: 150px;
    padding-bottom: 120px;
}

.hero__content {
    align-self: center;
    max-width: 900px;
}

.hero__eyebrow {
    opacity: 0;
    animation: revealUp .8s .75s var(--ease) forwards;
}

.hero__title {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(62px, 8.2vw, 124px);
    letter-spacing: -.055em;
    opacity: 0;
    animation: revealUp 1s .92s var(--ease) forwards;
}

.hero__title span {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.72);
}

.hero__description {
    max-width: 620px;
    margin-bottom: 38px;
    color: rgba(255,255,255,.72);
    font-size: 17px;
    opacity: 0;
    animation: revealUp .9s 1.1s var(--ease) forwards;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    opacity: 0;
    animation: revealUp .9s 1.22s var(--ease) forwards;
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

.video-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0;
    border: 0;
    color: rgba(255,255,255,.78);
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
}

.video-button__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.38);
    border-radius: 50%;
    transition: background .3s, color .3s, transform .3s;
}

.video-button:hover .video-button__icon {
    color: #111;
    background: var(--accent);
    transform: scale(1.05);
}

.video-button svg {
    width: 19px;
    height: 19px;
}

.hero__side {
    align-self: center;
    justify-self: end;
    display: grid;
    justify-items: center;
    gap: 18px;
    width: 115px;
    color: rgba(255,255,255,.5);
}

.hero__side-number {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 28px;
}

.hero__side-line {
    width: 1px;
    height: 86px;
    background: rgba(255,255,255,.25);
}

.hero__side p {
    margin: 0;
    font-size: 9px;
    letter-spacing: .16em;
    text-align: center;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero__statistics {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 112px;
    border-top: 1px solid rgba(255,255,255,.2);
}

.statistic {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 34px;
    border-right: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(4px);
}

.statistic:last-child {
    border-right: 0;
}

.statistic__number {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1;
}

.statistic p {
    max-width: 90px;
    margin: 0;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.hero__scroll {
    position: absolute;
    z-index: 4;
    right: 24px;
    bottom: 145px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero__scroll svg {
    width: 17px;
    height: 17px;
    animation: scrollDown 1.4s infinite;
}

@keyframes scrollDown {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.section-heading {
    max-width: 880px;
    margin-bottom: 80px;
}

.section-heading--split,
.section-heading--row {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .65fr);
    gap: 80px;
    align-items: end;
}

.section-heading--split .section-heading__text {
    padding-bottom: 6px;
}

.section-heading__text p {
    color: var(--muted-dark);
}

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

.section-heading--row .slider-controls {
    justify-self: end;
}

.about {
    background: #f2efe8;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

.about__image {
    overflow: hidden;
    background: #d9d5cc;
}

.about__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.about__image:hover img {
    transform: scale(1.035);
}

.about__image--large {
    grid-row: 1 / 3;
    min-height: 690px;
}

.about__image--small {
    min-height: 270px;
}

.about__content {
    position: relative;
    padding: 58px 48px;
    color: var(--text);
    background: var(--bg-soft);
}

.about__number {
    display: block;
    margin-bottom: 70px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 20px;
}

.about__content p {
    margin-bottom: 34px;
    color: var(--muted);
}

.services__list {
    border-top: 1px solid var(--line);
}

.service-card {
    display: grid;
    grid-template-columns: 150px minmax(250px, .85fr) minmax(260px, 1fr);
    gap: 50px;
    align-items: center;
    min-height: 210px;
    padding: 42px 0;
    border-bottom: 1px solid var(--line);
    transition: padding .35s var(--ease), background .35s;
}

.service-card:hover {
    padding-inline: 22px;
    background: rgba(255,255,255,.025);
}

.service-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card__number {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 24px;
}

.service-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid var(--line);
}

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

.service-card h3 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 48px);
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

.projects {
    background: #e8e3da;
}

.slider-controls {
    display: flex;
    gap: 10px;
}

.slider-control {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid var(--line-dark);
    background: transparent;
    cursor: pointer;
    transition: color .3s, background .3s, transform .3s;
}

.slider-control:hover {
    color: #111;
    background: var(--accent);
    transform: translateY(-2px);
}

.slider-control svg {
    width: 20px;
    height: 20px;
}

.slider-control--dark {
    color: var(--text-dark);
}

.projects__slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - 28px) / 2));
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.projects__slider::-webkit-scrollbar,
.reviews__slider::-webkit-scrollbar {
    display: none;
}

.project-card {
    scroll-snap-align: start;
}

.project-card__image {
    position: relative;
    height: 570px;
    overflow: hidden;
    background: #ccc;
}

.project-card__image img {
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease), filter .7s;
}

.project-card:hover .project-card__image img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.project-card__year {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 9px 13px;
    color: #fff;
    background: rgba(13,16,16,.72);
    font-size: 10px;
    letter-spacing: .12em;
    backdrop-filter: blur(10px);
}

.project-card__content {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-top: 24px;
}

.project-card__location {
    margin-bottom: 7px;
    color: var(--muted-dark);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-card h3 {
    margin-bottom: 0;
    font-size: 37px;
}

.project-card__details {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    color: var(--muted-dark);
    font-size: 11px;
    white-space: nowrap;
}

.project-card__details span + span::before {
    content: "•";
    margin-right: 14px;
    color: var(--accent);
}

.features {
    color: var(--text);
    background:
        linear-gradient(rgba(13,16,16,.82), rgba(13,16,16,.9)),
        url("../assets/images/features-bg.jpg") center/cover fixed;
}

.features__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
}

.features__intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.features__intro p:last-child {
    max-width: 480px;
    margin-top: 32px;
    color: var(--muted);
}

.features__list {
    border-top: 1px solid var(--line);
}

.feature {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 24px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.feature > span {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 20px;
}

.feature h3 {
    margin-bottom: 12px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
}

.process__timeline::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 1.5s var(--ease);
}

.process__timeline.is-visible::before {
    width: 100%;
}

.process-step {
    position: relative;
    min-height: 310px;
    padding: 38px 28px 24px 0;
}

.process-step:not(:last-child) {
    border-right: 1px solid var(--line);
    padding-left: 24px;
}

.process-step::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.process-step__number {
    display: block;
    margin-bottom: 76px;
    color: var(--accent);
    font-family: var(--serif);
    font-size: 22px;
}

.process-step h3 {
    margin-bottom: 16px;
    font-size: 28px;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.reviews {
    background: #f3f0ea;
}

.reviews__slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, calc((100% - 28px) / 2));
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.review-card {
    position: relative;
    min-height: 440px;
    padding: 50px;
    color: var(--text);
    background: var(--bg-soft);
    scroll-snap-align: start;
}

.review-card__quote {
    color: var(--accent);
    font-family: var(--serif);
    font-size: 84px;
    line-height: .7;
}

.review-card blockquote {
    margin: 36px 0 50px;
    font-family: var(--serif);
    font-size: clamp(24px, 2.35vw, 34px);
    line-height: 1.25;
}

.review-card__author {
    position: absolute;
    left: 50px;
    right: 50px;
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-card__avatar {
    width: 54px;
    height: 54px;
    overflow: hidden;
    border-radius: 50%;
}

.review-card__avatar img {
    height: 100%;
    object-fit: cover;
}

.review-card__author strong,
.review-card__author span {
    display: block;
}

.review-card__author strong {
    font-size: 12px;
}

.review-card__author span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
}

.faq {
    background: #e9e5dc;
}

.faq__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
}

.faq__intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.faq__intro p:last-child {
    max-width: 360px;
    margin-top: 30px;
    color: var(--muted-dark);
}

.faq__list {
    border-top: 1px solid var(--line-dark);
}

.faq-item {
    border-bottom: 1px solid var(--line-dark);
}

.faq-item__button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.faq-item__button > span:first-child {
    font-family: var(--serif);
    font-size: 27px;
}

.faq-item__icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%,-50%);
    transition: transform .3s;
}

.faq-item__icon::after {
    transform: translate(-50%,-50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon::after {
    transform: translate(-50%,-50%) rotate(0);
}

.faq-item__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}

.faq-item__answer > p {
    overflow: hidden;
    margin: 0;
    color: var(--muted-dark);
}

.faq-item.is-open .faq-item__answer {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-item__answer > p {
    padding-bottom: 28px;
}

.contacts {
    position: relative;
    min-height: 780px;
    padding: 130px 0;
    overflow: hidden;
    color: var(--text);
    background: var(--bg);
}

.contacts__background,
.contacts__overlay {
    position: absolute;
    inset: 0;
}

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

.contacts__overlay {
    background: linear-gradient(90deg, rgba(10,12,11,.96) 0%, rgba(10,12,11,.82) 52%, rgba(10,12,11,.45));
}

.contacts__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 100px;
    align-items: center;
}

.contacts__content h2 {
    max-width: 690px;
}

.contacts__content > p:not(.eyebrow) {
    max-width: 520px;
    margin-top: 30px;
    color: var(--muted);
}

.contacts__details {
    display: grid;
    gap: 10px;
    margin-top: 38px;
}

.contacts__details a {
    width: fit-content;
    font-family: var(--serif);
    font-size: 23px;
}

.contact-form {
    padding: 46px;
    border: 1px solid var(--line);
    background: rgba(18,22,20,.76);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.contact-form__field {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
    border-radius: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    padding: 12px 0;
    transition: border-color .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form__error {
    display: block;
    min-height: 16px;
    padding-top: 5px;
    color: #e09a8e;
    font-size: 10px;
}

.contact-form__agreement {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 4px 0 28px !important;
    cursor: pointer;
}

.contact-form__agreement input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-form__checkbox {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1px solid rgba(255,255,255,.35);
}

.contact-form__agreement input:checked + .contact-form__checkbox {
    background: var(--accent);
    border-color: var(--accent);
}

.contact-form__agreement input:checked + .contact-form__checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #111;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact-form__agreement > span:last-child {
    color: rgba(255,255,255,.55);
    font-size: 9px;
    line-height: 1.5;
}

.contact-form__button {
    width: 100%;
}

.contact-form__status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--accent-light);
    font-size: 12px;
}

.footer {
    padding: 80px 0 28px;
    color: var(--text);
    background: #090b0a;
}

.footer__top {
    display: grid;
    grid-template-columns: .6fr 1fr auto;
    gap: 70px;
    align-items: center;
    padding-bottom: 58px;
    border-bottom: 1px solid var(--line);
}

.footer__description {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
}

.footer__up {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer__up svg {
    width: 19px;
    height: 19px;
}

.footer__middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 55px 0;
}

.footer__column {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer__label {
    margin-bottom: 13px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.footer__column a,
.footer__column p {
    width: fit-content;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    transition: color .3s;
}

.footer__column a:hover {
    color: #fff;
}

.footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: rgba(255,255,255,.36);
    font-size: 9px;
}

.footer__bottom p {
    margin: 0;
}

.footer__bottom p:last-child {
    text-align: right;
}

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.84);
    backdrop-filter: blur(8px);
}

.video-modal__content {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    aspect-ratio: 16 / 9;
    background: #111;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
    transform: scale(.96);
    transition: transform .35s var(--ease);
}

.video-modal.is-open .video-modal__content {
    transform: none;
}

.video-modal__close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    cursor: pointer;
}

.video-modal__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1px;
    background: #fff;
}

.video-modal__close span:first-child {
    transform: translate(-50%,-50%) rotate(45deg);
}

.video-modal__close span:last-child {
    transform: translate(-50%,-50%) rotate(-45deg);
}

.video-modal__placeholder {
    display: grid;
    height: 100%;
    place-content: center;
    justify-items: center;
    gap: 18px;
    color: var(--text);
    background:
        linear-gradient(rgba(13,16,16,.66), rgba(13,16,16,.78)),
        url("../assets/images/video-cover.jpg") center/cover;
}

.video-modal__placeholder svg {
    width: 70px;
    height: 70px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
}

.video-modal__placeholder p {
    margin: 0;
    font-family: var(--serif);
    font-size: 28px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    :root { --header-h: 74px; }
    .navigation,
    .header__button {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .hero__container {
        grid-template-columns: 1fr;
    }
    .hero__side {
        display: none;
    }
    .service-card {
        grid-template-columns: 120px 1fr 1fr;
    }
    .features__grid,
    .faq__grid,
    .contacts__container {
        gap: 60px;
    }
    .process__timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-step {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 800px) {
    .container {
        width: min(calc(100% - 30px), var(--container));
    }
    .section {
        padding: 92px 0;
    }
    h2 {
        font-size: clamp(40px, 12vw, 60px);
    }
    .hero__container {
        min-height: calc(100svh - 94px);
        padding-top: 110px;
        padding-bottom: 170px;
    }
    .hero__title {
        font-size: clamp(54px, 16vw, 84px);
    }
    .hero__description {
        font-size: 14px;
    }
    .hero__actions {
        align-items: flex-start;
        flex-direction: column;
    }
    .hero__statistics {
        grid-template-columns: repeat(2, 1fr);
        min-height: 94px;
    }
    .statistic {
        padding: 14px 12px;
        gap: 10px;
    }
    .statistic__number {
        font-size: 34px;
    }
    .statistic p {
        font-size: 8px;
    }
    .hero__scroll {
        display: none;
    }
    .section-heading,
    .section-heading--split,
    .section-heading--row {
        display: block;
        margin-bottom: 52px;
    }
    .section-heading__text {
        margin-top: 28px;
    }
    .section-heading--row .slider-controls {
        margin-top: 28px;
    }
    .about__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .about__image--large {
        grid-row: auto;
        min-height: 470px;
    }
    .about__content {
        padding: 38px 28px;
    }
    .about__number {
        margin-bottom: 42px;
    }
    .service-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 0;
    }
    .service-card__top {
        justify-content: flex-start;
        gap: 25px;
    }
    .service-card:hover {
        padding-inline: 0;
    }
    .projects__slider,
    .reviews__slider {
        grid-auto-columns: 88%;
    }
    .project-card__image {
        height: 480px;
    }
    .project-card__content {
        display: block;
    }
    .project-card__details {
        margin-top: 12px;
    }
    .features__grid,
    .faq__grid,
    .contacts__container {
        grid-template-columns: 1fr;
    }
    .features__intro,
    .faq__intro {
        position: static;
    }
    .process__timeline {
        grid-template-columns: 1fr;
    }
    .process-step,
    .process-step:not(:last-child) {
        min-height: auto;
        padding: 30px 0;
        border-right: 0;
    }
    .process-step__number {
        margin-bottom: 34px;
    }
    .review-card {
        min-height: 500px;
        padding: 34px;
    }
    .review-card__author {
        right: 34px;
        bottom: 32px;
        left: 34px;
    }
    .contacts {
        padding: 90px 0;
    }
    .contact-form {
        padding: 30px 24px;
    }
    .footer__top,
    .footer__middle,
    .footer__bottom {
        grid-template-columns: 1fr;
    }
    .footer__top {
        gap: 28px;
    }
    .footer__bottom p:last-child {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 50px;
    }
    .button {
        width: 100%;
    }
    .video-button {
        width: 100%;
    }
    .projects__slider,
    .reviews__slider {
        grid-auto-columns: 94%;
    }
    .project-card__image {
        height: 390px;
    }
    .review-card blockquote {
        font-size: 23px;
    }
    .faq-item__button > span:first-child {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}