:root {
    --black: #0d0e10;
    --ink: #1f2328;
    --muted: #68707d;
    --line: #dfe3e8;
    --soft: #f4f6f8;
    --white: #ffffff;
    --yellow: #f5ad00;
    --yellow-dark: #c98700;
    --metal: #eceff2;
    --shadow: 0 18px 55px rgba(13, 14, 16, .11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.topbar {
    background: var(--black);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.topbar__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar a {
    color: var(--yellow);
    font-weight: 700;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand__mark {
    display: inline-grid;
    place-items: center;
    min-width: 72px;
    height: 42px;
    background: var(--black);
    color: var(--white);
    font-weight: 900;
    letter-spacing: 0;
    position: relative;
}

.brand__mark::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 20px;
    height: 5px;
    background: var(--yellow);
}

.brand__text {
    display: grid;
    line-height: 1.05;
}

.brand__text strong {
    font-size: 22px;
    font-weight: 900;
}

.brand__text small {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

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

.main-nav a {
    padding: 10px 13px;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 800;
    color: #343941;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--black);
    border-color: var(--yellow);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 640px;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--metal);
}

.hero__media {
    position: absolute;
    inset: 0;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.18) 78%),
        linear-gradient(0deg, rgba(13,14,16,.34), rgba(13,14,16,0) 40%);
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__content {
    position: relative;
    padding: 90px 0 72px;
}

.hero__copy {
    max-width: 690px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yellow-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    background: var(--yellow);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 22px;
    color: var(--black);
    font-size: clamp(42px, 7vw, 78px);
    line-height: .96;
    font-weight: 900;
}

h2 {
    margin-bottom: 18px;
    color: var(--black);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 900;
}

h3 {
    margin-bottom: 10px;
    color: var(--black);
    font-size: 22px;
    line-height: 1.15;
}

p {
    color: var(--muted);
}

.hero p,
.page-hero p {
    max-width: 620px;
    font-size: 19px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid var(--black);
    font-weight: 900;
    transition: .2s ease;
}

.btn--primary {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.btn--ghost {
    background: rgba(255, 255, 255, .74);
}

.btn--ghost:hover {
    background: var(--black);
    color: var(--white);
}

.section {
    padding: 84px 0;
}

.section--muted {
    background:
        radial-gradient(circle at 12% 10%, rgba(245,173,0,.10), transparent 28%),
        linear-gradient(135deg, #f8f9fa, #eef1f4);
}

.section--dark {
    background: var(--black);
    color: var(--white);
}

.section--dark h2,
.section--dark .eyebrow {
    color: var(--white);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 54px;
    align-items: center;
}

.split--wide {
    grid-template-columns: .95fr 1.05fr;
}

.feature-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--line);
}

.metric {
    min-height: 170px;
    padding: 28px;
    background: var(--white);
    display: grid;
    align-content: center;
}

.metric strong {
    color: var(--black);
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
}

.metric span {
    margin-top: 8px;
    color: var(--muted);
    font-weight: 700;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card,
.values-grid article,
.contact-card,
.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 14px 35px rgba(13, 14, 16, .07);
}

.product-card {
    min-height: 300px;
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.product-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: var(--black);
    color: var(--yellow);
    font-size: 26px;
    font-weight: 900;
}

.product-card a,
.text-link {
    margin-top: auto;
    color: var(--black);
    font-weight: 900;
    border-bottom: 3px solid var(--yellow);
    width: fit-content;
}

.media-band {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 46px;
    align-items: center;
}

.media-band--reverse {
    grid-template-columns: 1fr .9fr;
}

.media-band img,
.image-frame img {
    width: 100%;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.media-band img {
    max-height: 620px;
    object-fit: cover;
    object-position: top;
}

.brand-strip {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
    align-items: center;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.brand-list span {
    min-width: 92px;
    padding: 12px 15px;
    background: var(--white);
    color: var(--black);
    border-left: 5px solid var(--yellow);
    font-weight: 900;
    text-align: center;
}

.brand-list--light span {
    border: 1px solid var(--line);
    border-left: 5px solid var(--yellow);
}

.page-hero {
    padding: 96px 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.86)),
        url("../images/das-rulman-banner.png") center / cover;
    border-bottom: 1px solid var(--line);
}

.page-hero--products {
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.82)),
        url("../images/urun-gruplari.png") center / cover;
}

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

.values-grid article {
    padding: 28px;
}

.product-detail-list {
    display: grid;
    gap: 18px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 30px;
    align-items: start;
    padding: 34px;
    border: 1px solid var(--line);
    background: var(--white);
}

.product-detail ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.product-detail li {
    padding: 12px 14px;
    background: var(--soft);
    border-left: 4px solid var(--yellow);
    font-weight: 700;
}

.product-detail__note {
    margin-top: 18px;
    padding: 14px 16px;
    background: #fff7df;
    border-left: 4px solid var(--yellow);
    color: #5b4308;
    font-weight: 700;
}

.quote-list {
    display: grid;
    gap: 12px;
}

.quote-list span {
    padding: 15px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 5px solid var(--yellow);
    box-shadow: 0 10px 24px rgba(13, 14, 16, .06);
    font-weight: 800;
}

.brand-page-grid,
.contact-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 42px;
    align-items: start;
}

.contact-card,
.contact-form {
    padding: 30px;
}

.contact-card {
    display: grid;
    gap: 14px;
}

.contact-card a,
.contact-card span {
    font-weight: 800;
}

.contact-note {
    margin-top: 14px;
    padding: 16px;
    background: var(--soft);
    color: var(--muted);
    border-left: 4px solid var(--yellow);
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--black);
    font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid #cfd5dc;
    padding: 13px 14px;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.form-success {
    padding: 14px 16px;
    background: #eef8ef;
    border: 1px solid #b8dfbd;
    color: #1c6b29;
    font-weight: 800;
}

.site-footer {
    background: #111315;
    color: rgba(255, 255, 255, .78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr .9fr;
    gap: 38px;
    padding: 58px 0;
}

.brand--footer .brand__mark {
    background: var(--white);
    color: var(--black);
}

.brand--footer .brand__text strong {
    color: var(--white);
}

.footer-grid h2 {
    color: var(--white);
    font-size: 17px;
    margin-bottom: 14px;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-bottom: 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom .container {
    min-height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-size: 13px;
}

@media (max-width: 920px) {
    .topbar__inner,
    .footer-bottom .container {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 114px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        border-bottom: 0;
        border-left: 4px solid transparent;
    }

    .main-nav a.is-active {
        border-left-color: var(--yellow);
        background: var(--soft);
    }

    .hero {
        min-height: 560px;
    }

    .split,
    .split--wide,
    .media-band,
    .media-band--reverse,
    .brand-strip,
    .brand-page-grid,
    .contact-grid,
    .product-detail,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav-wrap {
        min-height: 70px;
    }

    .brand__mark {
        min-width: 62px;
        height: 38px;
    }

    .brand__text strong {
        font-size: 18px;
    }

    .brand__text small {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .main-nav {
        top: 108px;
    }

    .hero {
        min-height: 620px;
    }

    .hero__media::after {
        background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.76) 64%, rgba(13,14,16,.22));
    }

    .hero__content {
        padding: 70px 0 46px;
    }

    h1 {
        font-size: 42px;
    }

    .section {
        padding: 58px 0;
    }

    .product-grid,
    .values-grid,
    .feature-panel {
        grid-template-columns: 1fr;
    }
}
