@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --black: #151515;
    --black-soft: #1d1d1d;
    --white: #ffffff;
    --cream: #f5f2ed;
    --grey: #77736d;
    --line: rgba(21, 21, 21, 0.12);
    --white-line: rgba(255, 255, 255, 0.22);
    --radius: 24px;
    --transition: 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", Arial, sans-serif;
    background: var(--cream);
    color: var(--black);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1280px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50;

    width: 100%;

    color: var(--white);
}

.header__inner {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    flex-shrink: 0;

    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    margin-left: auto;
}

.nav a {
    position: relative;

    font-size: 12px;
    font-weight: 500;

    color: rgba(255, 255, 255, 0.88);

    transition:
        color var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--white);

    transition: width var(--transition);
}

.nav a:hover {
    color: var(--white);
}

.nav a:hover::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
}

.language-switcher__button {
    border: 0;
    padding: 0;

    background: transparent;
    color: rgba(255, 255, 255, 0.5);

    cursor: pointer;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;

    transition: color var(--transition);
}

.language-switcher__button:hover,
.language-switcher__button.is-active {
    color: var(--white);
}

.language-switcher__divider {
    color: rgba(255, 255, 255, 0.28);
    font-size: 11px;
}

.header__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 19px;

    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 100px;

    font-size: 11px;
    font-weight: 600;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.header__button:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--black);
}

.menu-button {
    display: none;

    flex-shrink: 0;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 17px;
    height: 1px;

    margin: 5px auto;

    background: var(--white);

    transition: transform var(--transition);
}

.mobile-menu {
    display: none;
}


/* =========================================================
   COMMON
========================================================= */

.section-heading__eyebrow {
    margin-bottom: 18px;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.18em;

    color: var(--grey);
}

.section-heading h2 {
    max-width: 720px;

    font-size: clamp(38px, 5vw, 66px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.section-heading > p:last-child {
    max-width: 580px;

    margin-top: 24px;

    color: var(--grey);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 26px;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    background: var(--white);
    color: var(--black);
}

.button--primary:hover {
    background: #ededed;
}

.button--secondary {
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.button--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

.button--dark {
    margin-top: 34px;

    background: var(--black);
    color: var(--white);
}

.button--dark:hover {
    background: #2a2a2a;
}

.button--secondary-dark {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.button--secondary-dark:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--white);
    background: #222;
}

.hero__image {
    position: absolute;
    inset: 0;

    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center 43%;

    transform: scale(1.02);
}

.hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 34%,
            rgba(0, 0, 0, 0.2) 67%,
            rgba(0, 0, 0, 0.32) 100%
        );
}

.hero__content {
    position: relative;
    z-index: 2;

    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__text {
    max-width: 760px;

    padding-top: 70px;
}

.hero__eyebrow {
    margin-bottom: 24px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.19em;

    color: rgba(255, 255, 255, 0.84);
}

.hero h1 {
    max-width: 760px;

    font-size: clamp(54px, 7vw, 94px);
    line-height: 0.94;
    font-weight: 600;
    letter-spacing: -0.055em;
}

.hero__description {
    max-width: 490px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.83);

    font-size: 16px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 36px;
}

.hero__bottom {
    position: absolute;
    left: 0;
    bottom: 38px;

    display: flex;
    align-items: flex-end;

    gap: 70px;
}

.hero__feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__feature strong {
    font-size: 21px;
    line-height: 1;
    font-weight: 600;
}

.hero__feature span {
    color: rgba(255, 255, 255, 0.68);

    font-size: 10px;
    line-height: 1.45;
}


/* =========================================================
   DIRECTIONS
========================================================= */

.directions {
    padding: 130px 0 140px;

    background: var(--cream);
}

.directions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 68px;
}

.direction-card {
    position: relative;

    min-height: 570px;

    overflow: hidden;

    border-radius: var(--radius);

    background: #222;

    color: var(--white);
}

.direction-card__image {
    position: absolute;
    inset: 0;

    overflow: hidden;
}

.direction-card__image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0.18) 52%,
            rgba(0, 0, 0, 0.78) 100%
        );
}

.direction-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.direction-card:hover .direction-card__image img {
    transform: scale(1.045);
}

.direction-card__content {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;

    z-index: 2;
}

