@import "site-header.css";

/* Ümit Otomotiv — kurumsal site + rehber */

:root {
    --bg: #0c1118;
    --bg-elevated: #141c28;
    --surface: #1a2433;
    --text: #e8edf4;
    --muted: #94a3b8;
    --accent: #c45c26;
    --accent-soft: rgba(196, 92, 38, 0.15);
    --line: rgba(255, 255, 255, 0.08);
    --radius: 12px;
    --font: "DM Sans", system-ui, sans-serif;
    --font-display: "Outfit", var(--font);
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero */

.hero {
    position: relative;
    padding: clamp(4rem, 12vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(59, 130, 246, 0.08), transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, #0e1520 100%);
    pointer-events: none;
}

/* Anasayfa: arama bölümü hero — galeri fotoğrafı */
.hero--home .hero-bg {
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 92, 38, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 80%, rgba(59, 130, 246, 0.07), transparent 50%),
        linear-gradient(180deg, rgba(12, 17, 24, 0.42) 0%, rgba(12, 17, 24, 0.72) 100%),
        url("../../images/slider.png") center / cover no-repeat;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    position: relative;
    max-width: 640px;
}

.hero--compact {
    padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(3rem, 8vw, 4.5rem);
}

.hero--compact .hero-lead {
    margin-bottom: 0;
}

.hero--compact .hero-actions {
    margin-top: 1.25rem;
}

/* Blog: beyaz üst bant (menü + hero girişi) */
body.page-blog .hero.hero--compact {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.page-blog .hero.hero--compact .hero-bg {
    display: none;
}

body.page-blog .hero.hero--compact h1 {
    color: #0f172a;
}

body.page-blog .hero.hero--compact .hero-lead {
    color: #475569;
}

body.page-blog .hero.hero--compact .eyebrow {
    color: var(--accent);
}

.eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.hero h1 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.hero h1.hero-slogan {
    margin-bottom: 1rem;
    max-width: min(36rem, 100%);
    line-height: 1.2;
}

.hero-seo-lead {
    margin: 0 0 1.65rem;
    font-size: 1rem;
    line-height: 1.58;
    color: var(--muted);
    max-width: min(40rem, 100%);
}

.hero-lead {
    margin: 0 0 2rem;
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-content--wide {
    max-width: min(560px, 100%);
}

.hero-actions--trade {
    margin-bottom: 0.25rem;
}

.hero-search {
    margin-top: 1.25rem;
    padding: 0.65rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-search--compact {
    padding: 0.55rem 0.65rem 0.6rem;
}

.hero-search__compact-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 0.5rem;
}

.hero-search__label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
}

.hero-search--compact .hero-search__label--q {
    flex: 1 1 55%;
    min-width: 0;
}

.hero-search--compact .hero-search__label:not(.hero-search__label--q) {
    flex: 0 1 38%;
    max-width: 200px;
}

.hero-search__more {
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}

.hero-search__more a {
    font-weight: 600;
    color: var(--accent);
}

.hero-search__more-hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

@media (max-width: 520px) {
    .hero-search__compact-row {
        flex-wrap: wrap;
    }

    .hero-search--compact .hero-search__label--q {
        flex: 1 1 100%;
    }

    .hero-search--compact .hero-search__label:not(.hero-search__label--q) {
        flex: 1 1 45%;
        max-width: none;
    }

    .hero-search--compact .hero-search__submit {
        flex: 1 1 auto;
        min-width: 5rem;
    }
}

.hero-search__label-text {
    letter-spacing: 0.02em;
}

.hero-search select,
.hero-search input[type="search"],
.hero-search input[type="text"] {
    width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
}

.hero-search--compact select,
.hero-search--compact input[type="search"] {
    padding: 0.4rem 0.55rem;
    font-size: 0.85rem;
}

.hero-search select {
    cursor: pointer;
}

.hero-search input[type="search"]::placeholder,
.hero-search input[type="text"]::placeholder {
    color: var(--muted);
}

.hero-search select:focus,
.hero-search input[type="search"]:focus,
.hero-search input[type="text"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-search__submit {
    flex: 0 0 auto;
    align-self: flex-end;
}

.hero-search--compact .hero-search__submit {
    padding: 0.4rem 0.85rem;
    min-height: 2.15rem;
    font-size: 0.82rem;
}

.hero-corporate-links {
    margin: 1.25rem 0 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-corporate-links a {
    color: var(--accent);
    font-weight: 500;
}

.hero-corporate-links a:hover {
    color: #e07a45;
}

.hero-corporate-sep {
    margin: 0 0.35rem;
    color: var(--line);
    user-select: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #d66a32;
    color: #fff;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--muted);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.btn--sm {
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    min-height: 2.4rem;
}

/* Sections */

.section {
    padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-alt {
    background: var(--bg-elevated);
    border-block: 1px solid var(--line);
}

.section-title {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-intro {
    margin: 0 0 2rem;
    color: var(--muted);
    max-width: 560px;
}

.section-cta {
    margin: 1.5rem 0 0;
}

.prose-page {
    max-width: 640px;
}

.prose-page .section-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.prose {
    margin: 0 0 1rem;
    color: var(--muted);
}

.prose:last-child {
    margin-bottom: 0;
}

/* Açık zemin için logo (images/logos/logo.png) */
.about-light-logo {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    background: #f1f5f9;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.about-light-logo img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.about-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--surface);
    height: 350px;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Neden bizi — ikonlu vurgu bandı */
.section-why-us {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 80% at 50% 0%, rgba(196, 92, 38, 0.12), transparent 55%),
        linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
    border-block: 1px solid var(--line);
}

.section-why-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40h40V0' fill='none' stroke='%23ffffff' stroke-opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.9;
}

.why-us-header {
    position: relative;
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.why-us-intro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.why-us-grid {
    position: relative;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.why-us-card {
    position: relative;
    padding: 1.5rem 1.35rem;
    border-radius: calc(var(--radius) + 2px);
    background: linear-gradient(155deg, rgba(26, 36, 51, 0.95) 0%, rgba(17, 24, 35, 0.98) 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.why-us-card:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 92, 38, 0.35);
    box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(196, 92, 38, 0.12);
}

.why-us-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--accent);
    background: linear-gradient(145deg, rgba(196, 92, 38, 0.22), rgba(196, 92, 38, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.why-us-icon svg {
    flex-shrink: 0;
}

.why-us-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.3;
}

.why-us-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .why-us-card {
        transition: none;
    }

    .why-us-card:hover {
        transform: none;
    }
}

.grid-2 {
    display: grid;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 800px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Cards */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.stat-card {
    align-self: stretch;
}

.stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.stat-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.stat-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.stat-list strong {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--accent);
}

.stat-list span {
    font-size: 0.9rem;
    color: var(--muted);
}

.cards {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.service-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.service-card h3 a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.bullet-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .bullet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bullet-grid li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--muted);
}

.bullet-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

/* Contact */

.section-contact {
    padding-bottom: clamp(4rem, 10vw, 6rem);
}

.contact-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 1.25rem;
}

.contact-list .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-list a {
    color: var(--text);
}

.contact-list a:hover {
    color: var(--accent);
}

.form-card {
    position: relative;
}

/* Bot tuzak alanı — görünmez; doldurulursa gönderim reddedilir */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-card label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
}

.form-card input,
.form-card textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.form-card input:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.req {
    color: var(--accent);
}

.form-msg {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.form-msg-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.form-msg-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.form-card select,
.form-card input[type="number"] {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
}

.form-card select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

.form-card select:focus,
.form-card input[type="number"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-card input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.form-card input[type="file"]::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.form-card input[type="file"]::file-selector-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Araç değerleme — ilanlar sayfası kabuğu + açık form teması */

body.page-degerleme {
    --bg: var(--ilan-bg, #f3f1ee);
    --bg-elevated: var(--ilan-surface, #ffffff);
    --surface: var(--ilan-surface, #ffffff);
    --text: var(--ilan-text, #1a1a1a);
    --muted: var(--ilan-muted, #5c5c5c);
    --line: var(--ilan-border, #e2dfda);
    --accent-soft: rgba(196, 92, 38, 0.12);
    --shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.degerleme-main {
    padding-bottom: 2.5rem;
}

.degerleme-main .wrap--wide {
    max-width: 1400px;
}

body.page-degerleme .btn-ghost:hover {
    color: var(--text);
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.18);
}

body.page-degerleme .form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

body.page-degerleme .form-msg-success {
    background: rgba(22, 163, 74, 0.1);
    border-color: rgba(22, 163, 74, 0.28);
    color: #166534;
}

body.page-degerleme .form-msg-error {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #b91c1c;
}

body.page-degerleme .degerleme-crumb {
    background: rgba(196, 92, 38, 0.08);
    border-color: rgba(196, 92, 38, 0.2);
}

body.page-degerleme .degerleme-crumb__cap,
body.page-degerleme .degerleme-crumb__sep {
    color: var(--accent);
}

body.page-degerleme .degerleme-wizard__status.is-error,
body.page-degerleme .durum-satir--danger .durum-satir__label svg {
    color: #dc2626;
}

body.page-degerleme .degerleme-fiyat {
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(196, 92, 38, 0.1), transparent 55%),
        #ffffff;
}

body.page-degerleme .degerleme-fiyat__track {
    background: rgba(15, 23, 42, 0.08);
}

body.page-degerleme .degerleme-wait__backdrop {
    background: rgba(15, 23, 42, 0.45);
}

body.page-degerleme .degerleme-wait__card {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 92, 38, 0.1), transparent 58%),
        #ffffff;
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.22);
}

body.page-degerleme .degerleme-wait__eyebrow {
    color: var(--accent);
}

body.page-degerleme .degerleme-wait__scan {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(196, 92, 38, 0.08) 30%,
        rgba(196, 92, 38, 0.45) 50%,
        rgba(196, 92, 38, 0.08) 70%,
        transparent
    );
    box-shadow: 0 0 16px rgba(196, 92, 38, 0.28);
}

body.page-degerleme .degerleme-wait__bar {
    background: rgba(15, 23, 42, 0.08);
}

.section-degerleme-form {
    padding-bottom: 0;
}

.section-degerleme-form--wide {
    padding-top: 0;
}

.wrap--wide {
    max-width: 1400px;
}

.form-card--degerleme-full {
    width: 100%;
    max-width: none;
}

body.page-degerleme .form-card--degerleme-full {
    border-radius: var(--ilan-radius, var(--radius));
    box-shadow: var(--ilan-shadow, var(--shadow));
}

/* Eski layout (geriye dönük) */
.degerleme-layout {
    display: block;
}

.degerleme-sidebar {
    display: none;
}

.degerleme-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 960px) {
    .degerleme-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        gap: 2.5rem;
    }
}

.section-title--sm {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.degerleme-steps {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.degerleme-steps li {
    margin-bottom: 0.5rem;
}

/* İlerlemeli değerleme formu */

.degerleme-wizard__nav {
    margin: 0 0 1.35rem;
}

.degerleme-wizard__progress-text {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.degerleme-wizard__hint--counter {
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.degerleme-wizard__hint--warn {
    margin-top: -0.5rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(220, 38, 38, 0.25);
    background: rgba(220, 38, 38, 0.06);
    color: #b91c1c;
    font-size: 0.85rem;
}

.soru-cevap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0 0 0.5rem;
}

.soru-cevap__btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    padding: 1rem 0.85rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.soru-cevap__btn:hover,
.soru-cevap__btn:focus-visible {
    border-color: var(--accent);
    outline: none;
}

.soru-cevap__btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.soru-alan {
    display: block;
    margin: 0;
}

.soru-alan input,
.soru-alan textarea {
    width: 100%;
    margin-top: 0.35rem;
}

.degerleme-block-msg {
    margin: 0.85rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
    font-size: 0.88rem;
    line-height: 1.45;
}

.degerleme-block-msg[hidden] {
    display: none !important;
}

.ekspertiz-tek {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.ekspertiz-tek__btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.85rem 0.65rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ekspertiz-tek__btn:hover,
.ekspertiz-tek__btn:focus-visible {
    outline: none;
    border-color: var(--accent);
}

.ekspertiz-tek__btn--orijinal.is-active {
    background: rgba(22, 163, 74, 0.18);
    border-color: #16a34a;
    color: #86efac;
}

.ekspertiz-tek__btn--lokal.is-active {
    background: rgba(217, 119, 6, 0.18);
    border-color: #d97706;
    color: #fcd34d;
}

.ekspertiz-tek__btn--boyalı.is-active,
.ekspertiz-tek__btn--boyali.is-active {
    background: rgba(220, 38, 38, 0.18);
    border-color: #dc2626;
    color: #fca5a5;
}

.ekspertiz-tek__btn--degisen.is-active {
    background: rgba(79, 70, 229, 0.18);
    border-color: #4f46e5;
    color: #c4b5fd;
}

@media (max-width: 480px) {
    .soru-cevap,
    .ekspertiz-tek {
        grid-template-columns: 1fr;
    }
}

.degerleme-wizard__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.degerleme-wizard__steps--7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.25rem;
}

.degerleme-wizard__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.degerleme-wizard__steps--7 .degerleme-wizard__label {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.degerleme-wizard__steps--7 .degerleme-wizard__num {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.75rem;
}

@media (max-width: 640px) {
    .degerleme-wizard__steps--7 .degerleme-wizard__label {
        display: none;
    }

    .degerleme-wizard__steps--7 .degerleme-wizard__step.is-active .degerleme-wizard__label {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 100%;
        margin-top: 0.35rem;
        white-space: nowrap;
    }

    .degerleme-wizard__steps--7 {
        position: relative;
        margin-bottom: 1.4rem;
    }
}

.degerleme-wizard__empty {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.degerleme-wizard__num {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 0.85rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.degerleme-wizard__step.is-active .degerleme-wizard__num,
.degerleme-wizard__step.is-done .degerleme-wizard__num {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.degerleme-wizard__step.is-active .degerleme-wizard__label {
    color: var(--text);
}

.degerleme-wizard__bar {
    margin-top: 0.85rem;
    height: 3px;
    border-radius: 999px;
    background: var(--line);
    overflow: hidden;
}

.degerleme-wizard__bar-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #e07a45);
    transition: width 0.35s ease;
}

.degerleme-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.25rem;
    margin: 0 0 1.15rem;
    padding: 0.7rem 0.85rem;
    background: rgba(196, 92, 38, 0.16);
    border: 1px solid rgba(243, 196, 168, 0.28);
    border-radius: var(--radius);
}

.degerleme-crumb[hidden] {
    display: none !important;
}

.degerleme-crumb__cap {
    flex: 0 0 auto;
    margin: 0 0.35rem 0 0;
    color: #f3c4a8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.degerleme-crumb__item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    max-width: 100%;
}

.degerleme-crumb__btn {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.3;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    cursor: pointer;
    max-width: 14rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.degerleme-crumb__btn:hover,
.degerleme-crumb__btn:focus-visible {
    border-color: var(--accent);
    color: #fff;
    outline: none;
}

.degerleme-crumb__sep {
    color: #f3c4a8;
    font-size: 0.85rem;
    padding: 0 0.05rem;
    user-select: none;
    opacity: 0.85;
}

.degerleme-wizard__panel {
    animation: degerleme-panel-in 0.28s ease-out;
}

.degerleme-wizard__panel[hidden] {
    display: none !important;
}

.degerleme-wizard__title {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 650;
}

.degerleme-wizard__hint {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.degerleme-wizard__status {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.degerleme-wizard__status.is-error {
    color: #f87171;
}

.degerleme-wizard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.degerleme-wizard__actions .btn {
    min-width: 7.5rem;
}

.degerleme-wizard__actions .btn-primary {
    margin-left: auto;
}

@keyframes degerleme-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .degerleme-wizard__panel,
    .degerleme-wizard__bar-fill,
    .degerleme-wizard__num {
        transition: none;
        animation: none;
    }
}

.prose--compact {
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0;
}

.form-card--degerleme {
    max-width: none;
    width: 100%;
}

.form-row--3 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .form-row--3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ── Kategori kartları ── */
.kategori-kartlar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 520px) {
    .kategori-kartlar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.kategori-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 0.75rem 1rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.kategori-kart:hover {
    border-color: var(--accent);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

.kategori-kart.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.kategori-kart__ikon {
    width: 5.4rem;
    height: 3.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kategori-kart__ikon svg,
.kategori-kart__ikon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.kategori-kart__label {
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.01em;
}

/* ── Ticari alt kategori kartları ── */
.ticari-alt-kartlar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .ticari-alt-kartlar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ticari-alt-kart {
    padding: 0.75rem 0.5rem;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.ticari-alt-kart:hover {
    border-color: var(--accent);
    color: var(--text);
}

.ticari-alt-kart.is-active {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 8%, var(--surface));
    color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

/* ── Araç durumu bölümü ── */
.durum-bolumu {
    margin: 1.5rem 0 1rem;
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--surface) 80%, var(--line));
}

.durum-bolumu__baslik {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
}

.durum-satir-grup {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
}

.durum-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
}

.durum-satir:last-child {
    border-bottom: none;
}

.durum-satir__label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.durum-satir__label svg {
    flex-shrink: 0;
    color: var(--muted);
}

.durum-satir--danger .durum-satir__label svg {
    color: #f87171;
}

/* Toggle butonları (Var / Yok) */
.durum-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.durum-toggle__btn {
    padding: 0.35rem 0.85rem;
    border: none;
    background: var(--surface);
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.durum-toggle__btn + .durum-toggle__btn {
    border-left: 1px solid var(--line);
}

.durum-toggle__btn.is-active {
    background: var(--accent);
    color: #fff;
}

.durum-toggle__btn.is-active.is-danger {
    background: #ef4444;
}

.durum-toggle__btn.is-active.is-warn {
    background: #f59e0b;
}

.tramer-tutar-alani {
    padding: 0.5rem 0 0.75rem;
    border-bottom: 1px solid var(--line);
}

.tramer-tutar-alani.is-hidden {
    display: none;
}

.durum-alt-alan {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.88rem;
}

/* ── Hasar bölge kartları (eski) ── */
.hasar-bolge-grup {
    margin-bottom: 1rem;
}

.hasar-bolge-grup__baslik {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
}

.hasar-bolge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.55rem;
}

@media (max-width: 480px) {
    .hasar-bolge-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hasar-kart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.4rem 0.55rem;
    border: 2px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    user-select: none;
}

.hasar-kart:hover {
    border-color: #f59e0b;
}

.hasar-kart.is-checked {
    border-color: #f59e0b;
    background: color-mix(in srgb, #f59e0b 10%, var(--surface));
}

.hasar-kart__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.hasar-kart__ikon {
    width: 48px;
    height: 28px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hasar-kart.is-checked .hasar-kart__ikon {
    color: #f59e0b;
}

.hasar-kart__ikon svg {
    width: 100%;
    height: 100%;
}

.hasar-kart__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    line-height: 1.2;
}

.hasar-kart.is-checked .hasar-kart__label {
    color: #f59e0b;
}

/* ── Ekspertiz (parça bazlı) ── */
.ekspertiz-bolum {
    margin-top: 1.25rem;
}

.ekspertiz-bolum__baslik {
    margin: 0 0 0.35rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
}

.ekspertiz-bolum__hint {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.ekspertiz-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.ekspertiz-legend__item {
    font-size: 0.7rem;
    font-weight: 650;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid var(--line);
}

.ekspertiz-legend__item--orijinal {
    background: color-mix(in srgb, #22c55e 14%, var(--surface));
    color: #16a34a;
    border-color: color-mix(in srgb, #22c55e 35%, var(--line));
}

.ekspertiz-legend__item--lokal {
    background: color-mix(in srgb, #f59e0b 14%, var(--surface));
    color: #d97706;
    border-color: color-mix(in srgb, #f59e0b 35%, var(--line));
}

.ekspertiz-legend__item--boyalı {
    background: color-mix(in srgb, #ef4444 12%, var(--surface));
    color: #dc2626;
    border-color: color-mix(in srgb, #ef4444 35%, var(--line));
}

.ekspertiz-legend__item--degisen {
    background: color-mix(in srgb, #6366f1 14%, var(--surface));
    color: #4f46e5;
    border-color: color-mix(in srgb, #6366f1 35%, var(--line));
}

.ekspertiz-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

@media (min-width: 720px) {
    .ekspertiz-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .ekspertiz-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.ekspertiz-parca {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.ekspertiz-parca__ad {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--text);
}

.ekspertiz-parca__ops {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem;
}

.ekspertiz-op {
    appearance: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 650;
    line-height: 1.15;
    padding: 0.4rem 0.15rem;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ekspertiz-op:hover {
    border-color: var(--accent);
    color: var(--text);
}

.ekspertiz-op--orijinal.is-active {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.ekspertiz-op--lokal.is-active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #fff;
}

.ekspertiz-op--boyalı.is-active {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.ekspertiz-op--degisen.is-active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

/* Kompakt ekspertiz tablosu (tek adım) */
.ekspertiz-kompakt {
    margin: 0 0 0.5rem;
}

.ekspertiz-kompakt__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.ekspertiz-legend--inline {
    margin-bottom: 0;
    gap: 0.35rem;
}

.ekspertiz-legend--inline .ekspertiz-legend__item {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
}

.btn--xs {
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    min-width: auto;
}

.ekspertiz-tablo {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: min(52vh, 22rem);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.ekspertiz-tablo__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    border-bottom: 1px solid var(--line);
}

.ekspertiz-tablo__row:last-child {
    border-bottom: none;
}

.ekspertiz-tablo__row.is-hasarli {
    background: color-mix(in srgb, var(--accent) 6%, var(--surface));
}

.ekspertiz-tablo__row.is-hasarli .ekspertiz-tablo__ad {
    color: var(--text);
    font-weight: 700;
}

.ekspertiz-tablo__ad {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.25;
}

.ekspertiz-tablo__ops {
    display: flex;
    flex-shrink: 0;
    gap: 0.25rem;
}

.ekspertiz-tablo__ops .ekspertiz-op {
    width: 2rem;
    height: 2rem;
    padding: 0;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .ekspertiz-kompakt__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ekspertiz-tablo__row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        padding: 0.55rem 0.65rem;
    }

    .ekspertiz-tablo__ops {
        justify-content: flex-end;
    }
}

.form-fieldset {
    margin: 0 0 1.5rem;
    padding: 0 0 1.25rem;
    border: none;
    border-bottom: 1px solid var(--line);
}

.form-fieldset:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-legend {
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 0;
}

.form-row--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 520px) {
    .form-row--2 {
        grid-template-columns: 1fr 1fr;
    }
}

.form-row label {
    margin-bottom: 0;
}

.form-hint {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.85rem;
}

.form-file-help {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.45;
}

.degerleme-sonuc {
    margin: 0 0 1.25rem;
    padding: 0.5rem 0 0.25rem;
}

.degerleme-sonuc__eyebrow {
    margin: 0 0 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
}

.degerleme-fiyat {
    margin: 0 0 1rem;
    padding: 1.35rem 1.15rem 1.15rem;
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgba(196, 92, 38, 0.16), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%),
        var(--surface);
    border: 1px solid var(--line);
}

.degerleme-fiyat__ends {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.degerleme-fiyat__end {
    min-width: 0;
}

.degerleme-fiyat__end--max {
    text-align: right;
}

.degerleme-fiyat__lbl {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.degerleme-fiyat__val {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 3.2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

.degerleme-fiyat__track {
    position: relative;
    height: 0.55rem;
    margin: 0 0.35rem 2.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: visible;
}

.degerleme-fiyat__fill {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(196, 92, 38, 0.35), var(--accent) 50%, rgba(196, 92, 38, 0.35));
    animation: degerleme-fill-in 0.7s ease-out both;
}

.degerleme-fiyat__marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: degerleme-marker-in 0.55s ease-out 0.15s both;
}

.degerleme-fiyat__marker-dot {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--text);
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(196, 92, 38, 0.22), 0 8px 18px rgba(0, 0, 0, 0.35);
}

.degerleme-fiyat__marker-tip {
    position: absolute;
    left: 50%;
    top: calc(100% + 0.65rem);
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.degerleme-fiyat__marker-tip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--accent);
}

.degerleme-fiyat__orta-lbl {
    margin: 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

.degerleme-sonuc__disclaimer {
    margin: 0;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
    text-align: center;
}

.degerleme-sonuc__ozet {
    margin: 0.85rem 0 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text);
    text-align: left;
}

.degerleme-sonuc__mesaj {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text);
    text-align: center;
    background: rgba(34, 139, 34, 0.08);
    border: 1px solid rgba(34, 139, 34, 0.2);
    border-radius: 10px;
}

.degerleme-sonuc__iletisim {
    margin: 1.1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    text-align: left;
}

.degerleme-sonuc__iletisim-baslik {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.degerleme-sonuc__iletisim .contact-list {
    margin: 0;
}

@keyframes degerleme-fill-in {
    from {
        opacity: 0;
        transform: scaleX(0.2);
        transform-origin: center;
    }
    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: center;
    }
}

@keyframes degerleme-marker-in {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 420px) {
    .degerleme-fiyat__val {
        font-size: 1.05rem;
    }

    .degerleme-fiyat__marker-tip {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
}

/* Değerleme bekleme katmanı */

body.is-degerleme-wait {
    overflow: hidden;
}

.degerleme-wait {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.degerleme-wait[hidden] {
    display: none !important;
}

.degerleme-wait__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 18, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.degerleme-wait__card {
    position: relative;
    width: min(100%, 26rem);
    margin: auto;
    padding: 1.45rem 1.45rem 1.25rem;
    border-radius: calc(var(--radius) + 4px);
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 92, 38, 0.2), transparent 58%),
        linear-gradient(180deg, #1c2738 0%, var(--surface) 100%);
    border: 1px solid rgba(243, 196, 168, 0.18);
    box-shadow: var(--shadow);
    text-align: center;
    animation: degerleme-wait-in 0.35s ease-out both;
}

.degerleme-wait__scene {
    position: relative;
    width: 9.2rem;
    height: 6.6rem;
    margin: 0 auto 0.7rem;
    overflow: hidden;
}

.degerleme-wait__ring,
.degerleme-wait__ring--2 {
    position: absolute;
    left: 50%;
    top: 58%;
    width: 7.4rem;
    height: 7.4rem;
    margin: -3.7rem 0 0 -3.7rem;
    border-radius: 50%;
    border: 1px solid rgba(196, 92, 38, 0.28);
    animation: degerleme-wait-ring 2.4s ease-out infinite;
}

.degerleme-wait__ring--2 {
    animation-delay: 1.2s;
}

.degerleme-wait__car {
    position: relative;
    z-index: 1;
    display: block;
    width: 7.4rem;
    height: auto;
    margin: -0.15rem auto 0;
    animation: degerleme-wait-bob 2.2s ease-in-out infinite;
}

.degerleme-wait__scan {
    position: absolute;
    top: 18%;
    bottom: 22%;
    left: 0;
    width: 2.4rem;
    z-index: 2;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(243, 196, 168, 0.08) 30%,
        rgba(243, 196, 168, 0.55) 50%,
        rgba(243, 196, 168, 0.08) 70%,
        transparent
    );
    box-shadow: 0 0 18px rgba(243, 196, 168, 0.35);
    animation: degerleme-wait-scan 2.4s ease-in-out infinite;
    pointer-events: none;
}

.degerleme-wait__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f3c4a8;
}

.degerleme-wait__title {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3.4vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.degerleme-wait__status {
    margin: 0 0 0.9rem;
    min-height: 1.5em;
    font-size: 0.95rem;
    color: var(--muted);
}

.degerleme-wait__bar {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.degerleme-wait__bar-fill {
    display: block;
    height: 100%;
    width: 28%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #e07a45, #f3c4a8);
    animation: degerleme-wait-bar 2s ease-in-out infinite;
}

.degerleme-wait__hint {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--muted);
}

.degerleme-wait__credit {
    margin: 0.7rem 0 0;
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--muted);
    opacity: 0.75;
}

.degerleme-wait__credit a {
    color: inherit;
}

@keyframes degerleme-wait-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes degerleme-wait-scan {
    0% {
        transform: translateX(-40%);
        opacity: 0.35;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(520%);
        opacity: 0.35;
    }
}

@keyframes degerleme-wait-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes degerleme-wait-ring {
    0% {
        transform: scale(0.72);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@keyframes degerleme-wait-bar {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(380%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .degerleme-wait__card,
    .degerleme-wait__car,
    .degerleme-wait__scan,
    .degerleme-wait__ring,
    .degerleme-wait__ring--2,
    .degerleme-wait__bar-fill {
        animation: none;
    }

    .degerleme-wait__bar-fill {
        width: 55%;
        transform: none;
    }
}

.form-checkbox input {
    width: auto;
    margin: 0.2rem 0 0;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.section-cta--tight {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
    background: var(--bg-elevated);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-brand p {
    margin: 0;
}

.footer-logo {
    display: block;
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.92;
}

.footer-inner a {
    color: var(--muted);
}

.footer-inner a:hover {
    color: var(--accent);
}

.footer-nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    text-align: right;
}

.footer-legal-block {
    width: 100%;
    max-width: 28rem;
}

.footer-legal-block__title {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-links--legal {
    gap: 0.65rem 1rem;
    font-size: 0.85rem;
}

@media (max-width: 720px) {
    .footer-nav-wrap {
        align-items: flex-start;
        text-align: left;
    }
}

.legal-footer-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    color: var(--muted, #94a3b8);
}

.legal-footer-strip a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-footer-strip a:hover {
    color: var(--accent, #c45c26);
}

.legal-footer-strip__sep {
    opacity: 0.55;
    user-select: none;
}

.legal-dl {
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-dl > div {
    margin: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.legal-dl > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-dl dt {
    margin: 0 0 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
}

.legal-dl dd {
    margin: 0;
    color: var(--text);
}

.prose-heading {
    margin: 2rem 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.prose-heading:first-child {
    margin-top: 0;
}

.prose-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: var(--muted);
}

.prose-list li {
    margin-bottom: 0.5rem;
}

.prose-note {
    font-size: 0.9rem;
    padding: 1rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.legal-code {
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

/* Blog / rehber */

.blog-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-card__date {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.blog-card__title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.blog-card__title a {
    color: var(--text);
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.blog-card__excerpt {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.blog-card__more {
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-article__inner {
    max-width: 720px;
}

.blog-breadcrumb {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.blog-breadcrumb a {
    color: var(--muted);
}

.blog-breadcrumb a:hover {
    color: var(--accent);
}

.prose-article {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.prose-article p {
    margin: 0 0 1rem;
}

.prose-article h2 {
    margin: 2rem 0 0.75rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.prose-article h2:first-child {
    margin-top: 0;
}

.blog-note {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg-elevated);
    font-size: 0.9rem;
    color: var(--muted);
}

.blog-back {
    margin: 2rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.blog-back a {
    font-weight: 600;
}

/* Ana sayfa: yerel anahtar kelime + sık sorulan sorular */

.section-faq .faq-intro {
    margin-bottom: 1.5rem;
}

.section-faq .faq-item {
    margin: 0 0 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.section-faq .faq-item:last-child {
    margin-bottom: 0;
}

.section-faq .faq-item summary {
    cursor: pointer;
    font-weight: 650;
    list-style-position: outside;
}

.section-faq .faq-item summary::-webkit-details-marker {
    cursor: pointer;
}

.section-faq .faq-item .faq-answer {
    margin: 0.65rem 0 0;
    padding-bottom: 0.1rem;
    font-size: 0.975rem;
    color: var(--muted);
}

.section-faq .faq-item .faq-answer strong {
    color: var(--text);
}

.section-faq .faq-item .faq-answer a {
    color: var(--accent);
    font-weight: 600;
}

/* -- Degerleme kayitlari paneli -- */
.section-degerleme-admin {
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.admin-login-card {
    max-width: 420px;
    margin: 0 auto;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-search {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.admin-search input {
    flex: 1;
}

.btn-sm {
    min-width: 0;
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.admin-table-wrap {
    overflow-x: auto;
    padding: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-table th {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.admin-table__sub {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.admin-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.admin-pager__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-pager__link.is-active,
.admin-pager__link:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.admin-detail {
    padding: 1.5rem;
}

.admin-detail__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.admin-detail__id {
    margin: 0 0 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-detail__head h2 {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.admin-detail__meta {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-detail__fiyat {
    text-align: right;
}

.admin-detail__fiyat-lbl {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.admin-detail__fiyat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent);
}

.admin-detail__fiyat-band {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.4rem;
}

.admin-badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-grid {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 800px) {
    .admin-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.admin-detail h3 {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.admin-dl {
    margin: 0;
    display: grid;
    gap: 0.55rem;
}

.admin-dl > div {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.admin-dl dt {
    margin: 0;
    color: var(--muted);
    font-weight: 500;
}

.admin-dl dd {
    margin: 0;
    color: var(--text);
}

.admin-ekspertiz {
    margin-bottom: 1.5rem;
}

.admin-ekspertiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
}

.admin-ekspertiz-item {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.8rem;
}

.admin-ekspertiz-item strong {
    font-size: 0.75rem;
}

.admin-ekspertiz-item--orijinal strong { color: #16a34a; }
.admin-ekspertiz-item--lokal strong { color: #d97706; }
.admin-ekspertiz-item--boyali strong { color: #dc2626; }
.admin-ekspertiz-item--degisen strong { color: #4f46e5; }

.admin-prose {
    margin: 0 0 1.25rem;
    color: var(--text);
    line-height: 1.55;
    font-size: 0.92rem;
}

.admin-kaynaklar {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.admin-kaynaklar a {
    color: var(--accent);
}

.admin-kaynaklar span {
    margin-left: 0.35rem;
}
