/***** GLOBAL *****/

/* fonts */
@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../vendor/fonts/sora/sora-latin-ext.woff2") format("woff2");
    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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Sora";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../vendor/fonts/sora/sora-latin.woff2") format("woff2");
    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 {
    --main-color: #111111;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #111111;
    --third-color: #f3f3f3;
    --third-text-color: #111111;
    --accent-color: #d7263d;
    --accent-text-color: #ffffff;

    --muted-text-color: #5f5f5f;
    --soft-text-color: #a3a3a3;
    --placeholder-color: #e6e6e6;
    --light-text-color: color-mix(in srgb, var(--main-text-color) 75%, transparent);
    --light-border-color: color-mix(in srgb, var(--main-text-color) 25%, transparent);

    --body-font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --spec-font: Georgia, "Times New Roman", Times, serif;

    --radius: 16px;
    --radius-large: 20px;
    --radius-pill: 50px;
}

.container {
    padding-left: 25px;
    padding-right: 25px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1190px;
    }
}

/* typography */
body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    background: var(--second-color);
    color: var(--second-text-color);
}

h1, h2, h3, h4, h5, h6,
.heading {
    margin-bottom: 0.5em;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.875rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

.spec-font {
    font-family: var(--spec-font);
}

.label {
    margin-bottom: 16px;
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--accent-color);
}

/* buttons */
.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 5px 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.3s ease;
}

.t-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: -11px;
    border-radius: 50%;
    transition: 0.3s ease;
}

.t-btn .icon svg {
    width: 16px;
    height: 16px;
}

.t-btn:hover .icon {
    transform: rotate(45deg);
}

.t-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--second-color), 0 0 0 5px var(--accent-color);
}

.t-btn.theme .icon,
.t-btn.theme2 .icon,
.t-btn.theme3 .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
}

.t-btn.theme {
    background: var(--main-color);
    color: var(--main-text-color);
    border-color: var(--main-color);
}

.t-btn.theme:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.t-btn.theme:hover .icon {
    background: var(--accent-text-color);
    color: var(--accent-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--second-color);
}

.t-btn.theme2:hover {
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-color: var(--accent-color);
}

.t-btn.theme2:hover .icon {
    background: var(--accent-text-color);
    color: var(--accent-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
    border-color: var(--third-color);
}

.t-btn.theme3:hover {
    background: var(--main-color);
    color: var(--main-text-color);
    border-color: var(--main-color);
}

.t-btn.outline {
    background: transparent;
    color: inherit;
    border-color: var(--light-border-color);
}

.t-btn.outline:hover {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--second-color);
}

/* section head */
.section-head {
    row-gap: 16px;
    margin-bottom: 60px;
}

.section-head .label {
    margin: 8px 0 0;
}

.section-head .heading {
    margin: 0;
}

.section-head .actions {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

@media (min-width: 992px) {
    .section-head .actions {
        justify-content: flex-end;
    }
}

/* media placeholder */
.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--placeholder-color);
    color: var(--soft-text-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.media-placeholder > svg {
    width: 32px;
    height: 32px;
}

/* rating */
.stars {
    display: inline-flex;
    gap: 2px;
}

.stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.avatars {
    display: flex;
}

.avatars .avatar {
    width: 44px;
    height: 44px;
    margin-left: -12px;
    background: var(--placeholder-color);
    border: 2px solid var(--second-color);
    border-radius: 50%;
}

.avatars .avatar:first-child {
    margin-left: 0;
}

/***** HEADER *****/

/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1041;
    padding-top: 16px;
    color: var(--main-text-color);
}

.header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
    padding: 10px 12px 10px 20px;
    background: color-mix(in srgb, var(--main-color) 85%, transparent);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
}

/* logo */
.header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
}

.header .logo .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-radius: 10px;
}

.header .logo .icon svg {
    width: 20px;
    height: 20px;
}

/* navigation */
.header .navigation .menu {
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .navigation .link {
    color: var(--light-text-color);
    text-decoration: none;
    transition: 0.3s ease;
}

.header .navigation .link:hover,
.header .navigation .link[aria-current="page"] {
    color: var(--main-text-color);
}

.header .navigation .link[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

/* actions */
.header .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .toggler,
.header .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    color: inherit;
    border: 1px solid var(--light-border-color);
    border-radius: 50%;
}

.header .toggler svg,
.header .close svg {
    width: 22px;
    height: 22px;
}

/* offcanvas */
.header .offcanvas {
    background: var(--main-color);
    color: var(--main-text-color);
}

.header .offcanvas-header {
    padding: 18px 25px;
    border-bottom: 1px solid var(--light-border-color);
}

.header .offcanvas .title {
    margin: 0;
    font-size: 1.25rem;
}

.header .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 25px;
}