.direction-card__number {
    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.direction-card h3 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.direction-card span {
    display: inline-block;

    margin-top: 22px;

    font-size: 12px;
    font-weight: 600;

    opacity: 0.86;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 140px 0;

    background: #ffffff;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;

    align-items: start;
}

.about__content h2 {
    max-width: 690px;

    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.055em;
}

.about__content > p:not(.section-heading__eyebrow) {
    max-width: 560px;

    margin-top: 28px;

    color: var(--grey);

    font-size: 15px;
    line-height: 1.8;
}

.about__facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.about__fact {
    min-height: 180px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: 20px;

    background: #faf9f7;
}

.about__fact strong {
    font-size: 48px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.about__fact span {
    max-width: 150px;

    color: var(--grey);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   PRODUCTION
========================================================= */

.production {
    padding: 140px 0;

    background: var(--black);
    color: var(--white);
}

.production__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;

    align-items: center;
}

.production__images {
    position: relative;

    min-height: 680px;
}

.production__image {
    position: absolute;

    overflow: hidden;

    border-radius: var(--radius);

    object-fit: cover;
}

.production__image--large {
    top: 0;
    left: 0;

    width: 76%;
    height: 570px;
}

.production__image--small {
    right: 0;
    bottom: 0;

    width: 43%;
    height: 320px;

    border: 8px solid var(--black);
}

.production__content .section-heading__eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.production__content h2 {
    max-width: 630px;

    font-size: clamp(44px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.production__content > p:not(.section-heading__eyebrow) {
    max-width: 520px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    line-height: 1.8;
}

.text-link {
    display: inline-flex;

    margin-top: 34px;

    padding-bottom: 7px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.4);

    font-size: 12px;
    font-weight: 600;

    transition:
        border-color var(--transition),
        color var(--transition);
}

.text-link:hover {
    border-color: var(--white);
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 140px 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255, 255, 255, 0.07),
            transparent 40%
        ),
        #202020;

    color: var(--white);
}

.contact__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 60px;
}

.contact__content {
    max-width: 760px;
}

.contact__content .section-heading__eyebrow {
    color: rgba(255, 255, 255, 0.45);
}

.contact__content h2 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: 0.96;
    font-weight: 600;
    letter-spacing: -0.055em;
}

.contact__content p:last-child {
    max-width: 540px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 15px;
    line-height: 1.75;
}

.contact__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 260px;

    flex-shrink: 0;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 28px 0;

    background: #111111;
    color: rgba(255, 255, 255, 0.55);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer .logo {
    color: var(--white);
}

.footer p {
    font-size: 11px;
}

.footer a:last-child {
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 11px;
    }

    .header__actions {
        gap: 12px;
    }

    .hero h1 {
        font-size: clamp(52px, 7.5vw, 80px);
    }

    .directions__grid {
        gap: 14px;
    }

    .direction-card {
        min-height: 520px;
    }

    .about__grid,
    .production__grid {
        gap: 60px;
    }
}


