:root {
  --ink: #17181c;
  --ink-2: #1e2025;
  --ink-3: #26282f;
  --line: #34363e;
  --paper: #f6f4ef;
  --text: #e9e8e4;
  --text-dim: #a7a8b0;
  --gold: #d9a83b;
  --gold-bright: #f0c85a;
  --gold-deep: #a97f22;
  --max: 1180px;
  --radius: 14px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader { flex-direction: column; gap: 22px; }
.preloader-svg { width: 150px; height: auto; }
.preloader-path {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.preloader-word {
  font-family: var(--font);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(8px);
  animation: preloaderWordIn 0.7s ease 1.05s forwards;
}
@keyframes preloaderWordIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) { .preloader-svg { width: 110px; } .preloader-word { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) {
  .preloader-path { transition: none; }
  .preloader-word { animation: none; opacity: 1; transform: none; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
p { color: var(--text-dim); margin: 0 0 16px; }
.lede { font-size: 19px; color: var(--text); max-width: 640px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #1a1305; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(23, 24, 28, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand-logo-word { display: none; }
.brand span.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--gold-bright); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-gold { padding: 11px 18px; font-size: 14px; }
.lang-switch {
  display: flex;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.lang-switch a { padding: 4px 10px; border-radius: 999px; color: var(--text-dim); }
.lang-switch a.active { background: var(--gold); color: #1a1305; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .brand { justify-self: center; }
  .brand-logo-full { display: none; }
  .brand-logo-word { display: block; }
  .header-actions { justify-self: end; gap: 8px; }
  .header-actions .btn-gold { display: none; }
  .lang-switch { padding: 3px; gap: 3px; font-size: 12px; }
  .lang-switch a { padding: 3px 8px; }
  .nav-toggle { justify-self: start; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease, visibility 0s linear 0.35s, padding 0.35s ease;
  }
  .main-nav.open {
    display: flex;
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    padding: 20px 24px;
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.3s ease, padding 0.35s ease;
  }
  .nav-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar, .main-nav { transition: none !important; }
}

/* Hero */
.hero {
  padding-top: 120px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% -10%, rgba(217, 168, 59, 0.16), transparent 60%),
    radial-gradient(500px 380px at -10% 20%, rgba(217, 168, 59, 0.08), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img { width: 100%; max-width: 420px; filter: drop-shadow(0 20px 60px rgba(217, 168, 59, 0.25)); }
@media (max-width: 900px) {
  .hero-visual img { width: auto; max-width: 100%; max-height: 220px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .hero-visual img { max-height: 150px; }
}

/* Trust strip */
.trust-strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.trust-items { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust-items a {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.trust-items a:hover { border-color: var(--gold); color: var(--gold-bright); }

/* Story */
.story { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-pillars { display: grid; gap: 22px; margin-top: 8px; }
.pillar { display: flex; gap: 16px; }
.pillar .dot {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(217, 168, 59, 0.12);
  color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.pillar h3 { margin-bottom: 4px; font-size: 17px; }
.pillar p { margin: 0; font-size: 15px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(217,168,59,0.22), rgba(217,168,59,0.05));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.card p { font-size: 14.5px; margin: 0; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  counter-reset: step;
}
@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 34px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-deep);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; }
.step p { font-size: 14px; }

/* Boundaries ("yapmadıklarımız") */
.boundaries-list {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.boundaries-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--ink-2);
}
.boundaries-list .x {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-deep);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-top: 2px;
}
.boundaries-list strong { display: block; font-size: 15.5px; margin-bottom: 3px; }
.boundaries-list p { margin: 0; font-size: 14px; }

/* Chat widget */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 400; }
.chat-bubble-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1a1305;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.chat-bubble-btn:hover { transform: translateY(-2px); }
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 320px;
  max-width: calc(100vw - 40px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  background: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.chat-panel-header img { width: 30px; height: 30px; flex: none; }
.chat-panel-header strong { display: block; font-size: 14px; }
.chat-panel-header span { display: block; font-size: 11.5px; color: var(--text-dim); }
.chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}
.chat-close:hover { color: var(--gold-bright); }
.chat-panel-body { padding: 16px; }
.chat-bubble-msg {
  background: var(--ink-3);
  border-radius: 12px 12px 12px 2px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 14px;
  max-width: 90%;
}
.chat-form { display: grid; gap: 10px; }
.chat-form input, .chat-form textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  resize: vertical;
}
.chat-form input:focus, .chat-form textarea:focus { outline: none; border-color: var(--gold); }
.chat-form button { font-size: 13.5px; padding: 10px 18px; justify-content: center; }
@media (max-width: 480px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-panel { bottom: 68px; }
}

/* Contact */
.contact { background: var(--ink-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info a.mail { font-size: 22px; font-weight: 800; color: var(--gold-bright); }
.contact-info .mail:hover { color: var(--gold); }

.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  resize: vertical;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid var(--line); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-grid img { height: 24px; }
.footer-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-dim); flex-wrap: wrap; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-copy { font-size: 13px; color: var(--text-dim); }

.section-head { max-width: 640px; }
.section-head.center { max-width: 640px; margin: 0 auto; text-align: center; }
