/* ==========================================================
   Sancak Ecza Deposu — Kurumsal Site
   Kurumsal renkler yalnızca aşağıdaki değişkenlerden yönetilir.
   Logo renkleri netleşince sadece --brand* değerlerini değiştirin.
   ========================================================== */
:root {
  --brand: #1F4992;          /* logodaki kurumsal lacivert */
  --brand-dark: #163671;     /* hover / koyu ton */
  --brand-tint: #E9EFF8;     /* açık lacivert zemin */
  --accent: #50A9C5;         /* logodaki turkuaz */
  --accent-strong: #2B87A5;  /* beyaz zeminde okunur turkuaz metin */
  --accent-tint: #E3F3F8;
  --ink: #0C1B36;            /* başlık ve koyu zemin */
  --ink-2: #22335A;
  --text: #34425C;           /* gövde metni */
  --muted: #62708A;
  --line: #DAE2EE;
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --ok: #0E7A5A;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --r: 10px;
  --r-lg: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(15,29,51,.06), 0 8px 24px -12px rgba(15,29,51,.18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 600 .78rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; display: block; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-tint); color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Top bar */
.topbar { background: var(--ink); color: #C9D2E0; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-list { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }

/* Header */
.header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo img { width: auto; height: 46px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-dark); }
.nav .btn { margin-left: 8px; padding: 11px 18px; display: inline-flex; }
.nav a.btn-primary { color: #fff; }
.nav .btn:hover { background: var(--brand-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero::before { /* sancak (flama) formu */
  content: ""; position: absolute; right: -14%; top: 50%; width: min(820px, 70vw); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; background: radial-gradient(circle at 70% 40%, var(--accent-tint), var(--brand-tint) 70%);
}
.hero::after { /* logodaki çember + sarmal hissi */
  content: ""; position: absolute; right: -6%; top: 50%; width: min(620px, 54vw); aspect-ratio: 1; transform: translateY(-50%);
  border-radius: 50%; border: 2px dashed rgba(80,169,197,.45);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero h1 .h1-sub { display: block; margin-top: 14px; font-size: .5em; font-weight: 600; line-height: 1.25; color: var(--brand); letter-spacing: -.005em; }
.hero h1 em { font-style: normal; color: var(--accent-strong); }
.hero .lead { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: clamp(20px, 4vw, 44px); margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts dt { font: 700 1.9rem/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.hero-facts dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero::before { width: 120vw; right: -60%; opacity: .7; } .hero::after { display: none; } }

/* Order card (hero visual) */
.order-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(15,29,51,.35); overflow: hidden; max-width: 460px; justify-self: end; width: 100%; }
.order-card header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--ink); color: #fff; font-weight: 600; }
.order-card header small { font: 500 .75rem/1 var(--f-mono); letter-spacing: .08em; color: #AFC0D8; }
.order-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.order-row .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.order-row .ico svg { width: 20px; height: 20px; }
.order-row strong { display: block; color: var(--ink); font-size: .98rem; }
.order-row span { font: .78rem/1.3 var(--f-mono); color: var(--muted); }
.tag { font: 600 .72rem/1 var(--f-mono); padding: 6px 9px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-strong); white-space: nowrap; }
.order-foot { padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); flex-wrap: wrap; }
.order-foot b { font-family: var(--f-display); color: var(--brand); font-size: 1.05rem; }
.order-foot small { color: var(--muted); font-size: .8rem; }

/* Quick links */
.quick { background: var(--ink); }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.quick li + li { border-left: 1px solid rgba(255,255,255,.1); }
.quick a { display: flex; align-items: center; gap: 12px; padding: 22px 18px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.25; transition: background .2s; height: 100%; }
.quick a:hover { background: rgba(255,255,255,.06); color: #fff; }
.quick svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent); }
.quick small { display: block; font-weight: 400; color: #AFC0D8; font-size: .8rem; margin-top: 2px; }
@media (max-width: 980px) { .quick ul { grid-template-columns: repeat(2, 1fr); } .quick li { border-left: 0 !important; border-top: 1px solid rgba(255,255,255,.1); } }
@media (max-width: 460px) { .quick ul { grid-template-columns: 1fr; } }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }

.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-top: 18px; }
.card p { color: var(--text); margin: 0; }
.card .icon { width: 50px; height: 50px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.card .icon svg { width: 26px; height: 26px; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: none; }
.section-alt .card { background: var(--bg); }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.checklist strong { color: var(--ink); }

/* Discount panel */
.discount { background: var(--ink); color: #D8E0EC; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.discount::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 230px; height: 230px; border-radius: 50%; background: var(--accent); opacity: .22; }
.discount h3 { color: #fff; font-size: 1.6rem; position: relative; z-index: 1; }
.discount dl { margin: 22px 0 0; display: grid; gap: 0; position: relative; z-index: 1; }
.discount dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,.2); }
.discount dt { color: #fff; font-weight: 600; }
.discount dd { margin: 0; font: .82rem/1.5 var(--f-mono); color: #AFC0D8; text-align: right; }
.discount .slogan { margin-top: 22px; font: 700 1.3rem/1.2 var(--f-display); color: #fff; position: relative; z-index: 1; max-width: 70%; }

/* Depots */
.depot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.depot .kind { font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.depot.hq { background: var(--ink); color: #D8E0EC; border-color: var(--ink); }
.depot.hq h3, .depot.hq a { color: #fff; }
.depot.hq .kind { color: var(--accent); }
.depot h3 { margin: 0; font-size: 1.3rem; }
.depot address { font-style: normal; font-size: .96rem; }
.depot .links { margin-top: auto; padding-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; }
.depot .links a { text-decoration: none; }

/* App band */
.app-band { background: var(--brand); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.app-band h2 { color: #fff; }
.app-band p { color: #D6E2F5; }
.store-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.store { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 12px; min-width: 200px; }
.store:hover { background: #000; color: #fff; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: .72rem; color: #AFC0D8; }
.store b { font-size: 1.05rem; }
@media (max-width: 880px) { .app-band { grid-template-columns: 1fr; } .store-links { justify-content: flex-start; } }

/* Blog cards */
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.post .cover { aspect-ratio: 16/8; background: var(--ink); position: relative; overflow: hidden; max-width: 100%; }
.post .cover span { position: absolute; left: 20px; bottom: 16px; font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 7px 10px; border-radius: 999px; }
.post .cover svg { position: absolute; right: -10px; top: -10px; width: 55%; height: auto; color: rgba(255,255,255,.08); }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post h3 { margin: 0; font-size: 1.2rem; }
.post p { margin: 0; color: var(--muted); font-size: .96rem; }
.post time { font: .8rem var(--f-mono); color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; color: var(--ink); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--f-body); color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; }

/* CTA */
.cta { background: var(--ink); color: #D8E0EC; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(44px, 6vw, 72px); flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; max-width: 60ch; }

/* Page header (inner pages) */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; right: -120px; top: 50%; width: 460px; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 60% 40%, var(--accent-tint), var(--brand-tint) 70%); }
.page-head .wrap { position: relative; padding-block: clamp(36px, 6vw, 72px); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-head .lead { margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* Prose (articles, legal) */
.prose { max-width: 740px; }
.prose h2 { font-size: 1.65rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); color: var(--ink); }
.table-scroll { overflow-x: auto; margin-bottom: 1.4em; }
.note { background: var(--accent-tint); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); }
.article-meta { display: flex; gap: 16px; font: .85rem var(--f-mono); color: var(--muted); margin-top: 16px; flex-wrap: wrap; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 16px; }
@media (max-width: 980px) { .layout-aside { grid-template-columns: 1fr; } .aside { position: static; } }

/* Values / timeline */
.values { counter-reset: v; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 .95rem/1 var(--f-mono); color: var(--brand); padding-top: 6px; }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--text); }
.form .consent input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -5000px; }
.form-status { font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list b { display: block; color: var(--ink); }

/* Footer */
.footer { background: #081328; color: #AFBBCD; font-size: .95rem; }
.footer .wrap { padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h2 { font: 600 .78rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: #D5DDE9; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .logo img { height: 44px; }
.footer address { font-style: normal; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; }
.social a:hover { background: var(--accent); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .callbar a { justify-content: center; padding: 12px; font-size: .95rem; }
  body { padding-bottom: 72px; }
  .topbar .hide-sm { display: none; }
}

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