/* ==========================================================================
   Servis70 — ortak tasarım sistemi
   Üç site (VAG / PSA / Şanzıman) aynı dosyayı kullanır; yalnızca --accent
   ailesi değişir. İmza öğe: logodaki sağa yükselen eğik bant (--slant).
   ========================================================================== */

:root {
    /* Logo kökenli sabitler */
    --ink: #2D2C2A;          /* logo antrasiti */
    --ink-2: #3B3A37;
    --paper: #EEF0EF;        /* soğuk atölye beyazı */
    --white: #FFFFFF;
    --red: #D9141C;          /* yalnızca eylem: ara / randevu */
    --red-hover: #B30F16;
    --steel: #5B636C;        /* ikincil metin (paper üzerinde 5.3:1) */
    --line: #CDD2D6;
    --line-strong: #9AA2AA;

    /* Site kimliği — PSA */
    --accent: #0D4F57;
    --accent-hover: #093C42;
    --accent-soft: #D4E7E9;
    --accent-ink: #FFFFFF;
    --accent-rgb: 13 79 87;          /* --accent ile aynı, rgb() içinde kullanılır */
    --accent-light: #86BEC4;         /* koyu zeminde vurgu: adım numaraları, ikonlar */
    --on-accent-muted: #D3E6E8;      /* accent zemin üzerindeki ikincil metin */

    --wa: #1E8F45;
    --focus: #FFB000;

    /* Tipografi — tek aile, genişlik ekseniyle karakter */
    --font: "Archivo", "Arial Narrow", system-ui, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-md: 1.25rem;
    --fs-lg: 1.5625rem;
    --fs-xl: clamp(1.75rem, 3.2vw, 2.25rem);
    --fs-2xl: clamp(2.1rem, 4.4vw, 3.1rem);
    --fs-hero: clamp(2.5rem, 6.6vw, 5.4rem);

    --wrap: 1200px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --space: clamp(3rem, 7vw, 5.5rem);
    --slant: clamp(26px, 5vw, 78px);
    --radius: 3px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    font-stretch: 100%;
    font-optical-sizing: auto;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
main:focus { outline: none; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--ink); color: #fff; padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--steel); }

/* ---------- Başlıklar ---------- */
.h2 {
    font-size: var(--fs-2xl);
    font-stretch: 68%;
    font-weight: 800;
    letter-spacing: -.005em;
    margin-bottom: .55em;
}
.h3 {
    font-size: var(--fs-lg);
    font-stretch: 75%;
    font-weight: 750;
    margin: 1.6em 0 .6em;
}
.h3:first-child { margin-top: 0; }
.h3 a { color: inherit; text-decoration: none; }
.h3 a:hover { color: var(--accent); }

.section { padding-block: var(--space); }
.section--compact { padding-block: calc(var(--space) * .5); }
.section--tint { background: var(--white); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { display: grid; gap: .25rem 3rem; margin-bottom: 2rem; }
.section-head .h2 { margin: 0; }
.section-head__text { color: var(--steel); margin: 0; max-width: 46ch; }
@media (min-width: 900px) {
    .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 46px; padding: .6rem 1.15rem;
    border: 2px solid transparent; border-radius: var(--radius);
    font-weight: 700; font-size: var(--fs-sm); line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 52px; padding: .75rem 1.4rem; font-size: var(--fs-base); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.link-more { display: inline-block; margin-top: 1rem; font-weight: 700; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 76px; flex-wrap: wrap; }
.site-header__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; padding-block: .5rem; }
.site-header__logo img { width: 64px; height: auto; }
.site-header__name { display: grid; line-height: 1.1; }
.site-header__brand { font-size: 1.45rem; font-weight: 850; font-stretch: 62%; letter-spacing: .01em; }
.site-header__tag { font-size: var(--fs-xs); color: var(--steel); }

.nav-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    border: 1.5px solid var(--line-strong); background: none; border-radius: var(--radius);
    padding: .5rem .8rem; font-weight: 700; cursor: pointer;
}
.site-nav { display: none; width: 100%; padding-bottom: 1rem; }
.site-nav.is-open { display: grid; gap: .75rem; }
.site-nav__list { list-style: none; display: grid; }
.site-nav__link {
    display: block; padding: .7rem 0; color: var(--ink); text-decoration: none;
    font-weight: 700; border-bottom: 1px solid var(--line);
}
.site-nav__link[aria-current="page"] { color: var(--accent); }

/* Açılır menüler — mobilde akordeon */
.site-nav__row { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); }
.site-nav__row .site-nav__link { flex: 1; border-bottom: 0; }
.site-nav__sub-toggle {
    display: grid; place-items: center; width: 44px; border: 0; background: none;
    color: var(--steel); cursor: pointer; border-radius: var(--radius);
}
.site-nav__sub-toggle .icon { transform: rotate(90deg); transition: transform .2s ease; }
.has-sub.is-open .site-nav__sub-toggle .icon { transform: rotate(-90deg); }
.subnav { display: none; }
.has-sub.is-open > .subnav { display: block; }
.subnav ul { list-style: none; }
.subnav a { color: var(--ink); text-decoration: none; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--accent); }
.subnav--brands, .subnav--services { padding: .4rem 0 .9rem .9rem; border-left: 3px solid var(--accent); margin-top: .5rem; }
.subnav__brands li a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem 0; }
.subnav__name { font-weight: 700; }
.subnav__meta { font-size: var(--fs-xs); color: var(--steel); }
.subnav__all { display: inline-block; margin-top: .5rem; font-weight: 700; font-size: var(--fs-sm); color: var(--accent) !important; }
.subnav--services .wrap { padding: 0; }
.subnav__cats { display: grid; gap: 1rem; }
.subnav__cat-title {
    display: block; font-weight: 850; font-stretch: 62%; font-size: 1.15rem; letter-spacing: .01em;
    padding-bottom: .3rem; margin-bottom: .3rem; border-bottom: 1px solid var(--line);
}
.subnav__cat li a { display: block; padding: .3rem 0; font-size: var(--fs-sm); line-height: 1.3; }
.subnav__aside { display: grid; gap: .6rem; justify-items: start; margin-top: 1rem; }
.subnav__aside p { font-size: var(--fs-sm); color: var(--steel); margin: 0; }

