/* =========================================================
   SUSHIM-PRO
   Main stylesheet
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --bg: #f5f4f0;
    --paper: #ffffff;

    --ink: #171717;
    --muted: #6c6b66;

    --line: #deddd7;

    --accent: #e66a22;
    --accent-dark: #bd4d10;

    --dark: #1c1d1b;
    --dark-2: #292a27;

    --max-width: 1240px;

    --radius: 20px;
}


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

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--ink);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.5;
}

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

button,
input,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
}


/* =========================================================
   COMMON
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}

.hero .container {
    margin-left: 100px;
}

.section {
    padding: 115px 0;
}

.eyebrow {
    margin-bottom: 18px;

    color: var(--accent);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.section-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 58px;
}

.section h2 {
    margin: 0;

    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;

    letter-spacing: -0.05em;
}

.section h2 em {
    color: var(--accent);
    font-style: normal;
}

.section-head > p {
    max-width: 450px;

    margin: 0 0 3px;

    color: var(--muted);

    font-size: 17px;
}


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

.btn {
    display: inline-flex;

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

    gap: 18px;

    padding: 15px 22px;

    border: 0;
    border-radius: 999px;

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

    cursor: pointer;

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

.btn span {
    font-size: 19px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--accent {
    background: var(--accent);
    color: #ffffff;
}

.btn--accent:hover {
    background: var(--accent-dark);
}

.btn--ghost {
    border: 1px solid #555555;

    background: transparent;
    color: #ffffff;
}

.btn--ghost:hover {
    border-color: #777777;
}

.btn--light {
    background: #ffffff;
    color: var(--ink);
}


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

.header {
    position: sticky;
    top: 0;
    z-index: 20;

    background: rgba(245, 244, 240, 0.92);

    border-bottom: 1px solid rgba(0, 0, 0, 0.06);

    backdrop-filter: blur(14px);
}

.header__inner {
    height: 78px;

    display: flex;
    align-items: center;

    gap: 38px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: -0.05em;

    white-space: nowrap;
}

.logo > span:last-child > span {
    color: var(--accent);
}

.logo__mark {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 8px;

    background: var(--accent);
    color: #ffffff;

    font-size: 16px;
}


/* Navigation */

.nav {
    display: flex;

    gap: 28px;

    margin-left: auto;
}

.nav a {
    color: #555555;

    font-size: 14px;

    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--ink);
}


/* Header action */

.header__action {
    font-size: 14px;
    font-weight: 700;
}


/* Burger */

.burger {
    display: none;

    margin-left: auto;

    border: 0;

    background: transparent;

    color: var(--ink);

    font-size: 24px;

    cursor: pointer;
}


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

.hero {
    position: relative;

    overflow: hidden;

    background-color: var(--dark);

    background-image:
        linear-gradient(
            90deg,
            rgba(28, 29, 27, 0.99) 0%,
            rgba(28, 29, 27, 0.94) 28%,
            rgba(28, 29, 27, 0.48) 58%,
            rgba(28, 29, 27, 0.08) 100%
        ),
        url("/assets/img/hero-industrial.png");

    background-size: cover;
    background-position: center right;

    color: #ffffff;
}

.hero__content {
    position: relative;
    z-index: 2;

    padding-top: 34px;
    padding-bottom: 38px;
}

.hero h1 {
    max-width: 720px;

    margin: 0 0 28px;

    font-size: clamp(48px, 5.7vw, 82px);
    line-height: 0.98;

    letter-spacing: -0.055em;
}

.hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero__lead {
    max-width: 610px;

    color: #b9b9b4;

    font-size: 19px;
    line-height: 1.55;
}

.hero__actions {
    display: flex;

    gap: 12px;

    margin-top: 34px;
}

.hero__facts {
    display: flex;

    gap: 35px;

    margin-top: 70px;
}

