/* ==========================================================================
   Kaan Elektrik Otomasyon — kurumsal tanıtım sitesi
   Renk kimliği firma logosundan alınmıştır: mavi #1878e6 / grafit #545a62
   ========================================================================== */

:root {
    --blue-700: #0f5cb8;
    --blue-600: #1878e6;
    --blue-500: #2f8bf5;
    --blue-050: #eef5fe;

    --navy-900: #08172a;
    --navy-800: #0d2340;
    --navy-700: #143152;
    --navy-600: #1d4370;

    --ink-900: #10202f;
    --ink-700: #33465a;
    --ink-600: #4a5a6d;
    --ink-500: #64748b;
    --ink-400: #8494a6;

    --line: #dfe5ec;
    --line-soft: #eaeff5;
    --surface: #ffffff;
    --surface-alt: #f5f7fa;
    --surface-soft: #eef2f7;

    --radius-xs: 3px;
    --radius: 5px;
    --radius-lg: 8px;

    --shadow-xs: 0 1px 2px rgba(16, 32, 47, .06);
    --shadow-sm: 0 1px 3px rgba(16, 32, 47, .07), 0 4px 12px rgba(16, 32, 47, .04);
    --shadow: 0 6px 24px rgba(16, 32, 47, .09);
    --shadow-lg: 0 20px 48px rgba(16, 32, 47, .16);

    --container: 1240px;

    --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.72;
    color: var(--ink-700);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 .55em;
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: -.015em;
}

h1 { font-size: clamp(1.95rem, 3.4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
h3 { font-size: clamp(1.08rem, 1.4vw, 1.22rem); }

p { margin: 0 0 1.1em; }

a { color: var(--blue-700); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--blue-600); }

img { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--blue-600); color: #fff; }

/* ---------- yerleşim ---------- */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section { padding: 86px 0; }
.section--tight { padding: 58px 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--navy-800); color: #adbdcf; }
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- başlık blokları ---------- */

.eyebrow {
    display: block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue-700);
    padding-left: 15px;
    border-left: 3px solid var(--blue-600);
    margin-bottom: 16px;
    line-height: 1.5;
}

