/* Servis Ekspresi — ana stil. Marka: lacivert #14261d/#1a2332 + yeşil #81b622. */
:root {
  --ink: #15211b;
  --ink-2: #44524b;
  --muted: #6b7a72;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --line: #e2e8e3;
  --navy: #142230;
  --navy-2: #1d3144;
  --green: #6fa31c;
  --green-bright: #81b622;
  --green-soft: #eef6e2;
  --accent: #f2a516;
  --accent-ink: #2b1d00;
  --error: #c62828;
  --error-soft: #fdecec;
  --info-soft: #eaf3fb;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 32, 24, .06), 0 8px 24px rgba(16, 32, 24, .07);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8eee9; --ink-2: #c3cdc6; --muted: #93a19a; --bg: #0f1612; --surface: #17211b; --line: #26332b;
    --green-soft: #1d2b14; --error-soft: #3a1717; --info-soft: #14243a; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-bright); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .7em 1.25em; border-radius: 999px;
  border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-lg { padding: .9em 1.6em; font-size: 1.05rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(242, 165, 22, .35); }
.btn-accent:hover { background: #ffb52a; color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ---------- Üst bölüm ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20, 34, 48, .96); backdrop-filter: blur(8px); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 10px; background: #fff; }
.brand-name { font-family: 'Audiowide', var(--font); color: var(--green-bright); font-size: 1.35rem; letter-spacing: .5px; }
.brand-name.small { font-size: 1.1rem; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > a:not(.btn) { color: #dfe7e2; text-decoration: none; font-weight: 500; }
.site-nav > a:not(.btn):hover { color: #fff; }
.lang-switch { display: inline-flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang-switch a { color: #cfd9d3; text-decoration: none; font-size: .8rem; font-weight: 600; padding: 4px 9px; }
.lang-switch a.active { background: var(--green-bright); color: #102000; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 16px 18px; display: none; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lang-switch { align-self: flex-start; margin: 14px 0; }
  .lang-switch a { padding: 8px 14px; font-size: .9rem; }
  .nav-cta { margin-top: 4px; }
  .brand-name { font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(129,182,34,.25), transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0e1a25 100%); color: #fff; padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--green-bright); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.lead { font-size: 1.12rem; color: inherit; opacity: .9; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.hero-actions.center { justify-content: center; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: #cfe0d4; }
.trust li::before { content: '✓'; color: var(--green-bright); font-weight: 700; margin-right: 6px; }
.hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-chip { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: var(--radius); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; }
.hero-chip span { font-size: 1.5rem; }
.hero-chip:hover { background: rgba(255,255,255,.13); color: #fff; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-panel { display: none; } .hero { padding: 36px 0 44px; } }

/* ---------- Bölümler ---------- */
.section { padding: 48px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 18px; }
.group-title { margin: 28px 0 12px; color: var(--ink-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.service-grid.compact { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 16px; }
.service-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.service-card:hover { border-color: var(--green-bright); transform: translateY(-2px); color: var(--ink); }
.service-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.service-text small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.service-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); font-size: 1.5rem; }
.service-icon.lg { width: 60px; height: 60px; font-size: 2rem; }
.service-icon.xl { width: 120px; height: 120px; font-size: 4rem; border-radius: 24px; }
.card-links { display: flex; gap: 14px; margin-top: 6px; font-size: .92rem; font-weight: 600; }
.card-links a { text-decoration: none; position: relative; z-index: 2; }
.stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-links .link-muted { z-index: 3; }
.badge { position: absolute; top: 10px; right: 10px; background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }
.link-muted { color: var(--muted); font-size: .92rem; }

.how { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 10px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

/* ---------- Form ---------- */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.steps li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); padding-bottom: 8px; border-bottom: 3px solid var(--line); }
.steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-weight: 700; font-size: .8rem; }
.steps li.current { color: var(--ink); font-weight: 600; border-color: var(--green-bright); }
.steps li.current span { background: var(--green-bright); color: #102000; }
.steps li.done { border-color: var(--green); }
.steps li.done span { background: var(--green); color: #fff; }
.form-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.form-head h1 { margin: 0; font-size: clamp(1.4rem, 3.5vw, 2rem); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 18px; }
@media (max-width: 560px) { .card { padding: 18px 14px; } }
.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.req { color: var(--error); }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; font: 16px/1.4 var(--font); color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(129, 182, 34, .2); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7a72' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
textarea { resize: vertical; min-height: 110px; }
input[type=file] { width: 100%; padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.help { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .95rem; transition: all .12s; }
.chip input:checked + span { background: var(--green-soft); border-color: var(--green-bright); color: var(--ink); font-weight: 600; }
.chip input:checked + span::before { content: '✓ '; color: var(--green); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.other-wrap { margin-top: 8px; }
.has-error input, .has-error select, .has-error textarea, .has-error .chip span { border-color: var(--error); }
.field-error { color: var(--error); font-size: .88rem; font-weight: 500; margin: 6px 0 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }
details.optional { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; }
details.optional summary { cursor: pointer; font-weight: 600; }
details.optional[open] summary { margin-bottom: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--green); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.step-actions .btn-primary:only-child { margin-left: auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.alert-error { background: var(--error-soft); color: var(--error); font-weight: 600; }
.alert-info { background: var(--info-soft); color: var(--ink); }
.legacy-fields .is-invalid { border-color: var(--error) !important; }
.overlay { position: fixed; inset: 0; z-index: 99; background: rgba(246, 248, 245, .9); display: grid; place-content: center; text-align: center; font-weight: 600; }
.overlay[hidden] { display: none; }
.spinner { width: 54px; height: 54px; margin: 0 auto 14px; border: 5px solid var(--line); border-top-color: var(--green-bright); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Detay / Teşekkür ---------- */
.detail-head { display: flex; gap: 22px; align-items: center; margin: 18px 0; }
.detail-head img { width: 140px; height: 140px; object-fit: contain; }
.detail-text { font-size: 1.08rem; }
@media (max-width: 560px) { .detail-head { flex-direction: column; align-items: flex-start; } }
.thanks-icon { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-bright); color: #fff; font-size: 2.4rem; display: grid; place-items: center; }
.code-pill { display: inline-block; background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; }

/* ---------- Alt bölüm ---------- */
.site-footer { background: var(--navy); color: #c9d4cd; padding: 32px 0 20px; margin-top: 40px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: #e3ebe6; text-decoration: none; }
.footer-nav a:hover { color: var(--green-bright); }
.site-footer .muted { color: #93a59a; }

/* ---------- Canlı destek ---------- */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 12px 18px;
  border: 0; border-radius: 999px; background: var(--green); color: #fff; font: 600 .95rem var(--font); box-shadow: 0 6px 20px rgba(0,0,0,.2); cursor: pointer; }
.chat-fab:hover { background: var(--green-bright); }
@media (max-width: 560px) { .chat-fab span { display: none; } .chat-fab { padding: 14px; } }

/* ---------- Eski (Bootstrap) sayfalar ---------- */
body.is-legacy main { padding: 24px 0 8px; }
body.is-legacy .site-header .btn { font-family: var(--font); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- İnce ayarlar ---------- */
.card-links { flex-wrap: wrap; gap: 4px 14px; }
.card-links a { white-space: nowrap; }
.service-card:has(.badge) .service-text { padding-right: 34px; }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: var(--green-bright); color: #102000; }
  .btn-primary:hover { background: #95cc33; color: #102000; }
  .how-num { background: var(--green-bright); color: #102000; }
  .overlay { background: rgba(15, 22, 18, .9); }
}

/* ---------- Ana sayfa: resimli kartlar (eski tasarımdaki görseller korunur) ---------- */
.service-card.has-image { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.service-card.has-image { align-items: stretch; }
.service-card.has-image .service-text { padding: 16px 18px 18px; }
.service-card.has-image .badge { z-index: 4; }
.card-image { width: 100%; align-self: stretch; height: 200px; background: #fff; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.service-card.has-image:hover .card-image img { transform: scale(1.04); }
.card-image.placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy) 0%, #2c4a1a 100%); }
.card-image.placeholder span { font-size: 4.5rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }
.service-card.has-image:has(.badge) .service-text { padding-right: 18px; }
@media (max-width: 560px) { .card-image { height: 170px; } }

/* ---------- İkon yerine fotoğraf ---------- */
.hero-chip img { width: 56px; height: 40px; object-fit: cover; border-radius: 8px; flex: none; }
.service-thumb { flex: none; width: 72px; height: 46px; object-fit: cover; border-radius: 10px; background: var(--line); }
.service-thumb.lg { width: 110px; height: 70px; border-radius: 12px; }
@media (max-width: 560px) { .service-thumb.lg { width: 84px; height: 54px; } }
.card-image.short { height: 130px; }
