/* =========================================================
   Temsilcilik Ağı sayfası (temsilcilik.html)
   Ortak bileşenler: css/ag-ortak.css · Temel: css/hakkimizda.css
   ========================================================= */

/* ---------- Hero ---------- */
.tp-orbit {
    transform-origin: 760px 400px;
    animation: tpTilt 40s linear infinite;
}

.tp-orbit ellipse {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

@keyframes tpTilt {
    to { transform: rotate(360deg); }
}

.tp-hero-map {
    position: absolute;
    right: -6%;
    top: 50%;
    width: min(74vw, 1080px);
    aspect-ratio: 1052 / 420;
    opacity: 0;
    transform: translateY(-38%);
    transition: opacity 1.6s ease 0.4s;
}

.tp-hero-map.is-ready {
    opacity: 1;
}

.tp-hero-map img {
    display: block;
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: none;
}

/* Harita ve noktalar ayrı katmanlarda: kaydırırken yeniden çizim olmaz */
.tp-hero-map,
.tp-hero-dots {
    will-change: transform;
    backface-visibility: hidden;
}

.tp-hero-dots {
    position: absolute;
    inset: 0;
    contain: layout paint;
}

.tp-hero-dots span {
    position: absolute;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.tp-hero-dots span::after {
    content: '';
    will-change: transform, opacity;
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: tpPulse 3.6s var(--ab-ease) infinite;
    animation-delay: var(--d, 0s);
}

@keyframes tpPulse {
    0% { transform: scale(0.4); opacity: 0.9; }
    70%, 100% { transform: scale(2.4); opacity: 0; }
}

.tp-hero .ab-hero-inner {
    z-index: 1;
}

.tp-hero .ab-hero-lead {
    max-width: 560px;
}

/* ---------- Görünüm geçişi ---------- */
.tp-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    border-radius: 999px;
    background: var(--ab-soft);
}

.tp-toggle button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    background: none;
    font-family: var(--ab-sans);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ab-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.tp-toggle button .ms {
    font-size: 20px;
}

.tp-toggle button[aria-selected="true"] {
    color: #ffffff;
}

.tp-toggle i {
    position: absolute;
    left: 5px;
    top: 5px;
    bottom: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--ab-navy);
    transition: transform 0.45s var(--ab-ease);
}

.tp-toggle.is-list i {
    transform: translateX(100%);
}

/* ---------- Durum notu ---------- */
.tp-status {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 14px 14px 14px 18px;
    border: 1px solid #e4e7ec;
    border-radius: 20px;
    background: #f5f6f8;
    font-size: 14.5px;
    line-height: 1.6;
    color: #3b4352;
}

.tp-status > .ms {
    font-size: 24px;
    color: #02102a;
}

.tp-status > div {
    flex: 1;
}

.tp-status strong {
    color: #02102a;
}

/* ---------- Harita görünümü ---------- */
.tp-map-view {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.tp-map-card {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 24px;
    border-radius: 28px;
    background: var(--ab-navy);
    color: #ffffff;
}

.tp-map-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.tp-map-head strong {
    display: block;
    font-family: var(--ab-display);
    font-size: 19px;
    font-weight: 600;
}

.tp-map-head span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.tp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tp-legend li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
}

.tp-legend i {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
}

.tp-legend i.is-fac {
    background: rgba(255, 255, 255, 0.34);
}

.tp-legend i.is-rep {
    border-color: #ffffff;
    background: #ffffff;
}

.tp-map-wrap {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    margin-top: 12px;
}

.tp-map {
    position: relative;
    width: 100%;
    aspect-ratio: 1052 / 420;
}

