/* ─── Hero Section ───────────────────────────────────────────────────────────── */
.hero {
    padding: var(--space-4);
}

.hero-card {
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(250, 254, 252, 0.95) 55%,
            rgba(238, 250, 244, 0.92) 100%
        ),
        repeating-linear-gradient(
            rgba(26, 183, 105, 0.015) 0,
            rgba(26, 183, 105, 0.015) 1px,
            transparent 1px,
            transparent 34px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(26, 183, 105, 0.015) 0,
            rgba(26, 183, 105, 0.015) 1px,
            transparent 1px,
            transparent 34px
        ),
        var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    padding: var(--space-6);
    display: grid;
    gap: var(--space-5);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--brand-green) 0%,
        var(--brand-green-hover) 25%,
        var(--cyan) 50%,
        var(--brand-green-hover) 75%,
        var(--brand-green) 100%
    );
    background-size: 200% 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 3;
    animation: hero-shine 6s linear infinite;
}

@keyframes hero-shine {
    0%   { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-card::before { animation: none; }
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../img/image_e3b244.jpg') center center / cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

html[data-theme="dark"] .hero-card {
    background:
        linear-gradient(135deg, rgba(11, 20, 38, 0.94) 0%, rgba(10, 18, 32, 0.92) 100%),
        linear-gradient(135deg, rgba(11, 132, 255, 0.04), rgba(16, 185, 129, 0.03)),
        var(--panel);
    border-color: var(--border);
}

html[data-theme="dark"] .hero-card::before {
    background: linear-gradient(90deg, var(--brand-green) 0%, var(--cyan) 100%);
}

html[data-theme="dark"] .hero-card::after {
    background: 
        linear-gradient(135deg, rgba(3, 9, 20, 0.76) 0%, rgba(11, 21, 40, 0.68) 100%),
        url('../../img/image_e3b244.jpg') center center / cover no-repeat;
    opacity: 0.12;
}



/* ─── Hero Badge — brand tagline pill ───────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    background: var(--brand-green-muted);
    border: 1px solid var(--success-ring);
    color: var(--brand-green-hover);
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-2);
    user-select: none;
}

.hero-badge svg {
    width: 0.6875rem;
    height: 0.6875rem;
    fill: currentColor;
    flex: 0 0 auto;
}

html[data-theme="dark"] .hero-badge {
    background: var(--brand-green-muted);
    border-color: var(--success-ring);
    color: var(--success-bright);
}

/* ─── Hero Card Top layout ───────────────────────────────────────────────────── */
.hero-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
    align-items: stretch;
    gap: var(--space-5);
    position: relative;
    z-index: 2;
}

.hero-card__copy {
    min-width: 0;
}

/* ─── Meta row: badge + live pill ───────────────────────────────────────────── */
.hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.hero-meta-row .hero-badge {
    margin-bottom: 0;
}

.hero-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--surface-tint);
    border: 1px solid var(--border-medium);
    color: var(--brand-navy);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    user-select: none;
}

.hero-live-pill__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--live-dot);
    box-shadow: 0 0 0 3px var(--live-dot-halo);
    animation: hero-live-blink 1.6s ease-in-out infinite;
}

@keyframes hero-live-blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

html[data-theme="dark"] .hero-live-pill {
    background: var(--surface-tint);
    border-color: var(--border);
    color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
    .hero-live-pill__dot { animation: none; }
}

