/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

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

button {
    font: inherit;
}


/* =========================
   CONTAINER
========================= */

.container {
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 28px;

    border-radius: 2px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}

.btn--dark {
    color: #fff;
    background: #111;
}

.btn--dark:hover {
    background: #333;
}

.btn--light {
    color: #111;
    background: #fff;
}

.btn--light:hover {
    background: #e9e9e9;
}

.btn--outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
    background: #fff;
    color: #111;
}


/* =========================
   HEADER
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    z-index: 1000;

    color: #fff;
    background: rgba(17, 17, 17, 0.87);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header__inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    flex-shrink: 0;

    font-size: 21px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* NAVIGATION */

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

.nav a {
    font-size: 13px;
    white-space: nowrap;

    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.65;
}


/* HEADER ACTIONS */

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-size: 14px;
    white-space: nowrap;
}


/* BURGER */

.burger {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.burger span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: #fff;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    color: #fff;

    overflow: hidden;
}


/* BACKGROUND */

.hero__background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        url("../images/hero.jpg") center / cover no-repeat;

    z-index: -1;
}


/* HERO CONTENT */

.hero__content {
    padding-top: 82px;
    padding-bottom: 60px;
}


/* TEXT */

.hero__text {
    max-width: 760px;
}

.hero__label {
    display: block;

    margin-bottom: 25px;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 4px;
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(42px, 5vw, 78px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
}

.hero__description {
    max-width: 600px;

    margin-top: 28px;

    font-size: 18px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.85);
}


/* BUTTONS */

.hero__buttons {
    display: flex;
    gap: 14px;

    margin-top: 38px;
}


/* FACTS */

.hero__facts {
    display: flex;

    margin-top: 80px;

    border-top: 1px solid rgba(255, 255, 255, 0.35);
    padding-top: 25px;
}

.fact {
    min-width: 180px;

    padding-right: 30px;
    margin-right: 30px;

    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

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

.fact strong {
    display: block;

    font-size: 30px;
    font-weight: 500;
}

.fact span {
    display: block;

    margin-top: 5px;

    font-size: 13px;

    color: rgba(255, 255, 255, 0.75);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {

    .container {
        width: min(100% - 40px, 900px);
    }

    .nav {
        display: none;
    }

    .nav.is-open {
        position: absolute;
        inset: 100% 0 auto;
        display: grid;
        gap: 0;
        padding: 12px 20px;
        background: #111;
    }

    .nav.is-open a {
        display: flex;
        align-items: center;
        min-height: 44px;
    }

    .header__actions {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: clamp(42px, 7vw, 64px);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 32px);
    }

    .header {
        height: 68px;
    }

    .logo {
        font-size: 17px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__content {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero__label {
        margin-bottom: 18px;

        font-size: 11px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.05;
        letter-spacing: -1px;
    }

    .hero__description {
        margin-top: 20px;

        font-size: 15px;
        line-height: 1.5;
    }

    .hero__buttons {
        flex-direction: column;

        margin-top: 28px;
    }

    .hero__buttons .btn {
        width: 100%;
    }

    .hero__facts {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 20px;

        margin-top: 45px;
    }

    .fact {
        min-width: 0;

        padding-right: 0;
        margin-right: 0;

        border-right: 0;
    }

    .fact strong {
        font-size: 25px;
    }

    .fact span {
        font-size: 12px;
    }

}


/* =========================
   BRANDS
========================= */

.brands {
    padding: 120px 0;
    background: #f5f5f3;
    color: #111;
}


/* SECTION HEADING */

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

.section-label {
    display: block;

    margin-bottom: 20px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #777;
}

.section-heading h2 {
    max-width: 650px;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}

.section-heading p {
    max-width: 600px;

    margin-top: 25px;

    font-size: 16px;
    line-height: 1.7;

    color: #666;
}


/* BRANDS GRID */

.brands__grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #d8d8d5;
    border-left: 1px solid #d8d8d5;
}


/* BRAND CARD */

.brand-card {
    min-height: 180px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 30px;

    background: #f5f5f3;

    border: 0;
    cursor: pointer;
    border-right: 1px solid #d8d8d5;
    border-bottom: 1px solid #d8d8d5;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.brand-card span {
    font-size: 23px;
    font-weight: 600;
}

.brand-card small {
    font-size: 12px;
    color: #777;
}

.brand-card:hover {
    background: #e9e9e6;
}


@media (max-width: 900px) {

    .brands {
        padding: 80px 0;
    }

    .brands__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-card {
        min-height: 140px;
    }

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

}


@media (max-width: 500px) {

    .brands {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .brands__grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: 120px;
    }

}
/* =========================
   PROJECTS
========================= */

.projects {
    padding: 130px 0;
    background: #fff;
    color: #111;
}

.projects__heading {
    margin-bottom: 70px;
}


/* GRID */

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
}


/* CARD */

.project-card {
    overflow: hidden;
}

.project-card--large {
    grid-column: span 2;
}


/* IMAGE */

.project-card__image {
    width: 100%;
    height: 420px;

    overflow: hidden;

    background: #eee;
}


.project-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.03);
}