.header .offcanvas .navigation .menu {
    flex-direction: column;
    gap: 16px;
}

.header .offcanvas .navigation .link {
    font-size: 1.125rem;
}

/***** HOME *****/

.home-page section {
    padding: 70px 0;
}

/* hero */
.home-page .hero-section {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    padding: 180px 0 40px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 55%, var(--main-color) 100%),
        url("../images/moderny-bytovy-dom-zapad-slnka.jpg") center / cover no-repeat;
    color: var(--main-text-color);
}

.home-page .hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
}

.home-page .hero-section .content {
    max-width: 780px;
}

.home-page .hero-section .text {
    color: var(--light-text-color);
}

.home-page .hero-section .label {
    font-weight: 600;
}

.home-page .hero-section .heading {
    margin-bottom: 20px;
}

.home-page .hero-section .text {
    max-width: 540px;
    font-size: 1.125rem;
}

.home-page .hero-section .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.home-page .hero-section .bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.home-page .hero-section .score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.home-page .hero-section .stars {
    color: var(--accent-color);
}

.home-page .hero-section .clients {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-page .hero-section .clients .text {
    margin: 0;
    color: var(--main-text-color);
    line-height: 1.5;
}

.home-page .hero-section .avatars .avatar {
    background: var(--soft-text-color);
    border-color: var(--main-color);
}

.home-page .hero-section .gallery {
    display: flex;
    flex: 0 1 384px;
    gap: 12px;
}

.home-page .hero-section .gallery .media-placeholder {
    flex: 1;
    height: 200px;
    background: color-mix(in srgb, var(--main-text-color) 12%, transparent);
    color: var(--light-text-color);
}

.home-page .hero-section .gallery .media-placeholder:first-child {
    flex: 2;
}

/* about */
.home-page .about-section .lead {
    margin-bottom: 32px;
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    line-height: 1.3;
    color: var(--main-color);
}

.home-page .about-section .lead .muted {
    color: var(--soft-text-color);
}

.home-page .about-section .gallery {
    margin-top: 60px;
}

.home-page .about-section .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.home-page .about-section .stat .number {
    margin-bottom: 4px;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1;
}

.home-page .about-section .stat .title {
    margin: 0;
    color: var(--muted-text-color);
    font-size: 0.9375rem;
}

.home-page .about-section .wide {
    height: 240px;
}

.home-page .about-section .tall {
    height: 100%;
    min-height: 350px;
}

/* services */
.home-page .services-section .item {
    margin: 0 0 24px;
    padding: 14px;
    background: var(--third-color);
    border-radius: var(--radius-large);
}

.home-page .services-section .image {
    height: 100%;
    min-height: 340px;
}

.home-page .services-section .content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px 6px 6px;
}

.home-page .services-section .title {
    margin-bottom: 12px;
}

.home-page .services-section .text {
    color: var(--muted-text-color);
    font-size: 1.0625rem;
}

.home-page .services-section .tags,
.home-page .services-section .specs {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .services-section .tags {
    gap: 12px;
    margin-bottom: 32px;
}

.home-page .services-section .tag {
    padding: 10px 20px;
    background: var(--second-color);
    color: var(--muted-text-color);
    border-radius: var(--radius-pill);
}

.home-page .services-section .specs {
    gap: 12px 20px;
    margin-top: auto;
    padding: 12px;
    background: var(--second-color);
    border-radius: 12px;
}

.home-page .services-section .spec {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted-text-color);
}

.home-page .services-section .spec .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--third-color);
    color: var(--accent-color);
    border-radius: 50%;
}

.home-page .services-section .spec svg {
    width: 20px;
    height: 20px;
}

@media (min-width: 992px) {
    .home-page .services-section .content {
        padding: 10px 10px 0 24px;
    }
}

/* benefits */
.home-page .benefits-section .image {
    position: relative;
    height: 320px;
}

.home-page .benefits-section .image::after {
    content: "";
    position: absolute;
    inset: 40% 0 0;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--main-color) 55%, transparent));
}

.home-page .benefits-section .marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 1;
    overflow: hidden;
    color: var(--main-text-color);
    font-size: 1.75rem;
    font-weight: 500;
}

.home-page .benefits-section .track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: marquee 18s linear infinite;
}

.home-page .benefits-section .track svg {
    width: 22px;
    height: 22px;
    color: var(--accent-color);
    fill: currentColor;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .benefits-section .track {
        animation: none;
    }
}

.home-page .benefits-section .tall {
    height: 100%;
    min-height: 450px;
}

.home-page .benefits-section .box {
    margin-top: 20px;
    padding: 24px;
    background: var(--third-color);
    border-radius: var(--radius);
}

