:root {
  --red: #b3141b;
  --red-dark: #8a0f14;
  --ink: #1b1e23;
  --steel: #262b32;
  --steel-2: #323842;
  --text: #2c3138;
  --muted: #5d6672;
  --line: #e2e5e9;
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(20, 24, 30, .08);
  --wrap: 1440px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Top bar */
.topbar { background: var(--ink); color: #c9ced6; font-size: .82rem; line-height: 1.4; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #e8eaee; }
.topbar a:hover { color: #fff; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar .group { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 64px; width: auto; }
.logo-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.9rem; box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--red); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--head); font-size: 1.85rem; font-weight: 700; color: var(--red); letter-spacing: .02em; }
.logo-text small { font-family: var(--head); font-size: .95rem; font-weight: 600; letter-spacing: .14em; color: var(--ink); margin-top: 3px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; white-space: nowrap; padding: 10px 11px; font-family: var(--head); font-size: 1.12rem; font-weight: 600; color: var(--ink); border-radius: 6px; letter-spacing: .02em; }
.nav a:hover { color: var(--red); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .sub { position: absolute; top: 100%; left: 0; min-width: 240px; display: none; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.nav .sub a { font-size: 1.05rem; padding: 10px 12px; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: flex; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 42px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 1200px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .nav a { padding: 12px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .sub { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 18px; min-width: 0; }
  .nav .has-sub > a::after { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 6px; font-family: var(--head); font-weight: 600; font-size: 1.1rem; letter-spacing: .03em; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--steel) url("../img/makine/17.jpg") center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,20,24,.93) 0%, rgba(18,20,24,.78) 48%, rgba(18,20,24,.35) 100%); }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 em { font-style: normal; color: #ff4b52; }
.hero p { font-size: 1.2rem; max-width: 620px; color: #dde1e6; }
.hero .eyebrow { color: #ff6a70; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
h2.eyebrow-lg { font-size: 1.5rem; letter-spacing: .16em; margin-bottom: 0; }

/* Page header */
.page-head { background: var(--steel) url("../img/makine/18.jpg") center/cover no-repeat; position: relative; color: #fff; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(18,20,24,.82); }
.page-head .wrap { position: relative; padding-top: 56px; padding-bottom: 56px; }
.page-head h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4.4vw, 3rem); }
.crumbs { font-size: .92rem; color: #b9c0c9; margin-top: 6px; }
.crumbs a { color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--steel); color: #d4d8de; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { max-width: 720px; margin-bottom: 40px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Stats strip */
.stats { background: var(--red); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 18px; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.stat span { font-size: .95rem; color: #ffd9db; }
@media (max-width: 820px) { .stats .wrap { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); } }

/* Grids & cards */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; font-family: var(--head); font-weight: 600; font-size: 1.08rem; }
.card-body .more::after { content: " →"; }

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.split > .img-frame { aspect-ratio: 4/3; }
.img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.img-pair .img-frame:first-child { grid-row: span 2; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 4px #ffd5d7; }

/* Feature tiles */
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ico { width: 52px; height: 52px; border-radius: 10px; background: #fbe9ea; color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.feature .ico svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; }
.section-dark .feature { background: var(--steel-2); border-color: #3d444f; }
.section-dark .feature p { color: #c0c6ce; }
.section-dark .feature .ico { background: rgba(255,75,82,.14); color: #ff6a70; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-soft); cursor: zoom-in; aspect-ratio: 1/1; }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 10px 14px 12px; font-size: .95rem; line-height: 1.35; color: var(--text); }
.gallery.tight figcaption { display: none; }

.lightbox { position: fixed; inset: 0; background: rgba(10,12,15,.92); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 6px; }
.lightbox p { color: #e6e9ee; text-align: center; margin: 14px 0 0; }
.lightbox .lb-inner { display: flex; flex-direction: column; align-items: center; }
.lb-btn { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Product tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 30px; list-style: none; }
.tags li { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 6px 14px; font-size: .95rem; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.subnav a { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500; }
.subnav a:hover { border-color: var(--red); color: var(--red); }
.product-block { scroll-margin-top: 100px; }
.product-block + .product-block { margin-top: 70px; padding-top: 70px; border-top: 1px solid var(--line); }

/* References */
/* 5 üstte, 4 altta ortalı */
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos div { flex: 0 0 calc((100% - 80px) / 5); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: grid; place-items: center; aspect-ratio: 16/8; }
.logos img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; }
@media (max-width: 900px) { .logos div { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 560px) { .logos { gap: 12px; } .logos div { flex-basis: calc((100% - 12px) / 2); } }

/* Documents */
.doc { display: grid; grid-template-columns: 220px 1fr; gap: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; align-items: start; }
.doc + .doc { margin-top: 24px; }
@media (max-width: 700px) { .doc { grid-template-columns: 1fr; } }
.doc-thumb { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--bg-soft); }
.doc-cert { aspect-ratio: 1/1.414; background: linear-gradient(160deg, #fffdf6, #f3ecd9); border: 1px solid #e6dcc0; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; color: #5b4a24; }
.doc-cert b { font-family: var(--head); font-size: 2.1rem; color: var(--red-dark); line-height: 1; }
.doc-cert span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 18px; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; font-weight: 500; }
.badge { display: inline-block; background: #e7f6ec; color: #17733a; border-radius: 30px; padding: 3px 12px; font-size: .85rem; font-weight: 600; margin-bottom: 10px; }

/* News */
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.news time { font-family: var(--head); font-weight: 600; color: var(--red); }

/* Hours & contact */
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed td:last-child { color: var(--red); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 42px; height: 42px; border-radius: 50%; background: #fbe9ea; color: var(--red); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-family: var(--head); font-size: 1.1rem; color: var(--ink); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); display: block; }

.cta { background: linear-gradient(110deg, var(--red-dark), var(--red)); color: #fff; border-radius: 14px; padding: 46px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #ffe1e2; }
.cta .btn-ghost:hover { color: var(--red); }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.form input, .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd4da; border-radius: 6px; font: inherit; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(179,20,27,.25); border-color: var(--red); }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.form .check input { width: auto; margin-top: 5px; }
.form-note { font-size: .88rem; color: var(--muted); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }

/* Footer */
.site-footer { background: var(--ink); color: #aab1bb; font-size: .96rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .wrap { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d5d9df; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { display: inline-flex; background: #fff; border-radius: 8px; padding: 8px 14px; margin-bottom: 16px; }
.copy { border-top: 1px solid #2d323a; }
.copy .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: .88rem; grid-template-columns: none; }
@media (max-width: 520px) { .stat strong { font-size: 1.35rem; } .topbar { font-size: .8rem; } .hero .wrap { padding-top: 70px; padding-bottom: 80px; } }

/* Kalite kontrol adımları */
.steps .feature { position: relative; }
.step-no { position: absolute; top: 22px; right: 26px; font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: #eceef1; line-height: 1; }

/* Form gönderimi ve onay */
.form input[type="file"] { padding: 10px; background: var(--bg-soft); border-style: dashed; cursor: pointer; }
.form-status { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.form-status.error { color: var(--red); }
.form button[disabled] { opacity: .6; cursor: wait; }
.confirm { max-width: 720px; margin: 0 auto; text-align: center; padding: 56px 32px; }
.confirm-ico { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ec; color: #17733a; display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 20px; }
