/* ==========================================================================
   Teknonot — teknonot.com.tr
   Palette taken from the printed service catalogue: deep teal ground,
   spring-green accent, cyan logo mark.
   ========================================================================== */

:root {
  --ink:        #0a2730;
  --ink-2:      #0f3743;
  --ink-3:      #14485a;
  --mint:       #24e58c;
  --mint-dk:    #10b870;
  --cyan:       #7ecbdd;
  --paper:      #ffffff;
  --paper-2:    #f3f6f7;
  --text:       #16323c;
  --muted:      #5a7480;
  --muted-lt:   #b6cfd8;
  --line:       rgba(16, 50, 61, .13);
  --line-lt:    rgba(255, 255, 255, .14);

  --wrap:       1140px;
  --wrap-nrw:   760px;
  --gut:        16px;
  --r:          14px;
  --r-lg:       22px;

  --shadow:     0 1px 2px rgba(10, 39, 48, .05), 0 8px 24px rgba(10, 39, 48, .07);
  --shadow-lg:  0 18px 50px rgba(10, 39, 48, .18);

  --f-disp:     'Quicksand', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --f-body:     'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3 { font-family: var(--f-disp); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--mint-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--mint); color: var(--ink); font-weight: 600;
  padding: 12px 18px; border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: var(--wrap-nrw); }

.sec { padding: 84px 0; }
.sec--tint { background: var(--paper-2); }
.sec--dark { background: var(--ink); color: #dff0f2; }
.sec--doc  { padding-top: 64px; }

.sec__title { font-size: clamp(28px, 4.2vw, 40px); margin-bottom: 14px; color: var(--ink); }
.sec__title--light { color: #fff; }
.sec__lead { font-size: 18px; color: var(--muted); max-width: 72ch; margin-bottom: 44px; }
.sec__lead--light { color: var(--muted-lt); }

.eyebrow {
  font-family: var(--f-disp);
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mint-dk); margin: 0 0 10px;
}
.eyebrow--light { color: var(--mint); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-disp); font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--mint); color: #062c1c; }
.btn--primary:hover { background: #45f0a1; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn--ghost-dark { color: var(--ink); border-color: var(--line); }
.btn--ghost-dark:hover { border-color: var(--ink); background: rgba(10, 39, 48, .05); }

.btn--block { width: 100%; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 39, 48, .88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-lt);
  transition: background-color .2s ease;
}
.hdr.is-scrolled { background: rgba(10, 39, 48, .97); }

