.home-page .main { padding-top: 0; }
.home-hero {
    min-height: min(680px, calc(100svh - var(--site-topbar-height, 68px) - 40px));
    display: grid; align-items: center; margin-bottom: 32px;
    background: linear-gradient(90deg, rgba(11, 27, 52, .62), rgba(11, 27, 52, .72)), url('404-istanbul.jpg') center 52% / cover no-repeat;
    color: #fff;
}
.home-hero-inner { width: min(640px, calc(100% - 80px)); margin: 0 auto; padding: 48px 0; text-align: center; }
.home-hero-content { min-width: 0; }
.home-hero h1 { margin: 0; font-size: 58px; font-weight: 700; line-height: 1.12; letter-spacing: 0; text-shadow: 0 2px 18px rgba(11,27,52,.24); }
.home-hero h1 span { color: #c5d7ea; }
.home-hero-panel { margin-top: 26px; padding: 24px; text-align: left; border: 1px solid #d7e1ec; border-radius: 8px; background: #fff; color: var(--navy); box-shadow: 0 20px 42px rgba(11,27,52,.24); }
.home-hero-search-label { display: block; margin-bottom: 12px; color: var(--navy); font-size: 13px; font-weight: 650; }
.home-hero-search { position: relative; z-index: 2; }
.home-hero-form { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid #b9c8da; border-radius: 6px; background: #f8fbfd; }
.home-hero-form > .site-icon { color: #7a8ca4; }
.home-hero-form:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.home-hero-input { flex: 1; width: 0; min-width: 0; padding: 0 6px; border: 0; min-height: 48px; border-radius: 0; background: transparent; color: var(--navy); font-size: 16px; }
.home-hero-input:focus { outline: none; border-color: transparent; box-shadow: none; }
.home-hero-input::placeholder { color: #738197; }
.home-hero-submit { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 23px; border: 0; border-radius: 5px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; transition: background-color .15s; }
.home-hero-submit .site-icon { width: 17px; height: 17px; }
.home-hero-submit:hover { background: var(--navy); }
.home-hero .search-suggestions { right: 0; text-align: left; color: var(--text); }
.home-hero-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; color: var(--muted); font-size: 11px; }
.home-hero-divider::before, .home-hero-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.home-hero-locations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.home-hero-field { display: grid; gap: 9px; min-width: 0; font-size: 12px; font-weight: 600; text-align: left; }
.home-hero-field > span { display: flex; align-items: center; gap: 7px; }
.home-hero-field .site-icon { width: 15px; height: 15px; color: var(--blue); }
.home-hero-field .filter-select { width: 100%; min-width: 0; min-height: 48px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); background-color: var(--surface); font-size: 13px; font-weight: 400; }
.home-hero-field .filter-select:disabled { color: #738197; opacity: 1; background-color: #f7f9fc; cursor: not-allowed; }
.home-hero-random { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; color: #e8f4f7; font-size: 12px; }
.home-hero-random .site-icon { width: 16px; height: 16px; }
.home-hero-random:hover { color: #c5d7ea; }
.home-hero-random:hover span { text-decoration: underline; text-underline-offset: 4px; }
.home-hero-submit:focus-visible, .home-hero-random:focus-visible, .home-hero-field .filter-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 760px) {
    .home-hero { min-height: min(720px, calc(100svh - var(--site-topbar-height, 68px) - 20px)); background-image: linear-gradient(90deg, rgba(11,27,52,.7), rgba(11,27,52,.7)), url('404-istanbul.jpg'); background-position: 42% center; }
    .home-hero-inner { width: calc(100% - 40px); margin: 0 auto; padding: 36px 0; }
    .home-hero h1 { font-size: 42px; }
    .home-hero-panel { padding: 20px; margin-top: 24px; }
    .home-hero-locations { gap: 10px; }
}
@media (max-width: 520px) {
    .home-hero { background-position: 36% center; }
    .home-hero-inner { width: calc(100% - 28px); }
    .home-hero h1 { font-size: 36px; }
    .home-hero-panel { padding: 18px 14px; border-radius: 10px; }
    .home-hero-form { padding-left: 8px; gap: 2px; }
    .home-hero-form > .site-icon { display: none; }
    .home-hero-input { font-size: 16px; }
    .home-hero-submit { padding: 0 14px; }
    .home-hero-submit .site-icon { display: none; }
    .home-hero-locations { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .home-hero-field:last-child { grid-column: 1 / -1; }
    .home-hero-divider { gap: 8px; margin: 20px 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .home-hero-submit { transition: none; } }

.home-page .main > .section-shell { padding-bottom: 56px; }
.home-page .section-shell > .section { padding-top: 32px; }
.home-page .section-shell > .section + .section { margin-top: 32px; border-top: 1px solid var(--line); }
.home-page .section-shell > .section .surface { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-page .graph-grid { gap: 0; }
.home-page .graph-panel:first-child { padding-right: 32px !important; border-right: 1px solid var(--line) !important; }
.home-page .graph-panel:last-child { padding-left: 32px !important; }
.home-page .section-head { margin-bottom: 20px; }
.home-page .section-head h2 { font-size: 1.45rem; line-height: 1.2; font-weight: 700; }
.home-page .section-head p { margin-top: 6px; font-size: .86rem; }
.home-page .bar-chart { gap: 0; }
.home-page .bar-row { min-height: 62px; padding: 8px 0; border-top: 1px solid var(--line); }
.home-page .bar-row > strong, .home-page .bar-row > div:last-child { color: var(--navy); font-size: .85rem; }
.home-page .bar-track { height: 8px; border-radius: 3px; background: #dbe7f3; }
.home-page .bar-fill { border-radius: 3px; background: var(--blue); }
.home-page .graph-panel:last-child .bar-fill { background: #7697b8; }
.home-page .record-meta strong { font-size: .88rem; }
.home-page .record-meta span { font-size: .75rem; }
.home-page .index-flow { gap: 0; border-top: 1px solid var(--line); }
.home-page .index-step { min-height: 0; padding: 20px 18px 20px 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.home-page .index-step + .index-step { padding-left: 18px; }
.home-page .index-step:last-child { border-right: 0; }
.home-page .index-step span { width: 30px; height: 30px; margin-bottom: 12px; border-radius: 6px; background: #dbe7f3; color: var(--navy); }
.home-page .index-step strong { font-size: .93rem; }
.home-page .index-step p { font-size: .82rem; line-height: 1.55; }
.home-page .index-scale { margin-top: 0; padding: 20px 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.home-page .scale-track { height: 12px; border-radius: 3px; background: linear-gradient(90deg, #dbe7f3, #7697b8, var(--navy)); }
.home-page .scale-track i { width: 16px; height: 16px; border: 3px solid var(--blue); }
.home-page .legal-note { margin-top: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.home-page .search-results { gap: 0; border-top: 1px solid var(--line); }
.home-page .search-result { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }

@media (max-width: 900px) {
    .home-page .graph-grid { grid-template-columns: 1fr; gap: 32px; }
    .home-page .graph-panel:first-child { padding-right: 0 !important; border-right: 0 !important; }
    .home-page .graph-panel:last-child { padding-left: 0 !important; }
    .home-page .index-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .index-step:nth-child(2) { border-right: 0; }
    .home-page .index-step:nth-child(n+3) { border-top: 1px solid var(--line); }
    .home-page .index-step:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
    .home-page .main > .section-shell { width: calc(100% - 32px); padding-bottom: 36px; }
    .home-page .section-shell > .section { padding-top: 24px; }
    .home-page .section-shell > .section + .section { margin-top: 24px; }
    .home-page .section-head h2 { font-size: 1.2rem; }
    .home-page .index-flow { grid-template-columns: 1fr; }
    .home-page .index-step, .home-page .index-step + .index-step { padding: 16px 0; border-right: 0; border-top: 1px solid var(--line); }
    .home-page .index-step:first-child { border-top: 0; }
}