.hero-card__title {
    margin: 0;
    color: var(--brand-navy);
    /* [TYPO] Mobilde 26px tabandan başla; geniş ekranda 40px tavana yumuşak
       çıkış. clamp() ile viewport bazlı akıcı boyut — overflow yok, sıkışma
       yok. Sözcükler 22-28px aralığında ideal okunabilirlik. */
    font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem);
    font-weight: 900;
    line-height: 1.08;
    /* -0.035em: kurumsal sıkışıklık ama "Bölgesel İş İlanları" birbirine
       yapışmayacak şekilde rahat. */
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.hero-card__title-accent {
    background: var(--gradient-brand-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
/* Dark gradient artık theme.css'te tek-kaynak — buradaki override silindi. */

/* ─── Inline canlı sayaç (mobil ekranda da görünür) ──────────────────────── */
.hero-counter {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding: 10px 16px 10px 12px;
    border-radius: var(--radius-lg);
    background: var(--gradient-brand-soft);
    border: 1px solid var(--success-ring);
}

.hero-counter__number {
    font-size: clamp(1.75rem, 4.2vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--brand-green-hover);
    font-variant-numeric: tabular-nums;
    min-width: 1.5ch;
    text-align: center;
}

.hero-counter__label {
    color: var(--brand-navy);
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-counter__label small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0;
}

html[data-theme="dark"] .hero-counter {
    background: var(--gradient-brand-soft);
    border-color: var(--success-ring);
}

html[data-theme="dark"] .hero-counter__number {
    color: var(--success-bright);
}

html[data-theme="dark"] .hero-counter__label {
    color: var(--text);
}

/* Region pill ikonu */
.hero-region-pill svg {
    width: 0.625rem;
    height: 0.625rem;
    fill: currentColor;
    margin-right: 4px;
    flex: 0 0 auto;
    opacity: 0.85;
}

html[data-theme="dark"] .hero-card__title {
    color: var(--text);
}

.hero-card__subtitle {
    margin: var(--space-3) 0 0;
    color: var(--muted);
    font-size: var(--font-sm);
    line-height: 1.72;
    max-width: 54ch;
}


/* ─── Region Pills ───────────────────────────────────────────────────────────── */
.hero-regions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.hero-region-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.1875rem 0.6875rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--success-ring);
    background: var(--success-soft);
    color: var(--brand-green-hover);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    cursor: default;
}

.hero-region-pill:hover {
    transform: translateY(-1px);
    background: var(--brand-green-muted);
    border-color: var(--brand-green);
}

html[data-theme="dark"] .hero-region-pill {
    border-color: var(--success-ring);
    background: var(--success-soft);
    color: var(--success-bright);
}

/* ─── Hero CTA Buttons ───────────────────────────────────────────────────────── */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.hero-cta,
.hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 3.125rem;
    padding: 0 1.25rem;
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
    font-weight: 800;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

/* Primary CTA — Corporate Green */
.hero-cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-hover) 100%);
    box-shadow: 0 8px 24px rgba(26, 183, 105, 0.22);
    isolation: isolate;
}

.hero-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.hero-cta:hover {
    background: var(--gradient-brand);
    filter: brightness(0.96) saturate(1.08);
    box-shadow: 0 14px 36px var(--success-ring);
    transform: translateY(-1px);
}

.hero-cta:hover::before {
    transform: translateX(120%);
}

.hero-cta:active {
    transform: translateY(0) scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
    .hero-cta::before { display: none; }
}

/* Ghost — navy border */
.hero-ghost {
    color: var(--brand-navy);
    background: transparent;
    border-color: var(--border-medium);
}

.hero-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

html[data-theme="dark"] .hero-cta {
    background: var(--brand-green);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.18);
}

html[data-theme="dark"] .hero-ghost {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}

.hero-cta svg,
.hero-ghost svg {
    width: 1.0625rem;
    height: 1.0625rem;
    fill: currentColor;
    flex: 0 0 auto;
}

/* ─── Decorative Map Visual ──────────────────────────────────────────────────── */
.hero-map {
    position: relative;
    width: 100%;
    min-height: 230px;
    max-width: 340px;
    justify-self: end;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at 42% 44%, rgba(26, 183, 105, 0.12), transparent 40%),
        radial-gradient(circle at 60% 50%, rgba(11, 35, 71, 0.07), transparent 48%),
        linear-gradient(160deg, #e8f4fd 0%, #eef8f3 100%);
    border: 1px solid rgba(26, 183, 105, 0.18);
}

