/* Koşar Design System B — "Hızlı & Güvenilir" */
:root {
    --ink: #10262E;
    --ink-soft: #55686E;
    --ink-dark-bg: #10262E;
    --paper: #FBFCFC;
    --line: #E7ECED;
    --line-soft: #DDE4E6;
    --accent: #0E7FBF;
    --accent-hover: #0A6396;
    --accent-soft-bg: #D6ECF8;
    --good-bg: #E7F6EC;
    --good: #1B8A47;
    --good-dot: #21B25A;
    --placeholder-line: #C7D1D4;
    --placeholder-text: #8A979C;
    --trust-muted: #9FB4BA;
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

.site-root {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main { flex: 1; }

/* —— Header —— */
.hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 56px;
    gap: 16px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    z-index: 61;
}
.brand-logo {
    display: block;
    height: auto;
    width: auto;
    max-width: 100%;
    background: transparent;
}
.brand-logo--header {
    height: 52px;
    width: auto;
    animation: brand-in 0.65s ease-out both;
    transition: transform 0.35s ease, filter 0.35s ease;
}
.brand-link:hover .brand-logo--header {
    transform: translateY(-1px);
    filter: drop-shadow(0 6px 14px rgba(14, 127, 191, 0.28));
}
.brand-logo--footer {
    height: 48px;
    width: auto;
    margin-bottom: 14px;
    animation: brand-in 0.7s ease-out both, footer-logo-glow 3.6s ease-in-out infinite;
}
.foot-brand-link {
    display: inline-flex;
    text-decoration: none;
}
.foot-brand-link:hover .brand-logo--footer {
    animation: brand-in 0.7s ease-out both, footer-logo-glow-fast 1.4s ease-in-out infinite;
}

@keyframes brand-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes footer-logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.12))
                drop-shadow(0 0 12px rgba(14, 127, 191, 0.18));
        opacity: 0.92;
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35))
                drop-shadow(0 0 18px rgba(14, 127, 191, 0.4));
        opacity: 1;
    }
}
@keyframes footer-logo-glow-fast {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25))
                drop-shadow(0 0 14px rgba(14, 127, 191, 0.35));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
                drop-shadow(0 0 22px rgba(14, 127, 191, 0.55));
    }
}

@media (prefers-reduced-motion: reduce) {
    .brand-logo--header,
    .brand-logo--footer,
    .foot-brand-link:hover .brand-logo--footer {
        animation: none;
        opacity: 1;
        filter: none;
        transform: none;
    }
}

.crumbs {
    padding: 14px 56px 0;
    font-size: 13px;
    color: var(--ink-soft);
}
.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}
.crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.crumbs li:not(:last-child)::after {
    content: "/";
    color: var(--ink-muted, #9aa3ad);
    margin-left: 6px;
}
.crumbs a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
}
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.nav a {
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); font-weight: 600; }
.nav .nav-call { display: none; }

.hdr-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    z-index: 61;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-toggle:hover { border-color: var(--accent); }
.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle {
    border-color: var(--accent);
    background: var(--accent-soft-bg);
}
body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    display: none;
}

.callbtn {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 100px;
    font-size: 14.5px;
    white-space: nowrap;
}
.callbtn:hover { background: var(--accent-hover); color: #fff; }

/* —— Buttons —— */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 15px 26px;
    border-radius: 100px;
    font-size: 15px;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1.5px solid var(--line-soft);
    color: var(--ink);
    font-weight: 600;
    padding: 15px 24px;
    border-radius: 100px;
    font-size: 15px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }

.ctarow { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

/* —— Status pill —— */
.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--good-bg);
    color: var(--good);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.status .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--good-dot);
    box-shadow: 0 0 0 3px #cdeed9;
}

/* —— Typography —— */
h1.hl,
.page-hero h1 {
    font-weight: 800;
    font-size: 46px;
    line-height: 1.12;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1.hl em,
.page-hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.sub,
.page-hero .sub {
    color: var(--ink-soft);
    font-size: 16.5px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 0 28px;
}

.section-title {
    font-weight: 700;
    font-size: 22px;
    color: var(--ink);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.qtitle {
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    margin-bottom: 16px;
}

/* —— Hero —— */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 56px 56px 20px;
    align-items: center;
}

.page-hero {
    padding: 40px 56px 20px;
}

.page-hero .sub { margin-bottom: 24px; }

.rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 13.5px;
}