/* CONTENT */

.project-card__content {
    position: relative;

    padding: 22px 0 0 45px;
}

.project-card__number {
    position: absolute;

    left: 0;
    top: 25px;

    font-size: 11px;
    color: #999;
}

.project-card h3 {
    font-size: 25px;
    font-weight: 500;
}

.project-card p {
    max-width: 500px;

    margin-top: 10px;

    font-size: 14px;
    line-height: 1.6;

    color: #777;
}


/* =========================
   PROJECTS TABLET
========================= */

@media (max-width: 800px) {

    .projects {
        padding: 90px 0;
    }

    .projects__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .project-card--large {
        grid-column: auto;
    }

    .project-card__image,
    .project-card--large .project-card__image {
        height: 400px;
    }

}


/* =========================
   PROJECTS MOBILE
========================= */

@media (max-width: 500px) {

    .projects {
        padding: 70px 0;
    }

    .projects__heading {
        margin-bottom: 45px;
    }

    .project-card__image,
    .project-card--large .project-card__image {
        height: 280px;
    }

    .project-card h3 {
        font-size: 21px;
    }

    .project-card p {
        font-size: 13px;
    }

}
/* =========================
   PRODUCTS
========================= */

.products {
    padding: 130px 0;
    background: #f5f5f3;
    color: #111;
}

.products__heading {
    margin-bottom: 70px;
}


/* GRID */

.products__grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: #d8d8d5;

    border: 1px solid #d8d8d5;
}


/* CARD */

.product-card {
    background: #f5f5f3;

    overflow: hidden;
}


/* IMAGE */

.product-card__image {
    height: 360px;

    overflow: hidden;

    background: #ddd;
}

.product-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.04);
}


/* CONTENT */

.product-card__content {
    position: relative;

    min-height: 170px;

    padding: 30px 30px 30px 70px;
}

.product-card__number {
    position: absolute;

    left: 30px;
    top: 34px;

    font-size: 11px;

    color: #999;
}

.product-card h3 {
    max-width: 400px;

    font-size: 25px;
    line-height: 1.15;

    font-weight: 500;
}

.product-card p {
    max-width: 450px;

    margin-top: 12px;

    font-size: 14px;
    line-height: 1.6;

    color: #777;
}


/* =========================
   PRODUCTS TABLET
========================= */

@media (max-width: 800px) {

    .products {
        padding: 90px 0;
    }

    .products__grid {
        grid-template-columns: 1fr;
    }

    .product-card__image {
        height: 400px;
    }

}


/* =========================
   PRODUCTS MOBILE
========================= */

@media (max-width: 500px) {

    .products {
        padding: 70px 0;
    }

    .products__heading {
        margin-bottom: 45px;
    }

    .product-card__image {
        height: 270px;
    }

    .product-card__content {
        min-height: 150px;

        padding: 25px 25px 25px 60px;
    }

    .product-card__number {
        left: 25px;
        top: 29px;
    }

    .product-card h3 {
        font-size: 21px;
    }

    .product-card p {
        font-size: 13px;
    }

}
/* =========================
   CATALOG
========================= */

.catalog {
    padding: 130px 0;
    background: #111;
    color: #fff;
}

.catalog__heading {
    margin-bottom: 70px;
}

.catalog__heading .section-label {
    color: #999;
}

.catalog__heading p {
    color: #aaa;
}


/* BRANDS */

.catalog__brands {
    border-top: 1px solid #333;
    border-left: 1px solid #333;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
}


/* BRAND */

.catalog-brand {
    position: relative;

    min-height: 180px;

    padding: 35px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    text-align: left;

    color: #fff;
    background: #111;

    border: 0;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;

    cursor: pointer;

    transition:
        background 0.3s ease,
        padding 0.3s ease;
}