.tp-map svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tp-map path,
.tp-map polygon {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(255, 255, 255, 0.24);
    stroke-width: 0.6;
    stroke-linejoin: round;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.tp-map g {
    cursor: pointer;
    outline: none;
}

.tp-map g.has-fac > path,
.tp-map g.has-fac > polygon {
    fill: rgba(255, 255, 255, 0.3);
}

.tp-map g.has-rep > path,
.tp-map g.has-rep > polygon {
    fill: rgba(255, 255, 255, 0.55);
    stroke: #ffffff;
}

.tp-map g:hover > path,
.tp-map g:hover > polygon,
.tp-map g:focus-visible > path,
.tp-map g:focus-visible > polygon {
    fill: rgba(255, 255, 255, 0.5);
    stroke: #ffffff;
}

.tp-map g.is-selected > path,
.tp-map g.is-selected > polygon {
    fill: #ffffff;
    stroke: #ffffff;
    stroke-width: 1.2;
}

.tp-map.is-ready svg {
    animation: tpMapIn 0.9s var(--ab-ease) both;
}

@keyframes tpMapIn {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.tp-pins span {
    position: absolute;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.tp-map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.ag-spin-dark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: agSpin 0.7s linear infinite;
}

/* İpucu kartı */
.tp-tip {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 200px;
    max-width: 240px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--ab-ink);
    box-shadow: 0 24px 48px -18px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.tp-tip.is-on {
    opacity: 1;
}

.tp-tip strong {
    font-family: var(--ab-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-tip-line {
    font-size: 13px;
    color: var(--ab-muted);
}

.tp-tip-logos {
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.tp-tip-logos img,
.tp-tip-logos b,
.tp-tip-logos em {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: -6px;
    padding: 2px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 0 1px var(--ab-line);
    object-fit: contain;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    color: var(--ab-navy);
}

.tp-tip-logos em {
    background: var(--ab-soft);
}

.tp-tip-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #6b7383;
}

.tp-tip-status i,
.tp-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b4bac5;
}

.tp-tip-status.is-on {
    color: #2f7d4f;
}

.tp-tip-status.is-on i,
.tp-badge.is-on i {
    background: #2f9a5a;
}

.tp-tip small {
    font-size: 11.5px;
    color: #a3aab6;
}

/* ---------- Panel ---------- */
.tp-panel {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: 28px;
    background: #ffffff;
}

@media (min-width: 1081px) {
    .tp-panel {
        contain: size;
    }
}

.tp-panel-in {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.tp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ab-muted);
}

.tp-kicker .ms {
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ab-navy);
}

.tp-panel h3 {
    margin: 0;
    font-family: var(--ab-display);
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ab-navy);
}

.tp-panel-lead {
    margin: 8px 0 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ab-muted);
}

.tp-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
}

.tp-mini-stats div {
    padding: 14px;
    border-radius: 18px;
    background: var(--ab-soft);
}

.tp-mini-stats strong {
    display: block;
    font-family: var(--ab-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-mini-stats span {
    font-size: 12.5px;
    color: var(--ab-muted);
}

.tp-sub {
    margin: 22px 0 10px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ab-muted);
}

.tp-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.tp-top button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 0 8px 0 14px;
    border: 1px solid var(--ab-line);
    border-radius: 14px;
    background: #ffffff;
    font-family: var(--ab-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--ab-navy);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.3s var(--ab-ease);
}

.tp-top button:hover {
    border-color: var(--ab-navy);
    transform: translateY(-2px);
}

.tp-top em {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 30px;
    border-radius: 10px;
    background: var(--ab-soft);
    font-size: 13px;
    font-style: normal;
}

.tp-panel-cta {
    margin-top: auto;
    align-self: stretch;
}

.tp-panel-in > .tp-panel-cta {
    margin-top: 20px;
}

.tp-panel-in > :last-child.tp-panel-cta {
    margin-top: auto;
}

.tp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin: -4px 0 14px -6px;
    padding: 6px 10px 6px 6px;
    border: 0;
    border-radius: 999px;
    background: none;
    font-family: var(--ab-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--ab-muted);
    cursor: pointer;
}

.tp-back:hover {
    background: var(--ab-soft);
    color: var(--ab-navy);
}

.tp-back .ms {
    font-size: 18px;
}

.tp-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f5f6f8;
    font-size: 12.5px;
    font-weight: 600;
    color: #02102a;
}