html[data-theme="dark"] .hero-map {
    background:
        radial-gradient(circle at center, rgba(37, 99, 235, 0.18), transparent 20%),
        radial-gradient(circle at center, rgba(14, 165, 233, 0.12), transparent 44%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    border-color: rgba(96, 165, 250, 0.16);
}

.hero-map__board {
    position: absolute;
    inset: 16px 18px 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(26, 183, 105, 0.18);
    background:
        linear-gradient(180deg, rgba(26, 183, 105, 0.10), rgba(11, 35, 71, 0.04)),
        rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .hero-map__board {
    border-color: rgba(96, 165, 250, 0.12);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.14), rgba(15, 23, 42, 0.28)),
        rgba(15, 23, 42, 0.42);
}

.hero-map__grid,
.hero-map__halo,
.hero-map__card,
.hero-map__chip,
.hero-map__magnifier,
.hero-map__spark {
    position: absolute;
    pointer-events: none;
}

.hero-map__grid {
    inset: 16px 18px 18px 22px;
    background:
        linear-gradient(rgba(26, 183, 105, 0.10) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(26, 183, 105, 0.10) 1px, transparent 1px) 0 0 / 40px 40px;
    opacity: 0.6;
}

html[data-theme="dark"] .hero-map__grid {
    background:
        linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px) 0 0 / 40px 40px;
}

.hero-map__halo {
    inset: 50% auto auto 50%;
    width: 188px;
    height: 188px;
    transform: translate(-38%, -42%);
    border-radius: 50%;
    border: 1px solid rgba(26, 183, 105, 0.18);
    box-shadow:
        0 0 0 24px rgba(26, 183, 105, 0.04),
        0 0 0 54px rgba(26, 183, 105, 0.025);
}

.hero-map__card {
    border-radius: 16px;
    border: 1px solid rgba(26, 183, 105, 0.22);
    background:
        linear-gradient(180deg, rgba(26, 183, 105, 0.16), rgba(255, 255, 255, 0.82)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 24px rgba(11, 35, 71, 0.10);
}

html[data-theme="dark"] .hero-map__card {
    border-color: rgba(96, 165, 250, 0.20);
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.24), rgba(15, 23, 42, 0.6)),
        rgba(15, 23, 42, 0.62);
}

.hero-map__card--list {
    left: 34px;
    top: 82px;
    width: 130px;
    height: 84px;
}

.hero-map__card--list::before,
.hero-map__card--list::after,
.hero-map__card--sheet::before,
.hero-map__card--sheet::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    border-radius: 999px;
    background: rgba(11, 35, 71, 0.16);
}

html[data-theme="dark"] .hero-map__card--list::before,
html[data-theme="dark"] .hero-map__card--list::after,
html[data-theme="dark"] .hero-map__card--sheet::before,
html[data-theme="dark"] .hero-map__card--sheet::after {
    background: rgba(148, 163, 184, 0.32);
}

.hero-map__card--list::before { top: 16px; height: 7px; width: 42px; }
.hero-map__card--list::after  { top: 34px; height: 7px; width: 74px; }

.hero-map__card--sheet {
    left: 92px;
    top: 24px;
    width: 104px;
    height: 146px;
    background:
        linear-gradient(180deg, rgba(26, 183, 105, 0.22), rgba(11, 35, 71, 0.06)),
        rgba(255, 255, 255, 0.90);
}

html[data-theme="dark"] .hero-map__card--sheet {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.34), rgba(11, 18, 34, 0.72)),
        rgba(15, 23, 42, 0.66);
}

.hero-map__card--sheet::before { top: 22px; height: 8px; width: 52px; }
.hero-map__card--sheet::after  { top: 44px; height: 8px; width: 38px; }

.hero-map__chip {
    display: block;
    height: 12px;
    border-radius: 999px;
    background: rgba(26, 183, 105, 0.28);
}

.hero-map__chip--primary   { width: 32px; left: 46px; top: 108px; }
.hero-map__chip--secondary {
    width: 22px; right: 58px; top: 66px;
    background: rgba(11, 35, 71, 0.14);
}

.hero-map__magnifier {
    inset: 50% auto auto 50%;
    width: 88px;
    height: 88px;
    transform: translate(-8%, 6%);
    border-radius: 50%;
    border: 7px solid rgba(26, 183, 105, 0.82);
    box-shadow:
        0 0 0 8px rgba(26, 183, 105, 0.10),
        0 6px 20px rgba(26, 183, 105, 0.20);
}