.home-page .benefits-section .clients {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.home-page .benefits-section .clients .text {
    margin: 0;
    color: var(--muted-text-color);
}

.home-page .benefits-section .avatars .avatar {
    border-color: var(--third-color);
}

.home-page .benefits-section .score {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--muted-text-color);
}

.home-page .benefits-section .score .stars {
    color: var(--accent-color);
}

.home-page .benefits-section .stat {
    margin-top: 0;
    text-align: center;
}

.home-page .benefits-section .stat .title {
    margin-bottom: 4px;
    color: var(--muted-text-color);
}

.home-page .benefits-section .stat .number {
    margin: 0;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--accent-color);
}

.home-page .benefits-section .satisfaction .title {
    margin-bottom: 8px;
    font-size: 1.375rem;
}

.home-page .benefits-section .satisfaction .text {
    color: var(--muted-text-color);
    font-size: 0.9375rem;
}

.home-page .benefits-section .satisfaction .avatars {
    justify-content: center;
    margin-top: 32px;
}

.home-page .benefits-section .satisfaction .avatars .avatar {
    width: 52px;
    height: 52px;
    margin-left: 8px;
}

.home-page .benefits-section .caption {
    margin: 16px 0 0;
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
}

/* testimonials */
.home-page .testimonials-section {
    background: var(--main-color);
    color: var(--main-text-color);
}

.home-page .testimonials-section .media-placeholder {
    background: color-mix(in srgb, var(--main-text-color) 8%, transparent);
    color: var(--light-border-color);
}

.home-page .testimonials-section .arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: var(--main-text-color);
    border: 1px solid var(--light-border-color);
    border-radius: 50%;
    transition: 0.3s ease;
}

.home-page .testimonials-section .arrow:hover {
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-color: var(--accent-color);
}

.home-page .testimonials-section .arrow svg {
    width: 18px;
    height: 18px;
}

.home-page .testimonials-section .quote {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 20px;
    background: var(--main-color);
    border: 1px solid var(--light-border-color);
    border-radius: var(--radius-large);
}

.home-page .testimonials-section .quote .image {
    flex: 0 0 auto;
    height: 240px;
}

.home-page .testimonials-section .quote .content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-page .testimonials-section .quote .text {
    margin-bottom: 24px;
    color: var(--light-text-color);
    font-size: 1.0625rem;
}

.home-page .testimonials-section .quote figcaption {
    margin-top: auto;
    padding-right: 56px;
}

.home-page .testimonials-section .quote .name {
    display: block;
    font-size: 1.25rem;
}

.home-page .testimonials-section .quote .role {
    color: var(--soft-text-color);
    font-size: 0.9375rem;
}

.home-page .testimonials-section .quote .icon {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44px;
    height: 44px;
    color: var(--accent-color);
}

.home-page .testimonials-section .side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.home-page .testimonials-section .counter {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1;
}

.home-page .testimonials-section .counter .total {
    color: var(--soft-text-color);
    font-size: 1rem;
}

.home-page .testimonials-section .thumbs {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 516px;
}

.home-page .testimonials-section .thumb {
    flex: 1 1 0;
    max-width: 120px;
    aspect-ratio: 1;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--light-border-color);
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.home-page .testimonials-section .thumb.active,
.home-page .testimonials-section .thumb:hover {
    border-color: var(--accent-color);
}

.home-page .testimonials-section .thumb .media-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.home-page .testimonials-section .thumb .media-placeholder svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 576px) {
    .home-page .testimonials-section .quote {
        flex-direction: row;
    }

    .home-page .testimonials-section .quote .image {
        width: 236px;
        height: 264px;
    }
}

@media (min-width: 992px) {
    .home-page .testimonials-section .side {
        align-items: flex-end;
    }
}

/* team */
.home-page .team-section .member {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-large);
}

.home-page .team-section .image {
    height: 430px;
    border-radius: 0;
}

.home-page .team-section .info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 80px 24px 24px;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--main-color) 75%, transparent));
    color: var(--main-text-color);
}

.home-page .team-section .name {
    margin: 0 0 4px;
    font-size: 1.375rem;
}

.home-page .team-section .role {
    margin: 0;
    font-size: 0.9375rem;
}

.home-page .team-section .info .icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    color: var(--accent-text-color);
    border-radius: 50%;
}

/* faq */
.home-page .faq-section .intro {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-page .faq-section .heading {
    max-width: 380px;
}

.home-page .faq-section .intro .image {
    width: 220px;
    height: 180px;
    margin-top: 40px;
}

.home-page .faq-section .accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-width: 0;
    --bs-accordion-btn-focus-box-shadow: none;
    border-top: 1px solid var(--soft-text-color);
}