.tp-badge.is-on {
    background: #e9f6ee;
    color: #2f7d4f;
}

.tp-unis {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 0;
    margin: 0 -6px;
    padding: 0 6px 4px;
    overflow-y: auto;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: #d5d9e0 transparent;
}

.tp-panel .tp-unis {
    flex: 1;
}

.tp-uni {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 8px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    transition: border-color 0.2s ease;
}

.tp-uni:hover {
    border-color: #d3d8e0;
}

.tp-uni-logo {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: 12px;
    background: #ffffff;
}

.tp-uni-logo img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
}

.tp-uni-logo b {
    font-family: var(--ab-display);
    font-size: 12px;
    color: var(--ab-navy);
}

.tp-uni-txt {
    flex: 1;
    min-width: 0;
}

.tp-uni-txt strong {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    color: var(--ab-navy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tp-uni-txt small {
    font-size: 12px;
    color: var(--ab-muted);
}

.tp-uni-txt em.is-on {
    font-style: normal;
    font-weight: 600;
    color: #2f7d4f;
}

.tp-uni-apply {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex: none;
    height: 34px;
    padding: 0 10px 0 12px;
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    background: #ffffff;
    font-family: var(--ab-sans);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ab-navy);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tp-uni-apply .ms {
    font-size: 16px;
}

.tp-uni-apply:hover {
    border-color: var(--ab-navy);
    background: var(--ab-navy);
    color: #ffffff;
}

.tp-none {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 20px;
    background: var(--ab-soft);
}

.tp-none .ms {
    font-size: 26px;
    color: var(--ab-muted);
}

.tp-none p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ab-text);
}

.tp-none strong {
    display: block;
    margin-bottom: 4px;
    color: var(--ab-navy);
}

/* ---------- Liste görünümü ---------- */
.tp-list-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tp-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tp-filter button {
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--ab-line);
    border-radius: 999px;
    background: #ffffff;
    font-family: var(--ab-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ab-text);
    cursor: pointer;
    transition: all 0.25s var(--ab-ease);
}

.tp-filter button[aria-pressed="true"] {
    border-color: var(--ab-navy);
    background: var(--ab-navy);
    color: #ffffff;
}

.tp-filter button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.tp-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.tp-list .ag-empty {
    grid-column: 1 / -1;
}

.tp-city {
    padding: 20px;
    border: 1px solid var(--ab-line);
    border-radius: 24px;
    background: #ffffff;
    transition: box-shadow 0.4s var(--ab-ease), transform 0.4s var(--ab-ease);
}

.tp-city:hover {
    box-shadow: 0 24px 50px -32px rgba(2, 16, 42, 0.35);
    transform: translateY(-3px);
}

.tp-city header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.tp-city h3 {
    margin: 0;
    font-family: var(--ab-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-city header span:not(.tp-badge) {
    font-size: 13px;
    color: var(--ab-muted);
}

.tp-city .tp-badge {
    margin-top: 0;
}

.tp-city .tp-unis {
    max-height: 300px;
}

/* ---------- Model: yapı akışı ---------- */
.tp-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.tp-flow li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 1px 0 var(--ab-line);
}

.tp-flow li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 50%;
    z-index: 1;
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--ab-navy) 50%, transparent 50%) 0 0 / 6px 2px;
    animation: tpFlow 1s linear infinite;
}

@keyframes tpFlow {
    to { background-position: 6px 0; }
}

.tp-flow .ms {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--ab-soft);
    color: var(--ab-navy);
}

.tp-flow li:first-child .ms {
    background: var(--ab-navy);
    color: #ffffff;
}

.tp-flow strong {
    font-family: var(--ab-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-flow small {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ab-muted);
}

/* ---------- Temsilcilerimiz ---------- */
.tp-people .ab-tabs {
    margin: 0;
}

.tp-people-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tp-person {
    overflow: hidden;
    border: 1px solid var(--ab-line);
    border-radius: 26px;
    background: #ffffff;
    transition: transform 0.5s var(--ab-ease), box-shadow 0.5s var(--ab-ease);
}

.tp-person:hover {
    box-shadow: 0 30px 60px -36px rgba(2, 16, 42, 0.4);
    transform: translateY(-6px);
}

.tp-person-photo {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 4.2;
    overflow: hidden;
    background: linear-gradient(160deg, #0b1c3d, #02102a);
}

.tp-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ab-ease);
}