.placeholder-badge {
    border: 1px dashed var(--placeholder-line);
    color: var(--placeholder-text);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.heroart {
    background: linear-gradient(160deg, #0E7FBF, #0A5E8F);
    border-radius: 28px;
    padding: 26px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.heroart::after {
    content: "";
    position: absolute;
    inset: -40px auto auto -40px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}
.heroart > * { position: relative; z-index: 1; }

.card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
}
.card:last-child { margin-bottom: 0; }
.card .t { font-weight: 700; font-size: 14.5px; }
.card .s { font-size: 12.5px; color: var(--accent-soft-bg); margin-top: 2px; }

.avatarph {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-soft-bg);
    font-size: 13px;
    margin-bottom: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.35);
    text-align: center;
    padding: 12px;
}

.hero-visual {
    width: 100%;
    height: 168px;
    border-radius: 16px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}
.hero-icon { width: 88px; height: 88px; opacity: 0.95; }

/* —— Quickpick chips —— */
.quickpick { padding: 30px 56px 56px; }
.page-section { padding: 20px 56px 56px; }

.chiprow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.chiprow.cols-4 { grid-template-columns: repeat(4, 1fr); }
.chiprow.cols-3 { grid-template-columns: repeat(3, 1fr); }
.chiprow.auto-fit {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.chip {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    color: inherit;
    transition: border-color 0.15s ease;
}
.chip:hover { border-color: var(--accent); color: inherit; }
.chip .ic { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
.chip .n { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.chip .d {
    font-size: 11px;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.35;
    max-width: 100%;
}

/* —— FAQ accordion (svcrow-like) —— */
.faqrow {
    border-top: 1px solid var(--line);
    padding: 0;
}
.faqrow:last-child { border-bottom: 1px solid var(--line); }
.faqrow > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faqrow > summary::-webkit-details-marker { display: none; }
.faqrow > summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}
.faqrow[open] > summary::after { content: "–"; }
.faqrow .faq-a {
    padding: 0 0 16px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.6;
}
.faqrow .faq-a a { font-weight: 600; }

/* —— Trust bar —— */
.trust {
    background: var(--ink-dark-bg);
    padding: 40px 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trustitem { display: flex; gap: 12px; align-items: flex-start; }
.trustitem svg { flex-shrink: 0; margin-top: 2px; }
.trustitem .t { color: #fff; font-weight: 700; font-size: 14.5px; }
.trustitem .s { color: var(--trust-muted); font-size: 12.5px; margin-top: 2px; }

/* —— Footer —— */
.site-footer {
    background: var(--ink-dark-bg);
    color: var(--trust-muted);
    padding: 40px 56px;
    font-size: 13.5px;
    line-height: 1.6;
}
.site-footer .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}
.site-footer a { color: var(--accent-soft-bg); font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-title {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .foot-copy {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12.5px;
}

/* —— Content / article —— */
.prose {
    color: var(--ink);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 720px;
}
.prose p,
.content-body p { margin: 0 0 1em; color: var(--ink); }
.prose h2,
.content-body h2 {
    font-weight: 700;
    font-size: 22px;
    margin: 1.6em 0 0.6em;
    color: var(--ink);
}
.prose h3,
.content-body h3 {
    font-weight: 700;
    font-size: 18px;
    margin: 1.4em 0 0.5em;
}
.prose ul,
.prose ol,
.content-body ul,
.content-body ol { margin: 0 0 1em; padding-left: 1.25em; color: var(--ink-soft); }
.prose a,
.content-body a { font-weight: 600; }
.prose img,
.content-body img,
.article-cover {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 1em 0;
}

/* Imported content structure (post-Elementor repair) */
.content-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 12px;
}
.content-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    padding: 18px 20px;
    margin: 0 0 1.25em;
}
.content-card-title {
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 8px;
    color: var(--ink);
}
.content-card > p:last-child { margin-bottom: 0; }
.content-card .ctarow {
    margin-top: 14px;
    margin-bottom: 0;
}
.content-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 0 0 1.4em;
}
.content-card-grid .content-card { margin-bottom: 0; }
.content-callout {
    border-left: 3px solid var(--accent);
    background: var(--accent-soft-bg);
    padding: 12px 16px;
    border-radius: 0 12px 12px 0;
    margin: 0 0 1.25em;
    color: var(--ink);
}
.prose .ctarow,
.content-body .ctarow {
    margin-top: 12px;
    margin-bottom: 1.25em;
}
.prose a.btn-primary,
.prose a.btn-ghost,
.content-body a.btn-primary,
.content-body a.btn-ghost {
    text-decoration: none;
    font-weight: 700;
}
.prose a.btn-primary:hover,
.content-body a.btn-primary:hover { color: #fff; }
.prose a.btn-ghost:hover,
.content-body a.btn-ghost:hover { color: var(--ink); }

.meta-line {
    color: var(--ink-soft);
    font-size: 13.5px;
    margin: 0 0 20px;
}

/* —— List rows / accordion-like —— */
.svcrow {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}
.svcrow:last-child { border-bottom: 1px solid var(--line); }
.svcrow a {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}
.svcrow a:hover { color: var(--accent); }
.svcrow p {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}

.list-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 18px 20px;
    display: block;
    color: inherit;
    transition: border-color 0.15s ease;
}
.list-card:hover { border-color: var(--accent); color: inherit; }
.list-card .t { font-weight: 700; font-size: 15.5px; color: var(--ink); }
.list-card .s {
    margin-top: 6px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

/* —— Forms (contact) —— */
.form-stack { max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.form-stack label {
    display: block;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink);
    margin-bottom: 6px;
}
.form-stack input,
.form-stack textarea,
.form-stack select {
    width: 100%;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}
.form-stack input:focus,
.form-stack textarea:focus,
.form-stack select:focus {
    border-color: var(--accent);
}
.form-stack .hint {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 4px;
}
.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.45;
}
.form-check input { width: auto; margin-top: 3px; accent-color: var(--accent); }

.map {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 16px;
    margin-top: 20px;
    background: var(--line);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-block {
    border: 1.5px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background: #fff;
}
.contact-block .t { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.contact-block .s { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* —— Company story timeline —— */
.timeline { border-top: 1px solid var(--line); max-width: 720px; }
.timeline-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.timeline-year {
    font-weight: 800;
    font-size: 15px;
    color: var(--accent);
    letter-spacing: -0.01em;
}
.timeline-title {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--ink);
}
.timeline-text {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.55;
}
@media (max-width: 860px) {
    .timeline-item { grid-template-columns: 56px 1fr; gap: 12px; }
}

/* —— Pagination —— */
.pagination-wrap { margin-top: 28px; }
.pagination-wrap nav { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination-wrap a,
.pagination-wrap span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 100px;
    border: 1.5px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.pagination-wrap a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 860px) {
    .hdr {
        padding: 14px 20px;
        position: relative;
        z-index: 60;
    }
    .brand-logo--header { height: 42px; }
    .brand-logo--footer { height: 40px; }
    .crumbs { padding: 12px 20px 0; }
    .callbtn { display: none; }
    .nav-toggle { display: inline-flex; }

    .nav {
        display: flex;
        position: absolute;
        top: calc(100% - 4px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: #fff;
        border: 1.5px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(16, 38, 46, 0.12);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
        z-index: 70;
    }
    body.nav-open .nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav a {
        display: block;
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 15.5px;
        font-weight: 600;
        color: var(--ink);
    }
    .nav a:hover,
    .nav a.is-active {
        background: var(--accent-soft-bg);
        color: var(--accent);
    }
    .nav .nav-call {
        display: block;
        margin-top: 6px;
        text-align: center;
        background: var(--accent);
        color: #fff !important;
        font-weight: 700;
    }
    .nav .nav-call:hover {
        background: var(--accent-hover);
        color: #fff !important;
    }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(16, 38, 46, 0.28);
        z-index: 55;
        border: 0;
        padding: 0;
        margin: 0;
        cursor: pointer;
    }
    .nav-backdrop[hidden] { display: none !important; }

    body.nav-open { overflow: hidden; }

    .hero {
        grid-template-columns: 1fr;
        padding: 32px 20px 10px;
    }
    .page-hero { padding: 28px 20px 10px; }
    h1.hl,
    .page-hero h1 { font-size: 32px; }
    .quickpick { padding: 24px 20px 40px; }
    .page-section { padding: 16px 20px 40px; }
    .chiprow { grid-template-columns: repeat(2, 1fr); }
    .chiprow.cols-4,
    .chiprow.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .trust {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 20px;
    }
    .site-footer { padding: 28px 20px; }
    .site-footer .foot-grid { grid-template-columns: 1fr; gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .ctarow { flex-direction: column; }
    .ctarow .btn-primary,
    .ctarow .btn-ghost { width: 100%; text-align: center; }
}
