@font-face {
    font-family: "INCOTEC";
    src: url("../fonts/INCOTEC-Regular.woff") format("woff");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "INCOTEC";
    src: url("../fonts/INCOTEC-Bold.woff") format("woff");
    font-display: swap;
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-300.ttf") format("truetype");
    font-display: swap;
    font-weight: 300;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-400.ttf") format("truetype");
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-600.ttf") format("truetype");
    font-display: swap;
    font-weight: 600;
}

@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-700.ttf") format("truetype");
    font-display: swap;
    font-weight: 700;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-400.ttf") format("truetype");
    font-display: swap;
    font-weight: 400;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-600.ttf") format("truetype");
    font-display: swap;
    font-weight: 600;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-700.ttf") format("truetype");
    font-display: swap;
    font-weight: 700;
}

:root {
    --orange:       #f28b00;
    --orange-dark:  #d97300;
    --ink:          #24272a;
    --muted:        #687078;
    --paper:        #ffffff;
    --soft:         #f4f5f6;
    --line:         #dde0e3;
    --dark:         #191c1f;
    --max-width:    1180px;
    --shadow:       0 16px 45px rgba(18, 24, 28, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.skip-link {
    left: 12px;
    position: fixed;
    top: -80px;
    z-index: 200;
}

.skip-link:focus {
    top: 12px;
}

.container {
    margin: 0 auto;
    max-width: var(--max-width);
    padding-left: 28px;
    padding-right: 28px;
}

.site-header {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-row {
    align-items: center;
    display: flex;
    min-height: 92px;
}

.brand {
    flex: 0 0 78px;
}

.brand img {
    height: 68px;
    width: 68px;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 22px;
    margin-left: auto;
}

.main-nav a,
.language-switch a {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.language-switch a:hover,
.language-switch a:focus-visible {
    color: var(--orange);
}

.language-switch {
    border-left: 1px solid var(--line);
    display: flex;
    gap: 8px;
    margin-left: 24px;
    padding-left: 24px;
}

.language-switch .active {
    color: var(--orange);
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    height: 44px;
    margin-left: auto;
    padding: 9px;
    width: 48px;
}

.menu-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 6px 0;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    background: var(--dark);
    height: min(720px, calc(100vh - 92px));
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 900ms ease;
}

.hero-slide::after {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.04));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-content {
    color: #fff;
    left: max(28px, calc((100% - var(--max-width)) / 2 + 28px));
    max-width: 800px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero-kicker,
.eyebrow {
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    font-family: "INCOTEC", "Montserrat", sans-serif;
    font-size: clamp(48px, 7vw, 92px);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 0.98;
    margin: 18px 0 26px;
    max-width: 900px;
}

.hero p {
    font-size: clamp(17px, 2vw, 22px);
    max-width: 620px;
}

.hero-controls {
    bottom: 28px;
    display: flex;
    gap: 10px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-dot {
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    height: 10px;
    padding: 0;
    width: 10px;
}

.hero-dot.is-active {
    background: var(--orange);
    transform: scale(1.3);
}

.button {
    background: var(--orange);
    border: 2px solid var(--orange);
    color: #fff;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 13px 20px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
}

.button.secondary {
    background: transparent;
    border-color: currentColor;
    color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.section {
    padding: 96px 0;
}

.section.soft {
    background: var(--soft);
}

.section.dark {
    background: var(--dark);
    color: #fff;
}

.section-heading {
    margin-bottom: 48px;
    max-width: 760px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2,
.page-hero h1 {
    font-family: "INCOTEC", "Montserrat", sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    margin: 8px 0 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 18px;
}

.dark .section-heading p {
    color: #c2c7cb;
}

.feature-grid,
.product-grid,
.address-grid,
.document-grid {
    display: grid;
    gap: 28px;
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    border-top: 3px solid var(--orange);
    padding: 28px 0 0;
}

.feature-card h3,
.product-card h3,
.timeline h3,
.legal-copy h2 {
    font-family: "Montserrat", sans-serif;
    line-height: 1.3;
}

.gallery-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.gallery-button {
    aspect-ratio: 4 / 3;
    background: #ddd;
    border: 0;
    cursor: zoom-in;
    overflow: hidden;
    padding: 0;
}

.gallery-button img {
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
    width: 100%;
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
    transform: scale(1.045);
}

.lightbox {
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 48px;
    position: fixed;
    z-index: 300;
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    box-shadow: var(--shadow);
    max-height: 90vh;
    max-width: min(1100px, 92vw);
}

.lightbox-close {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 36px;
    position: absolute;
    right: 24px;
    top: 12px;
}

.product-grid {
    grid-template-columns: repeat(3, 1fr);
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 25px rgba(18, 24, 28, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 34px;
}

.product-card > img {
    height: 66px;
    margin-bottom: 28px;
    object-fit: contain;
    object-position: left center;
    width: 100%;
}

.product-card p {
    color: var(--muted);
    flex-grow: 1;
}

.about-split {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1fr;
}

.about-photo {
    box-shadow: var(--shadow);
    min-height: 500px;
    object-fit: cover;
    width: 100%;
}

.skill-columns {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
}

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

.check-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 0 10px 28px;
    position: relative;
}

.check-list li::before {
    color: var(--orange);
    content: "+";
    font-weight: 700;
    left: 0;
    position: absolute;
}

.timeline {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(6, 1fr);
}

.timeline article {
    border-top: 2px solid var(--line);
    padding: 30px 20px 0 0;
    position: relative;
}

.timeline article::before {
    background: var(--orange);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--orange);
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    top: -9px;
    width: 12px;
}

.timeline time {
    color: var(--orange);
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.timeline p {
    color: var(--muted);
    font-size: 14px;
}

.customer-grid {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, 1fr);
}

.customer-logo {
    align-items: center;
    background: #fff;
    display: flex;
    height: 105px;
    justify-content: center;
    padding: 20px;
}

.customer-logo img {
    filter: grayscale(1);
    max-height: 64px;
    opacity: 0.76;
    width: auto;
}

.contact-panel {
    align-items: center;
    display: grid;
    gap: 60px;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-email {
    color: var(--orange);
    display: inline-block;
    font-family: "INCOTEC", "Montserrat", sans-serif;
    font-size: clamp(25px, 4vw, 45px);
    font-weight: 700;
    line-height: 1.1;
    margin: 20px 0;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
    color: #fff;
}

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

.address-card {
    border-left: 3px solid var(--orange);
    padding-left: 22px;
}

.address-card h3 {
    margin-top: 0;
}

.address-card a {
    color: var(--orange);
}

.page-hero {
    background: var(--dark);
    color: #fff;
    padding: 105px 0 90px;
}

.page-hero.product-hero {
    background-position: center;
    background-size: cover;
    position: relative;
}

.page-hero.product-hero::before {
    background: rgba(20, 22, 24, 0.78);
    content: "";
    inset: 0;
    position: absolute;
}

.page-hero .container {
    position: relative;
}

.page-hero p {
    color: #d3d6d8;
    font-size: 20px;
    max-width: 720px;
}

.catalog-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.catalog-card {
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
}

.catalog-card .visual {
    align-items: center;
    background: var(--soft);
    display: flex;
    height: 220px;
    justify-content: center;
    padding: 18px;
}

.catalog-card .visual img {
    max-height: 100%;
    object-fit: contain;
}

.catalog-card .copy {
    padding: 26px;
}

.catalog-card .copy img {
    height: 48px;
    margin-bottom: 18px;
    object-fit: contain;
    object-position: left;
    width: 100%;
}

.legal-copy {
    max-width: 900px;
}

.legal-copy h2 {
    margin-top: 48px;
}

.legal-copy h3 {
    font-family: "Montserrat", sans-serif;
    margin-top: 32px;
}

.notice {
    background: #fff8e9;
    border-left: 4px solid var(--orange);
    margin: 28px 0;
    padding: 18px 22px;
}

.document-grid {
    grid-template-columns: repeat(3, 1fr);
}

.document-card {
    border: 1px solid var(--line);
    padding: 24px;
}

.site-footer {
    background: #111315;
    color: #bdc1c5;
    padding: 58px 0 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr 0.8fr;
}

.site-footer h3 {
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid #303438;
    font-size: 13px;
    margin-top: 42px;
    padding-top: 24px;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        align-items: stretch;
        background: #fff;
        flex-direction: column;
        gap: 0;
        inset: 92px 0 auto 0;
        max-height: 0;
        overflow: hidden;
        position: fixed;
        transition: max-height 250ms ease;
    }

    .nav-open .main-nav {
        border-bottom: 1px solid var(--line);
        max-height: calc(100vh - 92px);
    }

    .main-nav a {
        border-top: 1px solid var(--line);
        padding: 16px 28px;
    }

    .language-switch {
        border-left: 0;
        border-top: 1px solid var(--line);
        margin: 0;
        padding: 16px 28px;
    }

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

    .about-split,
    .contact-panel {
        gap: 45px;
        grid-template-columns: 1fr;
    }

    .timeline {
        gap: 30px;
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 650px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-row {
        min-height: 76px;
    }

    .brand img {
        height: 56px;
        width: 56px;
    }

    .main-nav {
        inset: 76px 0 auto 0;
    }

    .hero {
        height: 620px;
        min-height: 0;
    }

    .hero-content {
        left: 20px;
        padding-right: 20px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 62px);
    }

    .section {
        padding: 70px 0;
    }

    .feature-grid,
    .product-grid,
    .skill-columns,
    .catalog-grid,
    .address-grid,
    .document-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .customer-logo {
        height: 90px;
    }

    .page-hero {
        padding: 75px 0 60px;
    }

    .lightbox {
        padding: 20px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