.catalog-brand:hover {
    background: #1d1d1d;
    padding-left: 45px;
}

.catalog-brand__name {
    font-size: 28px;
    font-weight: 500;
}

.catalog-brand__type {
    margin-top: 10px;

    font-size: 13px;

    color: #888;
}

.catalog-brand__arrow {
    position: absolute;

    right: 35px;
    top: 50%;

    font-size: 25px;

    color: #777;

    transform: translateY(-50%);

    transition: 0.3s ease;
}

.catalog-brand:hover .catalog-brand__arrow {
    right: 25px;
    color: #fff;
}


/* =========================
   CATALOG MODAL
========================= */

.catalog-modal {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(1000px, calc(100% - 32px));
    max-height: 90dvh;
    border: 0;
}

.catalog-modal::backdrop {
    background: rgba(0, 0, 0, 0.75);
}

body:has(.catalog-modal[open]) {
    overflow: hidden;
}


/* WINDOW */

.catalog-modal__window {
    position: relative;

    padding: 50px;

    background: #fff;
    color: #111;

    z-index: 1;
}


/* CLOSE */

.catalog-modal__close {
    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: 0;

    background: transparent;

    font-size: 35px;
    font-weight: 300;

    cursor: pointer;

    color: #111;
}


/* HEADER */

.catalog-modal__header {
    margin-bottom: 35px;
}

.catalog-modal__header .section-label {
    color: #999;
}

.catalog-modal__header h2 {
    margin-top: 5px;

    font-size: 45px;
    font-weight: 500;
}

.catalog-modal__header p {
    margin-top: 5px;

    font-size: 14px;

    color: #777;
}