@media (max-width: 980px) {

    .container {
        width: min(100% - 48px, 760px);
    }

    .nav,
    .header__actions {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .header__inner {
        min-height: 78px;
    }

    .directions__grid {
        grid-template-columns: 1fr;
    }

    .direction-card {
        min-height: 560px;
    }

    .about__grid,
    .production__grid {
        grid-template-columns: 1fr;
    }

    .production__images {
        min-height: 600px;
    }

    .contact__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact__actions {
        width: min(100%, 420px);
    }
}


@media (max-width: 700px) {

    .container {
        width: calc(100% - 32px);
    }

    .hero {
        min-height: 100svh;
    }

    .hero__image {
        background-position: 58% center;
    }

    .hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.08) 0%,
                rgba(0, 0, 0, 0.16) 30%,
                rgba(0, 0, 0, 0.78) 78%,
                rgba(0, 0, 0, 0.93) 100%
            );
    }

    .hero__content {
        justify-content: flex-end;

        padding-bottom: 30px;
    }

    .hero__text {
        padding-top: 90px;
    }

    .hero__eyebrow {
        margin-bottom: 15px;

        font-size: 9px;
        letter-spacing: 0.16em;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);
        line-height: 0.95;
    }

    .hero__description {
        max-width: 400px;

        margin-top: 20px;

        font-size: 13px;
        line-height: 1.6;
    }

    .hero__actions {
        flex-direction: column;

        gap: 9px;

        margin-top: 26px;
    }

    .button {
        width: 100%;
        min-height: 52px;
    }

    .hero__bottom {
        position: static;

        display: grid;
        grid-template-columns: repeat(3, 1fr);

        gap: 12px;

        margin-top: 34px;
    }

    .hero__feature strong {
        font-size: 16px;
    }

    .hero__feature span {
        font-size: 8px;
    }

    .directions,
    .about,
    .production,
    .contact {
        padding: 90px 0;
    }

    .section-heading h2,
    .about__content h2,
    .production__content h2,
    .contact__content h2 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .section-heading > p:last-child {
        margin-top: 18px;

        font-size: 14px;
    }

    .directions__grid {
        margin-top: 44px;
    }

    .direction-card {
        min-height: 500px;
    }

    .direction-card__content {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .direction-card h3 {
        font-size: 34px;
    }

    .about__facts {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .about__fact {
        min-height: 150px;

        padding: 20px;
    }

    .about__fact strong {
        font-size: 38px;
    }

    .about__fact span {
        font-size: 10px;
    }

    .production__images {
        min-height: 490px;
    }

    .production__image--large {
        width: 82%;
        height: 420px;
    }

    .production__image--small {
        width: 46%;
        height: 250px;

        border-width: 6px;
    }

    .contact__actions {
        width: 100%;
    }

    .footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE MENU
========================================================= */

@media (max-width: 980px) {

    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 40;

        display: flex;
        flex-direction: column;
        justify-content: center;

        padding: 100px 24px 40px;

        background: rgba(15, 15, 15, 0.97);
        backdrop-filter: blur(18px);

        color: var(--white);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-10px);

        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0);
    }

    .mobile-menu__nav {
        display: flex;
        flex-direction: column;

        gap: 18px;
    }

    .mobile-menu__nav a {
        font-size: 28px;
        line-height: 1;
        font-weight: 600;
        letter-spacing: -0.03em;
    }

    .mobile-menu__language {
        display: flex;
        align-items: center;

        gap: 7px;

        margin-top: 42px;
    }

    .mobile-menu__language .language-switcher__button {
        color: rgba(255, 255, 255, 0.5);
    }

    .mobile-menu__language .language-switcher__button.is-active {
        color: var(--white);
    }

    .mobile-menu__button {
        width: 100%;

        margin-top: 28px;
    }

    .menu-button.is-open span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .menu-button.is-open span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }
}
/* =========================================================
   METAL PRODUCTS
========================================================= */

.metal-products {
    margin-top: 90px;

    padding: 42px;

    border: 1px solid var(--line);
    border-radius: 28px;

    background: #ffffff;
}

.metal-products__header {
    display: grid;
    grid-template-columns: 1fr 0.8fr;

    gap: 60px;

    align-items: end;
}

.metal-products__header h3 {
    max-width: 650px;

    font-size: clamp(34px, 4vw, 56px);
    line-height: 0.98;
    font-weight: 600;

    letter-spacing: -0.05em;
}

.metal-products__header > p {
    max-width: 390px;

    color: var(--grey);

    font-size: 14px;
    line-height: 1.75;
}

.metal-products__list {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 42px;
}

.metal-products__list span {
    display: inline-flex;
    align-items: center;

    min-height: 46px;

    padding: 0 18px;

    border: 1px solid var(--line);
    border-radius: 100px;

    background: #faf9f7;

    color: var(--black);

    font-size: 12px;
    font-weight: 600;

    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.metal-products__list span:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);

    transform: translateY(-2px);
}
/* =========================================================
   MOBILE — METAL PRODUCTS
========================================================= */

@media (max-width: 980px) {

    .metal-products {
        margin-top: 60px;
        padding: 28px;
    }

    .metal-products__header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metal-products__header h3 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .metal-products__header > p {
        font-size: 13px;
    }

    .metal-products__list {
        margin-top: 30px;
    }
}


@media (max-width: 600px) {

    .metal-products {
        margin-top: 45px;
        padding: 22px;
        border-radius: 22px;
    }

    .metal-products__list {
        gap: 8px;
    }

    .metal-products__list span {
        min-height: 42px;
        padding: 0 14px;

        font-size: 11px;
    }
}
/* =========================================================
   HOUSE PROJECTS
========================================================= */

.projects {
    padding: 130px 0 140px;
    background: #ffffff;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;

    margin-top: 68px;
}

.project-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: #faf9f7;
}

.project-card__image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #ddd;
}

.project-card__image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.8s ease;
}

.project-card:hover .project-card__image img {
    transform: scale(1.045);
}