html[data-theme="dark"] .hero-map__magnifier {
    border-color: rgba(147, 197, 253, 0.92);
    box-shadow:
        0 0 0 10px rgba(37, 99, 235, 0.12),
        0 8px 22px rgba(37, 99, 235, 0.22);
}

.hero-map__magnifier::before {
    content: "";
    position: absolute;
    width: 32px;
    height: 9px;
    border-radius: 999px;
    background: var(--brand-green);
    right: -14px;
    bottom: -2px;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 3px 10px rgba(26, 183, 105, 0.28);
}

html[data-theme="dark"] .hero-map__magnifier::before {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
}

.hero-map__magnifier::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.2), rgba(248, 250, 252, 0.06));
}

.hero-map__spark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-green);
    box-shadow: 0 0 0 4px rgba(26, 183, 105, 0.10), 0 0 12px rgba(26, 183, 105, 0.24);
}

.hero-map__spark--a { top: 28px; right: 26px; }
.hero-map__spark--b { bottom: 28px; right: 22px; background: rgba(11, 35, 71, 0.36); }

.hero-map__rings,
.hero-map__pin,
.hero-map__tag {
    position: absolute;
}

.hero-map__rings {
    inset: 50% auto auto 50%;
    width: 172px;
    height: 172px;
    transform: translate(-32%, -24%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(26, 183, 105, 0.42) 0 8px, transparent 9px),
        radial-gradient(circle, transparent 0 26px, rgba(26, 183, 105, 0.18) 27px 28px, transparent 29px),
        radial-gradient(circle, transparent 0 52px, rgba(26, 183, 105, 0.12) 53px 54px, transparent 55px),
        radial-gradient(circle, transparent 0 76px, rgba(26, 183, 105, 0.08) 77px 78px, transparent 79px);
    opacity: 0.9;
}

html[data-theme="dark"] .hero-map__rings {
    background:
        radial-gradient(circle, rgba(11, 132, 255, 0.34) 0 8px, transparent 9px),
        radial-gradient(circle, transparent 0 26px, rgba(59, 130, 246, 0.18) 27px 28px, transparent 29px),
        radial-gradient(circle, transparent 0 52px, rgba(96, 165, 250, 0.14) 53px 54px, transparent 55px),
        radial-gradient(circle, transparent 0 76px, rgba(96, 165, 250, 0.10) 77px 78px, transparent 79px);
}

.hero-map__pin {
    inset: 50% auto auto 50%;
    width: 22px;
    height: 22px;
    transform: translate(-28%, -48%);
    background: linear-gradient(180deg, #2cd880, var(--brand-green));
    border-radius: 50% 50% 50% 0;
    rotate: -45deg;
    box-shadow: 0 0 0 5px rgba(26, 183, 105, 0.18), 0 8px 16px rgba(26, 183, 105, 0.26);
}

html[data-theme="dark"] .hero-map__pin {
    background: linear-gradient(180deg, #60a5fa, #2563eb);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.16), 0 10px 18px rgba(37, 99, 235, 0.24);
}

.hero-map__pin::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
    rotate: 45deg;
}

html[data-theme="dark"] .hero-map__pin::after {
    background: #0b1020;
}

.hero-map__tag {
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 183, 105, 0.22);
    color: var(--brand-navy);
    font-size: 0.6875rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(11, 35, 71, 0.10);
}

html[data-theme="dark"] .hero-map__tag {
    background: rgba(17, 25, 42, 0.72);
    border-color: rgba(96, 165, 250, 0.16);
    color: var(--text);
}

.hero-map__tag--kapakli  { top: 22px; right: 24px; }
.hero-map__tag--corlu    { top: 106px; right: 18px; }
.hero-map__tag--velikoy  { left: 18px; bottom: 22px; }