.tp-person:hover .tp-person-photo img {
    transform: scale(1.05);
}

.tp-person-photo span {
    font-family: var(--ab-display);
    font-size: 40px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.tp-person-body {
    padding: 18px 20px 20px;
}

.tp-person-role {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7383;
}

.tp-person h3 {
    margin: 6px 0 10px;
    font-family: var(--ab-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-person p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 13.5px;
    color: var(--ab-muted);
}

.tp-person p .ms {
    font-size: 17px;
}

.tp-people-empty {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.tp-ghosts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tp-ghost {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 22px;
    border: 1px dashed #d5dae2;
    border-radius: 26px;
}

.tp-ghost span {
    aspect-ratio: 4 / 3.6;
    margin-bottom: 8px;
    border-radius: 18px;
}

.tp-ghost i {
    height: 10px;
    border-radius: 6px;
}

.tp-ghost i:nth-child(2) { width: 40%; }
.tp-ghost i:nth-child(3) { width: 75%; height: 14px; }
.tp-ghost i:nth-child(4) { width: 60%; }

.tp-ghost span,
.tp-ghost i {
    background: linear-gradient(90deg, #f1f3f6 25%, #e6e9ee 50%, #f1f3f6 75%) 0 0 / 200% 100%;
    animation: tpShimmer 2.2s linear infinite;
}

@keyframes tpShimmer {
    to { background-position: -200% 0; }
}

.tp-people-msg {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(440px, calc(100% - 32px));
    padding: 30px 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 40px 80px -40px rgba(2, 16, 42, 0.45);
    text-align: center;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(8px);
}

.tp-people-msg > .ms {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: var(--ab-navy);
    font-size: 26px;
    color: #ffffff;
}

.tp-people-msg h3 {
    margin: 0;
    font-family: var(--ab-display);
    font-size: 21px;
    font-weight: 600;
    color: var(--ab-navy);
}

.tp-people-msg p {
    margin: 8px 0 20px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ab-muted);
}

/* ---------- Neden temsilci ---------- */
.tp-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 80px;
    align-items: start;
}

.tp-why-head {
    position: sticky;
    top: calc(var(--thb-header-h, 62px) + 40px);
}

.tp-why-head .ag-btn {
    margin-top: 32px;
}

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

.tp-why-list li {
    position: relative;
    display: grid;
    grid-template-columns: 48px 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 30px 24px;
    border-radius: 26px;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.tp-why-list li + li::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: 0;
    height: 1px;
    background: #dfe3ea;
    transition: opacity 0.3s ease;
}

.tp-why-list li:hover {
    background: #ffffff;
    box-shadow: 0 24px 50px -36px rgba(2, 16, 42, 0.35);
}

.tp-why-list li:hover::before,
.tp-why-list li:hover + li::before {
    opacity: 0;
}

.tp-why-no {
    padding-top: 14px;
    font-family: var(--ab-display);
    font-size: 14px;
    font-weight: 600;
    color: #a3aab6;
}

.tp-why-ic {
    display: grid !important;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #ffffff;
    font-size: 26px !important;
    color: var(--ab-navy);
    transition: background 0.35s ease, color 0.35s ease, transform 0.5s var(--ab-ease);
}

.tp-why-list li:hover .tp-why-ic {
    background: var(--ab-navy);
    color: #ffffff;
    transform: rotate(-8deg);
}

.tp-why-list h3 {
    margin: 4px 0 8px;
    font-family: var(--ab-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ab-navy);
}

.tp-why-list p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ab-text);
}

/* ---------- Başvuru ---------- */
.tp-apply {
    overflow: clip;
}