.site-search { display: flex; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.site-search input { border: 0; padding: .55rem .7rem; min-width: 0; flex: 1; background: none; }
.site-search button { border: 0; background: none; padding: 0 .75rem; cursor: pointer; color: var(--steel); }

@media (min-width: 1020px) {
    .nav-toggle { display: none; }
    .site-header__inner { flex-wrap: nowrap; }
    .site-nav { display: flex; align-items: center; gap: 1.25rem; width: auto; padding: 0; }
    .site-nav__list { display: flex; gap: 1.4rem; }
    .site-nav__link { border: 0; padding: .4rem 0; position: relative; }
    .site-nav__link[aria-current="page"]::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
        background: var(--red); transform: skewX(-20deg);
    }
    .site-search { width: 190px; }

    /* Açılır menüler — masaüstü */
    .site-header__inner { align-items: stretch; }
    .site-header__logo, .nav-toggle, .site-search, .site-nav__call { align-self: center; }
    .site-nav { align-self: stretch; }
    .site-nav__list { align-self: stretch; }
    .site-nav__item { display: flex; align-items: center; position: relative; }
    .site-nav__item.has-sub--services { position: static; }
    .site-nav__row { border: 0; align-items: center; gap: .15rem; }
    .site-nav__sub-toggle { width: 22px; height: 28px; }
    .site-nav__sub-toggle .icon { width: 14px; height: 14px; }

    .subnav {
        position: absolute; top: 100%; z-index: 30; margin: 0; border-left: 0;
        background: var(--white); border-top: 3px solid var(--accent);
        box-shadow: 0 18px 40px -18px rgba(var(--accent-rgb), .45);
    }
    .has-sub.is-open > .subnav { display: block; }
    @media (hover: hover) {
        .has-sub:hover > .subnav { display: block; }
        .has-sub:hover .site-nav__sub-toggle .icon { transform: rotate(-90deg); }
    }
    .subnav--brands { left: -1rem; min-width: 290px; padding: .6rem 1rem 1rem; }
    .subnav__brands li + li { border-top: 1px solid var(--line); }
    .subnav__brands li a { padding: .6rem 0; }

    .subnav--services { left: 0; right: 0; padding: 1.6rem 0 1.8rem; border-bottom: 1px solid var(--line); }
    .subnav--services .wrap { padding-inline: var(--gutter); }
    .subnav__inner { display: grid; grid-template-columns: 1fr 230px; gap: 2.5rem; }
    .subnav__cats { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
    .subnav__aside {
        margin: 0; align-content: start; padding-left: 2rem; border-left: 1px solid var(--line);
    }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: .8rem; font-size: var(--fs-xs); color: var(--steel); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.breadcrumb a { color: var(--steel); }

/* ---------- İmza: eğik bant + kırmızı şerit ---------- */
.stripe {
    --t: 12px;
    height: calc(var(--slant) + var(--t));
    background: var(--red);
    clip-path: polygon(0 var(--slant), 100% 0, 100% var(--t), 0 calc(var(--slant) + var(--t)));
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding-top: clamp(150px, 24vw, 330px); }
.hero__photo {
    position: absolute; inset: 0 0 auto 0; z-index: -1;
    height: calc(clamp(150px, 24vw, 330px) + var(--slant) + 4px);
    background: var(--ink);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: grayscale(.25) contrast(1.05) brightness(.82); }
.hero__band {
    background: var(--accent);
    color: #fff;
    clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%);
    padding-block: calc(var(--slant) + 1.75rem) calc(var(--slant) + 1.5rem);
}
.hero__title {
    font-size: var(--fs-hero);
    font-stretch: 62%;
    font-weight: 850;
    line-height: .94;
    letter-spacing: -.01em;
    max-width: 15.5em;
    text-wrap: balance;
}
.hero__lead { font-size: var(--fs-md); max-width: 44ch; margin: 1.1rem 0 1.6rem; color: var(--on-accent-muted); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.stripe--hero { margin-top: calc(-1 * var(--slant) + 10px); }
.hero__picker { position: relative; z-index: 3; margin-top: 1.25rem; }

/* Tek yükleme anı: şerit soldan sağa çizilir */
@media (prefers-reduced-motion: no-preference) {
    .stripe--hero { transform-origin: left center; animation: stripe-in .7s .15s cubic-bezier(.2, .7, .2, 1) both; }
    @keyframes stripe-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Araç seçici ---------- */
.picker { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--accent); padding: 1.1rem 1.25rem 1.25rem; }
.picker__title { font-weight: 800; font-stretch: 75%; font-size: var(--fs-md); margin: 0 0 .6rem; }
.picker__fields { display: grid; gap: .75rem; }
.picker__submit { align-self: end; min-height: 48px; }
@media (min-width: 760px) {
    .picker__fields { grid-template-columns: 1fr 1fr auto; align-items: end; }
}

/* ---------- Form alanları ---------- */
.field { display: grid; gap: .35rem; margin-bottom: 1.1rem; align-content: start; }
.picker .field { margin: 0; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field__opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem .8rem; min-height: 48px;
    background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__hint { font-size: var(--fs-xs); color: var(--steel); margin: 0; }
.field__error { font-size: var(--fs-sm); color: var(--red); font-weight: 700; margin: 0; }
.field--short { max-width: 260px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .2rem .7rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; accent-color: var(--accent); }
.field--check label { font-weight: 400; }
.field--check .field__error { grid-column: 2; }
.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Marka dizini (tipografik liste) ---------- */
.brand-index { list-style: none; display: grid; gap: 0 3rem; }
@media (min-width: 820px) { .brand-index { grid-template-columns: 1fr 1fr; } }
.brand-index__item {
    display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; align-items: baseline;
    padding: 1rem 0 1.15rem; border-top: 2px solid var(--ink);
    color: var(--ink); text-decoration: none;
}
.brand-index__name {
    font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-stretch: 62%; font-weight: 850; line-height: 1;
    transition: color .15s;
}
.brand-index__count { font-size: var(--fs-sm); color: var(--steel); font-variant-numeric: tabular-nums; }
.brand-index__models { grid-column: 1 / -1; color: var(--steel); font-size: var(--fs-sm); }
.brand-index__item:hover { color: var(--ink); }
.brand-index__item:hover .brand-index__name { color: var(--accent); }

/* ---------- Öne çıkan hizmetler ---------- */
.featured { display: grid; gap: 2rem; }
@media (min-width: 900px) { .featured { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }
.featured__lead { display: grid; background: var(--accent); color: #fff; text-decoration: none; align-self: start; }
.featured__lead img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.featured__lead-body { display: grid; gap: .6rem; padding: 1.5rem 1.5rem 1.75rem; }
.featured__lead-name { font-size: var(--fs-xl); font-stretch: 68%; font-weight: 800; line-height: 1.05; }
.featured__lead-desc { color: var(--on-accent-muted); }
.featured__lead-more { font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.featured__lead:hover { color: #fff; background: var(--accent-hover); }
.featured__grid { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .featured__grid { grid-template-columns: 1fr 1fr; } }
.featured__grid .service-tile__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.featured__grid .service-tile__media { aspect-ratio: 16 / 9; }

/* ---------- Hizmet satırları ---------- */
.service-list { display: grid; }
.service-list--cols { gap: 0 2.5rem; }
@media (min-width: 900px) { .service-list--cols { grid-template-columns: 1fr 1fr; } }
.service-row {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start;
    padding: 1.05rem 0; border-bottom: 1px solid var(--line);
    color: var(--ink); text-decoration: none;
}
.service-row__icon { width: 30px; height: 30px; color: var(--accent); margin-top: .1rem; }
.service-row__body { display: grid; gap: .2rem; }
.service-row__name { font-weight: 750; font-size: var(--fs-md); font-stretch: 85%; line-height: 1.2; }
.service-row__desc { color: var(--steel); font-size: var(--fs-sm); line-height: 1.5; }
.service-row__chev { color: var(--line-strong); margin-top: .35rem; transition: transform .15s, color .15s; }
.service-row:hover { color: var(--ink); }
.service-row:hover .service-row__name { color: var(--accent); }
.service-row:hover .service-row__chev { color: var(--accent); transform: translateX(3px); }

/* ---------- Neden biz ---------- */
.why { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1.6fr; align-items: start; } }
.why__figure { margin: 1.5rem 0 0; position: relative; }
.why__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.why__figure::after {
    content: ""; position: absolute; left: -10px; right: 30%; bottom: -10px; height: 10px;
    background: var(--red); transform: skewX(-30deg);
}
@media (min-width: 900px) { .why__list { padding-top: .5rem; } }
.why__list { display: grid; gap: 2rem 3rem; margin: 0; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; } }
.why__item dt { font-weight: 800; font-size: var(--fs-md); font-stretch: 80%; margin-bottom: .35rem; }
.why__item dt::before {
    content: ""; display: block; width: 34px; height: 6px; background: var(--red);
    transform: skewX(-25deg); margin-bottom: .7rem;
}
.why__item dd { margin: 0; color: var(--steel); }

/* ---------- Süreç (gerçek bir sıra) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.75rem; margin-top: 1rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.steps__item { counter-increment: step; display: grid; gap: .3rem; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 1rem; }
.steps__item::before {
    content: counter(step);
    font-size: 3.4rem; font-stretch: 62%; font-weight: 850; line-height: 1;
    color: var(--accent-light);
}
.steps__title { font-weight: 800; font-size: var(--fs-md); font-stretch: 80%; }
.steps__text { color: #C9CDD1; font-size: var(--fs-sm); }

/* ---------- SSS ---------- */
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
    list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; position: relative;
    font-weight: 700; font-size: var(--fs-md); font-stretch: 88%; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; position: absolute; right: .3rem; top: 1.45rem; width: 14px; height: 14px;
    background:
        linear-gradient(var(--accent), var(--accent)) center / 14px 2.5px no-repeat,
        linear-gradient(var(--accent), var(--accent)) center / 2.5px 14px no-repeat;
    transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--steel); max-width: 68ch; padding-bottom: .5rem; }

/* ---------- CTA bandı ---------- */
.cta-band {
    background: var(--accent); color: #fff;
    clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
    padding-block: calc(var(--slant) + 2.25rem) 2.75rem;
    margin-top: var(--space);
}
.section + .cta-band, .faq + .cta-band { margin-top: 0; }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 980px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band__title { font-size: var(--fs-xl); font-stretch: 68%; font-weight: 800; margin-bottom: .4rem; }
.cta-band__copy p { color: var(--on-accent-muted); margin: 0; max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Sayfa başlığı ---------- */
.page-head {
    --s: clamp(18px, 3.2vw, 46px);
    background: var(--accent); color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s)), 0 100%);
    padding-block: clamp(2rem, 5vw, 3.25rem) calc(var(--s) + clamp(1.75rem, 4vw, 2.75rem));
}
.page-head__title {
    font-size: var(--fs-2xl); font-stretch: 62%; font-weight: 850; line-height: 1;
    max-width: 22em; text-wrap: balance;
}
.page-head__lead { margin: 1rem 0 0; max-width: 62ch; color: var(--on-accent-muted); font-size: var(--fs-md); line-height: 1.5; }
.stripe--page { --slant: clamp(18px, 3.2vw, 46px); --t: 8px; margin-top: calc(-1 * var(--slant) + 8px); }

/* ---------- Model kartları ---------- */
.model-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.model-card {
    display: grid; gap: .35rem; align-content: start;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: var(--white); padding: 1rem 1.1rem 1.15rem;
    color: var(--ink); text-decoration: none; min-height: 118px;
}
.model-card__name { font-size: 1.5rem; font-stretch: 68%; font-weight: 800; line-height: 1.05; }
.model-card__brand { font-weight: 600; color: var(--steel); }
.model-card__years { color: var(--steel); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.model-card__codes { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.model-card:hover { background: var(--accent-soft); color: var(--ink); }
.model-card:hover .model-card__name { color: var(--accent); }

/* Kasa kodu "plakası" */
.code {
    display: inline-block; padding: .05rem .4rem;
    border: 1.5px solid var(--ink); border-radius: 2px;
    font-size: var(--fs-xs); font-weight: 750; font-stretch: 85%; letter-spacing: .02em;
    background: var(--paper); line-height: 1.5; white-space: nowrap;
}
.code--lg { font-size: var(--fs-sm); padding: .1rem .5rem; }

/* ---------- Model özet bloğu ---------- */
.spec { display: grid; gap: 2rem 3rem; }
@media (min-width: 900px) { .spec { grid-template-columns: 1.1fr 1fr 1fr; } }
.spec__title { font-size: var(--fs-md); font-stretch: 80%; font-weight: 800; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.spec__note { font-size: var(--fs-sm); color: var(--steel); margin-top: .9rem; }
.gen-table { width: 100%; font-size: var(--fs-sm); }
.gen-table th { text-align: left; font-weight: 600; color: var(--steel); padding: 0 0 .4rem; font-size: var(--fs-xs); }
.gen-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.gen-table .num { font-variant-numeric: tabular-nums; }
.vin-note {
    grid-column: 1 / -1; margin: 0; padding: .9rem 1.1rem;
    border-left: 4px solid var(--red); background: var(--white); font-size: var(--fs-sm);
}

.platform-group + .platform-group { margin-top: 2rem; }
.platform-group__head { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: baseline; margin: 1rem 0 .8rem; color: var(--steel); font-size: var(--fs-sm); max-width: 90ch; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    padding: .3rem .65rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); font-size: var(--fs-sm); font-weight: 600;
}
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-hover); }

/* ---------- Anahtar kelime etiketleri ---------- */
.tags { padding-block: 1.5rem; }
.tags__title { font-size: var(--fs-sm); font-weight: 700; color: var(--steel); margin-bottom: .7rem; }
.tags__list { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.tags__list a {
    display: inline-block; padding: .25rem .6rem; font-size: var(--fs-xs);
    border: 1px solid var(--line); border-radius: 99px; color: var(--steel); text-decoration: none; background: var(--white);
}
.tags__list a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Makale düzeni (hizmet sayfaları) ---------- */
.article-layout { display: grid; gap: 2.5rem 4rem; padding-block: var(--space) calc(var(--space) * .6); }
@media (min-width: 960px) { .article-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.article p { max-width: 68ch; }
.checklist { list-style: none; display: grid; gap: .55rem; margin-bottom: 1rem; }
.checklist li { position: relative; padding-left: 1.6rem; max-width: 64ch; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 5px;
    background: var(--red); transform: skewX(-25deg);
}
.process { counter-reset: p; list-style: none; display: grid; gap: .1rem; margin-bottom: 1.5rem; }
.process li {
    counter-increment: p; display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem;
    padding: .6rem 0; border-bottom: 1px solid var(--line); max-width: 64ch;
}
.process li::before {
    content: counter(p); font-weight: 850; font-stretch: 62%; font-size: 1.6rem; line-height: 1; color: var(--accent);
}
.note { font-size: var(--fs-sm); color: var(--steel); border-left: 4px solid var(--line-strong); padding-left: 1rem; }
.note--legal { border-color: var(--red); margin-top: 2rem; }

.aside { align-self: start; background: var(--white); border-top: 4px solid var(--accent); padding: 1.5rem; }
@media (min-width: 960px) { .aside { position: sticky; top: 1rem; } }
.aside__more { margin-top: 1rem; font-weight: 700; }
.link-list { list-style: none; display: grid; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: .5rem 0; font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list--inline { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.link-list--inline li { border: 0; }
.link-list--inline a { padding: .15rem 0; }

.model-columns { display: grid; gap: 2rem 3rem; }
@media (min-width: 760px) { .model-columns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .model-columns { grid-template-columns: repeat(3, 1fr); } }
.model-columns__brand { font-size: var(--fs-lg); font-stretch: 68%; font-weight: 800; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.model-columns__brand a { color: inherit; text-decoration: none; }

/* ---------- Görselli hizmet kartı ---------- */
.service-tile {
    display: grid; grid-template-rows: auto 1fr; background: var(--white);
    border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden;
}
.service-tile__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.service-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-tile__icon {
    position: absolute; left: 0; bottom: 0; width: 44px; height: 40px; padding: 9px 12px 9px 10px;
    background: var(--accent); color: #fff;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.service-tile__body { display: grid; gap: .3rem; align-content: start; padding: 1rem 1.1rem 1.2rem; }
.service-tile__name { font-weight: 800; font-size: var(--fs-md); font-stretch: 80%; line-height: 1.15; }
.service-tile__desc { color: var(--steel); font-size: var(--fs-sm); line-height: 1.5; }
.service-tile:hover { color: var(--ink); border-color: var(--accent); }
.service-tile:hover .service-tile__name { color: var(--accent); }
.service-tile:hover .service-tile__media img { transform: scale(1.04); }

.tile-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ---------- Ana sayfa: kategori şeridi (tam genişlik) ---------- */
.cat-strip {
    list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
    margin-bottom: 1rem;
}
@media (min-width: 700px) { .cat-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cat-strip { grid-template-columns: repeat(6, 1fr); } }
.cat-strip__item { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--ink); color: #fff; text-decoration: none; }
@media (min-width: 700px) and (max-width: 1099px) { .cat-strip__item { aspect-ratio: 4 / 3; } }
.cat-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s; opacity: .85; }
.cat-strip__item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(23, 26, 30, .92) 0%, rgba(23, 26, 30, .25) 55%, rgba(23, 26, 30, 0) 100%);
}
.cat-strip__label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: .1rem; padding: 1rem 1.1rem 1.15rem; }
.cat-strip__name { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 62%; font-weight: 850; line-height: 1; }
.cat-strip__name::after { content: ""; display: block; width: 30px; height: 5px; margin-top: .55rem; background: var(--red); transform: skewX(-25deg); }
.cat-strip__count { font-size: var(--fs-xs); color: #D5D8DB; order: 3; }
.cat-strip__item:hover { color: #fff; }
.cat-strip__item:hover img { transform: scale(1.05); opacity: 1; }

/* ---------- Ana sayfa: süreç bandı fotoğrafı ---------- */
.process-band { position: relative; isolation: isolate; overflow: hidden; }
.process-band__photo { position: absolute; inset: 0; z-index: -1; }
.process-band__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .18; filter: grayscale(1); }

/* ---------- Hizmetler sayfası ---------- */
.cat-nav { padding-top: 2rem; }
.cat-nav ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (min-width: 900px) { .cat-nav ul { grid-template-columns: repeat(6, 1fr); } }
.cat-nav__item { display: grid; gap: .45rem; color: var(--ink); text-decoration: none; font-weight: 750; font-size: var(--fs-sm); line-height: 1.2; }
.cat-nav__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 4px solid var(--accent); }
.cat-nav__item:hover { color: var(--accent); }
.cat-nav__item:hover img { border-color: var(--red); }

.category { scroll-margin-top: 1rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.category__hero {
    --s: clamp(14px, 2.4vw, 34px);
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(220px, 26vw, 330px); display: flex; align-items: flex-end;
    background: var(--ink); color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--s)), 0 100%);
}
.category__hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.category__hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, rgb(var(--accent-rgb) / .95) 0%, rgb(var(--accent-rgb) / .78) 38%, rgb(var(--accent-rgb) / .1) 75%);
}
.category__head { padding-block: 2rem calc(var(--s) + 1.6rem); }
.category__title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-stretch: 62%; font-weight: 850; line-height: .95; }
.category__text { margin: .7rem 0 0; max-width: 46ch; color: var(--on-accent-muted); font-size: var(--fs-md); line-height: 1.45; }
.category__body { padding-top: 1.75rem; }