.hero-map__tag--regional {
    top: 22px;
    left: 22px;
    color: var(--brand-green-hover);
    border-color: rgba(26, 183, 105, 0.28);
    background: rgba(26, 183, 105, 0.08);
}

html[data-theme="dark"] .hero-map__tag--regional {
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.18);
}

/* ─── Stats Row ──────────────────────────────────────────────────────────────── */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    position: relative;
    z-index: 2;
}


.hero-stat {
    position: relative;
    border-radius: var(--radius-lg);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: grid;
    gap: 4px;
    overflow: hidden;
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
    will-change: transform;
}

.hero-stat::after {
    content: "";
    position: absolute;
    inset: auto -40% -60% auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    color: var(--brand-green);
}

.hero-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -12px rgba(11, 35, 71, 0.18), var(--shadow-card);
}

.hero-stat:hover::after {
    opacity: 0.12;
}

.hero-stat--success:hover { border-color: rgba(26, 183, 105, 0.42); }
.hero-stat--info:hover    { border-color: rgba(11, 35, 71, 0.28); }
.hero-stat--warning:hover { border-color: rgba(217, 119, 6, 0.36); }

.hero-stat--success::after { color: var(--brand-green); }
.hero-stat--info::after    { color: var(--brand-navy); }
.hero-stat--warning::after { color: #d97706; }

html[data-theme="dark"] .hero-stat:hover {
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-medium);
}

html[data-theme="dark"] .hero-stat--success:hover { border-color: rgba(34, 197, 94, 0.48); }
html[data-theme="dark"] .hero-stat--info:hover    { border-color: rgba(59, 130, 246, 0.48); }
html[data-theme="dark"] .hero-stat--warning:hover { border-color: rgba(245, 158, 11, 0.48); }

html[data-theme="dark"] .hero-stat {
    background: var(--panel-2);
}

.hero-stat__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 4px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-stat:hover .hero-stat__icon {
    transform: scale(1.08) rotate(-4deg);
}

.hero-stat--success:hover .hero-stat__icon { box-shadow: 0 6px 16px rgba(26, 183, 105, 0.28); }
.hero-stat--info:hover .hero-stat__icon    { box-shadow: 0 6px 16px rgba(11, 35, 71, 0.20); }
.hero-stat--warning:hover .hero-stat__icon { box-shadow: 0 6px 16px rgba(217, 119, 6, 0.24); }

.hero-stat__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Success stat — green */
.hero-stat--success {
    border-color: rgba(26, 183, 105, 0.24);
    background: linear-gradient(160deg, rgba(26, 183, 105, 0.06), transparent), var(--bg-soft);
}

html[data-theme="dark"] .hero-stat--success {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), rgba(255, 255, 255, 0)), var(--panel-2);
}

.hero-stat--success .hero-stat__icon {
    background: rgba(26, 183, 105, 0.12);
    color: var(--brand-green-hover);
}

html[data-theme="dark"] .hero-stat--success .hero-stat__icon {
    background: rgba(34, 197, 94, 0.14);
    color: #4ade80;
}

/* Warning stat — amber */
.hero-stat--warning {
    border-color: rgba(217, 119, 6, 0.20);
    background: linear-gradient(160deg, rgba(217, 119, 6, 0.05), transparent), var(--bg-soft);
}

html[data-theme="dark"] .hero-stat--warning {
    border-color: rgba(245, 158, 11, 0.22);
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0)), var(--panel-2);
}

.hero-stat--warning .hero-stat__icon {
    background: rgba(217, 119, 6, 0.10);
    color: #a16207;
}

html[data-theme="dark"] .hero-stat--warning .hero-stat__icon {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

/* Info stat — navy/blue */
.hero-stat--info {
    border-color: rgba(11, 35, 71, 0.14);
    background: linear-gradient(160deg, rgba(11, 35, 71, 0.04), transparent), var(--bg-soft);
}

html[data-theme="dark"] .hero-stat--info {
    border-color: rgba(59, 130, 246, 0.22);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0)), var(--panel-2);
}

.hero-stat--info .hero-stat__icon {
    background: rgba(11, 35, 71, 0.08);
    color: var(--brand-navy);
}

