/* Kardom Teknoloji — kardomteknoloji.com */

:root {
  --ink: #0d1b2a;
  --ink-soft: #40536b;
  --ink-mute: #6b7c93;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --brand: #1553c7;
  --brand-dark: #0e3d96;
  --brand-tint: #eaf1fe;
  --navy: #081428;
  --radius: 14px;
  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.16rem; }
p { margin: 0 0 1.1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
ul { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: .9rem;
}
.lead { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { font-size: 1.02rem; }
.brand-text span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--ink) !important;
}
.lang:hover { border-color: var(--brand); color: var(--brand) !important; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: .97rem;
  border: 1px solid transparent; transition: .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #d8e4f5;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(21,83,199,.55), transparent 60%),
    radial-gradient(700px 420px at 8% 108%, rgba(13,148,180,.28), transparent 62%),
    var(--navy);
  padding: clamp(72px, 9vw, 124px) 0 clamp(76px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .eyebrow { color: #7fb2ff; }
.hero p { color: #b9c9de; font-size: 1.16rem; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats div strong { display: block; color: #fff; font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.hero-stats div span { font-size: .92rem; color: #93a7c2; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 7.5vw, 104px) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: .2s ease;
}
.card:hover { border-color: #c9d8f2; box-shadow: 0 12px 30px -18px rgba(13,27,42,.35); transform: translateY(-2px); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--brand-tint);
  color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }

/* ---------- Process ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { position: relative; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--brand); margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: .35em; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Tech chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; font-weight: 600; color: var(--ink-soft);
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 68px); align-items: start; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.facts dl { margin: 0; }
.facts .row { display: grid; grid-template-columns: 40% 60%; border-bottom: 1px solid var(--line); }
.facts .row:last-child { border-bottom: 0; }
.facts dt { padding: 15px 20px; font-size: .86rem; font-weight: 700; color: var(--ink-mute); background: var(--bg-soft); text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 0; padding: 15px 20px; font-size: .96rem; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.contact-grid .card address { font-style: normal; color: var(--ink-soft); }
.contact-grid .card a { font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93a7c2; padding: 60px 0 34px; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1em; }
.site-footer a { color: #b9c9de; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55em; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand-text span { color: #7b8ea8; }
.footer-brand p { max-width: 42ch; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .87rem; color: #7b8ea8;
}

/* ---------- Legal pages ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: clamp(48px, 6vw, 78px) 0 clamp(40px, 5vw, 62px); }
.page-head p { margin: 0; color: var(--ink-mute); font-size: .95rem; }
.prose { max-width: 76ch; padding: clamp(48px, 6vw, 76px) 0; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose .updated { display: inline-block; font-size: .85rem; color: var(--ink-mute); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; margin-bottom: 2rem; }
.back-link { display: inline-block; margin-top: 2.5rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav { height: 64px; gap: 12px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.lang) { display: none; }
  .brand-text span { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
