/* =========================================================
   BETA TEKNİK SERVİS — site stilleri
   Aramaya odaklı, kurumsal görünüm
   ========================================================= */

:root {
    --navy: #0a2a5e;
    --navy-2: #0d3a82;
    --blue: #1565d8;
    --blue-soft: #e8f0fd;
    --green: #16a34a;
    --green-dark: #12873d;
    --wa: #25d366;
    --text: #1b2433;
    --muted: #5b6678;
    --line: #e3e8f0;
    --bg: #f5f7fb;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(10, 42, 94, .08);
    --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

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

h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }

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

/* ---------- Bilgilendirme şeridi ---------- */
.notice {
    background: var(--navy);
    color: #dbe6fb;
    font-size: 13px;
    text-align: center;
    padding: 8px 16px;
}
.notice strong { color: #fff; }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
}
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--blue); }

.nav-drop { position: relative; }
.nav-drop > a::after { content: " ▾"; font-size: 11px; }
.nav-drop .menu {
    position: absolute;
    top: 100%;
    left: -16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    min-width: 250px;
    display: none;
    grid-template-columns: 1fr;
    gap: 2px;
}
.nav-drop .menu.wide { grid-template-columns: 1fr 1fr; min-width: 420px; }
.nav-drop:hover .menu, .nav-drop:focus-within .menu { display: grid; }
.nav-drop .menu a { display: block; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.nav-drop .menu a:hover { background: var(--blue-soft); }
.nav-drop .menu .menu-title { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px 2px; }

.header-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(22, 163, 74, .3);
}
.header-call:hover { background: var(--green-dark); }
.header-call small { display: block; font-weight: 500; font-size: 11px; opacity: .9; line-height: 1; }

.menu-btn { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    border-radius: 50px;
    padding: 16px 28px;
    font-size: 17px;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-call { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(22, 163, 74, .35); }
.btn-wa { background: #fff; color: #128c4b; border: 2px solid #c9efd8; }
.btn-light { background: #fff; color: var(--navy); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue) 100%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../img/hero-teknisyen.jpg") right center / cover no-repeat;
    opacity: .16;
    pointer-events: none;
}
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr .9fr;
    gap: 40px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 18px; color: #dbe6fb; max-width: 620px; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-phone { font-size: 15px; color: #dbe6fb; }
.hero-phone a { color: #fff; font-weight: 800; font-size: 22px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-weight: 600; font-size: 15px; }
.hero-ticks li::before { content: "✓"; color: #6ee7a0; font-weight: 800; margin-right: 8px; }

/* ---------- Form kartı ---------- */
.form-card {
    background: #fff;
    color: var(--text);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
}
.form-card h2 { font-size: 22px; margin-bottom: 4px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.form-card label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
.form-card input, .form-card select {
    width: 100%;
    font: inherit;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fbfcfe;
}
.form-card input:focus, .form-card select:focus { outline: 0; border-color: var(--blue); background: #fff; }
.form-card .btn { margin-top: 18px; }
.form-card .or { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.form-card .or a { font-weight: 800; color: var(--green); }

/* ---------- Bölümler ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Güven şeridi */
.trust {
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.trust .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item i { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-size: 18px; }
.trust-item strong { display: block; color: var(--navy); font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Kart ızgarası */
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.card { color: inherit; display: block; }
a.card:hover { border-color: #bcd2f7; box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 22px; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--blue); }

/* İlçe kutuları */
.district {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--navy);
}
.district:hover { border-color: var(--blue); color: var(--blue); }
.district small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.district i { color: var(--blue); }
.region-title { font-size: 18px; margin: 8px 0 14px; display: flex; align-items: center; gap: 10px; }
.region-title i { color: var(--blue); }

.region-panel {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    scroll-margin-top: 100px;
}
.region-panel + .region-panel { margin-top: 22px; }
.region-panel .region-title { font-size: 22px; margin-top: 0; margin-bottom: 6px; }
.region-panel > p { color: var(--muted); margin-bottom: 18px; }

/* Ürün bölümü (ilçe sayfalarında) */
.service-block {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 20px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    scroll-margin-top: 100px;
}
.service-block + .service-block { margin-top: 14px; }
.service-block .ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-size: 26px; }
.service-block h2 { font-size: 21px; margin-bottom: 6px; }
.service-block p { color: var(--muted); margin: 0; font-size: 15px; }
.service-block ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--text); }
.service-block ul li::before { content: "•"; color: var(--blue); margin-right: 6px; }
.service-block .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap; }
.service-block:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 216, .15); }

/* Liste */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.checklist li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* Süreç */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 54px; }
.step::before {
    counter-increment: s;
    content: counter(s);
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
}

/* SSS */
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
}
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Kimlik kutusu */
.identity {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    padding: 22px 24px;
}
.identity dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; margin: 0; font-size: 15px; }
.identity dt { color: var(--muted); font-weight: 600; }
.identity dd { margin: 0; font-weight: 600; color: var(--text); }

/* Çağrı bandı */
.cta-band {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    border-radius: 20px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: #dbe6fb; margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Yasal metin */
.legal h2 { font-size: 24px; margin-top: 8px; }
.legal section { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; scroll-margin-top: 100px; }
.legal section + section { margin-top: 18px; }
.legal p, .legal li { color: #374151; }

/* Harita */
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* Breadcrumb */
.crumbs { font-size: 13px; color: #c6d5f3; margin-bottom: 14px; }
.crumbs a { color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #071d42; color: #b8c6e3; font-size: 14px; padding: 56px 0 110px; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: #b8c6e3; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand img { height: 42px; width: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer .legal-line { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: 13px; }

/* ---------- Mobil sabit alt bar ---------- */
.callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: none;
    grid-template-columns: 1.4fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(10, 42, 94, .12);
}
.callbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    border-radius: 12px;
    padding: 14px 10px;
    font-size: 16px;
}
.callbar .c { background: var(--green); color: #fff; }
.callbar .w { background: #e9f9ef; color: #0f7a3d; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1020px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 8px 20px 16px;
        max-height: 75vh;
        overflow: auto;
    }
    .nav.open > a, .nav.open .nav-drop > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav.open .nav-drop .menu { display: grid; grid-template-columns: 1fr 1fr; position: static; box-shadow: none; border: 0; padding: 4px 0 10px; min-width: 0; }
    .nav.open .nav-drop .menu .menu-title { grid-column: 1 / -1; }
    .nav.open .nav-drop .menu a { white-space: normal; padding: 9px 12px; }
    .nav.open .nav-drop > a::after { content: ""; }
    .menu-btn { display: block; }
    .hero .container { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .trust .container { grid-template-columns: repeat(2, 1fr); }
    .footer .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .header .container { min-height: 64px; }
    .logo img { height: 38px; }
    .header-call { display: none; }
    .hero .container { padding-top: 34px; padding-bottom: 34px; gap: 26px; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 52px 0; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .trust .container { grid-template-columns: 1fr 1fr; gap: 14px; }
    .trust-item i { flex-basis: 36px; height: 36px; font-size: 15px; }
    .service-block { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
    .service-block .ic { width: 52px; height: 52px; font-size: 22px; }
    .service-block .btn { width: 100%; }
    .identity dl { grid-template-columns: 1fr; gap: 2px; }
    .identity dd { margin-bottom: 10px; }
    .cta-band { padding: 26px 22px; }
    .cta-band .actions, .cta-band .btn { width: 100%; }
    .footer .grid { grid-template-columns: 1fr; }
    .callbar { display: grid; }
}
