/* ChemiArtClick — tanıtım sitesi
   Açık kurumsal kabuk + sinematik "poster" görsel bloklar (hero, hizmet ve
   portföy kapakları). Görsel dosyası yok — doku ve derinlik gradyan/nokta
   dokusuyla üretiliyor. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --panel: #ffffff;
  --panel-2: #fafafb;
  --line: #d9d9de;
  --line-soft: #e8e8ec;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #a9762c;
  --accent-ink: #86601f;
  --radius: 20px;
  --wrap: 1160px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dots: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px);
}

* { box-sizing: border-box; }

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

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

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(14px) saturate(1.6);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 64px; }
.header-right { display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; background: var(--text);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -.02em;
}
.brand-text { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
.brand-text em { font-style: normal; color: var(--accent); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 400; transition: color .18s ease; }
.nav a:hover { color: var(--muted); }
.nav .nav-cta {
  color: #fff; background: var(--text);
  padding: 8px 18px; border-radius: 999px; font-weight: 500;
}
.nav .nav-cta:hover { background: #000; color: #fff; }

.nav-toggle {
  display: none; width: 40px; height: 36px; background: none; border: 1px solid var(--line);
  border-radius: 9px; cursor: pointer; padding: 9px 10px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; margin: 3.5px 0; }

.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--muted);
  text-decoration: none; transition: border-color .18s ease, color .18s ease;
}
.lang-switch:hover { border-color: var(--text); color: var(--text); }

/* ---------- Hero (sinematik poster) ---------- */
.hero {
  position: relative; overflow: hidden; padding: 148px 0 116px; text-align: center;
  color: #fff;
  background:
    var(--dots) 0 0 / 26px 26px,
    radial-gradient(120% 130% at 14% -20%, rgba(201,141,45,.35), transparent 55%),
    radial-gradient(110% 120% at 92% 6%, rgba(46,74,110,.5), transparent 52%),
    linear-gradient(165deg, #0a0b0e, #16181d 55%, #0a0b0e);
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.eyebrow {
  margin: 0 0 16px; text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.hero .eyebrow { color: rgba(255,255,255,.6); }

.hero h1 {
  font-weight: 700; letter-spacing: -.035em;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.06; margin: 0 0 24px; color: #fff;
}
.accent { color: var(--accent); }
.hero .accent { color: #f0c674; }

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted);
  max-width: 560px; margin: 0 auto 40px; font-weight: 400;
}
.hero .lead { color: rgba(255,255,255,.68); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn {
  display: inline-block; text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 14px 30px; border-radius: 999px; transition: transform .15s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

.hero .btn-primary { background: #fff; color: #0a0b0e; }
.hero .btn-primary:hover { background: #f0c674; color: #0a0b0e; }
.hero .btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }

.hero-stats {
  list-style: none; display: flex; flex-wrap: wrap; gap: 52px;
  margin: 64px 0 0; padding: 32px 0 0; border-top: 1px solid rgba(255,255,255,.14);
  justify-content: center;
}
.hero-stats strong {
  display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: #fff;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hero-stats li { min-width: 0; }
.hero-stats span { font-size: 13.5px; color: rgba(255,255,255,.55); }

/* ---------- Bölümler ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-head { max-width: 640px; margin: 0 0 52px; }
.section-head h2 {
  font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem); line-height: 1.15; margin: 0 0 12px; color: var(--text);
}
.section-sub { color: var(--muted); margin: 0; font-size: 1.02rem; }

.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---------- Hizmet kartları ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(0,0,0,.22); }

.card-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--line-soft); color: var(--accent); margin-bottom: 18px;
}
.card-icon svg { width: 21px; height: 21px; stroke-linecap: round; stroke-linejoin: round; }

.card-body { padding: 0; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.35; color: var(--text); }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- İşler / poster kartları ---------- */
.works { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.work {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.work:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.24); }

.work-cover {
  height: 152px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 800; letter-spacing: -.01em; color: #fff;
  background-size: 16px 16px, cover;
}

/* Gerçek görselli kapaklar — ilgili markanın kendi sitesinden alınmıştır */
.work-cover-photo {
  background-size: cover; background-position: center;
}
.work-cover-fd  { background-image: url("../img/fd-cover.jpg"); }
.work-cover-gr  { background-image: url("../img/gr-cover.jpg"); }
.work-cover-da  { background-image: url("../img/dda-cover.jpg"); }
.work-cover-sb  { background-image: url("../img/sb-cover.jpg"); }
.work-cover-d4d { background-image: url("../img/d4d-cover.jpg"); }

/* Görseli olmayan marka — kendi renk paletiyle tipografik kapak */
.work-cover-wr  { background-image: var(--dots), linear-gradient(135deg, #b98fae, #8a6a9c); }

.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work-tag { margin: 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.work h3 { font-weight: 700; letter-spacing: -.015em; font-size: 1.22rem; margin: 0; color: var(--text); }
.work p { color: var(--muted); font-size: 15px; margin: 0; }
.work p strong { color: var(--text); font-weight: 600; }
.work p em { color: var(--accent); font-style: normal; font-weight: 500; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.chips li {
  font-size: 12px; color: var(--muted); background: var(--bg-alt);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 5px 12px;
}

.work-link {
  padding-top: 12px;
  font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600;
}
.work-link:hover { color: var(--accent-ink); text-decoration: underline; }

.work-links {
  margin-top: auto; display: flex; flex-direction: column; gap: 2px;
}
.work-links .work-link:last-child { padding-top: 2px; }

.work-cta {
  background: var(--bg-alt); justify-content: center; border-style: dashed;
}
.work-cta .work-body { gap: 14px; padding: 32px 28px; justify-content: center; }
.work-cta .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Süreç ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.steps li {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px;
}
.step-no { display: block; font-size: 1.3rem; font-weight: 800; color: var(--accent); margin-bottom: 12px; letter-spacing: -.02em; }
.steps h3 { margin: 0 0 8px; font-size: 1.04rem; font-weight: 600; color: var(--text); }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Hakkımızda ---------- */
.about { display: grid; gap: 34px; grid-template-columns: 1.5fr 1fr; align-items: start; }
.about h2 { font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.8rem, 3.8vw, 2.4rem); margin: 0 0 18px; color: var(--text); }
.about p { color: var(--muted); margin: 0 0 16px; }
.about-lead { font-size: 1.18rem; color: var(--text); font-weight: 500; line-height: 1.45; }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; color: var(--text); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: var(--accent); font-weight: 700;
}

.about-box { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px 26px; }
.about-box h3 { margin: 0 0 16px; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.about-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14.5px; }
.about-box dt { color: var(--muted); }
.about-box dd { margin: 0; color: var(--text); }

/* ---------- İletişim ---------- */
.contact { text-align: center; background: var(--bg-alt); border-top: 1px solid var(--line-soft); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact h2 { font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin: 0 0 12px; color: var(--text); }
.contact .eyebrow { margin-bottom: 12px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 32px 0 18px; }
.contact-note { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-note { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { text-decoration: none; color: var(--muted); font-size: 14.5px; }
.footer-nav a:hover { color: var(--text); }
.copy { color: var(--muted); font-size: 13px; margin: 0; width: 100%; padding-top: 20px; border-top: 1px solid var(--line-soft); }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line-soft);
    padding: 8px 22px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  .nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: none; }

  .hero { padding: 100px 0 72px; }
  .section { padding: 68px 0; }
  .hero-stats { gap: 32px; }
  body { font-size: 16px; }
}

/* ---------- Müşteri yorumları ---------- */
.quotes { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.quote {
  margin: 0; background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column; gap: 18px;
}
.quote blockquote { margin: 0; }
.quote blockquote::before {
  content: "\201C"; display: block; font-size: 2.6rem; line-height: .8;
  color: var(--accent); margin-bottom: 8px;
}
.quote blockquote p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.65; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.quote figcaption strong { font-size: 14.5px; font-weight: 600; color: var(--text); }
.quote figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- SSS ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item summary:hover { color: var(--accent-ink); }
.faq-item p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); font-size: 15.5px; }

/* ---------- İletişim formu ---------- */
.form {
  display: grid; gap: 18px; grid-template-columns: 1fr 1fr;
  text-align: left; margin: 36px 0 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(169, 118, 44, .16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c0392b; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 20px; margin-top: 4px;
}
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; font-size: 14.5px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-ok { color: #1e7a48; }
.form-status.is-error { color: #c0392b; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }

.contact .contact-note a { color: var(--accent); font-weight: 600; }

@media (max-width: 720px) {
  .form { grid-template-columns: 1fr; }
}

/* ---------- Vaka çalışmaları ---------- */
.section-cases {
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(169,118,44,.07), transparent 60%),
    radial-gradient(70% 50% at 92% 8%, rgba(46,74,110,.07), transparent 58%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}

.cases { display: flex; flex-direction: column; gap: 20px; }

.case {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 30px 28px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.case:hover {
  border-color: var(--line); transform: translateY(-2px);
  box-shadow: 0 22px 48px -28px rgba(0,0,0,.26);
}

.case-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.case-mark {
  flex: none; width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background-image: var(--dots), linear-gradient(140deg, #2f3b4d, #171c25);
  background-size: 14px 14px, cover;
}
.case-mark-hotelriser { background-image: var(--dots), linear-gradient(140deg, #2d6a8f, #17384b); }
.case-mark-davetevet{ background-image: var(--dots), linear-gradient(140deg, #b98fae, #7d5b8f); }
.case-mark-driveapp { background-image: var(--dots), linear-gradient(140deg, #c9902d, #7d5613); }

.case-tag {
  margin: 0 0 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--accent);
}
.case h3 { margin: 0 0 6px; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.case-pitch { margin: 0; color: var(--text); font-size: 1.02rem; font-weight: 500; }

.case-grid {
  display: grid; gap: 0; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
}
.case-step { padding: 22px 24px 22px 0; border-right: 1px solid var(--line-soft); }
.case-step:last-child { border-right: 0; padding-right: 0; }
.case-step:not(:first-child) { padding-left: 24px; }
.case-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

.case-step-label {
  display: flex; align-items: center; gap: 9px; margin: 0 0 10px !important;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: var(--text) !important;
}
.case-step-label span {
  font-size: 10.5px; letter-spacing: 0; color: var(--muted); font-weight: 600;
  border: 1px solid var(--line-soft); border-radius: 6px; padding: 2px 6px;
}
.case-step-out { background: linear-gradient(180deg, rgba(169,118,44,.05), transparent 70%); border-radius: 0 12px 12px 0; }
.case-step-out .case-step-label span { border-color: rgba(169,118,44,.4); color: var(--accent); }
.case-step-out p { color: var(--text); }

.case-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-soft);
}
.case-foot .chips { margin: 0; }
.case-link { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.case-link:hover { color: var(--accent-ink); text-decoration: underline; }

/* ---------- Dönüşüm bandı ---------- */
.hook {
  margin-top: 44px; padding: 52px 48px; border-radius: calc(var(--radius) + 6px);
  color: #fff; overflow: hidden; position: relative;
  background:
    var(--dots) 0 0 / 26px 26px,
    radial-gradient(110% 130% at 10% -10%, rgba(201,141,45,.34), transparent 56%),
    radial-gradient(100% 120% at 92% 4%, rgba(46,74,110,.5), transparent 54%),
    linear-gradient(165deg, #0a0b0e, #16181d 58%, #0a0b0e);
}
.hook .eyebrow { color: rgba(255,255,255,.6); }
.hook h2 {
  margin: 0 0 14px; color: #fff; font-weight: 700; letter-spacing: -.028em;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.14; max-width: 18ch;
}
.hook > p { margin: 0; color: rgba(255,255,255,.7); max-width: 60ch; font-size: 1.02rem; }

.hook-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 26px 0 0; padding: 0; }
.hook-list li { position: relative; padding-left: 24px; font-size: 14.5px; color: rgba(255,255,255,.88); }
.hook-list li::before { content: "✓"; position: absolute; left: 0; color: #f0c674; font-weight: 700; }

.hook-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hook .btn-primary { background: #fff; color: #0a0b0e; }
.hook .btn-primary:hover { background: #f0c674; color: #0a0b0e; }
.hook .btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.hook .btn-ghost:hover { border-color: #fff; }

/* ---------- Görünüme girince yumuşak geçiş ----------
   Varsayılan GÖRÜNÜR. Gizleme yalnızca <html class="js-reveal"> varken
   devreye girer; o sınıfı head'deki satır içi script, ancak
   IntersectionObserver destekliyse ve hareket azaltılmamışsa ekler.
   Böylece JS kapalıyken (veya hata verdiğinde) sayfa boş kalmaz. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.8,.3,1);
}

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; border-top: 0; }
  .case-step {
    border-right: 0; border-top: 1px solid var(--line-soft);
    padding: 20px 0 !important;
  }
  .case-step-out { border-radius: 0; }
  .hook { padding: 40px 26px; }
  .hook h2 { max-width: none; }
}
@media (max-width: 720px) {
  .case { padding: 26px 22px 24px; }
  .case-head { gap: 14px; }
  .case-mark { width: 44px; height: 44px; border-radius: 13px; font-size: 13px; }
}

/* ---------- Vaka kartı: ölçüm şeridi ---------- */
.case-mark-fdart { background-image: var(--dots), linear-gradient(140deg, #7c8f6a, #3d4a33); }

.case-metrics {
  display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr);
  background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden;
  margin-bottom: 10px;
}
.metric { background: var(--panel-2); padding: 18px 18px 16px; }

.metric-label {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  font-weight: 700; color: var(--muted);
}
.metric-values { margin: 0; display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.metric-cap {
  display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 600; color: var(--muted); margin-bottom: 2px;
}
.metric-before {
  font-size: 1rem; font-weight: 500; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.metric-arrow { color: var(--line); font-size: 1rem; padding-bottom: 1px; }
.metric-after {
  font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05;
  color: var(--accent-ink); font-variant-numeric: tabular-nums;
}
.metric-after .metric-cap { color: var(--accent); }

.case-metrics-note {
  margin: 0 0 26px; font-size: 12.5px; color: var(--muted);
}
.case-step code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em; background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: 5px; padding: 1px 5px;
}
.case-step p strong { color: var(--text); font-weight: 600; }

/* ---------- Kartlara Render tadında derinlik ---------- */
.case { position: relative; isolation: isolate; }
.case::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; border-radius: var(--radius);
  background: linear-gradient(90deg, transparent, rgba(169,118,44,.55), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.case::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--radius);
  background: radial-gradient(120% 70% at 50% 0%, rgba(169,118,44,.07), transparent 62%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.case:hover::before, .case:hover::after { opacity: 1; }
.case:hover .case-mark { transform: translateY(-1px) scale(1.03); }
.case-mark { transition: transform .25s cubic-bezier(.22,.8,.3,1); }

@media (max-width: 980px) {
  .case-metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .case-metrics { grid-template-columns: 1fr; }
  .metric-after { font-size: 1.35rem; }
}

/* Chestny Znak — görseli yok, marka renkleriyle tipografik kapak */
.work-cover-cz { background-image: var(--dots), linear-gradient(135deg, #4a7ba7, #23405e); }

/* ==========================================================================
   Hareket — az, amaçlı ve kapatılabilir.
   Sadece transform ve opacity kullanılıyor (layout tetiklemez); her şey
   prefers-reduced-motion altında ve JS yoksa kapanır.
   ========================================================================== */

/* Kart ızgaralarında sıralı beliriş — göz soldan sağa akıyor */
.cards .reveal.is-in,
.works .reveal.is-in,
.faq .reveal.is-in { transition-delay: calc(var(--i, 0) * 55ms); }

.cards > :nth-child(1)  { --i: 0; } .cards > :nth-child(2)  { --i: 1; }
.cards > :nth-child(3)  { --i: 2; } .cards > :nth-child(4)  { --i: 0; }
.cards > :nth-child(5)  { --i: 1; } .cards > :nth-child(6)  { --i: 2; }

.works > :nth-child(3n+1) { --i: 0; }
.works > :nth-child(3n+2) { --i: 1; }
.works > :nth-child(3n+3) { --i: 2; }

.faq > :nth-child(n)     { --i: 0; }
.faq > :nth-child(2)     { --i: 1; }
.faq > :nth-child(3)     { --i: 2; }
.faq > :nth-child(4)     { --i: 3; }

/* --------------------------------------------------------------- Süreç
   Dört adımın üstünde soldan sağa dolan bir ilerleme çizgisi. */
.steps { position: relative; }
.steps li {
  position: relative; overflow: hidden;
  --i: 0;
}
.steps li:nth-child(2) { --i: 1; }
.steps li:nth-child(3) { --i: 2; }
.steps li:nth-child(4) { --i: 3; }

.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(169,118,44,.25));
  transform-origin: left;
}
.js-reveal .steps li::before {
  transform: scaleX(0);
  transition: transform .5s cubic-bezier(.22,.8,.3,1);
  transition-delay: calc(var(--i) * 130ms);
}
.steps li.is-in::before { transform: scaleX(1); }

.steps li.reveal.is-in { transition-delay: calc(var(--i) * 90ms); }

.step-no { transition: color .25s ease, transform .25s ease; }
.steps li:hover { border-color: var(--line); }
.steps li:hover .step-no { transform: translateY(-2px); }

/* ------------------------------------------------- Vaka ölçüm kutucukları
   Şerit görünüme girince kutucuklar tek tek yerine oturur. */
.js-reveal .case-metrics .metric { opacity: 0; transform: translateY(8px); }
.case.is-in .case-metrics .metric {
  opacity: 1; transform: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,.8,.3,1);
}
.case.is-in .case-metrics .metric:nth-child(1) { transition-delay: .10s; }
.case.is-in .case-metrics .metric:nth-child(2) { transition-delay: .19s; }
.case.is-in .case-metrics .metric:nth-child(3) { transition-delay: .28s; }
.case.is-in .case-metrics .metric:nth-child(4) { transition-delay: .37s; }

/* "sonra" değerinin üzerinden bir kez geçen ince ışık */
.metric-after { position: relative; }
.case.is-in .metric-after::after {
  content: ""; position: absolute; inset: -2px -6px; border-radius: 6px;
  background: linear-gradient(90deg, transparent, rgba(169,118,44,.16), transparent);
  transform: translateX(-110%);
  animation: metric-sweep 1.1s cubic-bezier(.3,.7,.4,1) forwards;
  animation-delay: calc(.5s + var(--m, 0) * .09s);
  pointer-events: none;
}
.case-metrics .metric:nth-child(1) .metric-after { --m: 0; }
.case-metrics .metric:nth-child(2) .metric-after { --m: 1; }
.case-metrics .metric:nth-child(3) .metric-after { --m: 2; }
.case-metrics .metric:nth-child(4) .metric-after { --m: 3; }

@keyframes metric-sweep {
  to { transform: translateX(110%); }
}

/* ------------------------------------------------------- Dönüşüm bandı
   Zeminde çok yavaş gezinen bir ışık. background-position animasyonu bandın
   tamamını sürekli yeniden boyardı; bunun yerine tek bir katman transform
   ile hareket ediyor — compositor'da kalıyor, ana iş parçacığına dokunmuyor. */
.hook > * { position: relative; z-index: 1; }
.hook::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -15%; top: -55%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,141,45,.20), transparent 62%);
}
.hook.is-in::after {
  animation: hook-glow 22s cubic-bezier(.45,0,.55,1) infinite alternate;
  will-change: transform;
}
@keyframes hook-glow {
  to { transform: translate3d(78%, 42%, 0) scale(1.18); }
}

/* Hareket azaltılmışsa js-reveal hiç eklenmez; geriye yalnızca kendi
   başına dönen süslemeleri kapatmak kalır. */
@media (prefers-reduced-motion: reduce) {
  .case.is-in .metric-after::after { display: none; }
  .hook::after { animation: none !important; }
}

/* ---------- Analiz formu (dönüşüm bandı içinde) ---------- */
.analyze { margin: 28px 0 0; }
.analyze-row {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  align-items: end;
}
.analyze-field { display: flex; flex-direction: column; gap: 7px; text-align: left; }
.analyze-field label {
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.6);
}
.analyze-field input {
  font: inherit; font-size: 15px; color: #fff;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.22); border-radius: 12px;
  padding: 13px 15px; width: 100%;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.analyze-field input::placeholder { color: rgba(255,255,255,.38); }
.analyze-field input:focus {
  outline: none; border-color: #f0c674; background: rgba(255,255,255,.11);
  box-shadow: 0 0 0 3px rgba(240,198,116,.18);
}
.analyze-field input[aria-invalid="true"] { border-color: #ff9d8f; }

.analyze .btn { white-space: nowrap; padding: 14px 26px; }
.analyze .btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.analyze-status {
  margin: 16px 0 0; font-size: 14.5px; display: none; text-align: left;
  color: rgba(255,255,255,.85);
}
.analyze-status.is-visible { display: block; }
.analyze-status.is-ok { color: #b8e6c8; }
.analyze-status.is-error { color: #ffb3a7; }

.hook-alt { margin: 20px 0 0; font-size: 14px; }
.hook-alt a { color: rgba(255,255,255,.62); text-decoration: none; }
.hook-alt a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 860px) {
  .analyze-row { grid-template-columns: 1fr; }
  .analyze .btn { width: 100%; text-align: center; margin-top: 4px; }
}

/* ---------- Akan bant: hız neden önemli ----------
   Hero'nun hemen altında, kesintisiz akan kısa gerçekler. Liste iki kez
   basılıyor ve iz -50% kaydırılıyor; böylece dönüş noktasında sıçrama olmuyor.
   Animasyon transform üzerinde, yani compositor'da kalıyor. */
.ticker {
  overflow: hidden; position: relative;
  background: var(--text); color: #fff;
  /* Hero'nun hemen üstünde duruyor; hero da koyu olduğu için araya
     görünür bir ayrım koymak yerine ince bir vurgu çizgisi bırakıldı. */
  border-bottom: 1px solid rgba(240,198,116,.22);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker-run 64s linear infinite; }
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track { animation-play-state: paused; }

.ticker-list {
  display: flex; align-items: center; gap: 0;
  list-style: none; margin: 0; padding: 0;
}
.ticker-list li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 13px 26px; white-space: nowrap;
  font-size: 14px; color: rgba(255,255,255,.82);
  border-right: 1px solid rgba(255,255,255,.12);
}
.ticker-list b { color: #f0c674; font-weight: 700; }
.tick-src {
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.4);
}

@keyframes ticker-run {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Hareket azaltılmışsa akış durur; bant kaydırılabilir bir şeride döner. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-list + .ticker-list { display: none; }
}

@media (max-width: 720px) {
  .ticker-list li { font-size: 13px; padding: 11px 18px; gap: 8px; }
  .ticker-track { animation-duration: 48s; }
}

/* ---------- Müşteri görüşleri: tek yorum / ızgara ----------
   Yorum sayısı azken ızgara boş görünüyordu; tek yorum "öne çıkan" düzende
   ortalanıyor. İkinci yorum gelince .quotes'a quotes-grid eklemek yeterli. */
.quotes { display: grid; gap: 22px; }
.quotes-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.quote-featured {
  max-width: 780px; margin: 0 auto; padding: 40px 44px;
  text-align: left;
}
.quote-featured blockquote::before { font-size: 3.2rem; }
.quote-featured blockquote p {
  font-size: 1.22rem; line-height: 1.6; font-weight: 400; letter-spacing: -.008em;
}

.quote figcaption {
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft);
}
.quote-avatar {
  width: 64px; height: 64px; flex: none;
  border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line-soft);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,.4);
}
.quote-who { display: flex; flex-direction: column; gap: 2px; }
.quote-who strong { font-size: 15px; font-weight: 600; color: var(--text); }
.quote-who span { font-size: 13.5px; color: var(--muted); }
.quote-note { font-size: 12px !important; color: var(--muted); font-style: italic; opacity: .8; }

@media (max-width: 620px) {
  .quote-featured { padding: 30px 24px; }
  .quote-featured blockquote p { font-size: 1.08rem; }
  .quote-avatar { width: 54px; height: 54px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.crumbs { font-size: 13.5px; color: var(--muted); margin: 0 0 34px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { padding: 0 6px; }

/* --- Liste sayfası --- */
.post-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.post-card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(0,0,0,.24); }
.post-card h2 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: -.018em; line-height: 1.3; }
.post-card h2 a { text-decoration: none; color: var(--text); }
.post-card h2 a:hover { color: var(--accent-ink); }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; }
.post-card .chips { margin: 0; }

.post-meta {
  margin: auto 0 0 !important; padding-top: 8px;
  font-size: 12.5px !important; color: var(--muted) !important;
  display: flex; gap: 8px; align-items: center;
}

/* --- Yazı sayfası --- */
.post { padding: 56px 0 96px; }
.post-wrap { max-width: 760px; }
.post-head { margin-bottom: 40px; }
.post-tags { margin: 0 0 18px !important; }
.post h1 {
  font-size: clamp(1.9rem, 4.4vw, 2.75rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.14; margin: 0 0 20px; color: var(--text);
}
.post-lead { font-size: 1.16rem; line-height: 1.6; color: var(--text); margin: 0 0 20px; }
.post .post-meta { margin: 0 !important; padding: 0; }

/* Okunabilirlik: ölçü dar, satır aralığı geniş */
.prose { font-size: 1.04rem; line-height: 1.75; color: #33333a; }
.prose h2 {
  font-size: 1.55rem; font-weight: 700; letter-spacing: -.022em; color: var(--text);
  margin: 52px 0 16px; padding-top: 8px; border-top: 1px solid var(--line-soft);
}
.prose h3 { font-size: 1.16rem; font-weight: 600; color: var(--text); margin: 34px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: normal; color: var(--muted); }

.prose-list { margin: 0 0 20px; padding-left: 22px; }
.prose-list li { margin-bottom: 10px; }
.prose-list li::marker { color: var(--accent); font-weight: 600; }

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: 5px; padding: 1px 5px;
}
.prose pre {
  background: #14161b; color: #e6e6ea; border-radius: 14px;
  padding: 18px 20px; overflow-x: auto; margin: 0 0 22px;
  font-size: 13.5px; line-height: 1.6;
}
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

.table-wrap { overflow-x: auto; margin: 0 0 24px; }
.prose-table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.prose-table th, .prose-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.prose-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose-table td:not(:first-child) { font-variant-numeric: tabular-nums; }
.prose-table tbody tr:last-child td { border-bottom: 0; }

.note {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent); border-radius: 0 14px 14px 0;
  padding: 18px 22px; margin: 0 0 24px;
}
.note p { margin: 0; font-size: 15px; color: var(--text); }

/* --- Yazı sonu --- */
.post-cta {
  margin: 56px 0 0; padding: 36px 34px; border-radius: calc(var(--radius) + 4px);
  color: #fff; position: relative; overflow: hidden;
  background:
    var(--dots) 0 0 / 26px 26px,
    radial-gradient(110% 130% at 10% -10%, rgba(201,141,45,.3), transparent 56%),
    linear-gradient(165deg, #0a0b0e, #16181d 58%, #0a0b0e);
}
.post-cta h2 { margin: 0 0 10px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.post-cta p { margin: 0 0 22px; color: rgba(255,255,255,.72); font-size: 15.5px; }
.post-cta .btn-primary { background: #fff; color: #0a0b0e; }
.post-cta .btn-primary:hover { background: #f0c674; }

.more { margin: 52px 0 0; }
.more h2 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 0 0 16px; }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.more a {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px 20px;
  transition: border-color .2s ease, background .2s ease;
}
.more a:hover { border-color: var(--line); background: var(--panel-2); }
.more-title { font-size: 15.5px; font-weight: 600; color: var(--text); }
.more-desc { font-size: 14px; color: var(--muted); }

@media (max-width: 620px) {
  .post { padding: 36px 0 68px; }
  .prose h2 { margin-top: 40px; }
  .post-cta { padding: 28px 22px; }
}

/* Fotoğrafı olmayan yorum — baş harflerle rozet (avatarla aynı ölçüde) */
.quote-mark {
  width: 64px; height: 64px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background-image: var(--dots), linear-gradient(140deg, #b98fae, #7d5b8f);
  background-size: 14px 14px, cover;
}

/* ---------- Hizmetler: "kurarız / büyütürüz" grupları ---------- */
.group-label {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--text);
}
.group-label span {
  font-size: 10.5px; letter-spacing: 0; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(169,118,44,.35); border-radius: 6px; padding: 2px 7px;
}
.group-label::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.cards + .group-label { margin-top: 44px; }

.service-note {
  margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: 14.5px; color: var(--muted);
}
.service-note a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.service-note a:hover { color: var(--accent); }

/* Gong Room — kendi renk paletiyle rozet */
.quote-mark-gr { background-image: var(--dots), linear-gradient(140deg, #4f8a86, #24504e); }

/* Inspera Bodrum — mekânın lacivert + altın paleti */
.case-mark-inspera { background-image: var(--dots), linear-gradient(140deg, #2c3a72, #141a35); }

/* Dört kartlı hizmet grubu — tek satırda dursun, altta yalnız kart kalmasın */
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }

/* Inspera Bodrum — mekânın lacivert paleti */
.work-cover-ins { background-image: var(--dots), linear-gradient(135deg, #3d4d8f, #1a2148); }