.section--dark .eyebrow { color: #7fb4f2; border-left-color: var(--blue-500); }

.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { display: inline-block; border-left: 0; padding: 0; }
.section-head--center .eyebrow::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    background: var(--blue-600);
    margin: 12px auto 0;
}
.section-head p { color: var(--ink-500); font-size: 1.03rem; margin-bottom: 0; }
.section--dark .section-head p { color: #90a3b8; }

/* ---------- butonlar ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: .92rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    letter-spacing: .01em;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-700); }

.btn--sm { padding: 10px 18px; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- üst bilgi çubuğu ---------- */

.topbar {
    background: var(--surface-alt);
    border-bottom: 1px solid var(--line);
    color: var(--ink-500);
    font-size: .845rem;
}
.topbar__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; min-height: 42px; flex-wrap: wrap;
}
.topbar__list { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar a { color: var(--ink-600); display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar a:hover { color: var(--blue-700); }
.topbar svg { width: 15px; height: 15px; color: var(--blue-600); flex: none; }
.topbar__hours { display: inline-flex; align-items: center; gap: 8px; }
.topbar__social { display: flex; align-items: center; gap: 6px; }
.topbar__social a { padding: 6px; color: var(--ink-400); }
.topbar__social a:hover { color: var(--blue-600); }
.topbar__social svg { width: 16px; height: 16px; color: currentColor; }

/* ---------- site başlığı ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 28px; min-height: 82px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { height: 52px; width: auto; }
.brand__mark { width: 46px; height: 46px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { color: var(--ink-900); font-weight: 800; font-size: 1.05rem; }
.brand__tag { color: var(--ink-500); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
    position: relative;
    padding: 30px 15px;
    color: var(--ink-700);
    font-size: .93rem;
    font-weight: 700;
}
.nav a:hover { color: var(--blue-700); }
.nav a.is-active { color: var(--blue-700); }
.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 15px; right: 15px; bottom: -1px;
    height: 3px;
    background: var(--blue-600);
}

.header-cta { display: flex; align-items: center; gap: 18px; flex: none; }

.header-phone {
    display: inline-flex; align-items: center; gap: 11px;
    color: var(--ink-900); font-weight: 800;
    padding-left: 18px;
    border-left: 1px solid var(--line);
}
.header-phone svg { width: 30px; height: 30px; color: var(--blue-600); flex: none; }
.header-phone__label { display: block; font-size: .95rem; line-height: 1.3; white-space: nowrap; }
.header-phone__label span {
    display: block; font-size: .65rem; color: var(--ink-400);
    font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink-900);
    cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */

.hero {
    position: relative;
    background: linear-gradient(112deg, #071628 0%, #0d2440 52%, #164070 100%);
    color: #b6c6d8;
    overflow: hidden;
    padding: 92px 0 88px;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("/img/circuit.svg");
    background-size: 620px;
    opacity: .32;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute; right: -160px; top: -160px;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(24, 120, 230, .3) 0%, transparent 68%);
    pointer-events: none;
}

.hero__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center;
}

.hero h1 { color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero__lead { font-size: 1.08rem; color: #9fb4ca; max-width: 58ch; margin-bottom: 32px; }

.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    border-left: 3px solid var(--blue-500);
    color: #d5e2f0;
    font-size: .82rem; font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 24px;
}
.hero__badge b { color: #fff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 38px; }

.hero__points {
    display: flex; flex-wrap: wrap; gap: 14px 32px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero__points span { display: inline-flex; align-items: center; gap: 9px; font-size: .9rem; color: #b6c6d8; font-weight: 600; }
.hero__points svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; }

.hero__visual { position: relative; }
.hero__visual img {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__card {
    position: absolute;
    left: -30px; bottom: -28px;
    display: flex; align-items: center; gap: 14px;
    padding: 18px 22px;
    background: #fff;
    border-radius: var(--radius);
    border-left: 3px solid var(--blue-600);
    box-shadow: var(--shadow-lg);
    max-width: 290px;
}
.hero__card svg { width: 36px; height: 36px; color: var(--blue-600); flex: none; }
.hero__card strong { display: block; color: var(--ink-900); font-size: 1.02rem; }
.hero__card span { font-size: .82rem; color: var(--ink-500); }

/* ---------- istatistik şeridi ---------- */

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.stat { padding: 38px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 800; color: var(--navy-800);
    line-height: 1; letter-spacing: -.03em;
}
.stat__label {
    display: block; margin-top: 10px;
    font-size: .82rem; color: var(--ink-500); font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase;
}

.section--dark .stats,
.stats--dark { background: var(--navy-700); border-bottom: 0; }
.stats--dark .stat { border-right-color: rgba(255, 255, 255, .1); }
.stats--dark .stat__value { color: #fff; }
.stats--dark .stat__label { color: #94a9c0; }

/* ---------- kartlar ---------- */

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: #c8d4e2; box-shadow: var(--shadow-sm); }

/* hizmet kartı */
.service-card {
    display: flex; flex-direction: column;
    padding: 34px 30px 30px;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.service-card::before {
    content: "";
    position: absolute; left: -1px; top: -1px; bottom: -1px;
    width: 3px;
    background: var(--blue-600);
    opacity: 0;
    transition: opacity .18s ease;
}
.service-card:hover { border-color: #c8d4e2; box-shadow: var(--shadow-sm); }
.service-card:hover::before { opacity: 1; }

.service-card__icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: var(--radius);
    background: var(--blue-050);
    color: var(--blue-700);
    margin-bottom: 22px;
}
.service-card__icon svg { width: 27px; height: 27px; }

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--ink-500); font-size: .94rem; margin-bottom: 20px; }
.service-card__link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .87rem; color: var(--blue-700);
    padding-top: 16px;
    border-top: 1px solid var(--line-soft);
}
.service-card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* proje kartı */
.project-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--navy-800);
    position: relative;
    transition: box-shadow .18s ease;
}
.project-card:hover { box-shadow: var(--shadow); }

.project-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 23, 42, .95) 4%, rgba(8, 23, 42, .3) 52%, transparent 76%);
}

.project-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; }
.project-card__cat {
    display: inline-block;
    padding: 5px 11px;
    border-radius: var(--radius-xs);
    background: var(--blue-600);
    color: #fff;
    font-size: .7rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    margin-bottom: 12px;
}
.project-card__body h3 { color: #fff; margin-bottom: 6px; }
.project-card__meta { color: #9db1c7; font-size: .84rem; display: flex; gap: 8px; flex-wrap: wrap; }
.project-card__meta span:not(:last-child)::after { content: " ·"; }

/* blog kartı */
.post-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 9px; font-size: .78rem; color: var(--ink-400); font-weight: 700; margin-bottom: 12px; }
.post-card__tag { color: var(--blue-700); text-transform: uppercase; letter-spacing: .1em; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--blue-700); }
.post-card p { color: var(--ink-500); font-size: .92rem; margin-bottom: 18px; }
.post-card__link { margin-top: auto; font-weight: 700; font-size: .86rem; display: inline-flex; align-items: center; gap: 8px; }
.post-card__link svg { width: 15px; height: 15px; }

/* ---------- iç sayfa başlığı ---------- */