.project-card__number {
    position: absolute;

    top: 18px;
    left: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(8px);

    color: var(--white);

    font-size: 10px;
    font-weight: 700;
}

.project-card__content {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px 26px;
}

.project-card__label {
    margin-bottom: 7px;

    color: var(--grey);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.project-card h3 {
    font-size: 27px;
    line-height: 1;

    font-weight: 600;
    letter-spacing: -0.035em;
}

.project-card__link {
    flex-shrink: 0;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--black);

    font-size: 11px;
    font-weight: 700;

    transition:
        opacity var(--transition),
        transform var(--transition);
}

.project-card__link:hover {
    opacity: 0.6;
    transform: translateX(3px);
}

.project-card--featured {
    grid-column: span 2;
}

.project-card--featured .project-card__image {
    aspect-ratio: 21 / 9;
}

.projects__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    margin-top: 45px;

    padding-top: 28px;

    border-top: 1px solid var(--line);
}

.projects__footer p {
    max-width: 500px;

    color: var(--grey);

    font-size: 12px;
    line-height: 1.65;
}

.projects__footer .button {
    margin-top: 0;
}


/* =========================================================
   HOUSE PROJECTS — MOBILE
========================================================= */

@media (max-width: 980px) {

    .projects {
        padding: 90px 0;
    }

    .projects__grid {
        grid-template-columns: 1fr;

        margin-top: 45px;
    }

    .project-card--featured {
        grid-column: auto;
    }

    .project-card--featured .project-card__image {
        aspect-ratio: 16 / 10;
    }

    .projects__footer {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .project-card__content {
        min-height: 105px;

        padding: 20px;
    }

    .project-card h3 {
        font-size: 23px;
    }

    .project-card__link {
        font-size: 10px;
    }

    .project-card__label {
        font-size: 8px;
    }

    .projects__footer {
        margin-top: 30px;
    }

}
html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 90px;
}
.nav a {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.nav a.is-active {
    color: var(--white);
    opacity: 1;
}

.nav a:not(.is-active) {
    opacity: 0.55;
}

.nav a:not(.is-active) {
    opacity: 0.55;
}

.mobile-menu__nav a {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.mobile-menu__nav a.is-active {
    color: #151515;
    opacity: 1;
}

.mobile-menu__nav a:not(.is-active) {
    opacity: 0.55;
}
/* =========================================================
   FINAL MOBILE POLISH
========================================================= */

@media (max-width: 600px) {

    /* ---------- HEADER ---------- */

    .header__inner {
        min-height: 72px;
    }

    .logo {
        font-size: 24px;
    }

    .menu-button {
        width: 42px;
        height: 42px;
    }


    /* ---------- MOBILE MENU ---------- */

    .mobile-menu {
        padding: 90px 20px 30px;
    }

    .mobile-menu__nav {
        gap: 16px;
    }

    .mobile-menu__nav a {
        font-size: 26px;
    }

    .mobile-menu__button {
        margin-top: 24px;
    }


    /* ---------- HERO ---------- */

    .hero__image {
        background-position: 60% center;
    }

    .hero__text {
        padding-top: 100px;
    }

    .hero h1 {
        max-width: 340px;

        font-size: clamp(42px, 12.5vw, 58px);
        line-height: 0.94;
    }

    .hero__description {
        max-width: 330px;

        font-size: 13px;
        line-height: 1.6;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__bottom {
        margin-top: 30px;
    }

    .hero__feature {
        min-width: 0;
    }

    .hero__feature strong {
        font-size: 15px;
    }

    .hero__feature span {
        max-width: 85px;

        font-size: 8px;
        line-height: 1.35;
    }


    /* ---------- SECTION HEADINGS ---------- */

    .section-heading__eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
    }

    .section-heading h2,
    .about__content h2,
    .production__content h2,
    .contact__content h2 {
        font-size: clamp(38px, 11.5vw, 54px);
        line-height: 0.97;
    }

    .section-heading > p:last-child {
        font-size: 13px;
        line-height: 1.65;
    }


    /* ---------- DIRECTIONS ---------- */

    .directions {
        padding: 80px 0 90px;
    }

    .directions__grid {
        gap: 12px;
        margin-top: 38px;
    }

    .direction-card {
        min-height: 460px;
        border-radius: 20px;
    }

    .direction-card__content {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .direction-card h3 {
        font-size: 31px;
    }

    .direction-card__number {
        margin-bottom: 11px;
    }


    /* ---------- PROJECT CATALOGS ---------- */

    .projects {
        padding: 80px 0 90px;
    }

    .projects__grid {
        gap: 12px;
        margin-top: 38px;
    }

    .project-card {
        border-radius: 20px;
    }

    .project-card__image {
        aspect-ratio: 4 / 3;
    }

    .project-card__number {
        top: 12px;
        left: 12px;

        width: 34px;
        height: 34px;

        font-size: 9px;
    }

    .project-card__content {
        min-height: 100px;

        padding: 18px;
        gap: 14px;
    }

    .project-card h3 {
        font-size: 22px;
    }

    .project-card__label {
        margin-bottom: 6px;
        font-size: 8px;
    }

    .project-card__link {
        font-size: 10px;

        white-space: nowrap;
    }

    .projects__footer {
        gap: 20px;

        margin-top: 26px;
        padding-top: 22px;
    }

    .projects__footer p {
        font-size: 11px;
        line-height: 1.6;
    }

    .projects__footer .button {
        width: 100%;
    }


    /* ---------- ABOUT ---------- */

    .about {
        padding: 90px 0;
    }

    .about__grid {
        gap: 45px;
    }

    .about__content > p:not(.section-heading__eyebrow) {
        font-size: 13px;
        line-height: 1.7;
    }

    .about__facts {
        gap: 8px;
    }

    .about__fact {
        min-height: 135px;
        padding: 18px;

        border-radius: 17px;
    }

    .about__fact strong {
        font-size: 34px;
    }

    .about__fact span {
        font-size: 9px;
    }


    /* ---------- PRODUCTION ---------- */

    .production {
        padding: 90px 0;
    }

    .production__grid {
        gap: 45px;
    }

    .production__images {
        min-height: 430px;
    }

    .production__image--large {
        width: 84%;
        height: 360px;

        border-radius: 20px;
    }

    .production__image--small {
        width: 48%;
        height: 215px;

        border-width: 5px;
        border-radius: 18px;
    }

    .production__content > p:not(.section-heading__eyebrow) {
        font-size: 13px;
        line-height: 1.7;
    }


    /* ---------- CONTACT ---------- */

    .contact {
        padding: 90px 0;
    }

    .contact__inner {
        gap: 38px;
    }

    .contact__content p:last-child {
        font-size: 13px;
        line-height: 1.65;
    }

    .contact__actions {
        width: 100%;
        gap: 9px;
    }

    .contact__actions .button {
        width: 100%;
    }


    /* ---------- BUTTONS ---------- */

    .button {
        min-height: 52px;
        padding: 0 20px;

        font-size: 11px;
    }


    /* ---------- FOOTER ---------- */

    .footer {
        padding: 24px 0;
    }

    .footer__inner {
        gap: 15px;
    }

    .footer p,
    .footer a:last-child {
        font-size: 10px;
    }


    /* ---------- METAL CATALOG ---------- */

    .metal-catalog .project-card__image {
        aspect-ratio: 4 / 3;
    }
}
/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 41px;
    }

    .hero__bottom {
        gap: 8px;
    }

    .hero__feature strong {
        font-size: 14px;
    }

    .hero__feature span {
        font-size: 7px;
    }

    .direction-card {
        min-height: 430px;
    }

    .project-card__content {
        padding: 16px;
    }

    .project-card h3 {
        font-size: 20px;
    }

    .project-card__link {
        font-size: 9px;
    }
}
/* =========================================================
   HOW WE WORK
========================================================= */

.process {
    padding: 140px 0;
    background: var(--cream);
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;

    margin-top: 68px;
}

.process-card {
    min-height: 310px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: #ffffff;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);

    background: var(--black);
    border-color: var(--black);

    color: var(--white);
}

.process-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-card__number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: var(--grey);
}