.home-page .faq-section .accordion-item {
    border-bottom: 1px solid var(--soft-text-color);
}

.home-page .faq-section .accordion-header {
    margin: 0;
}

.home-page .faq-section .accordion-button {
    gap: 24px;
    padding: 20px 0;
    background: transparent;
    color: var(--muted-text-color);
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    box-shadow: none;
}

.home-page .faq-section .accordion-button:not(.collapsed) {
    color: var(--main-color);
}

.home-page .faq-section .accordion-button:focus-visible {
    outline: 2px solid var(--main-color);
    outline-offset: 2px;
}

.home-page .faq-section .accordion-button::after {
    display: none;
}

.home-page .faq-section .accordion-button .icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    background: var(--third-color);
    color: var(--main-color);
    border-radius: 50%;
    transition: 0.3s ease;
}

.home-page .faq-section .accordion-button:not(.collapsed) .icon {
    background: var(--accent-color);
    color: var(--accent-text-color);
    transform: rotate(45deg);
}

.home-page .faq-section .accordion-button .icon svg {
    width: 18px;
    height: 18px;
}

.home-page .faq-section .accordion-body {
    padding: 0 60px 20px 0;
    color: var(--muted-text-color);
}

@media (min-width: 992px) {
    .home-page .faq-section .intro .image {
        margin-top: auto;
    }
}

/* blog */
.home-page .blog-section .post {
    height: 100%;
    padding: 24px;
    background: var(--third-color);
    border-radius: var(--radius-large);
}

.home-page .blog-section .image {
    height: 300px;
    margin-bottom: 24px;
}

.home-page .blog-section .title {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 2vw, 1.625rem);
}

.home-page .blog-section .link {
    color: var(--muted-text-color);
    text-decoration: none;
    transition: 0.3s ease;
}

.home-page .blog-section .link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* contact */
.home-page .contact-section .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-page .contact-section .text {
    color: var(--muted-text-color);
    font-size: 1.125rem;
}

.home-page .contact-section .person {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 12px 12px 12px 12px;
    background: var(--main-color);
    color: var(--main-text-color);
    border-radius: var(--radius);
}

.home-page .contact-section .person .avatar {
    width: 80px;
    height: 80px;
    background: color-mix(in srgb, var(--main-text-color) 12%, transparent);
    color: var(--light-text-color);
    border-radius: 10px;
}

.home-page .contact-section .person .name {
    margin: 0;
    font-size: 1.375rem;
}

.home-page .contact-section .person .role {
    margin: 0;
    color: var(--light-text-color);
}

.home-page .contact-section .person .t-btn {
    margin-left: auto;
}

.home-page .contact-section .box {
    margin-bottom: 16px;
    padding: 24px;
    background: var(--third-color);
    border-radius: var(--radius);
}

.home-page .contact-section .box .number {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.home-page .contact-section .box .title {
    margin: 0;
    color: var(--muted-text-color);
}

.home-page .contact-section .image {
    height: 290px;
}

@media (min-width: 992px) {
    .home-page .contact-section .person {
        margin-top: auto;
    }
}

/***** FOOTER *****/

/* main */
.footer {
    overflow: hidden;
    padding-top: 90px;
    background: var(--main-color);
    color: var(--main-text-color);
}

.footer .main {
    row-gap: 40px;
}

.footer .heading {
    max-width: 520px;
    margin-bottom: 40px;
}

.footer .form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer .form .input {
    flex: 0 1 220px;
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    background: transparent;
    color: var(--main-text-color);
    border: 1px solid var(--light-border-color);
    border-radius: 8px;
}

.footer .form .input::placeholder {
    color: var(--soft-text-color);
}

.footer .form .input:focus-visible {
    outline: none;
    border-color: var(--accent-color);
}

.footer .form .t-btn {
    padding: 5px 24px;
    border-radius: 8px;
}

/* links */
.footer .title {
    margin-bottom: 24px;
    font-size: 1.25rem;
}

.footer .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .menu li {
    margin-bottom: 12px;
}

.footer .link {
    color: var(--light-text-color);
    text-decoration: none;
    transition: 0.3s ease;
}

.footer .link:hover {
    color: var(--accent-color);
}

/* contact */
.footer .contact .link {
    word-break: break-word;
}

/* bottom */
.footer .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 32px;
    padding: 60px 0 24px;
}

.footer .bottom .text {
    margin: 0;
    color: var(--light-text-color);
}

.footer .bottom .legal {
    display: flex;
    gap: 16px;
}

.footer .brand {
    margin: 0 0 -0.18em;
    font-size: clamp(4rem, 17vw, 14rem);
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(180deg, color-mix(in srgb, var(--main-text-color) 22%, transparent), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    user-select: none;
}
