:root {
    --black: #000;
    --bg: #fff;
    --white: #fff;
    --red: #ff0000;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.about-page {
    width: min(100%, 1512px);
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg);
}

.section-width {
    width: 1210px;
    margin: 0 auto;
}

.section-width-wide {
    width: 1512px;
    max-width: 100%;
    margin: 0 auto;
}

.top-block {
    padding-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.brand-stack h1 {
    margin: 0;
    color: var(--red);
    font:
        700 52px/0.93 "DM Sans",
        sans-serif;
    letter-spacing: -0.025em;
}

.availability {
    margin: 22px 0 0;
    width: 240px;
    display: flex;
    align-items: center;
    gap: 10px;
    font:
        400 12px/1.28 "DM Sans",
        sans-serif;
}

.availability span {
    color: var(--red);
}

.availability-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.about-nav p,
.about-nav li {
    margin: 0;
    text-align: right;
    font:
        400 12px/1.45 "DM Sans",
        sans-serif;
}

.about-nav .active-lang {
    color: var(--red);
}

.about-nav ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    text-align: right;
}

.about-nav a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-nav li:last-child a {
    color: var(--red);
    text-decoration: none;
}

.intro {
    padding-top: 58px;
}

.intro p {
    margin: 0;
    width: 952px;
    font:
        400 36px/44px "DM Sans",
        sans-serif;
    letter-spacing: 0;
}

.intro p + p {
    margin-top: 24px;
}

.intro-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero {
    position: relative;
    width: min(1440px, 100%);
    margin: 100px auto 0;
    height: 470px;
}

.hero h2 {
    margin: 0;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font:
        400 120px/0.95 "DM Sans",
        sans-serif;
    letter-spacing: -0.06em;
}

.hero-script {
    display: inline-block;
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 1.18em;
    line-height: 0.8;
    letter-spacing: -0.03em;
}

.hero-photo {
    position: absolute;
    width: 297px;
    height: 297px;
    object-fit: cover;
}

.hero-photo-left {
    left: 0;
    top: 173px;
}

.hero-photo-right {
    right: 0;
    top: 169px;
}

.about-contact-btn {
    position: absolute;
    left: 50%;
    top: 321px;
    transform: translateX(-50%);
}

.heading-arrow {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.services {
    display: grid;
    width: 968px;
    grid-template-columns: 451px 281px;
    column-gap: 236px;
    margin: 125px auto 0;
}

.services-col {
    display: block;
}

.services article {
    margin: 0;
}

.services-col:first-child article + article {
    margin-top: 38px;
}

.services-col:last-child article + article {
    margin-top: 62px;
}

.services h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    font:
        700 22px/1 "DM Sans",
        sans-serif;
    line-height: 29px;
}

.services h3 .heading-arrow {
    flex: 0 0 14px;
    margin-left: 0;
    transform: none;
}

.services p {
    margin: 9px 0 0;
    font:
        italic 400 14px/17px "DM Sans",
        sans-serif;
}

.services ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.services li {
    position: relative;
    padding-left: 16px;
    font:
        400 14px/24px "DM Sans",
        sans-serif;
}

.services li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
}

.red-wave {
    margin-top: 80px;
    width: 100%;
    height: 228px;
    background: url("/assets/s3/b48b0c87-dd41-4e2e-946f-3e8ef5ddaa1a--a1d69b36b6.png")
        center top / 100% auto no-repeat;
}

.lists {
    margin-top: 68px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 52px;
    padding-bottom: 70px;
}

.list-card h3 {
    margin: 0;
    font:
        700 22px/1 "DM Sans",
        sans-serif;
}

.list-card ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.list-card li {
    position: relative;
    padding-left: 10px;
    font:
        400 14px/1.43 "DM Sans",
        sans-serif;
}

.list-card li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
}

.list-card ul.tight li {
    line-height: 1.36;
}

.footer {
    background: var(--black);
    height: 350px;
    color: var(--white);
    padding: 58px 40px 0;
}

.footer h2 {
    margin: 0;
    width: 100%;
    text-align: center;
    font:
        400 75px/0.95 "DM Sans",
        sans-serif;
    letter-spacing: -0.04em;
}

.footer-script {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    letter-spacing: -0.05em;
    font-size: 115px;
    line-height: 0.78;
}

.footer-row {
    margin-top: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.footer .muted {
    font:
        400 14px/16px "DM Sans",
        sans-serif;
    color: var(--white);
    margin: 0;
}

.footer .socials a {
    font:
        400 14px/16px "DM Sans",
        sans-serif;
    color: var(--white);
    text-decoration: none;
}

.footer .right {
    justify-self: end;
    text-align: right;
}

.socials {
    display: flex;
    gap: 26px;
}

@media (max-width: 1511px) {
    .section-width {
        width: min(1210px, calc(100% - 110px));
    }

    .services {
        width: min(968px, calc(100% - 80px));
        grid-template-columns: 1fr 1fr;
        column-gap: 110px;
    }
}

@media (max-width: 1399px) {
    .intro p {
        width: 100%;
        font-size: 32px;
    }

    .hero {
        margin-top: 78px;
        height: 390px;
    }

    .hero h2 {
        font-size: 78px;
    }

    .hero-photo {
        width: 172px;
        height: 172px;
    }

    .hero-photo-left,
    .hero-photo-right {
        top: 190px;
    }

    .about-contact-btn {
        top: 286px;
    }

    .services {
        margin-top: 98px;
        column-gap: 72px;
    }

    .lists {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 48px;
    }
}

@media (max-width: 1023px) {
    .section-width {
        width: calc(100% - 48px);
    }

    .top-block {
        flex-direction: column;
        gap: 20px;
    }

    .about-nav,
    .about-nav p,
    .about-nav ul {
        text-align: left;
    }

    .intro {
        padding-top: 48px;
    }

    .intro p {
        font-size: 24px;
        line-height: 1.16;
    }

    .hero {
        margin-top: 64px;
        height: 300px;
    }

    .hero h2 {
        width: calc(100% - 32px);
        font-size: 50px;
        letter-spacing: -0.02em;
    }

    .hero-photo {
        width: 108px;
        height: 108px;
        top: 170px;
    }

    .about-contact-btn {
        top: 240px;
        width: auto;
        height: 34px;
        padding: 8px 20px;
    }

    .services {
        width: calc(100% - 48px);
        grid-template-columns: 1fr;
        row-gap: 48px;
        margin-top: 76px;
    }

    .services h3 {
        white-space: normal;
        gap: 10px;
    }

    .red-wave {
        margin-top: 60px;
        height: 170px;
    }

    .lists {
        margin-top: 52px;
        grid-template-columns: 1fr;
        row-gap: 44px;
    }

    .footer {
        height: auto;
        padding-bottom: 30px;
    }

    .footer h2 {
        font-size: 52px;
    }

    .footer-script {
        font-size: 78px;
        line-height: 0.85;
    }

    .footer-row {
        margin-top: 42px;
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .footer .right {
        justify-self: start;
    }
}