.process-card:hover .process-card__number {
    color: rgba(255, 255, 255, 0.55);
}

.process-card__arrow {
    font-size: 18px;
    line-height: 1;

    color: var(--grey);

    transition:
        color var(--transition),
        transform var(--transition);
}

.process-card:hover .process-card__arrow {
    color: var(--white);
    transform: translateX(3px);
}

.process-card__content h3 {
    font-size: 29px;
    line-height: 1;

    font-weight: 600;
    letter-spacing: -0.04em;
}

.process-card__content p {
    max-width: 260px;

    margin-top: 18px;

    color: var(--grey);

    font-size: 13px;
    line-height: 1.7;
}

.process-card:hover .process-card__content p {
    color: rgba(255, 255, 255, 0.62);
}

.process__cta {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 34px 38px;

    border-radius: var(--radius);

    background: #ffffff;
}

.process__cta-label {
    margin-bottom: 10px;

    color: var(--grey);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.process__cta h3 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1;

    font-weight: 600;
    letter-spacing: -0.045em;
}

.process__cta .button {
    flex-shrink: 0;
}


/* =========================================================
   HOW WE WORK — TABLET
========================================================= */

@media (max-width: 980px) {

    .process {
        padding: 90px 0;
    }

    .process__grid {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 45px;
    }

    .process-card {
        min-height: 280px;
    }

    .process__cta {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px;
    }

    .process__cta .button {
        width: min(100%, 360px);
    }
}
/* =========================================================
   HOW WE WORK — MOBILE
========================================================= */

