/* ==========================================================================
   Ustalar ve Hizmetler Kayseri — Tasarım Sistemi
   Kayseri Duşakabin ile aynı dil: beyaz zemin, tek canlı turuncu vurgu,
   teknik çizim ikonlar, net tipografi.
   ========================================================================== */

:root {
  color-scheme: light;
  --ink:      #1a1a1a;
  --muted:    #595959;
  --paper:    #ffffff;
  --paper-2:  #f7f7f5;
  --line:     #e6e4de;
  --accent:   #f27a1a;
  --accent-dark: #c85f0f;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --dark:     #1a1a1a;
  --link:     #0a58ca;
  --ok:       #2e7d32;

  --font-display: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--link); text-decoration: underline; }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.2; margin: 0 0 0.45em; }
h1 { letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: #333a44; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Utility trust bar (top) ---------- */
.trust-bar { background: var(--dark); color: var(--accent); font-size: 0.78rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.trust-bar span { margin: 0 8px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 12px; flex-wrap: wrap; }
.brand-row { display: flex; align-items: center; gap: 13px; min-width: 0; flex: 1 1 auto; text-decoration: none; }
.logo-badge { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; border: 2px solid var(--accent); flex-shrink: 0; background: #fff; }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; color: var(--ink); line-height: 1.2; display: flex; flex-direction: column; min-width: 0; }
.brand .hl { color: var(--accent); }
.brand span { font-size: 0.72rem; font-weight: 500; color: var(--muted); }
.phone-chip {
  text-decoration: none;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.94rem;
  flex-shrink: 0;
}
.phone-chip:hover { background: var(--accent-dark); color: #fff; }

nav.main-nav { background: var(--paper-2); border-bottom: 1px solid var(--line); }
nav.main-nav .wrap { display: flex; gap: 24px; overflow-x: auto; padding: 9px 24px; }
nav.main-nav a { color: var(--ink); font-size: 0.86rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
nav.main-nav a:hover { color: var(--accent-dark); }

/* ---------- Hero ---------- */
.hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 22ch; }
.hero .lede { font-size: 1.05rem; max-width: 60ch; color: var(--muted); }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.btn-lg { font-size: 1.02rem; padding: 16px 30px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: var(--whatsapp); color: #fff; }
.btn-secondary:hover { background: var(--whatsapp-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: #fff; padding: 10px 14px; box-shadow: 0 -4px 14px rgba(0,0,0,0.12);
    border-top: 1px solid var(--line);
  }
  .sticky-cta .btn { flex: 1; text-align: center; padding: 13px 10px; font-size: 0.9rem; }
  body { padding-bottom: 66px; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
}
.card:hover { border-color: var(--accent); }
.card .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
.icon { display: inline-block; }
.icon svg { width: 100%; height: 100%; display: block; }
.icon-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}
.icon-wrap .icon { width: 28px; height: 28px; margin-bottom: 0; }
.icon-wrap.lg { width: 76px; height: 76px; border-radius: 16px; }
.icon-wrap.lg .icon { width: 42px; height: 42px; }
.icon-wrap.sm { width: 38px; height: 38px; border-radius: 9px; }
.icon-wrap.sm .icon { width: 20px; height: 20px; }
.card h3 { font-size: 1.02rem; margin: 0 0 6px; }
.card h3 a, .card > a { text-decoration: none; color: var(--ink); }
.card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.card .card-link { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--accent-dark); text-decoration: none; }

section { padding: 40px 0; }
section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

/* ---------- Simple compact list (used on homepage to avoid clutter) ---------- */
.simple-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; border-top: 1px solid var(--line); }
.simple-list a {
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 4px; font-weight: 500; font-size: 0.94rem;
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.simple-list a:hover { color: var(--accent-dark); }

/* ---------- Compact tag lists (district / links) ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a, .tag-list span {
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 13px;
  background: var(--paper);
  color: var(--ink);
}
.tag-list a:hover { border-color: var(--accent); color: var(--accent-dark); }

.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; border-left: 3px solid var(--accent); }
.faq-item h3 { font-size: 0.98rem; margin: 0 0 6px; font-weight: 700; }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.cta-band { background: var(--paper-2); color: var(--ink); padding: 40px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band h2 { color: var(--ink); }
.cta-band .lede { color: var(--muted); }
.cta-band .hero-actions { justify-content: center; }

footer { background: #fff; color: var(--muted); padding: 32px 0 22px; border-top: 3px solid var(--accent); font-size: 0.88rem; }
footer .foot-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
footer h4 { color: var(--ink); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent-dark); }
footer .fine { margin-top: 22px; font-size: 0.78rem; color: #999; border-top: 1px solid var(--line); padding-top: 14px; }

@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; }
  section { padding: 30px 0; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo-badge { width: 46px; height: 46px; }
  .brand { font-size: 0.98rem; }
  .phone-chip { padding: 9px 14px; font-size: 0.86rem; }
  nav.main-nav .wrap { gap: 16px; padding: 9px 16px; }
  .hero-actions .btn { flex: 1 1 100%; text-align: center; }
  .card-grid, .cat-card-grid, .simple-list { grid-template-columns: 1fr 1fr; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}

* { min-width: 0; }
img, svg { max-width: 100%; height: auto; }

/* ---------- Lead form ---------- */
.lead-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.lead-form input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
}
.lead-form input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.lead-form button { flex: 1 1 100%; cursor: pointer; }

/* ---------- Homepage hero (elegant split layout) ---------- */
.hero-split { padding: 0; overflow: hidden; background: linear-gradient(135deg, #fff 55%, var(--paper-2) 55%); }
.hero-split-wrap { display: flex; align-items: center; gap: 40px; padding: 56px 24px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 380px; }
.hero-figure { flex: 1 1 260px; display: flex; justify-content: center; }
.hero-mascot {
  width: 100%; max-width: 320px; border-radius: 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border: 6px solid #fff;
}
.trust-row { margin-top: 20px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; font-weight: 600; color: var(--ok); }

/* ---------- Homepage category cards ---------- */
.cat-card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cat-card { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 24px 14px; }
.cat-card .icon-wrap { margin: 0 auto 12px; }
.cat-card h3 { font-size: 0.94rem; margin: 0; }

@media (max-width: 760px) {
  .hero-split { background: var(--paper-2); }
  .hero-split-wrap { padding: 36px 24px; }
  .hero-figure { order: -1; }
  .hero-mascot { max-width: 220px; }
}

/* ---------- SEO emphasis ---------- */
p strong, .lede strong { color: var(--accent-dark); font-weight: 700; }

/* ---------- Social button ---------- */
.social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}
.social-btn:hover { border-color: var(--accent); }

/* ---------- Homepage category chip grid (calm, non-cluttered) ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}
.chip:hover { background: #eee; color: var(--ink); }
.chip .icon-wrap { margin: 0; }
@media (max-width: 480px) {
  .chip-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- About page lists ---------- */
.process-list-plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.process-list-plain li { padding-left: 22px; position: relative; color: #333a44; }
.process-list-plain li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.process-list-plain strong { color: var(--ink); }

.cat-summary-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; max-width: 62ch; }
.cat-summary-list li { display: flex; align-items: flex-start; gap: 14px; }
.cat-summary-list li div { color: var(--muted); font-size: 0.94rem; }
.cat-summary-list li strong { color: var(--ink); display: block; margin-bottom: 2px; font-size: 1rem; }
