/* ==========================================================
   ROMİOT - site stylesheet (v3 design, brand colours)
   Colours: logo black + logo yellow (#FBBA31)
   Fonts:   Barlow Condensed (headings), Inter (text)
   ========================================================== */

/* ---- Fonts: self-hosted (SIL OFL), no request to Google Fonts ---- */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap;
    src: url(fonts/barlow-condensed-500-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap;
    src: url(fonts/barlow-condensed-500-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(fonts/barlow-condensed-600-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
    src: url(fonts/barlow-condensed-600-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Inter is a variable font: one file per subset covers 400-600 */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --primary: #141414;
    --primary-2: #262626;
    --deep: #0B0B0B;
    --text: #222222;
    --muted: #5E5E5E;
    --line: #DCDCDC;
    --line-soft: #EAEAEA;
    --bg: #FFFFFF;
    --bg-2: #F5F5F4;
    --bg-3: #ECECEA;
    --brand: #FBBA31;
    --brand-dark: #E5A615;
    --wrap: 1280px;
    --head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --body: 'Inter', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--primary); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.caps {
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--brand);
    color: var(--primary);
    padding: 10px 16px;
}
.skip:focus { left: 16px; top: 16px; }

/* ---- Top utility bar ---- */
.topbar { background: var(--deep); color: #A0A0A0; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #FFFFFF; }
.topbar .links { display: flex; gap: 24px; }

/* ---- Header ---- */
.header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; height: 76px; gap: 48px; }
.header .logo { height: 32px; width: auto; }
.nav { display: flex; flex: 1; gap: 6px; }
.nav a {
    font-family: var(--head);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--primary);
    text-decoration: none;
    padding: 0 14px;
    line-height: 73px;
    border-bottom: 3px solid transparent;
}
.nav a:hover { color: #000000; background: var(--bg-2); }
.nav a.active { border-bottom-color: var(--brand); }
.menu-toggle { display: none; margin-left: auto; width: 42px; height: 42px; background: none; border: 1px solid var(--line); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    display: block; width: 18px; height: 2px; background: var(--primary); margin: 0 auto; position: relative; content: '';
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 24px;
    font-family: var(--head);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn-brand { background: var(--brand); color: var(--primary); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-dark { background: var(--primary); color: #FFFFFF; }
.btn-dark:hover { background: #000000; }
.btn-line { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-line:hover { background: var(--primary); color: #FFFFFF; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #FFFFFF; background: transparent; }
.btn-ghost:hover { background: #FFFFFF; color: var(--primary); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 15px; }
.btn.nocaps { text-transform: none; letter-spacing: .01em; }   /* e-mail addresses, codes */

/* ---- Home hero ---- */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--deep) url('../img/v3/hero.jpg') 30% 60% / cover no-repeat;
    color: #FFFFFF;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,11,11,.95) 0%, rgba(11,11,11,.84) 38%, rgba(11,11,11,.3) 75%, rgba(11,11,11,.12) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 72px; padding-bottom: 96px; }
.hero .label { color: #CFCFCF; font-size: 16px; display: flex; align-items: center; gap: 12px; }
.hero .label::before { content: ''; width: 28px; height: 3px; background: var(--brand); }
.hero h1 {
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(44px, 5.6vw, 76px);
    line-height: .98;
    letter-spacing: .01em;
    color: #FFFFFF;
    margin: 18px 0 22px;
    max-width: 720px;
}
.hero p { font-size: 18px; color: #DADADA; max-width: 540px; margin: 0 0 34px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Inner page head (products, about, contact) ---- */
.page-head { background: var(--deep); color: #FFFFFF; border-bottom: 3px solid var(--brand); }
.page-head .wrap { padding-top: 22px; padding-bottom: 48px; }
.page-head .crumbs-inline { font-size: 13px; color: #9A9A9A; margin-bottom: 26px; }
.page-head .crumbs-inline a { text-decoration: none; }
.page-head .crumbs-inline a:hover { color: #FFFFFF; text-decoration: underline; }
.page-head .crumbs-inline i { font-style: normal; margin: 0 10px; color: #6A6A6A; }
.page-head h1 {
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    color: #FFFFFF;
    margin-bottom: 14px;
}
.page-head p { font-size: 17px; color: #CFCFCF; max-width: 680px; margin: 0; }

/* ---- Sections ---- */
.section { padding: 88px 0; }
.section.grey { background: var(--bg-2); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.sec-head .kicker { color: var(--muted); font-size: 15px; margin-bottom: 4px; }
.sec-head h2 {
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 44px;
    line-height: 1;
    letter-spacing: .01em;
}
.sec-head p { max-width: 460px; margin: 0; color: var(--muted); }

/* short straight yellow band under section titles, like the logo underline */
.sec-head h2::after,
.about h2::after,
.block h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--brand);
    margin-top: 14px;
}

.link-arrow {
    font-family: var(--head);
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.link-arrow::after { content: '›'; font-size: 22px; line-height: 1; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---- Product cards (drawing or photo + name + specs) ---- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard {
    background: var(--bg-2);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: box-shadow .15s, background .15s;
}
.section.grey .pcard { background: #FFFFFF; }
.pcard:hover { box-shadow: inset 0 -4px 0 var(--brand); }
.pcard .fig { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pcard .fig svg { width: 78%; height: auto; max-height: 100%; }
.pcard .fig { position: relative; }
.pcard .fig img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; mix-blend-mode: multiply; }
.pcard .meta { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px 22px 22px; border-top: 1px solid var(--line-soft); }
.pcard .name {
    font-family: var(--head);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1;
    color: var(--primary);
    padding-right: 18px;
    border-right: 1px solid var(--brand);
    min-height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pcard .name small { font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 6px; }
.pcard ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; color: var(--text); line-height: 1.5; }

/* technical line drawings (placeholders until product photos exist) */
.draw { fill: none; stroke: #7A7A78; stroke-width: 1.3; stroke-linejoin: round; }
.draw .f { fill: #E6E6E3; }
.draw .d { fill: #CACAC7; stroke: none; }
.draw .k { fill: #262626; stroke: none; }
.draw .y { fill: var(--brand); stroke: none; }
.draw .t { fill: #7A7A78; stroke: none; font-family: var(--body); font-size: 7px; }

/* ---- Applications ---- */
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.app { background: #FFFFFF; display: flex; flex-direction: column; }
.app .img { aspect-ratio: 16 / 10; background: var(--bg-3) center / cover no-repeat; }
.app .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.app .tag { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.app h3 { font-family: var(--head); font-weight: 600; font-size: 26px; line-height: 1.1; text-transform: uppercase; margin-bottom: 10px; }
.app p { margin: 0 0 18px; color: var(--muted); }
.app .used { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13.5px; }
.app .used a { font-weight: 600; }
.app .num { font-family: var(--head); font-weight: 600; font-size: 44px; line-height: 1; color: var(--brand); margin-bottom: 14px; }
.app.plain { box-shadow: inset 0 3px 0 var(--brand); }

/* ---- About split ---- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about .img { aspect-ratio: 4 / 3; background: var(--bg-3) center / cover no-repeat; }
.about h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 44px; line-height: 1; margin-bottom: 20px; }
.about p { margin: 0 0 16px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); margin: 28px 0; }
.stats div { padding: 16px 0 16px 18px; border-left: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.stats div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font-family: var(--head); font-weight: 600; font-size: 36px; line-height: 1.05; color: var(--primary); }

/* ---- Values (about page) ---- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: #FFFFFF; padding: 28px 26px 30px; box-shadow: inset 0 3px 0 var(--brand); }
.value h3 { font-family: var(--head); font-weight: 600; font-size: 26px; text-transform: uppercase; line-height: 1.1; margin-bottom: 10px; }
.value p { margin: 0; color: var(--muted); }

/* ---- Downloads ---- */
.docs { width: 100%; border-collapse: collapse; background: #FFFFFF; }
.docs th {
    text-align: left;
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--primary);
    padding: 12px 18px;
}
.docs th:first-child { color: var(--brand); }
.docs td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.docs tr:hover td { background: #FAFAFA; }
.docs td.fit { width: 1%; white-space: nowrap; }
.docs .file { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.docs .file svg { width: 22px; height: 22px; flex: none; }

/* ---- CTA band (brand yellow) ---- */
.cta { background: var(--brand); color: var(--primary); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 40px; line-height: 1; color: var(--primary); margin-bottom: 8px; }
.cta p { margin: 0; color: #3A3A3A; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-line:hover { background: var(--primary); color: #FFFFFF; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 0 0 28px; padding: 0; border-top: 3px solid var(--brand); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; background: var(--bg-3); }
/* Map placeholder: Google Maps loads only after the visitor clicks (no request / cookie before that) */
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    padding: 28px; text-align: center; border: 1px solid var(--line); }
.map-consent p { margin: 0; max-width: 380px; font-size: 13.5px; color: var(--muted); }
.map-consent .btn { cursor: pointer; }

/* ---- Legal pages (KVKK, cookies) ---- */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 26px; line-height: 1.1; margin: 36px 0 12px; }
.legal-doc p, .legal-doc li { color: var(--text); }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; font-size: 14px; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-doc th { background: var(--bg-2); font-weight: 600; }
.legal-doc .updated { color: var(--muted); font-size: 13.5px; }
.footer .legal a { color: #A0A0A0; }
.form .kvkk-note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }
.form { background: var(--bg-2); padding: 32px; }
.form h2 { font-family: var(--head); font-weight: 600; font-size: 32px; text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.form .note { color: var(--muted); font-size: 13.5px; margin: 0 0 22px; }
.form .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--primary); }
.field input,
.field textarea {
    font: inherit;
    color: var(--text);
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 11px 13px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--primary); box-shadow: inset 0 -3px 0 var(--brand); }

/* ---- Footer ---- */
.footer { background: var(--deep); color: #A0A0A0; font-size: 14px; border-top: 3px solid var(--brand); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 56px; padding-bottom: 44px; }
.footer .logo { height: 28px; width: auto; margin-bottom: 18px; }
.footer h4 { font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brand); }
.footer .legal { border-top: 1px solid #262626; }
.footer .legal .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 12.5px; color: #707070; }

/* ---- Product page ---- */
.crumbs { background: var(--bg-2); border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.crumbs .wrap { padding-top: 12px; padding-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs i { font-style: normal; margin: 0 10px; color: #A0A0A0; }

.pd { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding: 40px 0 64px; }
.pd .stage { background: var(--bg-2); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.pd .stage svg { width: 72%; height: auto; }
.pd .stage { position: relative; }
.pd .stage img { position: absolute; inset: 5%; width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.pd .stage-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.pd .thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.pd .thumbs button { background: var(--bg-2); border: 1px solid transparent; aspect-ratio: 4 / 3; cursor: pointer; padding: 8px; font-size: 11.5px; color: var(--muted); font-family: var(--body); }
.pd .thumbs button.on { border-color: var(--primary); }
.pd .thumbs button img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd .family { color: var(--muted); font-size: 14px; }
.pd h1 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 60px; line-height: .95; margin: 6px 0 14px; }
.pd .lead { font-size: 16.5px; margin: 0 0 24px; }
.variant { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.variant label { border: 1px solid var(--line); padding: 12px 14px; cursor: pointer; font-size: 13px; color: var(--muted); }
.variant label:hover { border-color: #A0A0A0; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant label:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.variant b { display: block; font-family: var(--head); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--primary); line-height: 1.1; }
.variant label:has(input:checked) { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.keyspecs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 26px; border-top: 1px solid var(--line); }
.keyspecs td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.keyspecs td:first-child { color: var(--muted); width: 38%; padding-right: 14px; }
.pd .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pd .code { margin-top: 16px; font-size: 13px; color: var(--muted); }

.tabs { position: sticky; top: 76px; z-index: 40; background: var(--primary); }
.tabs .wrap { display: flex; overflow-x: auto; }
.tabs a {
    font-family: var(--head);
    font-weight: 500;
    font-size: 17px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #CFCFCF;
    text-decoration: none;
    padding: 14px 22px;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.tabs a:hover { color: #FFFFFF; }
.tabs a.active { color: #FFFFFF; border-bottom-color: var(--brand); }

.block { padding: 64px 0; border-bottom: 1px solid var(--line-soft); scroll-margin-top: 140px; }
.block:last-child { border-bottom: 0; }
.block h2 { font-family: var(--head); font-weight: 600; text-transform: uppercase; font-size: 36px; line-height: 1; margin-bottom: 26px; }
.block .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.block p { margin: 0 0 14px; }
.block h3 { font-family: var(--head); font-weight: 600; font-size: 22px; text-transform: uppercase; margin: 0 0 8px; }
.feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feat li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line-soft); position: relative; }
.feat li::before { content: ''; position: absolute; left: 0; top: 21px; width: 14px; height: 3px; background: var(--brand); }
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uses > div { background: var(--bg-2); padding: 24px; box-shadow: inset 0 3px 0 var(--brand); }
.uses p { margin: 0; color: var(--muted); }

.spec-wrap { overflow-x: auto; }
.spec { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; }
.spec thead th {
    text-align: left;
    background: var(--primary);
    color: #FFFFFF;
    font-family: var(--head);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 12px 16px;
}
.spec thead th:first-child { color: var(--brand); }
.spec td { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.spec td:first-child { color: var(--muted); width: 30%; }
.spec tr.grp td {
    background: var(--bg-2);
    color: var(--primary);
    font-family: var(--head);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: inset 3px 0 0 var(--brand);
}
.spec tbody tr:not(.grp):hover td { background: #FAFAFA; }
.spec-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related .pcard .name { font-size: 24px; min-height: 0; border-right: 0; padding-right: 0; }
.related .pcard .meta { grid-template-columns: 1fr; gap: 6px; }

/* ---- Horizontal rail (home: products and solutions) ---- */
.pgrid.rail, .apps.rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.apps.rail { grid-auto-columns: calc((100% - 48px) / 3); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.sec-tools { display: flex; align-items: center; gap: 10px; }
.sec-tools .link-arrow { margin-right: 14px; }
.rail-btn {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--primary); background: transparent; color: var(--primary);
    font-size: 24px; line-height: 1; cursor: pointer;
    transition: background .15s, color .15s;
}
.rail-btn:hover:not(:disabled) { background: var(--primary); color: #FFFFFF; }
.rail-btn:disabled { opacity: .3; cursor: default; }

/* ---- Hero badges (domestic design / production) ---- */
.hero .badges { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #CFCFCF; font-size: 14.5px; }
.hero .badges li { display: flex; align-items: center; gap: 10px; }
.hero .badges li::before { content: ''; width: 8px; height: 8px; background: var(--brand); }

/* ---- Dark band: "Neden ROMİOT?" ---- */
.section.dark { background: var(--deep); color: #FFFFFF; }
.section.dark .sec-head h2 { color: #FFFFFF; }
.section.dark .sec-head .kicker { color: #9A9A9A; }
.section.dark .link-arrow { color: #FFFFFF; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why > div { background: #161616; padding: 28px 26px 30px; box-shadow: inset 0 3px 0 var(--brand); }
.why h3 { font-family: var(--head); font-weight: 600; font-size: 24px; line-height: 1.1; text-transform: uppercase; color: #FFFFFF; margin-bottom: 10px; }
.why p { margin: 0; color: #BDBDBD; }

/* ---- Localization page ---- */
.values.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section:not(.grey) .value { background: var(--bg-2); }
.value .num { font-family: var(--head); font-weight: 600; font-size: 44px; line-height: 1; color: var(--brand); margin-bottom: 14px; }
.case { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.case .facts { background: var(--bg-2); padding: 28px 28px 30px; box-shadow: inset 0 3px 0 var(--brand); }
.section.grey .case .facts { background: #FFFFFF; }
.case .facts h3 { font-family: var(--head); font-weight: 600; font-size: 24px; text-transform: uppercase; margin-bottom: 12px; }

/* ---- Reference logos ---- */
.logos {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
    background: var(--line-soft); border: 1px solid var(--line-soft);
}
.logos li { background: #FFFFFF; height: 128px; display: flex; align-items: center; justify-content: center; padding: 20px 28px; }
.logos img { max-width: 100%; max-height: 64px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.logos img.tall { max-height: 84px; }   /* square / portrait logos */
.logos li:hover img { filter: none; opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer .cols { grid-template-columns: 1fr 1fr; }
    .why, .values.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pgrid.rail { grid-auto-columns: calc((100% - 20px) / 2); }
    .apps.rail { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 900px) {
    .nav {
        display: none;
        position: absolute; top: 76px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: #FFFFFF; border-bottom: 1px solid var(--line);
    }
    .nav.open { display: flex; }
    .nav a { line-height: 52px; padding: 0 32px; border-bottom: 1px solid var(--line-soft); border-left: 3px solid transparent; }
    .nav a.active { border-bottom-color: var(--line-soft); border-left-color: var(--brand); }
    .menu-toggle { display: block; }
    .header .btn { display: none; }
    .apps, .about, .pd, .block .two, .contact-grid, .values, .uses { grid-template-columns: minmax(0, 1fr); }
    .about, .pd, .contact-grid { gap: 32px; }
    .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .topbar .where { display: none; }
}
@media (max-width: 620px) {
    .wrap { padding: 0 16px; }
    .nav a { padding: 0 16px; }
    .hero { min-height: 540px; }
    .hero::before { background: linear-gradient(180deg, rgba(11,11,11,.75) 0%, rgba(11,11,11,.92) 100%); }
    .hero .wrap { padding-top: 48px; padding-bottom: 72px; }
    .section { padding: 64px 0; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .sec-head h2, .about h2 { font-size: 36px; }
    .pgrid, .related { grid-template-columns: minmax(0, 1fr); }
    .pgrid.rail, .apps.rail { grid-auto-columns: 86%; }
    .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .why, .values.four { grid-template-columns: minmax(0, 1fr); }
    .logos li { height: 104px; padding: 16px 20px; }
    .pcard .name { font-size: 26px; }
    .stats b { font-size: 28px; }
    .pd h1 { font-size: 44px; }
    .form { padding: 22px 18px; }
    .form .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .footer .cols { grid-template-columns: minmax(0, 1fr); }
    .footer .legal .wrap { flex-direction: column; gap: 4px; }
    .docs .hide-sm { display: none; }
    .cta h2 { font-size: 32px; }
}
