/* Sora (SIL Open Font License), yerelde sunulur; Türkçe harfler latin-ext dosyasında */
@font-face {
  font-family: Sora;
  src: url('/fonts/sora-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Sora;
  src: url('/fonts/sora-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Temel */
:root {
  font: 14px Inter, ui-sans-serif, system-ui, sans-serif;
  color: #141a17;
  background: #fbfaf5;
  --cream: #fbfaf4;
  --ink: #0b100f;
  --green: #175344;
  --muted: #56625b;
  --line: #d9dbd1;
  --gutter: clamp(16px, 4vw, 64px);
  --header: 67px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-size: 16px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
:focus-visible { outline: 2px solid #2d8068; outline-offset: 3px; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 5; clip-path: none; padding: 10px; width: auto; height: auto; background: white; }
h1, h2, .guide-final h2 { font-family: Sora, Inter, ui-sans-serif, system-ui, sans-serif; }

/* Üst bar */
header {
  position: sticky;
  top: 0;
  z-index: 4;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 var(--gutter);
  color: #f6f7f5;
  background: var(--ink);
}
header a { color: inherit; text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; }
.brand strong { display: block; font-size: 16px; letter-spacing: .02em; line-height: 1.05; }
.brand small { display: block; font-size: 12px; font-weight: 650; color: #aaaeaa; }
.mark { width: 57px; height: 14px; display: flex; align-items: center; }
.mark::before { content: ''; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; }
.mark i { flex: 1; height: 2px; background: #fff; margin-right: 5px; }
.mark::after { content: ''; width: 8px; height: 8px; transform: rotate(45deg); background: #fff; }
nav, .header-actions { display: flex; align-items: center; gap: 34px; white-space: nowrap; }
nav a { color: #b9bfba; font-size: 13px; font-weight: 750; }
nav a:hover { color: #fff; }
.header-actions { gap: 10px; justify-self: end; }
.header-action { min-height: 43px; display: inline-flex; align-items: center; gap: 12px; padding: 0 15px; font-weight: 750; background: #fff; color: var(--ink); font-size: 16px; }
.mobile-menu, .hero-features, .mobile-form-title { display: none; }

/* Planlayıcı */
.workspace { display: grid; grid-template-columns: minmax(415px, 38.55%) minmax(0, 1fr); min-height: calc(100dvh - var(--header)); }
.planner { min-width: 0; border-right: 1px solid #bec5bc; }
.intro {
  height: 162px;
  display: flex;
  align-items: end;
  padding: 12px clamp(24px, 2.7vw, 42px) 14px var(--gutter);
  background: linear-gradient(0deg, #07110fd9, #07110f36), url('/img/galata.jpg') center 48% / cover, #274e47;
  color: white;
}
h1 { margin: 0; font-size: 24px; line-height: 1.06; letter-spacing: -.025em; font-weight: 760; }
.intro h1 { max-width: 440px; line-height: 1.03; }
.planner-content { padding: 12px clamp(24px, 2.7vw, 42px) 22px var(--gutter); }
.preferences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin: 0 0 7px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f6ef;
}
.preferences label { position: relative; display: flex; align-items: center; gap: 5px; min-width: 0; min-height: 41px; padding: 4px 5px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }
.preferences label:has(:checked) { border-color: #55776a; background: #edf2ec; color: #174b3e; }
.preferences label:has(:focus-visible) { outline: 2px solid var(--green); }
.preferences input { position: absolute; opacity: 0; }
.preferences b, .preferences small { display: block; line-height: 1.13; }
.preferences b { font-size: 11px; }
.preferences small { font-size: 10px; color: #45544c; }
.fields { position: relative; border: 1px solid var(--line); border-radius: 13px; background: #f8f9f2; }
.fields::before { content: ''; position: absolute; top: 28px; bottom: 31px; left: 13px; border-left: 1px solid #5b8476; }
.point { position: relative; min-height: 62px; padding: 9px 112px 9px 30px; }
.point + .point::after { content: ''; position: absolute; top: 0; left: 30px; right: 82px; border-top: 1px solid var(--line); }
.point::before { content: ''; position: absolute; width: 8px; height: 8px; top: 12px; left: 9px; border: 2px solid var(--green); border-radius: 50%; background: #fff; }
.point + .point::before { border-radius: 0; transform: rotate(45deg); background: var(--green); top: 19px; }
.point label { display: block; font-size: 10px; font-weight: 760; color: #506157; letter-spacing: .055em; }
.point input { background: none; border: 0; width: 100%; padding: 4px 0; font-size: 13px; font-weight: 730; }
.pin, .swap, .origin, .clear { position: absolute; top: 15px; width: 30px; height: 30px; border: 1px solid #e1e5dd; padding: 0; background: #fff; line-height: 1; font-size: 17px; }
.pin { right: 9px; } .swap, .origin { right: 46px; } .clear { right: 83px; border: 0; background: transparent; color: #5f6962; }
.pin:hover, .swap:hover, .origin:hover { background: #eaf0eb; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 13px; padding: 10px 0; }
.quick-actions button, .text-button { font-size: 12px; font-weight: 720; padding: 4px 0; border: 0; background: transparent; color: #174d40; }
.quick-actions button:hover, .text-button:hover { text-decoration: underline; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.settings details { background: #f7f6ef; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.settings summary { display: flex; align-items: center; gap: 8px; padding: 7px 10px; min-height: 48px; cursor: pointer; list-style: none; }
.settings summary::-webkit-details-marker { display: none; }
.settings summary::after { content: '⌄'; margin-left: auto; }
.settings summary > span:first-child { color: var(--green); font-size: 16px; }
.settings small, .summary small { display: block; color: #756033; font-size: 10px; font-weight: 800; }
.settings b { display: block; font-size: 13px; }
.settings details > label, .settings details > p { font-size: 11px; display: block; margin: 0 9px 5px; }
.settings input { width: calc(100% - 18px); margin: 0 9px 8px; font-size: 11px; }
.summary { margin-top: 8px; border: 1px solid #b5beb5; background: #fdfdfa; border-radius: 8px; padding: 7px 9px; }
.summary-columns { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 76px; }
.summary-columns > div + div { border-left: 1px solid var(--line); padding-left: 13px; }
.summary strong { display: block; color: var(--green); font-size: 21px; line-height: 1.1; margin: 3px 0; }
.summary-columns span { color: var(--green); font-size: 11px; font-weight: 650; }
.summary-bottom { display: flex; justify-content: space-between; gap: 8px; min-height: 32px; align-items: center; padding-top: 5px; border-top: 1px dashed var(--line); color: #34433a; font-size: 11px; font-weight: 680; }
.primary { margin-top: 7px; width: 100%; min-height: 53px; border-radius: 12px; border: 0; background: #07100e; color: #fff; font-size: 16px; font-weight: 770; }
.primary span { margin-left: 8px; }
.primary:hover:not(:disabled) { background: #17372e; }
.planner-note { display: none; text-align: center; margin: 9px 0 0; font-size: 11px; color: var(--muted); }
.planner-details { display: none; }
#status { font-size: 12px; color: var(--muted); min-height: 0; margin: 7px 0 0; }
#status:empty { display: none; }
.text-button { margin: 8px 0; }

/* Harita */
.map-panel { position: sticky; top: var(--header); align-self: start; height: calc(100dvh - var(--header)); min-height: 480px; overflow: hidden; background: #dbe2da; }
#map, #placeholder { width: 100%; height: 100%; }
#placeholder { display: grid; place-items: center; background: linear-gradient(145deg, #e9eee5, #cfd9d1); }
#map-note { color: #385347; padding: 15px; }
.map-overlay { pointer-events: none; position: absolute; left: 16px; right: 16px; bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.map-overlay span, .map-overlay button { border-radius: 8px; box-shadow: 0 3px 10px #0b201328; padding: 10px 13px; font-size: 13px; font-weight: 740; }
.map-overlay span { color: white; background: #07100e; }
.map-overlay button { pointer-events: auto; flex: none; border: 1px solid #e1e5dd; background: white; }

/* Sonuçlar */
h2 { font-size: 17px; margin: 12px 0 9px; }
.alternatives { display: grid; gap: 6px; }
.option { text-align: left; border: 1px solid var(--line); border-radius: 7px; padding: 8px 10px; background: #fff; }
.option:hover, .option[aria-pressed=true] { border-color: #55776a; background: #edf2ec; }
.option span { display: block; font-size: 12px; margin-top: 2px; }
.steps { list-style: none; padding: 0; margin: 16px 0 0; }
.steps li { position: relative; border-left: 1px solid #aabbaf; margin-left: 4px; padding: 0 0 15px 13px; }
.steps li::before { content: ''; position: absolute; left: -4px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.steps p { font-size: 12px; margin: 4px 0 0; }

/* Rehber bölümleri */
#planner, #from, #coverage, #routes, #ulasim, #how, #faq, #content { scroll-margin-top: calc(var(--header) + 10px); }
.guide-wrap { width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.guide-wrap h2 { margin: 0 0 13px; color: #144b3e; font-size: clamp(28px, 3vw, 40px); line-height: 1.04; letter-spacing: -.035em; }
.guide-wrap h3 { margin: 0 0 6px; line-height: 1.18; font-size: 16px; }
.guide-wrap p { margin: 0; line-height: 1.57; }
.guide-wrap article p, .guide-technical-grid p, .guide-steps p, .guide-faq-grid p { color: #56625b; }
.guide-wrap article a, .guide-technical-grid a, .guide-faq-grid a { color: #195242; font-size: 12px; font-weight: 740; text-underline-offset: 3px; }
.guide-coverage h2, .guide-faq h2 { font-size: clamp(28px, 2.73vw, 38px); }
.guide-wrap > div > p, .guide-how > p { font-size: 15px; }
.guide-routes h2, .guide-technical h2, .guide-how h2 { font-size: clamp(28px, 3.04vw, 42px); line-height: 1.05; letter-spacing: -.04em; }

.guide-coverage { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; column-gap: 5vw; padding-block: clamp(52px, 8.1vw, 108px); }
.guide-photo { overflow: hidden; border: 1px solid #d5dad0; border-radius: 8px; margin: 0; position: relative; background: #e3e9e3; aspect-ratio: 16 / 9; }
.guide-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.guide-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: #0b100fe8; color: white; padding: 6px 10px; border-radius: 5px; font-size: 12px; font-weight: 730; }
.guide-neighborhoods { margin-top: 23px; display: grid; grid-template-columns: 1fr 1fr; }
.guide-neighborhoods article { display: flex; gap: 13px; min-height: 135px; padding: 17px 14px 16px 0; border-top: 1px solid var(--line); }
.guide-neighborhoods article:nth-child(even) { border-left: 1px solid var(--line); padding-inline: 16px 0; }
.guide-neighborhoods article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.guide-neighborhoods article > span, .guide-technical-grid li > span { color: var(--green); font-size: 18px; line-height: 1; }
.guide-neighborhoods article p { font-size: 13px; margin-bottom: 6px; }

.guide-routes-band { background: #0b0f0d; color: #fff; padding-block: clamp(52px, 8.1vw, 108px); }
.guide-routes { display: grid; align-items: start; grid-template-columns: minmax(165px, 1fr) minmax(160px, .8fr) minmax(310px, 2fr); gap: 4vw; }
.guide-routes h2 { color: #fff; max-width: 10ch; }
.route-intro p { color: #b4bdb7; }
.route-count { display: flex; align-items: baseline; gap: 11px; border-top: 1px solid #343c36; margin-top: 26px; padding-top: 10px; margin-bottom: 17px; }
.route-count strong { color: #e6cc92; font-size: 56px; line-height: 1; }
.route-count span { color: #b4bdb7; font-size: 13px; }
.guide-button { color: inherit; text-decoration: none; font-weight: 760; padding: 12px 17px; border: 1px solid #ffffff55; background: transparent; display: inline-flex; align-items: center; border-radius: 7px; }
.guide-button:hover { background: #ffffff16; }
.guide-schematic { position: relative; margin: 0; align-self: center; min-height: 325px; isolation: isolate; color: #dfded7; }
.schematic-land { position: absolute; inset: 12px 8px 32px; background: #1a231e; }
.schematic-land.west { clip-path: polygon(8% 20%, 26% 6%, 62% 9%, 65% 30%, 53% 44%, 56% 54%, 39% 66%, 35% 81%, 10% 75%, 4% 52%); }
.schematic-land.east { clip-path: polygon(69% 25%, 96% 32%, 95% 54%, 89% 75%, 100% 92%, 73% 97%, 52% 80%, 62% 65%, 68% 52%, 62% 45%); }
.schematic-label { position: absolute; font-size: 10px; line-height: 1; white-space: nowrap; }
.schematic-label.airport { top: 15%; left: 0; }
.schematic-label.taksim { top: 39%; left: 29%; }
.schematic-label.sirkeci { top: 54%; left: 20%; color: #e6cc92; }
.schematic-label.uskudar { top: 49%; left: 64%; }
.schematic-label.kadikoy { top: 63%; left: 55%; color: #e6cc92; }
.schematic-label.sabiha { top: 78%; right: 0; }
.guide-schematic figcaption { position: absolute; bottom: 0; width: 100%; text-align: center; color: #abb5ad; font-size: 11px; }
.guide-route-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #343c36; }
.guide-route-list li { border-bottom: 1px solid #343c36; }
.guide-route-list button { display: grid; grid-template-columns: 1fr auto 16px; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; color: #fff; background: transparent; padding: 12px; min-height: 73px; }
.guide-route-list button:hover, .guide-route-list button:focus-visible { background: #1b211c; }
.guide-route-list li:first-child button { background-color: #faf1e90b; }
.guide-route-list li:first-child button:hover { background-color: #faf1e91a; }
.guide-route-list small, .guide-route-list b { display: block; }
.guide-route-list small { color: #b9c2bb; margin-bottom: 4px; }
.guide-route-list button > span:first-child { min-width: 0; }
.guide-route-list button > span:first-child small { font-size: 14px; }
.guide-route-list button > span:first-child b { font-size: 15px; }
.guide-route-type { text-align: right; }
.guide-route-type small { font-size: 10px; letter-spacing: .035em; }
.guide-route-type b { font-size: 17px; }
.guide-route-list button > span:last-child { color: #e6cc92; }

.guide-technical { display: grid; grid-template-columns: 1fr 2.08fr; gap: 5vw; padding: clamp(52px, 8.1vw, 108px) 0 clamp(28px, 4.1vw, 54px); }
.guide-trip-example { border: 1px solid #cdd3cb; border-radius: 8px; margin-top: 24px; padding: 17px; background: #fefef9; }
.guide-trip-example > div { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.guide-trip-example > div + div { border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 13px; }
.guide-trip-example small, .guide-trip-example b { display: block; }
.guide-trip-example small { color: #55645a; font-size: 10px; font-weight: 750; margin-bottom: 3px; }
.guide-trip-example strong { color: var(--green); font-size: 23px; }
.guide-trip-example span:last-child { text-align: right; }
.guide-technical-grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-technical-grid li { padding: 24px clamp(16px, 1.9vw, 25px); min-height: 226px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.guide-technical-grid li:nth-child(3n) { border-right: 0; }
.guide-technical-grid h3 { margin-top: 17px; }
.guide-technical-grid p { margin-bottom: 8px; }
.guide-technical-grid p, .guide-steps p { font-size: 14px; line-height: 1.52; }

.guide-how { padding: clamp(28px, 4.1vw, 54px) 0 clamp(52px, 8.1vw, 108px); }
.guide-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3.05vw, 48px); margin: 52px 0 33px; padding: 0; }
.guide-steps li { position: relative; min-height: 184px; }
.guide-steps li:not(:last-child)::after { content: ''; position: absolute; left: 55px; right: 28px; top: 20px; border-top: 2px solid #28624f; }
.guide-steps li > span { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid #28624f; border-radius: 50%; color: #165442; margin-bottom: 16px; font-size: 21px; }
.guide-steps li:last-child > span { border-radius: 10px; background: #165442; color: white; transform: rotate(45deg) scale(.8); }
.guide-steps h3 { font-size: 18px; }
.guide-note { display: inline-flex; align-items: center; min-height: 51px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf7; color: #23342f; }

.guide-faq { display: grid; grid-template-columns: 1fr 2.38fr; gap: 5vw; padding-bottom: clamp(52px, 8.1vw, 108px); }
.guide-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; border: 1px solid var(--line); border-radius: 8px; background: #ffffffbc; }
.guide-faq-grid details { border-bottom: 1px solid var(--line); min-width: 0; }
.guide-faq-grid details:nth-child(odd) { border-right: 1px solid var(--line); }
.guide-faq-grid details:nth-last-child(-n+2) { border-bottom: 0; }
.guide-faq-grid summary { display: flex; align-items: center; gap: 9px; justify-content: space-between; padding: 15px; min-height: 62px; list-style: none; font-size: 14px; font-weight: 740; cursor: pointer; }
.guide-faq-grid summary::-webkit-details-marker { display: none; }
.guide-faq-grid summary::after { content: '+'; color: #185441; }
.guide-faq-grid details[open] summary::after { content: '−'; }
.guide-faq-grid p { padding: 0 15px 14px; }

.guide-final { position: relative; min-height: 527px; display: grid; place-items: center; background: #0b4a38; color: #fff; text-align: center; padding: clamp(65px, 9vw, 115px) 16px; }
.guide-final > div { width: min(100%, 1080px); padding-top: 38px; }
.guide-final h2 { margin: 0 0 13px; font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -.04em; line-height: 1.05; }
.guide-final p { max-width: 54ch; color: #c9ddd3; line-height: 1.55; margin: 0 auto; }
.guide-final::before, .guide-final::after { content: ''; position: absolute; top: 23%; opacity: .68; }
.guide-final::before { width: 16px; height: 16px; left: 7.5%; border: 2px solid #d7c693; border-radius: 50%; }
.guide-final::after { width: 64px; right: 9.5%; border-top: 1px solid #80a797; }
.guide-final-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.guide-final-actions .guide-button { min-height: 53px; padding-inline: 23px; }
.guide-button-light { color: #0b100f; background: white; border-color: white; }
.guide-button-light:hover { background: #e8f0eb; }

.guide-footer { background: #0b100f; color: #e3ebe5; padding: 36px 0 18px; font-size: 14px; }
.guide-footer a { color: inherit; }
.guide-footer .brand { text-decoration: none; }
.guide-footer-note { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; border: 1px solid #343c36; border-radius: 8px; background: #171b18; padding: 15px 18px; margin-top: 20px; }
.guide-footer-note p, .guide-footer-note ul { color: #bcc8c0; }
.guide-footer-note ul { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; list-style: none; padding: 0; margin: 0; font-size: 12px; }
.guide-footer-links { display: flex; flex-wrap: wrap; gap: 13px 21px; margin: 22px 0 16px; font-size: 13px; }
.guide-footer-links a { text-decoration: none; }
.guide-footer-links a:hover { text-decoration: underline; }
.guide-footer .guide-credits { color: #afbcb3; font-size: 11px; margin-top: 7px; }

/* Orta genişlik */
@media (max-width: 960px) {
  .guide-routes { grid-template-columns: 1fr 1fr; gap: 24px; }
  .guide-schematic { min-height: 210px; }
  .guide-route-list { grid-column: 1 / -1; }
  .guide-technical { grid-template-columns: 1fr; }
  .guide-trip-example { max-width: 380px; }
}
@media (max-width: 850px) {
  header { grid-template-columns: 1fr auto; }
  nav { display: none; }
}

/* Masaüstü: planlayıcı ve harita ekranı doldurur */
@media (min-width: 851px) {
  .workspace { height: calc(100dvh - var(--header)); min-height: 650px; }
  .planner { overflow-y: auto; scrollbar-width: none; }
  .planner:has(#results:not([hidden])) { scrollbar-width: thin; scrollbar-color: #bdc9c0 transparent; }
  .map-panel { height: 100%; min-height: 0; }
}

/* Uzun masaüstü ekranı */
@media (min-width: 851px) and (min-height: 795px) {
  .intro { height: clamp(180px, 20vh, 250px); padding-bottom: 25px; }
  .intro h1 { max-width: 30ch; line-height: 1.22; }
  .mobile-form-title { display: block; color: var(--ink); font-size: 17px; line-height: 1.12; margin: 2px 0 14px; }
  .planner-content { padding-top: 17px; padding-right: clamp(24px, 2.45vw, 42px); }
  .point { min-height: 77px; padding-top: 24px; padding-left: 32px; }
  .preferences label { min-height: 62px; }
  .summary { margin-top: 6px; }
  .summary-columns { min-height: 101px; }
  .summary-bottom { min-height: 43px; }
  .settings summary { min-height: 52px; }
  .primary { margin-top: 11px; min-height: 54px; }
  .planner-note { display: block; }
  .guide-coverage { padding-bottom: calc(clamp(52px, 8.1vw, 108px) + 6px); }
  .guide-coverage .guide-photo { margin-top: 8px; }
  .guide-neighborhoods article { padding-block: 12px; }
  .guide-neighborhoods article p { line-height: 1.4; margin-bottom: 4px; }
  .guide-routes-band { padding-bottom: calc(clamp(52px, 8.1vw, 108px) - 3px); }
  .guide-routes h2 { margin-top: 15px; max-width: 8.5ch; }
  .guide-technical { padding-bottom: calc(clamp(28px, 4.1vw, 54px) - 2px); }
  .guide-steps { margin-bottom: 43px; }
  .guide-final { min-height: 522px; }
  .guide-final > div { padding-top: 44px; }
}

/* Telefon */
@media (max-width: 680px) {
  :root { --header: 59px; --gutter: 16px; }
  header { gap: 8px; }
  .header-actions { gap: 6px; }
  .header-action { padding: 0 10px; min-height: 36px; font-size: 13px; }
  header .brand > span:last-child { display: none; }
  .mark { width: 36px; }
  header .mark { width: 55px; }
  .brand { gap: 8px; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; place-items: center; list-style: none; width: 43px; height: 43px; border: 1px solid #4d5652; border-radius: 5px; background: #1c2321; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 15px; height: 12px; border-block: 1px solid #fff; position: relative; }
  .mobile-menu summary span::after { content: ''; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid #fff; }
  .mobile-menu div { position: absolute; top: calc(var(--header) - 1px); right: 0; left: 0; display: grid; background: #0b100f; padding: 10px 16px 15px; }
  .mobile-menu div a { padding: 11px; border-top: 1px solid #39423d; }

  .workspace { display: flex; flex-direction: column; padding-bottom: 37px; }
  .planner, .planner-content { display: contents; }
  .intro { height: auto; min-height: 257px; display: block; padding: 24px 18px 19px; background-position: center; }
  .intro h1 { font-size: clamp(28px, 8.2vw, 34px); line-height: 1.02; }
  .intro h1 span { display: block; }
  .hero-features { display: grid; grid-template-columns: 1fr 1fr; list-style: none; margin: 17px 0 0; padding: 0; border: 1px solid #ffffff40; border-radius: 9px; overflow: hidden; background: #061310b5; }
  .hero-features li { display: flex; align-items: center; min-height: 48px; gap: 9px; padding: 8px 10px; font-size: 12px; line-height: 1.2; font-weight: 690; }
  .hero-features li:nth-child(2) { border-left: 1px solid #ffffff40; }
  .hero-features li:last-child { grid-column: 1 / -1; min-height: 41px; border-top: 1px solid #ffffff40; }
  .mobile-form-title { display: block; margin: 0 0 14px; color: #0b100f; font-size: 22.4px; line-height: 28px; letter-spacing: -.03em; }
  #planner { margin: 29px 28px 0; min-height: 835px; }
  #status, .text-button, #results { margin-inline: 28px; }
  .text-button { align-self: start; }
  #results { order: 2; }
  .preferences { margin-bottom: 10px; column-gap: 3px; }
  .preferences label { flex-direction: column; align-items: start; justify-content: center; gap: 3px; min-height: 74px; padding: 7px 8px; }
  .preferences b { font-size: 12px; }
  .preferences small { font-size: 11px; }
  .point { min-height: 72px; padding-top: 15px; padding-left: 38px; padding-right: 105px; }
  .point::before { left: 14px; }
  .fields::before { left: 18px; }
  .point input { padding: 1px 2px; font-size: 16px; line-height: 24.32px; }
  .point .pin, .point .clear, .point .origin, .point .swap { top: 23px; }
  .quick-actions { padding-block: 13px; }
  .settings { grid-template-columns: 1fr; }
  .settings summary { column-gap: 9px; padding-inline: 11px; }
  .summary { margin-top: 11px; padding: 12px 14px; }
  .summary-columns { min-height: 128px; grid-template-columns: 1.06fr 1fr; }
  .summary-columns strong { font-size: 20px; }
  .summary-bottom { display: grid; align-content: center; gap: 5px; min-height: 54px; }
  .primary { min-height: 51px; }
  .planner-note { display: block; }
  .planner-details { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 8px; list-style: none; margin: 8px 0 0; padding: 0; font-size: 10px; color: #28493d; }
  .planner-details li { background: #f3f4eb; border: 1px solid var(--line); border-radius: 6px; padding: 3px 5px; }
  .map-panel { order: 1; position: relative; top: auto; width: 100%; height: 304px; min-height: 304px; margin-top: 16px; }
  .map-overlay { left: 12px; right: 12px; bottom: 24px; }
  .map-overlay span, .map-overlay button { font-size: 11px; padding: 8px; }

  .guide-coverage, .guide-faq { grid-template-columns: 1fr; gap: 24px; padding: 46px 0 72px; }
  .guide-coverage { gap: 30px; }
  .guide-coverage h2, .guide-faq h2 { line-height: 1.06; margin-bottom: 12px; }
  .guide-faq h2 { max-width: 10ch; }
  .guide-photo { aspect-ratio: 4 / 3; }
  .guide-neighborhoods { grid-template-columns: 1fr; }
  .guide-neighborhoods article { min-height: 0; gap: 11px; padding: 15px 0; }
  .guide-neighborhoods article:nth-child(even) { border-left: 0; padding-inline: 0; }
  .guide-neighborhoods article:nth-last-child(2) { border-bottom: 0; }
  .guide-neighborhoods article h3 { font-size: 15.36px; line-height: 1.24; margin-bottom: 0; }
  .guide-neighborhoods article p { line-height: 1.39; margin-bottom: 0; }

  .guide-routes-band { padding-block: 72px; }
  .guide-routes { grid-template-columns: 1fr; gap: 5px; }
  .guide-routes h2, .guide-technical h2, .guide-how h2 { font-size: 29.6px; line-height: 1.05; margin-bottom: 10px; }
  .guide-routes h2 { max-width: 15ch; }
  .guide-schematic { display: none; }
  .guide-route-list button { min-height: 81px; padding: 14px 2px; gap: 6px 14px; }
  .guide-route-type b { font-size: 14px; }

  .guide-technical { padding: 72px 0 36px; gap: 27px; }
  .guide-technical h2 { max-width: 13ch; }
  .guide-technical > div { min-height: 279px; }
  .guide-technical-grid { grid-template-columns: 1fr; min-height: 764px; }
  .guide-technical-grid li, .guide-technical-grid li:nth-child(3n) { position: relative; min-height: 0; border-right: 0; padding: 22px 0 24px 28px; }
  .guide-technical-grid li > span { position: absolute; top: 22px; left: 0; }
  .guide-technical-grid h3 { margin-top: 0; font-size: 16.32px; line-height: 1.25; margin-bottom: 4px; }
  .guide-technical-grid p { display: inline; font-size: 13px; line-height: 1.39; }

  .guide-how { padding: 36px 0 74px; }
  .guide-how h2 { max-width: 13ch; }
  .guide-steps { grid-template-columns: 1fr; min-height: 423px; gap: 30px; margin: 42px 0 27px; }
  .guide-steps li { min-height: 0; padding-left: 64px; }
  .guide-steps li:not(:last-child)::after { display: none; }
  .guide-steps li > span { position: absolute; top: 0; left: 0; margin-bottom: 11px; }
  .guide-steps h3 { font-size: 18.56px; line-height: 1.22; margin-top: 10px; }
  .guide-steps p { line-height: 1.45; }

  .guide-faq-grid { grid-template-columns: 1fr; }
  .guide-faq-grid details:nth-child(odd) { border-right: 0; }
  .guide-faq-grid details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .guide-faq-grid summary { padding: 16px 18px; min-height: 63px; gap: 18px; font-size: 15.04px; line-height: 1.52; }

  .guide-final { min-height: 471px; padding: 68px 16px; }
  .guide-final > div { padding-top: 24px; }
  .guide-final h2 { font-size: 28.8px; line-height: 1.04; }
  .guide-final-actions { flex-direction: column; max-width: 345px; margin-inline: auto; }
  .guide-final-actions .guide-button { justify-content: center; }
  .guide-final::before { left: 5%; }
  .guide-final::after { display: none; }
  .guide-footer-note { grid-template-columns: 1fr; }
}

/* Hat ve rehber sayfaları */
.alt-sayfa main { min-height: 60vh; }
.tur-metro { --tur: #175344; } .tur-tramvay { --tur: #b5532f; } .tur-funikuler { --tur: #6b5b95; }
.tur-teleferik { --tur: #2f7a8f; } .tur-marmaray { --tur: #8a2432; } .tur-vapur { --tur: #1f5f99; }
.hat-bas { padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.kirinti { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.kirinti a { color: var(--green); font-weight: 700; text-underline-offset: 3px; }
.hat-baslik { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.hat-bas h1 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -.035em; color: #144b3e; margin: 8px 0 12px; }
.hat-bas p { margin: 0 0 12px; line-height: 1.57; color: var(--muted); }
.hat-bilgi { font-weight: 720; color: #141a17 !important; }
.hat-not { border-left: 3px solid #e6cc92; padding-left: 10px; }
.hat-rozetler { display: flex; gap: 8px; align-items: center; margin: 0 !important; }
.rozet { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 5px; background: var(--tur); color: #fff; font-size: 13px; font-weight: 780; letter-spacing: .01em; }
.rozet-tur { display: inline-flex; min-height: 26px; align-items: center; padding: 0 9px; border-radius: 5px; border: 1px solid #c9a95c; color: #7a5d16; font-size: 13px; font-weight: 740; }
.guide-button.hat-planla { background: var(--green); color: #fff; border-color: var(--green); margin-top: 6px; gap: 10px; }
.guide-button.hat-planla:hover { background: #0f3c31; }
.guide-button.hat-planla.ikincil { background: transparent; color: var(--green); }
.hat-harita-kutu { margin: 0; border: 1px solid var(--line); border-radius: 8px; background: #f1f3ec; padding: 8px; }
.hat-harita-kutu svg { display: block; width: 100%; height: auto; }
.hat-harita .hat { stroke: var(--tur); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hat-harita circle { fill: #fff; stroke: #141a17; stroke-width: 2; }
.hat-harita circle.aktarma { stroke-width: 3; }
.hat-harita text { font: 700 13px Inter, ui-sans-serif, system-ui, sans-serif; fill: #141a17; paint-order: stroke; stroke: #f1f3ec; stroke-width: 4px; }
.genel-harita .hat { stroke: var(--tur); stroke-width: 2.5; stroke-linecap: round; opacity: .85; }
.genel-harita a:hover .hat, .genel-harita a:focus .hat { stroke-width: 5; opacity: 1; }
.hat-govde { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); padding-bottom: clamp(48px, 6vw, 88px); }
.hat-govde h2, .hat-dizin h2, .rehber-metin h2 { font-size: 22px !important; letter-spacing: -.02em; margin: 0 0 14px; }
.hat-duraklar { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hat-duraklar li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hat-sira { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #edf2ec; color: var(--green); font-size: 13px; font-weight: 780; }
.hat-duraklar strong { display: block; font-size: 16px; line-height: 1.25; }
.hat-aktarma { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.hat-aktarma a, .hat-yan a, .rehber-metin a:not(.guide-button) { color: var(--green); font-weight: 720; text-underline-offset: 3px; }
.hat-yan { align-self: start; position: sticky; top: calc(var(--header) + 16px); border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.hat-yan p { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.hat-kunye { font-size: 12px !important; color: var(--muted); }
.hat-dizin { padding-bottom: clamp(48px, 6vw, 88px); }
.hat-grup { padding-top: 28px; scroll-margin-top: calc(var(--header) + 10px); }
.hat-kartlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.hat-kart { display: grid; gap: 6px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; }
.hat-kart .rozet { justify-self: start; }
.hat-kart strong { font-size: 15px; line-height: 1.3; }
.hat-kart small { color: var(--muted); font-size: 12px; }
.hat-kart:hover { border-color: #55776a; background: #f4f7f2; }
.rehber h1 { max-width: 20ch; }
.rehber-metin { max-width: 68ch; }
.rehber-metin h2 { margin-top: 28px !important; color: #144b3e; }
.rehber-metin p { color: #3d4842; font-size: 16px; }
@media (max-width: 850px) {
  .hat-baslik, .hat-govde { grid-template-columns: 1fr; }
  .hat-yan { position: static; }
}