.hero__fact {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.hero__fact strong {
    color: var(--accent);

    font-size: 11px;
}

.hero__fact span {
    color: #8e8e89;

    font-size: 11px;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* =========================================================
   TASKS
   ========================================================= */

.task-group {
    margin-bottom: 72px;
}

.task-group__title {
    margin-bottom: 18px;

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

    letter-spacing: 0.09em;

    text-transform: uppercase;
}

.task-group__title span {
    margin-right: 15px;

    color: var(--accent);
}

.cards {
    display: grid;

    gap: 12px;
}

.cards--4 {
    grid-template-columns: repeat(4, 1fr);
}


/* Task card */

.task-card__icon {
    width: 34px;
    height: 34px;
    margin-bottom: 22px;
    color: var(--accent);
}

.task-card__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.task-card--dark .task-card__icon {
    color: var(--accent);
}

.task-card:hover .task-card__icon {
    transform: translateY(-2px);
}

.task-card__icon {
    transition: transform .2s ease;
	 margin-bottom: 14px;
}

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

    display: flex;
    flex-direction: column;

    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: var(--paper);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.task-card:hover {
    transform: translateY(-4px);

    border-color: #d2d0c8;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}

.task-card b {
    font-size: 19px;
    line-height: 1.15;
}

.task-card span {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
}

.task-card i {
    margin-top: auto;

    color: var(--accent);

    font-size: 22px;

    font-style: normal;
}


/* Dark cards */

.task-card--dark {
    border-color: var(--dark);

    background: var(--dark);
    color: #ffffff;
}

.task-card--dark:hover {
    border-color: var(--dark-2);
}

.task-card--dark span {
    color: #a5a59f;
}


/* =========================================================
   SPECIAL PROCESSES
   ========================================================= */

.special {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

    padding: 38px 44px;

    border: 1px solid var(--line);

    border-radius: var(--radius);

    background: var(--paper);

    color: var(--ink);
}

.special .eyebrow {
    color: var(--accent);
}

.special h3 {
    max-width: 560px;

    margin: 10px 0 14px;

    font-size: 30px;
    line-height: 1.1;

    letter-spacing: -0.025em;
}

.special p {
    max-width: 620px;

    margin: 0;

    color: var(--muted);

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

.special__list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 0;

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

.special__list span {
    display: flex;

    align-items: center;

    gap: 12px;

    min-height: 58px;

    border-bottom: 1px solid var(--line);

    color: var(--ink);

    font-size: 14px;
}

.special__list b {
    min-width: 24px;

    color: var(--accent);

    font-size: 11px;
}

/* =========================================================
   FINDER
   ========================================================= */


.finder {
    padding-top: 30px;
}

.finder__box {
    padding: 56px 58px;

    border-radius: var(--radius);

    background: var(--dark);

    color: #ffffff;
}

.finder__intro {
    max-width: 650px;
}

.finder__intro .eyebrow {
    color: var(--accent);
}

.finder__intro h2 {
    margin: 10px 0 18px;

    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.02;

    letter-spacing: -0.035em;
}

.finder__intro h2 em {
    color: var(--accent);

    font-style: normal;
}

.finder__intro p {
    max-width: 580px;

    margin: 0;

    color: #a9a9a3;

    font-size: 16px;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   PROCESS
   --------------------------------------------------------- */

.finder__process {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto
        1fr auto
        1fr;

    align-items: stretch;

    gap: 20px;

    margin-top: 52px;
}

.finder__item,
.finder__result {
    min-height: 145px;

    padding: 22px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 14px;

    background: rgba(255, 255, 255, 0.035);
}

.finder__item span,
.finder__result span {
    display: block;

    margin-bottom: 28px;

    color: var(--accent);

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

    letter-spacing: 0.08em;
}

.finder__item strong,
.finder__result strong {
    display: block;

    margin-bottom: 8px;

    color: #ffffff;

    font-size: 17px;
}

.finder__item small,
.finder__result small {
    display: block;

    color: #969691;

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

.finder__arrow {
    display: flex;

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

    color: var(--accent);

    font-size: 24px;
}

.finder__result {
    border-color: rgba(230, 106, 34, 0.45);

    background: rgba(230, 106, 34, 0.08);
}


/* ---------------------------------------------------------
   BOTTOM
   --------------------------------------------------------- */

.finder__bottom {
    display: flex;

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

    gap: 30px;

    margin-top: 38px;
    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.finder__bottom p {
    margin: 0;

    color: #aaa9a4;

    font-size: 14px;
}

.finder__bottom .btn {
    flex-shrink: 0;
}


/* ---------------------------------------------------------
   FINDER MOBILE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .finder__box {
        padding: 40px 28px;
    }

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

        gap: 10px;

        margin-top: 36px;
    }

    .finder__arrow {
        display: none;
    }

    .finder__item,
    .finder__result {
        min-height: auto;
    }

    .finder__bottom {
        align-items: flex-start;

        flex-direction: column;
    }

    .finder__bottom .btn {
        width: 100%;
    }
}

/* =========================================================
   HOW
   ========================================================= */

.how {
    padding-top: 110px;
    padding-bottom: 110px;
}

.how .section-head {
    margin-bottom: 58px;
}

.how .section-head h2 em {
    color: var(--accent);
    font-style: normal;
}

.steps {
    display: grid;

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

    gap: 0;
}

.step {
    position: relative;

    min-height: 260px;

    padding: 0 34px 0 0;
}

.step:not(:last-child) {
    margin-right: 34px;

    border-right: 1px solid var(--line);
}

.step__top {
    display: flex;

    align-items: center;

    margin-bottom: 48px;
}

.step__top span {
    color: var(--accent);

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

    letter-spacing: 0.08em;
}

.step__top i {
    display: block;

    width: 34px;
    height: 1px;

    margin-left: 14px;

    background: var(--line);
}

.step h3 {
    max-width: 220px;

    margin: 0 0 14px;

    font-size: 20px;
    line-height: 1.2;
}

.step p {
    max-width: 240px;

    margin: 0;

    color: var(--muted);

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


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

@media (max-width: 900px) {

    .how {
        padding-top: 80px;
        padding-bottom: 80px;
    }

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

        gap: 40px 30px;
    }

    .step {
        min-height: auto;

        padding-right: 0;
    }

    .step:not(:last-child) {
        margin-right: 0;

        border-right: 0;
    }
}


@media (max-width: 600px) {

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

    .step__top {
        margin-bottom: 24px;
    }

    .step {
        padding-bottom: 30px;

        border-bottom: 1px solid var(--line);
    }

    .step:last-child {
        border-bottom: 0;
    }
}

/* =========================================================
   EQUIPMENT
   ========================================================= */

.equipment {
    background: #ecebe6;
}

.equipment__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.equipment__visual {
    position: relative;

    height: 510px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: var(--radius);

    background: #d5d3cc;
}

.equipment__visual::before,
.equipment__visual::after {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    border: 1px solid #bbb9b0;

    border-radius: 50%;
}

.equipment__visual::after {
    width: 300px;
    height: 300px;
}


/* Technical visual */

.technical-box {
    position: relative;
    z-index: 1;

    width: 230px;
    height: 300px;

    padding: 22px;

    border: 8px solid #666761;
    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #3b3c39,
            #151614
        );

    color: #ffffff;

    box-shadow:
        20px 30px 60px rgba(0, 0, 0, 0.2);
}

.technical-box span {
    color: #aaaaaa;

    font-size: 9px;

    letter-spacing: 0.18em;
}

.technical-box strong {
    display: block;

    margin-top: 65px;

    font-size: 80px;

    line-height: 1;
}

.technical-box small {
    position: absolute;

    right: 18px;
    bottom: 18px;

    color: #aaaaaa;

    font-size: 8px;

    text-align: right;

    letter-spacing: 0.1em;
}


/* Equipment text */

.lead {
    max-width: 600px;

    color: var(--muted);

    font-size: 18px;
}

.checklist {
    margin: 30px 0;

    padding: 0;

    list-style: none;
}

.checklist li {
    padding: 13px 0;

    border-bottom: 1px solid #d2d0c9;

    font-size: 14px;
}

.checklist li::before {
    content: "✓";

    margin-right: 12px;

    color: var(--accent);

    font-weight: 900;
}

.text-link {
    color: var(--accent);

    font-weight: 900;
}


/* =========================================================
   ARTICLES
   ========================================================= */

.article-grid {
    display: grid;

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

    gap: 14px;
}

.article {
    min-height: 290px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: var(--paper);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.article:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.07);
}

.article > span {
    color: var(--accent);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 0.12em;
}

.article h3 {
    margin: 24px 0 12px;

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

    letter-spacing: -0.03em;
}

.article p {
    color: var(--muted);

    font-size: 14px;
}

.article b {
    margin-top: auto;

    color: var(--accent);

    font-size: 13px;
}


/* =========================================================
   REQUEST
   ========================================================= */

.request {
    background: var(--dark);

    color: #ffffff;
}

.request__grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}

.request h2 {
    margin: 0 0 22px;

    font-size: clamp(42px, 5vw, 65px);
    line-height: 1;

    letter-spacing: -0.05em;
}

.request h2 em {
    color: var(--accent);

    font-style: normal;
}

.request p {
    max-width: 520px;

    color: #aaaaaa;

    font-size: 17px;
}

.request__note {
    margin-top: 45px;

    padding-left: 14px;

    border-left: 2px solid var(--accent);

    color: #888888;

    font-size: 13px;
}


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

.form {
    padding: 34px;

    border-radius: var(--radius);

    background: var(--dark-2);
}

.form label {
    display: block;

    margin-bottom: 18px;

    color: #aaaaaa;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.form input,
.form textarea {
    display: block;

    width: 100%;

    margin-top: 8px;

    padding: 14px;

    border: 1px solid #4a4b47;
    border-radius: 9px;

    outline: none;

    background: #20211f;
    color: #ffffff;

    font-size: 14px;

    transition: border-color 0.2s ease;
}

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

.form textarea {
    height: 120px;

    resize: vertical;
}

.form__row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.form .btn {
    width: 100%;

    margin-top: 5px;
}

.form small {
    display: block;

    margin-top: 12px;

    color: #777777;

    font-size: 10px;

    text-align: center;
}


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

.footer {
    background: #111111;

    color: #ffffff;
}

.footer__top {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    align-items: center;

    padding: 50px 0;

    border-bottom: 1px solid #292a27;
}

.footer__top p {
    color: #777777;

    font-size: 13px;
}

.footer__top > a {
    color: var(--accent);

    font-weight: 800;

    text-align: right;
}

.footer__bottom {
    display: flex;

    justify-content: space-between;

    padding: 20px 0;

    color: #555555;

    font-size: 11px;
}


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

@media (max-width: 900px) {

    .nav,
    .header__action {
        display: none;
    }

    .burger {
        display: block;
    }

.hero .container {
    margin-left: auto;
}

    .hero__grid,
    .equipment__grid,
    .request__grid {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        min-height: 680px;

        padding-top: 65px;
        padding-bottom: 65px;
    }


    .section-head {
        grid-template-columns: 1fr;

        gap: 20px;
    }


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


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

    .steps article:nth-child(2) {
        border-right: 0;
    }

    .steps article:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

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

    gap: 30px;

    padding: 30px 24px;
}

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

    .finder__inner {
        display: block;
    }

    .finder .btn {
        margin-top: 25px;
    }


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


    .equipment__visual {
        height: 400px;
    }


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

        gap: 20px;
    }

    .footer__top > a {
        text-align: left;
    }
}


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

@media (max-width: 560px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--max-width)
        );
    }


    .header__inner {
        height: 68px;
    }


    .section {
        padding: 80px 0;
    }


    .hero {
        background-position: 63% center;

        background-image:
            linear-gradient(
                90deg,
                rgba(28, 29, 27, 0.99) 0%,
                rgba(28, 29, 27, 0.91) 60%,
                rgba(28, 29, 27, 0.48) 100%
            ),
            url("/assets/img/hero-industrial.png");
    }

    .hero__grid {
        min-height: auto;

        padding-top: 70px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero__lead {
        font-size: 16px;
    }

    .hero__actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero__facts {
        gap: 15px;

        margin-top: 45px;
    }

    .hero__fact {
        gap: 7px;
    }

    .hero__fact span {
        font-size: 9px;
    }


    .cards--4,
    .steps {
        grid-template-columns: 1fr;
    }


    .steps article,
    .steps article:not(:first-child) {
        padding: 25px 0;

        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .steps article:last-child {
        border-bottom: 0;
    }


    .special {
        padding: 28px;
    }


    .finder h2 {
        font-size: 34px;
    }


    .equipment__visual {
        height: 340px;
    }


    .technical-box {
        transform: scale(0.85);
    }


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


    .request__grid {
        gap: 45px;
    }


    .footer__bottom {
        flex-direction: column;

        gap: 8px;
    }
}