.page-hero {
    position: relative;
    background: linear-gradient(112deg, #071628 0%, #10294a 100%);
    color: #adbdcf;
    padding: 58px 0 56px;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("/img/circuit.svg");
    background-size: 520px;
    opacity: .25;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 68ch; color: #93a8bf; margin-bottom: 0; font-size: 1rem; }

.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: #7d93ad; margin-bottom: 16px; flex-wrap: wrap; font-weight: 600; }
.breadcrumb a { color: #adbdcf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb > span { color: #6f88a3; }

/* ---------- hakkımızda ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media img { border-radius: var(--radius-lg); border: 1px solid var(--line); width: 100%; }

.value-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.value-list li { display: flex; gap: 15px; align-items: flex-start; }
.value-list svg { width: 22px; height: 22px; color: var(--blue-600); flex: none; margin-top: 4px; }
.value-list strong { display: block; color: var(--ink-900); }
.value-list span { font-size: .93rem; color: var(--ink-500); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
    padding: 36px 34px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue-600);
}
.mv-card h3 { margin-bottom: 12px; }
.mv-card p { margin-bottom: 0; color: var(--ink-500); }

/* ---------- süreç adımları ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; }
.step {
    position: relative;
    padding: 32px 28px;
    background: rgba(255, 255, 255, .035);
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.step:last-child { border-right: 0; }
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: var(--radius-xs);
    background: var(--blue-600);
    color: #fff; font-weight: 800; font-size: .95rem;
    margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .91rem; color: #90a3b8; margin-bottom: 0; }

/* ---------- neden biz ---------- */

.feature { display: flex; gap: 17px; align-items: flex-start; }
.feature__icon {
    width: 46px; height: 46px; flex: none;
    display: grid; place-items: center;
    border-radius: var(--radius);
    background: var(--blue-050);
    color: var(--blue-700);
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { margin-bottom: 7px; }
.feature p { font-size: .93rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- CTA şeridi ---------- */

.cta-band {
    position: relative;
    background: var(--navy-800);
    color: #adbdcf;
    overflow: hidden;
    border-top: 3px solid var(--blue-600);
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("/img/circuit.svg");
    background-size: 480px;
    opacity: .18;
}
.cta-band__inner {
    position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
    padding: 52px 0;
}
.cta-band h2 { margin-bottom: 8px; color: #fff; }
.cta-band p { margin-bottom: 0; color: #93a8bf; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- filtre ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filters a {
    padding: 9px 18px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line);
    font-size: .86rem; font-weight: 700;
    color: var(--ink-700);
    background: #fff;
}
.filters a:hover { border-color: var(--blue-600); color: var(--blue-700); }
.filters a.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ---------- detay sayfaları ---------- */

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 54px; align-items: start; }

.rich-text { font-size: 1.01rem; color: var(--ink-700); }
.rich-text h3 { margin: 2em 0 .7em; font-size: 1.2rem; }
.rich-text h3:first-child { margin-top: 0; }
.rich-text > *:first-child { margin-top: 0; }
.rich-text img { border-radius: var(--radius); margin: 1.6em 0; }
.rich-text .rich-list { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 10px; }
.rich-text .rich-list li { position: relative; padding-left: 26px; }
.rich-text .rich-list li::before {
    content: "";
    position: absolute; left: 0; top: .68em;
    width: 8px; height: 8px;
    border-radius: 1px;
    background: var(--blue-600);
}

.detail-cover { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); margin-bottom: 36px; }

.fact-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.fact-table th, .fact-table td { padding: 13px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: .93rem; vertical-align: top; }
.fact-table th { width: 42%; color: var(--ink-500); font-weight: 600; }
.fact-table td { color: var(--ink-900); font-weight: 700; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 0; }
.gallery img { border-radius: var(--radius-xs); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); }

/* yan panel */
.sidebar { display: grid; gap: 22px; position: sticky; top: 104px; }

.side-box {
    padding: 28px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}
.side-box h3 { font-size: 1.02rem; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }

.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.side-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-xs);
    font-size: .91rem; font-weight: 600;
    color: var(--ink-700);
    background: var(--surface-alt);
}
.side-links a:hover { background: var(--navy-800); color: #fff; }
.side-links svg { width: 14px; height: 14px; flex: none; }

.side-box--cta { background: var(--navy-800); border-color: var(--navy-800); color: #adbdcf; }
.side-box--cta h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, .14); }
.side-box--cta p { font-size: .92rem; color: #93a8bf; }

/* ---------- iletişim ---------- */

.contact-layout { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 48px; align-items: start; }

.contact-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
    width: 44px; height: 44px; flex: none;
    display: grid; place-items: center;
    border-radius: var(--radius);
    background: var(--blue-050);
    color: var(--blue-700);
}
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item strong { display: block; color: var(--ink-900); font-size: .82rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .07em; }
.contact-item a, .contact-item span { color: var(--ink-600); font-size: .95rem; }
.contact-item a:hover { color: var(--blue-700); }

.map-frame { border: 1px solid var(--line); width: 100%; height: 400px; border-radius: var(--radius); display: block; }