.tp-apply::before {
    content: '';
    position: absolute;
    right: -200px;
    top: -200px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 65%);
    pointer-events: none;
}

/* ---------- Duyarlı ---------- */
@media (max-width: 1080px) {
    .tp-map-view {
        grid-template-columns: minmax(0, 1fr);
    }

    .tp-map-card {
        min-height: 0;
    }

    .tp-panel {
        min-height: 0;
    }

    .tp-panel .tp-unis {
        max-height: 420px;
    }

    .tp-list,
    .tp-people-grid,
    .tp-ghosts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tp-flow li:nth-child(2)::after {
        display: none;
    }

    .tp-why-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .tp-why-head {
        position: static;
    }

    .tp-hero-map {
        right: -30%;
        width: 130vw;
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .tp-hero-map {
        top: auto;
        bottom: 6%;
        transform: none;
    }

    .tp-toggle {
        width: 100%;
    }

    .tp-status {
        flex-wrap: wrap;
    }

    .tp-status .ag-btn {
        width: 100%;
    }

    .tp-map-card {
        padding: 18px;
        border-radius: 24px;
    }

    .tp-panel {
        padding: 20px;
        border-radius: 24px;
    }

    .tp-list,
    .tp-people-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tp-ghosts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tp-ghosts .tp-ghost:nth-child(n+3) {
        display: none;
    }

    .tp-people-msg {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        margin-top: -120px;
        transform: none;
    }

    .tp-flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .tp-flow li {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 14px;
        padding: 16px;
    }

    .tp-flow li .ms {
        margin: 0;
    }

    .tp-flow li strong {
        flex: 1;
    }

    .tp-flow small {
        flex-basis: 100%;
        padding-left: 58px;
    }

    .tp-flow li:not(:last-child)::after {
        display: block;
        left: 37px;
        right: auto;
        top: auto;
        bottom: -10px;
        width: 2px;
        height: 10px;
        background: linear-gradient(180deg, var(--ab-navy) 50%, transparent 50%) 0 0 / 2px 6px;
    }

    .tp-why-list li {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 22px 4px;
    }

    .tp-why-list li + li::before {
        left: 4px;
        right: 4px;
    }

    .tp-why-no {
        display: none;
    }

    .tp-mini-stats strong {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-orbit,
    .tp-hero-dots span::after,
    .tp-flow li::after,
    .tp-ghost span,
    .tp-ghost i {
        animation: none;
    }
}

/* ---------- Mobil düzeltmeler ---------- */
.tp-unis { grid-template-columns: minmax(0, 1fr); }
.tp-uni { min-width: 0; }

@media (max-width: 768px) {
    /* Hero sayaçları harita noktalarıyla çakışmasın */
    .tp-hero .ab-scroll { display: none; }
    .tp-hero-map { display: none; }
    .tp-hero .ag-hero-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 32px;
        padding-top: 0;
        border-top: 0;
    }
    .tp-hero .ag-hero-facts div {
        padding: 14px 14px 12px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 16px;
        background: rgba(2, 16, 42, 0.92);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    .tp-hero .ag-hero-facts strong { font-size: 22px; line-height: 1.15; }
    .tp-hero .ag-hero-facts span { font-size: 12px; line-height: 1.4; }

    /* İl listesi: butonlar kartın içinde kalsın */
    .tp-uni { gap: 10px; padding: 8px; }
    .tp-uni-logo { width: 38px; height: 38px; }
    .tp-uni-apply { width: 34px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
    .tp-uni-apply .ms { font-size: 18px; }

    /* Harita: kaydırılabilir ve dokunmaya uygun boyutta */
    .tp-map-card { min-height: 0; }
    .tp-map-wrap {
        margin: 14px -18px 0;
        padding: 0 18px 6px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .tp-map-wrap::-webkit-scrollbar { display: none; }
    .tp-map { flex: none; width: 560px; }
    .tp-tip { display: none; }
    .tp-map-head span::after { content: ' · haritayı yana kaydırabilirsin'; }
}