.catalog-modal__supplier {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* COLORS */

.catalog-modal__colors {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.color-card {
    overflow: hidden;

    background: #f2f2f0;
}

.color-card__image {
    height: 220px;

    overflow: hidden;
}

.color-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.color-card__name {
    display: block;

    padding: 15px;

    font-size: 14px;
}


/* ACTIONS */

.catalog-modal__actions {
    display: flex;

    gap: 12px;

    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #ddd;
}

.btn--outline-dark {
    color: #111;

    border: 1px solid #111;
}

.btn--outline-dark:hover {
    color: #fff;
    background: #111;
}


/* =========================
   CATALOG MOBILE
========================= */

@media (max-width: 800px) {

    .catalog {
        padding: 90px 0;
    }

    .catalog__brands {
        grid-template-columns: 1fr;
    }

    .catalog-modal__window {
        padding: 35px 20px 25px;
    }

    .catalog-modal__colors {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 500px) {

    .catalog {
        padding: 70px 0;
    }

    .catalog__heading {
        margin-bottom: 45px;
    }

    .catalog-brand {
        min-height: 140px;
        padding: 25px;
    }

    .catalog-brand:hover {
        padding-left: 25px;
    }

    .catalog-brand__name {
        font-size: 23px;
    }

    .catalog-brand__arrow {
        right: 25px;
    }

    .catalog-modal__header h2 {
        font-size: 34px;
    }

    .catalog-modal__colors {
        grid-template-columns: 1fr;
    }

    .color-card__image {
        height: 220px;
    }

    .catalog-modal__actions {
        flex-direction: column;
    }

    .catalog-modal__actions .btn {
        width: 100%;
    }

}
/* =========================
   CONTACT
========================= */

.contact {
    padding: 130px 0;
    background: #fff;
    color: #111;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


/* INFO */

.contact__info h2 {
    max-width: 600px;

    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}

.contact__info > p {
    max-width: 520px;

    margin-top: 30px;

    font-size: 16px;
    line-height: 1.7;

    color: #666;
}


/* LINKS */

.contact__links {
    margin-top: 55px;

    display: flex;
    flex-direction: column;

    gap: 25px;
}

.contact__links a {
    display: flex;
    flex-direction: column;

    gap: 6px;

    color: #111;
}

.contact__links span,
.contact__address span {
    font-size: 11px;

    letter-spacing: 2px;
    text-transform: uppercase;

    color: #999;
}

.contact__links strong {
    font-size: 20px;
    font-weight: 500;
}


/* ADDRESS */

.contact__address {
    margin-top: 45px;

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.contact__address p {
    margin-bottom: 18px;

    font-size: 15px;

    color: #555;
}


/* ROUTE */

.contact__route {
    display: inline-block;

    margin-top: 15px;

    color: #111;

    font-size: 14px;
    font-weight: 600;

    border-bottom: 1px solid #111;
}


/* =========================
   FORM
========================= */

.contact__form-wrapper {
    padding: 45px;

    background: #f5f5f3;
}

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 25px;
}

.form-field {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.form-field label {
    font-size: 12px;

    font-weight: 600;

    color: #555;
}

.form-field label span {
    color: #999;
    font-weight: 400;
}


.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    padding: 15px 0;

    border: 0;
    border-bottom: 1px solid #ccc;

    outline: none;

    background: transparent;

    color: #111;

    font-family: inherit;
    font-size: 15px;
}

.form-field textarea {
    resize: vertical;

    min-height: 110px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: #111;
}


/* FILE */

.form-field input[type="file"] {
    padding: 12px 0;

    font-size: 13px;
}


/* CHECKBOX */

.form-checkbox {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    font-size: 12px;
    line-height: 1.5;

    color: #777;

    cursor: pointer;
}

.form-checkbox input {
    margin-top: 3px;

    flex-shrink: 0;
}


/* BUTTON */

.contact-form__submit {
    width: 100%;

    margin-top: 10px;
}


/* =========================
   CONTACT MOBILE
========================= */

@media (max-width: 800px) {

    .contact {
        padding: 90px 0;
    }

    .contact__grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .contact__form-wrapper {
        padding: 35px 25px;
    }

}


@media (max-width: 500px) {

    .contact {
        padding: 70px 0;
    }

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

    .contact__links {
        margin-top: 40px;
    }

    .contact__form-wrapper {
        padding: 30px 20px;
    }

}
/* =========================
   FOOTER
========================= */

.footer {
    background: #111;
    color: #fff;
    padding: 70px 0 25px;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__logo {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer__brand p {
    max-width: 280px;
    margin: 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a,
.footer__contacts a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer__nav a:hover,
.footer__contacts a:hover {
    color: #fff;
}

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

.footer__contacts a:first-child {
    color: #fff;
    font-size: 16px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 25px;
    color: #777;
    font-size: 12px;
}


/* =========================
   FLOATING ACTIONS
========================= */

.floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-action {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 12px 16px;

    color: #fff;
    background: #111;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;

    text-decoration: none;
    font-size: 13px;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.floating-action:hover {
    transform: translateY(-2px);
    background: #222;
}

.floating-action--request {
    background: #fff;
    color: #111;
}

.floating-action--request:hover {
    background: #f0f0f0;
}


/* =========================
   FOOTER / FLOATING
   MOBILE
========================= */

@media (max-width: 800px) {

    .footer {
        padding: 55px 0 20px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 35px;
    }

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

    .floating-actions {
        inset: auto 12px max(10px, env(safe-area-inset-bottom)) 12px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .floating-action {
        min-height: 44px;
        justify-content: center;
    }

    .floating-action span {
        display: none;
    }

}
/* =========================
   CATALOG COVER
========================= */

.catalog__image {
    width: 100%;
    height: 420px;
    margin-bottom: 70px;
    overflow: hidden;
}

.catalog__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 800px) {

    .catalog__image {
        height: 240px;
        margin-bottom: 45px;
    }

}
.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 30px;
}

.brand-card img {
    display: block;
    max-width: min(100%, 180px);
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 1100;
    padding: 12px 16px;
    color: #fff;
    background: #111;
    transform: translateY(calc(-100% - 8px));
}

.skip-link:focus {
    transform: none;
}

.projects__title {
    margin-bottom: 24px;
    font-size: clamp(24px, 3vw, 36px);
}

.project-card__visual {
    position: relative;
}

.project-card__visual figcaption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 8px;
    background: #111;
    color: #fff;
    font-size: 12px;
}

.language {
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}

.contact__map {
    display: block;
    width: 100%;
    height: 230px;
    margin-top: 22px;
    border: 0;
}

@media (max-width: 1200px) {
    .header__inner {
        justify-content: flex-start;
        gap: 12px;
    }

    .language {
        margin-left: auto;
    }
}

.contact-form__note {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.contact__address a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

button.color-card {
    background: #fff;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.color-card[aria-pressed="true"] {
    outline: 2px solid #111;
    outline-offset: 2px;
}

@media (max-width: 800px) {
    body {
        padding-bottom: calc(58px + env(safe-area-inset-bottom));
    }

    .floating-actions {
        z-index: 900;
    }

    .floating-action {
        padding-inline: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .project-card__image img, .btn, .floating-action {
        transition: none;
    }
}
