:root {
  --paper: #F7F5F0;
  --paper-2: #EFECE4;
  --white: #FFFFFF;
  --ink: #1B2D42;
  --ink-soft: #4A5A6C;
  --gold: #E0A526;
  --gold-deep: #B9841A;
  --steel: #3A6B8C;
  --line: rgba(27, 45, 66, .12);
  --line-strong: rgba(27, 45, 66, .22);
  --wa: #1FA855;

  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;

  --gutter: 16px;
  --wrap: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.num, .step__n { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 4px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .9rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #EBB53F; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1A954B; }
.btn--wa svg { width: 20px; height: 20px; fill: currentColor; }
.btn:active { transform: translateY(1px); }

/* Preloader: CSS fallback guarantees it is gone by 0.8s */
.preloader {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--paper);
  animation: pre-out .2s .6s forwards;
}
.preloader img { width: 134px; height: auto; }
.preloader__bar { width: 120px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.preloader__bar::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: pre-bar .55s var(--ease) forwards; transform: scaleX(0); }
@keyframes pre-bar { to { transform: scaleX(1); } }
@keyframes pre-out { to { opacity: 0; visibility: hidden; } }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  background: rgba(247, 245, 240, .84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.header__logo img { width: 84px; height: auto; }
@media (min-width: 768px) { .header__logo img { width: 104px; } }
.nav { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; }
.menu-btn {
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent;
  display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-btn i { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 28px; margin-left: 40px; }
  .nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
  .nav a:hover { color: var(--ink); }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 56px;
}
.hero__grid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 68%);
          mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 68%);
}
@media (min-width: 900px) {
  .hero { align-items: center; padding-bottom: 80px; }
  .hero__grid {
    -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 62%);
            mask-image: linear-gradient(90deg, transparent 18%, #000 62%);
  }
}
.hero__inner { position: relative; }
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  /* Tight leading makes the İ/Ş/Ç diacritics collide with descenders above; 1.1+ keeps them apart */
  line-height: 1.12; letter-spacing: -.04em; font-weight: 700;
  max-width: 19ch;
}
@media (min-width: 900px) { .hero__title { line-height: 1.08; } }
/* Padding keeps Turkish diacritics (İ, Ş, Ç) inside the reveal mask */
.hero__title .line { display: block; overflow: hidden; padding: .12em 0 .08em; margin: -.12em 0 -.08em; }
.hero__title .line > span { display: block; }
.hero__title em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; font-size: 1.08em;
  background: linear-gradient(var(--gold), var(--gold)) 0 92% / var(--u, 100%) .08em no-repeat;
}
.hero__lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; }
.trust__since { display: flex; align-items: baseline; font-weight: 600; font-size: 1.05rem; }
.trust__since .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.trust__since .num + span { color: var(--ink-soft); }
.trust__std { display: flex; flex-wrap: wrap; gap: 8px; }
.trust__std li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.marquee { border-top: 1px solid var(--line); overflow: hidden; padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 16px; padding-right: 16px; }
.logo { width: 150px; height: 68px; display: grid; place-items: center; padding: 12px 18px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }
.logo { overflow: hidden; }
.logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.logo--dark { background: var(--ink); border-color: var(--ink); }
.logo--black { background: #000; border-color: #000; }
.logo--text span, .ref--text span { font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; text-align: center; }
.logo--text span { font-size: 1.15rem; }
.logo--text small, .ref--text small { display: block; margin-top: 4px; font-size: .62em; font-weight: 600; letter-spacing: 0; color: var(--steel); }
.logo--neulogs { background: #0C172A; border-color: #0C172A; padding: 0; overflow: hidden; }
.logo--neulogs img { height: 100%; width: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 136px 0; } }
.section__head { display: grid; gap: 16px; margin-bottom: 40px; }
.section__head h2, .process__aside h2, .faq h2, .contact h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.section__head p { max-width: 56ch; color: var(--ink-soft); font-size: 1.05rem; }
@media (min-width: 900px) {
  .section__head { grid-template-columns: 1fr 1fr; align-items: end; margin-bottom: 64px; }
}

/* Services */
.svc-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
  outline-offset: 4px;
}
@media (min-width: 900px) { .svc { padding: 40px 40px 36px; min-height: 300px; } }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-direction: row-reverse; }
.svc__icon { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--steel); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.svc h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.025em; }
.svc__code { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--gold-deep); font-variant-numeric: tabular-nums; }
.svc__lead { margin-top: 16px; color: var(--ink-soft); max-width: 48ch; }
.svc__detail ul { display: grid; gap: 8px; padding-top: 20px; margin-top: 20px; border-top: 1px solid var(--line); }
.svc__detail li { position: relative; padding-left: 20px; font-size: .95rem; }
.svc__detail li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border: 1.5px solid var(--gold); transform: rotate(45deg); }

