/* ARBEN AUTO — Müşteri portalı */
body { background: #f7f8fa; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Üst bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 54px; width: auto; object-fit: contain; display: block; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; }
.logo-mark .ico { width: 20px; height: 20px; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.logo-txt small { font-size: 11px; color: var(--muted); font-weight: 600; }
.topnav { display: flex; gap: 6px; margin: 0 auto; }
.topnav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--ink); }
.topnav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--green-50); color: var(--green); font-size: 12px; font-weight: 700; border: 1px solid #c9ead9; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); } }

main.wrap { padding-top: 28px; padding-bottom: 56px; }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; padding: 52px 24px 40px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--brand), #c97a1c, var(--brand)); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,122,28,.10), transparent); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand); font-size: 12px; font-weight: 700; }
.hero h1 { font-size: clamp(28px, 4.2vw, 42px); font-weight: 800; margin: 18px 0 14px; letter-spacing: -0.03em; }
.lead { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 15px; }
.plate-form { display: flex; justify-content: center; align-items: stretch; gap: 12px; margin: 30px auto 14px; max-width: 560px; }
.plate-input { flex: 1; display: flex; align-items: stretch; height: 58px; border: 2.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: #fff; cursor: text; transition: box-shadow .15s; }
.plate-input:focus-within { box-shadow: 0 0 0 4px var(--brand-100); }
.plate-eu { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 44px; background: var(--blue); color: #fff; line-height: 1; gap: 2px; }
.plate-eu i { font-style: normal; color: #ffd200; font-size: 7px; letter-spacing: 1px; }
.plate-eu b { font-size: 13px; font-weight: 800; }
.plate-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 16px; font-family: var(--mono); font-size: 24px; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; color: var(--ink); background: transparent; }
.plate-input input::placeholder { color: #c4c9d2; }
.plate-form .btn-lg { height: 58px; padding: 0 26px; }
.secure-note { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.secure-note .ico { color: var(--green); }
.form-msg { max-width: 560px; margin: 0 auto 6px; }

/* Sonuç */
#result:empty { display: none; }
#result { margin-top: 28px; scroll-margin-top: 80px; }
.verified { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); border-radius: var(--radius) var(--radius) 0 0; font-size: 13px; font-weight: 700; }
.verified .l { display: flex; align-items: center; gap: 8px; }
.verified .l .ico { color: var(--brand); }
.verified .r { color: var(--muted); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.veh-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; padding: 24px; align-items: center; }
.veh-title { display: flex; align-items: center; gap: 16px; }
.veh-title .ic-box { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.veh-title .ic-box .ico { width: 26px; height: 26px; }
.veh-title h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.veh-title p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.veh-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.veh-meta dt { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.veh-meta dd { margin: 4px 0 0; font-weight: 700; font-size: 13.5px; color: var(--ink); display: flex; align-items: center; gap: 5px; word-break: break-all; }
.veh-meta dd.km { color: var(--brand); font-family: var(--mono); }
.next-card { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #f8faff, #f3f6fc); padding: 20px; }
.next-card .h { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 800; }
.next-card .h span { display: flex; align-items: center; gap: 8px; }
.next-km { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 16px 0 4px; }
.next-km b { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.next-sub { font-size: 12px; color: var(--muted); font-weight: 600; }
.bar { height: 8px; border-radius: 99px; background: #e4e8ef; overflow: hidden; margin: 16px 0 8px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #d08a2a); transition: width .8s ease; }
.bar.warn i { background: linear-gradient(90deg, #dc6803, var(--red)); }
.bar-legend { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.next-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; height: 44px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13.5px; }
.next-call:hover { background: var(--ink-700); }
.active-banner { display: flex; align-items: center; gap: 10px; margin: 0 24px 24px; padding: 12px 16px; border-radius: 12px; background: var(--amber-50); border: 1px solid var(--amber-line); color: var(--amber); font-weight: 700; font-size: 13.5px; }

/* Zaman çizelgesi */
.tl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 44px 0 18px; }
.tl-head h2 { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.tl-head h2 .ico { color: var(--brand); width: 22px; height: 22px; }
.tl-head p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.tl-count { font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.timeline { position: relative; padding-left: 38px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 10px); }
.tl-item { position: relative; margin-bottom: 18px; }
.tl-dot { position: absolute; left: -38px; top: 20px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); color: var(--muted); }
.tl-dot .ico { width: 14px; height: 14px; }
.tl-item:first-child .tl-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.tl-card { padding: 20px 22px; }
.tl-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.tl-top h3 { font-size: 16px; font-weight: 800; }
.tl-top .km { font-family: var(--mono); font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); }
.tl-top .right { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 26px; }
.tl-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 8px; }
.tl-title { font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.tl-desc { color: #3b4250; font-size: 13.5px; line-height: 1.6; }
.tech { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.tech .ic-box { width: 34px; height: 34px; }
.tech small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.tech b { font-size: 13.5px; }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.part { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.part .ico { color: var(--brand); margin-top: 1px; }
.part b { display: block; font-size: 13px; color: var(--ink); }
.part small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.no-parts { padding: 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }

/* Bulunamadı */
.notfound { text-align: center; padding: 40px 24px; }
.notfound .ic-box { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; }
.notfound h3 { font-size: 19px; margin-bottom: 6px; }
.notfound p { color: var(--muted); max-width: 480px; margin: 0 auto; }

/* Nasıl çalışır */
.how { margin-top: 56px; scroll-margin-top: 80px; }
.sec-head { margin-bottom: 18px; }
.sec-head h2 { font-size: 22px; font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 4px; }
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.how-card { position: relative; padding: 24px; overflow: hidden; }
.how-card h3 { font-size: 16px; margin: 16px 0 6px; }
.how-card p { color: var(--muted); font-size: 13.5px; }
.how-n { position: absolute; right: 18px; top: 8px; font-size: 64px; font-weight: 800; color: var(--line-2); line-height: 1; }

/* İletişim & harita */
.contact { margin-top: 56px; scroll-margin-top: 80px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 18px; align-items: stretch; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.c-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; }
a.c-card:hover { border-color: var(--brand-100); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(138,75,8,.10); }
.c-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); flex: none; }
.c-ic .ico { width: 22px; height: 22px; }
.c-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-txt small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.c-txt b { font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 2px; line-height: 1.4; }
.c-txt em { font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.c-go { color: var(--muted-2); transition: color .15s, transform .15s; }
a.c-card:hover .c-go { color: var(--brand); transform: translateX(3px); }
.c-phone { background: linear-gradient(135deg, var(--brand), #a85d12); border-color: transparent; }
.c-phone .c-ic { background: rgba(255,255,255,.16); color: #fff; }
.c-phone .c-txt small, .c-phone .c-txt em { color: rgba(255,255,255,.75); }
.c-phone .c-txt b { color: #fff; font-family: var(--mono); font-size: 18px; letter-spacing: .02em; }
.c-phone .c-go, a.c-phone:hover .c-go { color: #fff; }
.c-wa .c-ic { background: #e7f8ee; color: #128c4a; }
.map-card { display: flex; flex-direction: column; overflow: hidden; min-height: 420px; }
.map-frame { position: relative; flex: 1; min-height: 340px; background: #eef1f5; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-switch { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; padding: 3px; gap: 2px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-switch button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.map-switch button.on { background: var(--ink); color: #fff; }
.map-load { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 13px; }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.map-addr { display: flex; align-items: center; gap: 12px; min-width: 0; }
.map-addr b { display: block; font-size: 14px; color: var(--ink); }
.map-addr small { display: block; font-size: 12.5px; color: var(--muted); }
.logo-mark.sm { width: 34px; height: 34px; border-radius: 9px; }
.logo-mark.sm .ico { width: 17px; height: 17px; }
.map-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 0; }
  .map-frame { min-height: 300px; }
}
@media (max-width: 640px) {
  .map-btns { width: 100%; }
  .map-btns .btn { flex: 1; }
}

/* Footer */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 40px; scroll-margin-top: 70px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.f-brand p { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 320px; }
.footer h4 { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13px; color: #3b4250; }
.f-list li { display: flex; gap: 8px; align-items: flex-start; }
.f-list .ico { color: var(--brand); margin-top: 2px; }
.f-list a:hover { color: var(--brand); }
.f-list.plain li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-top: 7px; flex: none; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted); font-weight: 600; }
.f-credit a { color: var(--brand); font-weight: 800; text-decoration: underline; text-decoration-color: var(--brand-100); text-underline-offset: 3px; transition: text-decoration-color .15s; }
.f-credit a:hover { text-decoration-color: var(--brand); }
.f-admin { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.f-admin:hover { color: var(--brand); }

/* Yükleniyor iskeleti */
.sk-block { height: 220px; }

@media (max-width: 900px) {
  .topnav { display: none; }
  .top-actions { margin-left: auto; }
  .veh-body { grid-template-columns: 1fr; }
  .tl-grid { grid-template-columns: 1fr; gap: 18px; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .live-pill { display: none; }
  .hero { padding: 40px 16px 30px; }
  .plate-form { flex-direction: column; }
  .plate-form .btn-lg { width: 100%; }
  .veh-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parts { grid-template-columns: 1fr; }
  .veh-body { padding: 18px; }
  .verified { flex-direction: column; align-items: flex-start; padding: 12px 18px; }
  .tl-head { flex-direction: column; align-items: flex-start; }
  .timeline { padding-left: 30px; }
  .tl-dot { left: -30px; width: 24px; height: 24px; }
  .timeline::before { left: 11px; }
  .tl-card { padding: 16px; }
  .tl-top .right { margin-left: 0; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .top-actions .btn span { display: none; }
}
@media (max-width: 640px) {
  .next-km { flex-wrap: wrap; }
  .next-km b { font-size: 24px; }
}