html[data-theme="dark"] .hero-stat--info .hero-stat__icon {
    background: rgba(59, 130, 246, 0.14);
    color: #60a5fa;
}

.hero-stat__label {
    color: var(--muted);
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat__value {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--brand-navy);
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    word-break: break-word;
}

/* Toplam ilan rakamı için ekstra büyük varyant — tek satır sayı için */
.hero-stat--success .hero-stat__value {
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    letter-spacing: -0.03em;
}

html[data-theme="dark"] .hero-stat__value {
    color: var(--text);
}

.hero-stat__hint {
    color: var(--muted-light);
    font-size: 0.6875rem;
    line-height: 1.4;
}

html[data-theme="dark"] .hero-stat__hint {
    color: var(--muted);
}


/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
    .hero-card__top {
        grid-template-columns: 1fr;
    }

    .hero-map {
        max-width: none;
        justify-self: stretch;
        min-height: 200px;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 900px) {
    .hero {
        padding: var(--space-3);
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-card {
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .hero-card__title {
        font-size: clamp(22px, 5.5vw, 30px);
    }

    .hero-counter {
        margin-top: var(--space-3);
        padding: 8px 14px 8px 10px;
        width: 100%;
        justify-content: flex-start;
    }

    .hero-counter__number {
        font-size: clamp(1.625rem, 6vw, 2rem);
    }

    .hero-meta-row {
        gap: 6px;
    }

    .hero-live-pill {
        padding: 3px 8px;
        font-size: 0.625rem;
    }
}

@media (max-width: 420px) {
    .hero-card {
        padding: var(--space-3) var(--space-3) var(--space-4);
        gap: var(--space-3);
        border-radius: var(--radius-lg);
    }

    .hero-map {
        min-height: 178px;
        max-width: 178px;
        justify-self: end;
        align-self: stretch;
    }

    .hero-map__board { inset: 12px 12px 12px 16px; border-radius: 16px; }
    .hero-map__grid  { inset: 12px 12px 12px 16px; opacity: 0.5; }

    .hero-map__rings {
        width: 112px;
        height: 112px;
        transform: translate(-34%, -18%);
    }

    .hero-map__pin {
        width: 17px;
        height: 17px;
        transform: translate(-24%, -36%);
    }

    .hero-map__card--list   { left: 12px; top: 78px; width: 88px; height: 52px; }
    .hero-map__card--sheet  { left: 54px; top: 18px; width: 76px; height: 108px; }
    .hero-map__magnifier    { width: 60px; height: 60px; transform: translate(4%, 12%); border-width: 5px; }
    .hero-map__chip--primary   { width: 20px; left: 22px; top: 90px; }
    .hero-map__chip--secondary { width: 14px; right: 28px; top: 40px; }
    .hero-map__spark--a { top: 18px; right: 12px; }
    .hero-map__spark--b { bottom: 18px; right: 10px; }

    .hero-card__title {
        font-size: clamp(19px, 6vw, 24px);
        line-height: 1.06;
        letter-spacing: -0.04em;
    }

    .hero-card__subtitle {
        font-size: 12px;
        line-height: 1.55;
    }

    /* hero-actions mobil düzeni responsive.css @420px'te flex olarak tanımlandı. */
    .hero-card__top {
        grid-template-columns: 1fr;
        gap: var(--space-2);
    }

    .hero-map { display: none !important; }

    .hero-regions {
        margin-top: 6px;
        gap: 4px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
        /* Sağ kenarda yumuşak geçiş: kırpılan son pill "kesik" değil, kaydırılabilir görünür */
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
                mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent 100%);
    }

    .hero-regions::-webkit-scrollbar { display: none; }

    .hero-region-pill { scroll-snap-align: start; }

    .hero-region-pill {
        min-height: 24px;
        padding: 2px 8px;
        font-size: 11px;
        white-space: nowrap;
    }

    /* Stats düzeni (grid, order, padding, tipografi) responsive.css @420px bloğuna taşındı.
       Orada nth-child(3)/warning çakışması da giderildi (grid-column: auto !important). */
}