.article__figure { margin: 0 0 1.75rem; }
.article__figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-bottom: 5px solid var(--red); }

/* ---------- Arama ---------- */
.search-form { display: flex; gap: .5rem; margin-bottom: 1rem; }
.search-form input {
    flex: 1; min-width: 0; min-height: 52px; padding: .7rem .9rem;
    border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: #fff;
}
.empty { padding: 1rem 1.1rem; background: var(--white); border-left: 4px solid var(--red); }

/* ---------- Randevu ---------- */
.form-layout { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.form-main { scroll-margin-top: 1rem; }
.alert { padding: 1.25rem 1.4rem; margin-bottom: 1.5rem; background: var(--white); border-left: 6px solid; }
.alert--ok { border-color: var(--wa); }
.alert--error { border-color: var(--red); }
.alert__title { font-weight: 800; font-size: var(--fs-md); margin: 0 0 .4rem; }
.alert ul { padding-left: 1.2rem; }

/* ---------- İletişim ---------- */
.contact-card { background: var(--white); border-top: 4px solid var(--accent); padding: 1.5rem; }
.contact-card__list { display: grid; gap: 1.25rem; margin: 0; }
.contact-card__list > div > dt { display: flex; gap: .5rem; align-items: center; font-weight: 700; color: var(--steel); font-size: var(--fs-sm); margin-bottom: .2rem; }
.contact-card__list > div > dd { margin: 0; }
.contact-card__big { font-size: var(--fs-xl); font-stretch: 68%; font-weight: 850; text-decoration: none; color: var(--ink); }
.hours { margin: 0; display: grid; gap: .15rem; font-size: var(--fs-sm); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; max-width: 300px; }
.hours dt { font-weight: 400; color: inherit; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.contact { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.5fr; } }
.map {
    min-height: 360px; background: var(--ink-2) url("../img/atolye-fren.jpg") center / cover;
    background-blend-mode: multiply; display: grid; place-content: center; gap: 1rem;
    text-align: center; padding: 2rem; color: #fff;
}
.map__note { max-width: 40ch; margin: 0 auto; font-size: var(--fs-sm); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.map.is-loaded { padding: 0; display: block; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.about__text > p:first-child { font-size: var(--fs-md); line-height: 1.5; }
.about__figure { margin: 0; display: grid; gap: 1rem; align-content: start; }
.about__figure img:last-child { width: 72%; justify-self: end; margin-top: -3rem; border: 6px solid var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D5D8DB; font-size: var(--fs-sm); padding-bottom: 5rem; }
.stripe--footer { --t: 10px; transform: translateY(-1px); }
.site-footer__grid { display: grid; gap: 2rem 3rem; padding-block: 2.5rem 2rem; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.3fr 1.3fr 1fr 1.1fr; } }
.site-footer__about img { background: #fff; padding: 8px; border-radius: var(--radius); margin-bottom: 1rem; width: 120px; }
.site-footer__title { font-size: var(--fs-md); font-stretch: 75%; font-weight: 800; color: #fff; margin: 0 0 .75rem; }
.site-footer__title:not(:first-child) { margin-top: 1.5rem; }
.site-footer__list { list-style: none; display: grid; gap: .45rem; margin-bottom: 1rem; }
.site-footer__list li { display: flex; gap: .55rem; align-items: flex-start; }
.site-footer__list .icon { margin-top: .2rem; color: var(--accent-light); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.hours--footer { color: #D5D8DB; }
.site-footer__legal { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; color: #A9AEB3; font-size: var(--fs-xs); }
.site-footer__disclaimer { max-width: 90ch; }
@media (min-width: 800px) { .site-footer { padding-bottom: 1rem; } }

/* ---------- Mobil hızlı çubuk + WhatsApp ---------- */
.quickbar {
    position: fixed; inset: auto 0 0 0; z-index: 50;
    display: grid; grid-template-columns: 1fr 1fr;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .15);
}
.quickbar__btn {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 58px; font-weight: 800; color: #fff; text-decoration: none;
    padding-bottom: env(safe-area-inset-bottom);
}
.quickbar__btn--call { background: var(--red); }
.quickbar__btn--wa { background: var(--wa); }
.quickbar__btn:hover { color: #fff; }
.wa-float { display: none; }
@media (min-width: 800px) {
    .quickbar { display: none; }
    .wa-float {
        display: grid; place-items: center; position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
        width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    }
    .wa-float .icon { width: 30px; height: 30px; }
    .wa-float:hover { color: #fff; background: #187538; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .quickbar, .wa-float, .cta-band, .stripe, .site-footer { display: none; }
    .page-head, .hero__band { clip-path: none; background: none; color: #000; }
}

/* ---------- Servisimiz (/servis) ---------- */
.workshop + .workshop { padding-top: 0; }
.workshop__head { display: grid; gap: .5rem 3rem; margin-bottom: 1.5rem; }
.workshop__head p { margin: 0; color: var(--steel); max-width: 62ch; }
.workshop__grid { display: grid; gap: 1rem; }
.workshop__item { margin: 0; display: grid; gap: .5rem; align-content: start; }
.workshop__item img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--accent-soft); }
.workshop__item figcaption {
    font-size: var(--fs-sm); font-weight: 700; padding-left: .7rem;
    border-left: 3px solid var(--red);
}
.workshop__visit {
    display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
    margin-top: 1.75rem; padding: 1.1rem 1.25rem; background: var(--white);
    border-left: 4px solid var(--accent);
}
.workshop__visit .link-more { margin: 0; }
.workshop__address { display: flex; align-items: center; gap: .5rem; margin: 0 auto 0 0; font-weight: 700; }
.workshop__address .icon { color: var(--accent); flex: none; }

@media (min-width: 760px) {
    .workshop__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: end; }
    .workshop__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .workshop__item--lead { grid-row: span 2; }
    .workshop__item--lead img { aspect-ratio: auto; min-height: 100%; }
    .workshop__item--lead { grid-template-rows: 1fr auto; }
    /* İç mekânda büyük fotoğraf sağda */
    .workshop--ic .workshop__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
    .workshop--ic .workshop__item--lead { grid-column: 2; grid-row: 1 / span 2; }
}

/* Header: menu kalabaliklasinca satir kirilmasin */
.site-header__tag, .site-nav__call, .site-nav__link { white-space: nowrap; }
@media (min-width: 1020px) {
    .site-nav { gap: 1rem; }
    .site-nav__list { gap: 1.1rem; }
    .site-search { width: 170px; }
}
@media (min-width: 1020px) and (max-width: 1279px) {
    .site-header__tag { display: none; }
    .site-search { width: 130px; }
    .site-nav__list { gap: .85rem; }
}

/* ---------- Marka logoları (hero + Markalar menüsü) ---------- */
.hero-logos {
    list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end;
    gap: .9rem clamp(1.25rem, 3vw, 2.4rem); margin: 0 0 clamp(1.25rem, 2.6vw, 1.9rem);
}
.hero-logos li { display: flex; }
.hero-logos__item {
    display: grid; justify-items: center; gap: .45rem; color: #fff; text-decoration: none;
    opacity: .92; transition: opacity .15s, transform .15s;
}
.hero-logos__svg { height: clamp(30px, 3.4vw, 44px); width: auto; max-width: 72px; display: block; }
.hero-logos__name { font-size: var(--fs-xs); font-weight: 650; color: var(--on-accent-muted); letter-spacing: .01em; }
.hero-logos__item:hover { color: #fff; opacity: 1; transform: translateY(-2px); }
.hero-logos li + li { position: relative; }
.hero-logos li + li::before {
    content: ""; position: absolute; left: calc(-1 * clamp(.625rem, 1.5vw, 1.2rem)); top: 15%; bottom: 15%;
    width: 1px; background: rgba(255, 255, 255, .22);
}
.hero__independent { margin: 1.1rem 0 0; font-size: var(--fs-xs); color: var(--on-accent-muted); max-width: 70ch; opacity: .85; }

.subnav__brands li a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: .75rem; }
.subnav__logo { display: grid; place-items: center; width: 34px; height: 30px; color: var(--ink); }
.subnav__svg { max-width: 30px; max-height: 26px; width: auto; height: 26px; }
.subnav__brands li a:hover .subnav__logo { color: var(--accent); }
@media (min-width: 1020px) { .subnav--brands { min-width: 340px; } }

/* Marka dizini: ad yaninda logo */
.brand-index__name { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1rem); }
.brand-index__logo { display: grid; place-items: center; flex: none; width: clamp(2.2rem, 4.4vw, 3.1rem); height: clamp(2.2rem, 4.4vw, 3.1rem); }
.brand-index__svg { width: 100%; height: 100%; }

/* Marka x hizmet: model tablosu */
.table-scroll { overflow-x: auto; margin: .5rem 0 1rem; }
.bs-table { min-width: 0; width: 100%; }
.bs-table th[scope="row"] { text-align: left; font-weight: 700; padding-right: 1rem; white-space: nowrap; }
.bs-table td { padding-right: 1rem; vertical-align: top; }
.bs-table th[scope="col"] { padding-right: 1rem; }