.hdr__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__chip {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: #fff; display: grid; place-items: center; padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}
.brand__chip img { width: 100%; height: auto; }
.brand__name {
  font-family: var(--f-disp); font-weight: 700; font-size: 20px;
  letter-spacing: .12em; color: #fff;
}

/* ---------- nav ---------- */
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__list a {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: #cfe4e9; text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, .09); text-decoration: none; }

.nav__cta { color: var(--ink) !important; background: var(--mint); font-weight: 700 !important; }
.nav__cta:hover { background: #45f0a1 !important; color: var(--ink) !important; }

.nav__lang { margin-left: 6px; padding-left: 10px; border-left: 1px solid var(--line-lt); }
.nav__lang a { font-family: var(--f-disp); font-weight: 700; letter-spacing: .06em; }

.navtoggle {
  display: none; width: 44px; height: 44px; padding: 11px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-lt); border-radius: 11px; cursor: pointer;
}
.navtoggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.navtoggle span + span { margin-top: 5px; }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .navtoggle { display: block; }
  .brand { margin-right: 0; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-bottom: 1px solid var(--line-lt);
    display: none; padding: 10px var(--gut) 20px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 13px 14px; font-size: 16px; }
  .nav__cta { text-align: center; margin-top: 8px; }
  .nav__lang { margin: 8px 0 0; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line-lt); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, #0b2f3b 0%, var(--ink) 55%, #071f27 100%);
  color: #fff;
  padding: clamp(72px, 11vw, 132px) 0 clamp(64px, 9vw, 108px);
}
.hero__glow {
  position: absolute; inset: auto auto -40% -12%;
  width: min(760px, 95vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(36, 229, 140, .20) 0%, rgba(36, 229, 140, 0) 66%);
  pointer-events: none;
}
.hero__in { position: relative; }
.hero__title { font-size: clamp(32px, 5.6vw, 58px); margin-bottom: 22px; max-width: 20ch; }
.hero__title .hl { color: var(--mint); }
.hero__lead { font-size: clamp(17px, 1.9vw, 20px); color: #c9e2e8; max-width: 62ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- stats ---------- */
.stats { background: var(--ink-2); color: #fff; }
.stats__in {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding-block: 34px;
}
.stat { text-align: center; padding: 8px 10px; }
.stat + .stat { border-left: 1px solid var(--line-lt); }
.stat__v { display: block; font-family: var(--f-disp); font-weight: 700; font-size: clamp(22px, 3vw, 32px); color: var(--mint); }
.stat__l { display: block; font-size: 14px; color: var(--muted-lt); margin-top: 4px; }

@media (max-width: 720px) {
  .stats__in { grid-template-columns: repeat(2, 1fr); gap: 18px 8px; }
  .stat:nth-child(odd) { border-left: 0; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.about__copy p { color: var(--muted); }
.about__copy p:first-child { font-size: 18px; color: var(--text); }

.pills { display: grid; gap: 16px; }
.pill {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 22px 18px;
}
.pill__icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 11px; background: var(--mint); color: #062c1c; margin-bottom: 12px;
}
.pill__icon svg { width: 22px; height: 22px; }
.pill h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.pill p  { font-size: 15px; color: var(--muted); margin: 0; }

@media (max-width: 880px) { .about { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- why / transformation ---------- */
.why {
  background: rgba(255, 255, 255, .045); border: 1px solid var(--line-lt);
  border-radius: var(--r-lg); padding: 30px 30px 24px; margin-bottom: 52px;
}
.why__title { font-size: 20px; color: #fff; margin-bottom: 18px; }
.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 34px; }
.why__list li { display: flex; gap: 11px; font-size: 15.5px; color: #cfe4e9; }
.why__list svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--mint); }

@media (max-width: 760px) {
  .why { padding: 24px 20px 18px; }
  .why__list { grid-template-columns: 1fr; }
}

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step {
  display: flex; gap: 18px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-lt);
  border-radius: var(--r-lg); padding: 26px;
}
.step__n {
  font-family: var(--f-disp); font-weight: 700; font-size: 30px; line-height: 1;
  color: var(--mint); flex: none; opacity: .85;
}
.step__body h3 { font-size: 19px; color: #fff; margin-bottom: 8px; }
.step__body p  { font-size: 15.5px; color: #b9d5dc; margin: 0; }

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

.outcome {
  margin-top: 34px; border-radius: var(--r-lg); padding: 28px 30px;
  background: linear-gradient(120deg, rgba(36, 229, 140, .16), rgba(36, 229, 140, .05));
  border: 1px solid rgba(36, 229, 140, .34);
}
.outcome h3 { font-size: 20px; color: var(--mint); margin-bottom: 8px; }
.outcome p  { margin: 0; color: #dbeef1; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 13px; background: var(--ink); color: var(--mint); margin-bottom: 16px;
}
.card__icon svg { width: 25px; height: 25px; }
.card__t { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.card__d { font-size: 15.5px; color: var(--muted); }
.card__list { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.card__list li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--text); }
.card__list li::before {
  content: ''; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
}

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

/* ---------- technologies ---------- */
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech li {
  font-family: var(--f-disp); font-weight: 600; font-size: 15px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px; color: var(--ink);
}

/* ---------- references ---------- */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref {
  border: 1px solid var(--line); border-left: 4px solid var(--mint);
  border-radius: var(--r); padding: 24px; background: var(--paper-2);
}
.ref__tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--mint-dk); margin-bottom: 8px;
}
.ref__t { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.ref__d { font-size: 15px; color: var(--muted); margin: 0; }

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

/* ---------- catalogue gallery ---------- */
.cat__dl { margin-bottom: 34px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item {
  position: relative; display: block; width: 100%; padding: 0; cursor: zoom-in;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery__item img { width: 100%; }
.gallery__n {
  position: absolute; left: 10px; bottom: 10px;
  font-family: var(--f-disp); font-weight: 700; font-size: 12px;
  background: rgba(10, 39, 48, .82); color: #fff;
  padding: 3px 9px; border-radius: 999px;
}

@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb__backdrop { position: absolute; inset: 0; background: rgba(4, 20, 26, .92); cursor: zoom-out; }
.lb__panel { position: relative; width: min(94vw, 900px); max-height: 92vh; display: grid; place-items: center; }
.lb__img {
  max-width: 100%; max-height: 82vh; width: auto; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55); background: #fff;
}
.lb__cap { margin: 12px 0 0; color: #cfe4e9; font-size: 14px; }

.lb__btn {
  position: absolute; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  transition: background-color .15s ease;
}
.lb__btn:hover { background: rgba(255, 255, 255, .26); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__btn--prev  { left: -62px; top: 50%; transform: translateY(-50%); }
.lb__btn--next  { right: -62px; top: 50%; transform: translateY(-50%); }
.lb__btn--close { right: -62px; top: -8px; }

@media (max-width: 1050px) {
  .lb__btn--prev  { left: 6px; }
  .lb__btn--next  { right: 6px; }
  .lb__btn--close { right: 6px; top: -56px; }
  .lb__panel { max-height: 86vh; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }

.contact__form {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-lt);
  border-radius: var(--r-lg); padding: 30px;
}
.contact__h { font-size: 21px; color: #fff; margin-bottom: 18px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: #cfe4e9; margin-bottom: 6px; }
.field .req { color: var(--mint); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff;
  background: rgba(4, 20, 26, .5); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 11px; padding: 12px 14px;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus {
  border-color: var(--mint); background: rgba(4, 20, 26, .75); outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #7e9ba5; }

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

.consent { font-size: 13px; color: var(--muted-lt); margin: 14px 0 0; }
.consent a { color: var(--mint); }

.note { border-radius: 11px; padding: 13px 16px; font-size: 15px; margin-bottom: 18px; }
.note--ok  { background: rgba(36, 229, 140, .15); border: 1px solid rgba(36, 229, 140, .45); color: #b8f7d8; }
.note--err { background: rgba(255, 120, 120, .13); border: 1px solid rgba(255, 120, 120, .42); color: #ffc9c9; }

.contact__info { display: grid; gap: 22px; }
.office h3 {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint); margin-bottom: 5px;
}
.office p { margin: 0; color: #cfe4e9; font-size: 15.5px; }
.office a { color: #fff; }
.office__legal { font-size: 13px; color: #8fb0ba; border-top: 1px solid var(--line-lt); padding-top: 18px; margin: 0; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact__form { padding: 24px 20px; }
}

/* ---------- document page (privacy) ---------- */
.doc__title { font-size: clamp(27px, 4vw, 38px); color: var(--ink); margin-bottom: 8px; }
.doc__meta  { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.doc__h     { font-size: 20px; color: var(--ink); margin: 30px 0 8px; }
.doc__p     { color: var(--muted); }
.doc__back  { margin-top: 44px; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #b9d5dc; padding: 62px 0 0; }
.ftr__in {
  display: grid; grid-template-columns: 1.5fr 1fr 1.4fr .8fr; gap: 36px;
  padding-bottom: 42px;
}
.ftr__tagline { font-size: 15px; color: #8fb0ba; margin: 14px 0 0; max-width: 34ch; }
.brand--ftr .brand__name { font-size: 18px; }

.ftr__h {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.ftr__col ul { display: grid; gap: 9px; }
.ftr__col a { color: #b9d5dc; font-size: 15px; }
.ftr__col a:hover { color: #fff; }
.ftr__contact li { font-size: 14.5px; line-height: 1.5; }

.ftr__base {
  border-top: 1px solid var(--line-lt); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between;
}
.ftr__base p { margin: 0; font-size: 13px; color: #7e9ba5; }

@media (max-width: 900px) {
  .ftr__in { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .sec { padding: 60px 0; }
  .ftr__in { grid-template-columns: 1fr; }
}
