/* Solimpeks Calculators — hub + tool pages. wizard.css üstüne biner. */

.calc-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

/* ---------- Hub ---------- */
.calc-hub__intro { text-align: center; margin-bottom: 28px; }
.calc-hub__intro h1 { font-size: 30px; letter-spacing: -.02em; margin: 0 0 8px; }
.calc-hub__intro p { color: #475569; font-size: 15px; max-width: 620px; margin: 0 auto; }

.calc-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}
.calc-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.calc-card:hover {
    border-color: var(--c-primary, #c8102e);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}
.calc-card__icon { font-size: 28px; }
.calc-card__title { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.calc-card__desc { font-size: 13px; color: #64748b; line-height: 1.45; }

/* ---------- Tool page ---------- */
.calc-breadcrumb { font-size: 13px; color: #64748b; margin-bottom: 16px; }
.calc-breadcrumb a { color: var(--c-primary, #c8102e); text-decoration: none; }
.calc-breadcrumb span { margin: 0 4px; }

.calc-tool__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.calc-tool__icon { font-size: 38px; line-height: 1; }
.calc-tool__head h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 4px; }
.calc-tool__head p { color: #475569; font-size: 14px; margin: 0; max-width: 640px; }

.calc-form {
    background: #fff;
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 16px;
    padding: 22px;
}
.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field--wide { grid-column: 1 / -1; }
.calc-field label { font-size: 12px; font-weight: 700; color: #334155; text-transform: uppercase; letter-spacing: .03em; }
.calc-field input,
.calc-field select {
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text, #1d2530);
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--c-primary, #c8102e);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .14);
}
.calc-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.calc-check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; }

/* City search */
.calc-citysearch { position: relative; }
.calc-field--city .hesap-city-results { top: calc(100% + 4px); }

/* ---------- Result ---------- */
.calc-result {
    margin-top: 20px;
    background: #f8fafc;
    border: 1px solid var(--c-border, #e2e8f0);
    border-radius: 16px;
    padding: 20px;
}
.calc-result__loading, .calc-result__error { text-align: center; color: #64748b; padding: 12px; font-weight: 600; }
.calc-result__error { color: #b91c1c; }

.calc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.calc-kpi {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}
.calc-kpi__label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; font-weight: 700; }
.calc-kpi__value { font-size: 24px; font-weight: 800; color: #0b2233; margin-top: 4px; letter-spacing: -.01em; }
.calc-kpi__unit { font-size: 13px; font-weight: 600; color: #64748b; }
.calc-kpi--big { background: linear-gradient(135deg, #c8102e, #960a23); border: none; }
.calc-kpi--big .calc-kpi__label { color: rgba(255,255,255,.85); }
.calc-kpi--big .calc-kpi__value { color: #fff; font-size: 30px; }
.calc-kpi--big .calc-kpi__unit { color: rgba(255,255,255,.85); }

.calc-note { font-size: 13px; color: #475569; margin: 12px 0 0; }
.calc-saved { font-size: 14px; color: #0b2233; margin: 14px 0 0; text-align: center; }
.calc-h3 { font-size: 15px; font-weight: 800; margin: 20px 0 10px; }

/* Compare (CO₂ / fuel switch) */
.calc-compare { display: flex; align-items: stretch; gap: 12px; margin-top: 14px; }
.calc-compare__col { flex: 1; border-radius: 12px; padding: 16px; text-align: center; }
.calc-compare__col--bad  { background: #fef2f2; border: 1px solid #fecaca; }
.calc-compare__col--good { background: #f0fdf4; border: 1px solid #bbf7d0; }
.calc-compare__h { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #475569; }
.calc-compare__v { font-size: 26px; font-weight: 800; margin: 6px 0 2px; }
.calc-compare__col--bad .calc-compare__v  { color: #b91c1c; }
.calc-compare__col--good .calc-compare__v { color: #15803d; }
.calc-compare__v small { font-size: 13px; font-weight: 600; }
.calc-compare__s { font-size: 12px; color: #64748b; }
.calc-compare__arrow { align-self: center; font-size: 24px; color: #94a3b8; font-weight: 700; }

/* F-Gas */
.calc-fgas { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.calc-fgas--good { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.calc-fgas--warn { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.calc-fgas--bad  { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* System design */
.calc-complist { list-style: none; margin: 0; padding: 0; }
.calc-complist li {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
    padding: 10px 0; border-bottom: 1px solid #e2e8f0; font-size: 14px;
}
.calc-complist span { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #64748b; font-weight: 700; min-width: 110px; }
.calc-schematic { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.calc-schematic svg { width: 100%; height: auto; display: block; }

/* CTA / disclaimer */
.calc-cta { text-align: center; margin-top: 28px; }
.calc-disclaimer { font-size: 12px; color: #94a3b8; margin-top: 16px; text-align: center; }

@media (max-width: 600px) {
    .calc-compare { flex-direction: column; }
    .calc-compare__arrow { transform: rotate(90deg); }
    .calc-tool__head h1 { font-size: 22px; }
}