/* ---------- formlar ---------- */

.form-card { padding: 38px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--blue-600); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row { display: flex; flex-direction: column; }
.form-row--full { grid-column: 1 / -1; }

label { font-size: .84rem; font-weight: 700; color: var(--ink-900); margin-bottom: 7px; }

input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=date], input[type=url], select, textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: .94rem;
    color: var(--ink-900);
    background: #fff;
    border: 1px solid #ccd6e2;
    border-radius: var(--radius-xs);
    transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { min-height: 142px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: 0;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(24, 120, 230, .13);
}
input.input-validation-error, select.input-validation-error, textarea.input-validation-error { border-color: #dc2626; }

.field-validation-error { display: block; margin-top: 6px; font-size: .81rem; color: #dc2626; font-weight: 600; }
.form-hint { font-size: .83rem; color: var(--ink-400); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* uyarı kutuları */
.alert {
    display: flex; gap: 13px; align-items: flex-start;
    padding: 15px 18px;
    border-radius: var(--radius-xs);
    font-size: .92rem; font-weight: 600;
    margin-bottom: 22px;
    border-left: 3px solid;
}
.alert svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert--success { background: #ecfdf3; color: #15803d; border-color: #16a34a; }
.alert--error { background: #fef2f2; color: #b91c1c; border-color: #dc2626; }
.alert--info { background: var(--blue-050); color: var(--blue-700); border-color: var(--blue-600); }

/* ---------- alt bilgi ---------- */

.site-footer { background: var(--navy-900); color: #87a0ba; padding: 66px 0 0; font-size: .93rem; }
.site-footer h4 {
    color: #fff; font-size: .84rem; margin-bottom: 22px; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer a { color: #93a9c0; }
.site-footer a:hover { color: #fff; }

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.35fr; gap: 46px; padding-bottom: 50px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-about img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-about p { margin: 0 0 22px; max-width: 42ch; }

.footer-contact { display: grid; gap: 15px; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; list-style: none; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; margin-top: 4px; }

.social-row { display: flex; gap: 8px; }
.social-row a {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, .07);
    color: #b6c6d8;
}
.social-row a:hover { background: var(--blue-600); color: #fff; }
.social-row svg { width: 17px; height: 17px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    font-size: .85rem;
    color: #6f88a3;
}

/* ---------- yüzen whatsapp ---------- */

.whatsapp-fab {
    position: fixed;
    right: 22px; bottom: 22px;
    z-index: 70;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: var(--radius);
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .38);
    transition: transform .18s ease;
}
.whatsapp-fab:hover { transform: translateY(-2px); color: #fff; }
.whatsapp-fab svg { width: 27px; height: 27px; }

/* ---------- boş durum ---------- */

.empty-state {
    padding: 62px 30px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink-500);
    background: var(--surface-alt);
}
.empty-state svg { width: 42px; height: 42px; color: var(--ink-400); margin-bottom: 14px; }

/* ---------- hata sayfası ---------- */

.error-page { text-align: center; padding: 100px 0; }
.error-page__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--surface-soft); letter-spacing: -.05em; }
.error-page h1 { margin-top: -.3em; }

/* ---------- duyarlı düzen ---------- */

@media (max-width: 1180px) {
    .nav a { padding: 30px 11px; font-size: .89rem; }
    .header-phone { display: none; }
}

@media (max-width: 1080px) {
    .hero__inner { grid-template-columns: 1fr; gap: 46px; }
    .hero__visual { max-width: 640px; }
    .hero__card { left: 16px; bottom: -22px; }
    .detail-layout { grid-template-columns: 1fr; gap: 42px; }
    .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2) { border-right: 0; }
    .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 940px) {
    .nav {
        display: none;
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 14px 28px; border-bottom: 1px solid var(--line-soft); }
    .nav a.is-active::after { display: none; }
    .nav a.is-active { background: var(--blue-050); }
    .site-header__inner { position: relative; min-height: 72px; }
    .nav-toggle { display: inline-flex; }
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .section { padding: 64px 0; }
}

@media (max-width: 700px) {
    .topbar__hours { display: none; }
    .topbar__list { gap: 16px; font-size: .8rem; }
    .topbar__inner { justify-content: center; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .step:last-child { border-bottom: 0; }
    .sidebar { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 60px 0 72px; }
    .hero__card { position: static; margin-top: 18px; max-width: none; }
    .form-card { padding: 26px 22px; }
    .cta-band__inner { padding: 40px 0; }
}

@media (max-width: 520px) {
    .topbar__mail { display: none; }
    .brand__logo { height: 42px; }
    .container { padding: 0 18px; }
    .header-cta .btn { padding: 10px 14px; font-size: .83rem; }
}

@media print {
    .site-header, .topbar, .site-footer, .whatsapp-fab, .cta-band { display: none; }
}