@media (hover: hover) and (min-width: 760px) {
  .svc__detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
  .svc__detail > ul { overflow: hidden; min-height: 0; opacity: 0; transition: opacity .3s var(--ease); }
  .svc:hover .svc__detail, .svc:focus-within .svc__detail, .svc:focus .svc__detail { grid-template-rows: 1fr; }
  .svc:hover .svc__detail > ul, .svc:focus-within .svc__detail > ul, .svc:focus .svc__detail > ul { opacity: 1; transition-delay: .1s; }
  .svc:hover, .svc:focus { border-color: var(--ink); }
  .svc:hover .svc__icon, .svc:focus .svc__icon { stroke: var(--gold-deep); }
  .svc__lead::after { content: "Kapsamı görmek için üzerine gelin"; display: block; margin-top: 18px; font-size: .82rem; color: var(--steel); font-weight: 600; transition: opacity .2s; }
  .svc:hover .svc__lead::after, .svc:focus .svc__lead::after { opacity: 0; }
}

/* Process */
.process { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__inner { display: grid; gap: 48px; }
.process__aside p { margin-top: 16px; color: var(--ink-soft); max-width: 42ch; font-size: 1.05rem; }
@media (min-width: 900px) {
  .process__inner { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .process__aside { position: sticky; top: calc(var(--header-h) + 48px); }
}
.steps-wrap { position: relative; }
.steps__rail { position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 1)); }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step__n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); border: 1.5px solid var(--line-strong);
  font-weight: 700; font-size: .85rem; position: relative; z-index: 1;
  transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.step.is-on .step__n { background: var(--gold); border-color: var(--gold); }
.step h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); padding-top: 8px; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--ink-soft); max-width: 50ch; }
@media (min-width: 900px) { .step { padding-bottom: 64px; gap: 32px; } }

/* Why */
.why__grid { display: grid; border-top: 1px solid var(--line); }
.principle { padding: 32px 0; border-bottom: 1px solid var(--line); }
.principle svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { margin-top: 20px; font-size: 1.3rem; }
.principle p { margin-top: 10px; color: var(--ink-soft); max-width: 36ch; }
@media (min-width: 640px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .principle { padding: 36px 32px 36px 0; }
  .principle:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
}
@media (min-width: 1100px) {
  .why__grid { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
  .principle { border-bottom: 0; padding: 40px 28px; }
  .principle:first-child { padding-left: 0; }
  .principle + .principle { border-left: 1px solid var(--line); }
}

/* References */
.refs { padding-top: 0; }
.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .ref-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ref { display: grid; place-items: center; height: 120px; padding: 22px 28px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); transition: border-color .3s var(--ease); }
@media (min-width: 900px) { .ref { height: 160px; padding: 32px 48px; } }
.ref { overflow: hidden; }
.ref img { width: 100%; height: 100%; min-height: 0; object-fit: contain; transition: transform .4s var(--ease); }
.ref:hover { border-color: var(--ink); }
.ref:hover img { transform: scale(1.04); }
.ref--dark { background: var(--ink); border-color: var(--ink); }
/* Source file is only 130px wide; don't upscale it past legibility */
.ref img[src*="tez-kalip"] { max-width: 150px; }
.ref--black { background: #000; border-color: #000; }
.ref--text { text-decoration: none; }
.ref--text span { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.ref--neulogs { background: #0C172A; border-color: #0C172A; padding: 0; }
.ref--neulogs img { object-fit: cover; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__inner { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__inner { grid-template-columns: 5fr 7fr; gap: 64px; } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); border-color: var(--gold); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink-soft); max-width: 62ch; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact__inner { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: 5fr 6fr; gap: 80px; } }
.contact h2 { color: var(--paper); }
.contact__aside > p { margin-top: 16px; color: rgba(247, 245, 240, .72); max-width: 44ch; font-size: 1.05rem; }
.contact .btn--wa { margin-top: 28px; }
.contact__info { margin: 40px 0 0; display: grid; gap: 18px; }
.contact__info div { display: grid; gap: 2px; }
.contact__info dt { font-size: .82rem; color: rgba(247, 245, 240, .56); }
.contact__info dd { margin: 0; font-weight: 500; }
.contact__info a { text-decoration: none; }
.contact__info a:hover { color: var(--gold); }

.form { display: grid; gap: 16px; background: var(--paper); color: var(--ink); padding: 24px 20px; border-radius: 12px; }
@media (min-width: 600px) { .form { padding: 36px; } .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 500 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(58, 107, 140, .18); }
.field .is-invalid, .field input[aria-invalid="true"] { border-color: #B3261E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); }
.form__submit { justify-self: start; margin-top: 4px; }
.form__submit[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: .92rem; font-weight: 600; min-height: 1.4em; }
.form__status.ok { color: #1E6B3A; }
.form__status.err { color: #B3261E; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { padding: 64px 0 24px; }
.footer__inner { display: grid; gap: 32px; }
.footer__inner img { width: 96px; height: auto; }
.footer__inner p { margin-top: 12px; color: var(--ink-soft); font-size: .92rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__nav a, .footer__contact a { text-decoration: none; font-weight: 500; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--steel); }
.footer__contact { display: grid; gap: 8px; font-size: .95rem; }
.footer__contact span { color: var(--ink-soft); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.2fr 1.4fr 1.2fr; align-items: start; } .footer__nav { padding-top: 8px; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }
.footer__bottom a { margin-left: 16px; }
.footer__bottom a:first-child { margin-left: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(27, 45, 66, .22);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