@media (max-width: 600px) {

    .process {
        padding: 80px 0 90px;
    }

    .process__grid {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 38px;
    }

    .process-card {
        min-height: 220px;

        padding: 22px;

        border-radius: 20px;
    }

    .process-card__content h3 {
        font-size: 26px;
    }

    .process-card__content p {
        max-width: 320px;

        margin-top: 14px;

        font-size: 12px;
    }

    .process__cta {
        margin-top: 12px;

        padding: 24px 20px;

        border-radius: 20px;
    }

    .process__cta h3 {
        font-size: 32px;
    }

    .process__cta .button {
        width: 100%;
    }
}

/* =========================================================
   ADVANTAGES
========================================================= */

.advantages {
    padding: 140px 0;
    background: #ffffff;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;

    margin-top: 68px;
}

.advantage-card {
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: var(--radius);

    background: var(--cream);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);

    background: var(--black);
    border-color: var(--black);

    color: var(--white);
}

.advantage-card__number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;

    color: var(--grey);
}

.advantage-card:hover .advantage-card__number {
    color: rgba(255, 255, 255, 0.5);
}

.advantage-card__content h3 {
    font-size: 28px;
    line-height: 1;

    font-weight: 600;
    letter-spacing: -0.04em;
}

.advantage-card__content p {
    max-width: 260px;

    margin-top: 18px;

    color: var(--grey);

    font-size: 13px;
    line-height: 1.7;
}

.advantage-card:hover .advantage-card__content p {
    color: rgba(255, 255, 255, 0.62);
}

.advantages__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    margin-top: 34px;
}

.advantages__footer p {
    color: var(--grey);

    font-size: 13px;
    line-height: 1.6;
}

.advantages__link {
    margin-top: 0;
    flex-shrink: 0;
}


/* =========================================================
   ADVANTAGES — TABLET
========================================================= */

@media (max-width: 980px) {

    .advantages {
        padding: 90px 0;
    }

    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 45px;
    }

    .advantage-card {
        min-height: 270px;
    }

    .advantages__footer {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;
    }
}


/* =========================================================
   ADVANTAGES — MOBILE
========================================================= */

@media (max-width: 600px) {

    .advantages {
        padding: 80px 0 90px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 38px;
    }

    .advantage-card {
        min-height: 210px;

        padding: 22px;

        border-radius: 20px;
    }

    .advantage-card__content h3 {
        font-size: 25px;
    }

    .advantage-card__content p {
        max-width: 320px;

        margin-top: 14px;

        font-size: 12px;
    }

    .advantages__footer {
        margin-top: 24px;
    }

    .advantages__link {
        width: auto;
    }
}
/* =========================================================
   FINAL FIXES
========================================================= */

/* Active desktop navigation */
.nav a.is-active {
    color: var(--white);
    opacity: 1;
}

/* Inactive desktop navigation */
.nav a:not(.is-active) {
    opacity: 0.55;
}

/* Active mobile navigation */
.mobile-menu__nav a.is-active {
    color: var(--white);
    opacity: 1;
}

/* Inactive mobile navigation */
.mobile-menu__nav a:not(.is-active) {
    color: rgba(255, 255, 255, 0.62);
    opacity: 0.55;
}

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent fixed header from covering section titles */
[id] {
    scroll-margin-top: 90px;
}

/* =========================================================
   FINAL MOBILE SAFETY
========================================================= */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
    }

    .project-card__content,
    .process-card,
    .advantage-card {
        min-width: 0;
    }

    .project-card__link {
        white-space: nowrap;
    }

    .mobile-menu {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}