:root {
  --color-bg: #020202;
  --accent-color: #02a160;
  --color-glow: #0f493a;
  --color-word: var(--accent-color);
  --color-text: #ffffff;
  --color-text-primary: var(--color-surface-text);
  --color-text-secondary: #6e6e73;
  --color-surface: #ffffff;
  --color-surface-text: #1a1a1a;
  --color-surface-border: rgb(26 26 26 / 0.14);
  --color-flow-bg: #f6f1ee;
  --nav-bg: rgb(255 255 255 / 0.1);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  background: var(--color-bg);
}

/* Alt maskot — canlı orb karakteri (mouse takibi + tıklama) */
.hero-mascot {
  --diorit-logo-h: min(26rem, 70vw);
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

@media (min-width: 768px) {
  .hero-mascot {
    --diorit-logo-h: 415px;
  }
}

.hero {
  background-color: var(--color-bg);
  background-image: radial-gradient(ellipse 95% 72% at 50% 100%, var(--color-glow) 0%, #09261e 42%, #051410 68%, var(--color-bg) 100%);
}

.site-nav {
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.025));
  border-color: rgb(255 255 255 / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 6px 18px rgb(0 0 0 / 0.12);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
}

.nav-link.is-active,
.nav-link[aria-current="page"] {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.hero-word-viewport {
  align-self: stretch;
  display: flex;
  justify-content: center;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
}

.hero-word {
  color: var(--color-word);
  display: block;
  width: max-content;
  font-size: clamp(3.75rem, 19vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.82;
  margin-top: 0.1em;
  margin-bottom: 0.24em;
  white-space: nowrap;
  will-change: transform;
  transform: translateX(100vw);
  pointer-events: auto;
}

@media (max-width: 767px) {
  .hero-word-viewport {
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .hero-word {
    font-size: clamp(4.25rem, 22vw, 18rem);
    letter-spacing: -0.07em;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: hero-copy-in 500ms ease-out both;
    -webkit-animation: hero-copy-in 500ms ease-out both;
    -webkit-filter: blur(0);
    will-change: filter, opacity, transform;
  }

  .hero-copy-bottom {
    animation-delay: 200ms;
  }

  .hero-mascot {
    animation: hero-mascot-in 900ms 500ms both cubic-bezier(0.22, 1.25, 0.36, 1);
  }
}

@keyframes hero-copy-in {
  from {
    filter: blur(12px);
    -webkit-filter: blur(12px);
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    filter: none;
    -webkit-filter: none;
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-mascot-in {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(9rem) scale(0.72) rotate(-5deg);
  }
  65% {
    opacity: 1;
    transform: translateX(-50%) translateY(-1.25rem) scale(1.04) rotate(2deg);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1) rotate(0);
  }
}

/* ---- Hakkımızda ---- */
.about-section {
  background: var(--color-surface);
  color: var(--color-surface-text);
  overflow-x: clip;
}

.about-inner {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5.5rem) 2rem clamp(1.5rem, 3vw, 2.5rem);
}

.about-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.about-row + .about-row {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.about-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
}

.about-icon {
  display: block;
  flex: none;
  width: clamp(4.5rem, 8vw, 7.5rem);
  aspect-ratio: 1;
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
  color: var(--accent-color);
  background-color: currentColor;
}

.about-icon--brain {
  -webkit-mask: url("https://api.iconify.design/fluent/brain-circuit-48-regular.svg") center / contain no-repeat;
  mask: url("https://api.iconify.design/fluent/brain-circuit-48-regular.svg") center / contain no-repeat;
}

.about-icon--handshake {
  -webkit-mask: url("https://api.iconify.design/fluent/handshake-32-regular.svg") center / contain no-repeat;
  mask: url("https://api.iconify.design/fluent/handshake-32-regular.svg") center / contain no-repeat;
}

.about-heading {
  margin-left: auto;
  max-width: 8ch;
  color: var(--accent-color);
  font-size: clamp(2.25rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  text-align: right;
  text-wrap: balance;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-heading {
      animation: about-heading-slide-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
      will-change: transform, opacity;
    }

    .about-copy {
      animation: about-copy-slide-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 32%;
      will-change: transform, opacity;
    }

    .about-row--services .about-icon {
      animation: about-icon-slide-in linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 24%;
      will-change: transform, opacity;
    }

    .about-row--identity .about-icon {
      animation: about-icon-slide-in-left linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 18%;
      will-change: transform, opacity;
    }

    .about-row--identity .about-heading {
      animation-range: entry 14% cover 32%;
    }

    .about-row--identity .about-copy {
      animation-range: entry 28% cover 48%;
    }

    .about-row--services .about-heading {
      animation-name: about-copy-slide-in;
      animation-range: entry 24% cover 38%;
    }

    .about-row--services .about-copy {
      animation-name: about-heading-slide-in;
      animation-range: entry 14% cover 34%;
    }
  }
}

@keyframes about-icon-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-18vw) scale(0.82);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes about-icon-slide-in {
  from {
    opacity: 0;
    transform: translateX(18vw) scale(0.82);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes about-heading-slide-in {
  from {
    opacity: 0;
    transform: translateX(-18vw);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes about-copy-slide-in {
  from {
    opacity: 0;
    transform: translateX(18vw);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-copy {
  display: grid;
  gap: 1.5rem;
  color: var(--color-text-secondary);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  line-height: 1.5;
}

.about-copy .primary-text {
  color: var(--color-surface-text);
}

.about-row--services .about-heading-wrap {
  grid-column: 2;
  grid-row: 1;
  align-items: flex-start;
  text-align: left;
}

.about-row--services .about-heading {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.about-row--services .about-copy {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.about-emphasis {
  color: var(--accent-color);
  font-weight: 750;
}

.references-strip {
  width: min(calc(100% - 4rem), 72rem);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  border-top: 4px solid var(--color-flow-bg);
  overflow: hidden;
}

.references-list {
  --references-visible: 6;
  --references-gap: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  gap: var(--references-gap);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(0);
  will-change: transform;
}

.references-list li {
  display: flex;
  flex: 0 0 calc((100% - (var(--references-visible) - 1) * var(--references-gap)) / var(--references-visible));
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.references-list img {
  display: block;
  width: 100%;
  height: clamp(3.5rem, 7vw, 6rem);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition:
    filter 250ms ease,
    opacity 250ms ease;
}

.references-list li:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .about-inner {
    padding-inline: 1.5rem;
  }

  .references-strip {
    width: calc(100% - 3rem);
  }

  .references-list {
    --references-visible: 3;
    --references-gap: 1rem;
  }

  .references-list img {
    height: clamp(3.5rem, 18vw, 5rem);
  }

  .about-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .about-row--services .about-heading-wrap,
  .about-row--services .about-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .about-row--services .about-heading-wrap {
    order: 1;
  }

  .about-row--services .about-copy {
    order: 2;
    text-align: left;
  }

  .about-heading {
    margin-right: auto;
    margin-left: 0;
    max-width: 10ch;
    text-align: left;
  }

  .about-heading-wrap {
    align-items: flex-start;
    text-align: left;
  }
}

.diorit-flow {
  background-color: var(--color-flow-bg);
  color: #1a1a1a;
  overflow-x: clip;
}

.diorit-flow-title {
  color: var(--accent-color);
  font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 0.1em;
  white-space: nowrap;
  transform-origin: center center;
  will-change: transform;
}

/* Scroll ile: section görünmeye başlarken başlık sıfırdan gerçek boyutuna büyür. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .diorit-flow-title {
      animation: diorit-flow-title-shrink linear both;
      animation-timeline: view();
      animation-range: entry 25% cover 65%;
    }
  }
}

@keyframes diorit-flow-title-shrink {
  0% {
    transform: scale(0);
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  100% {
    transform: scale(1);
  }
}

.diorit-flow-desc {
  color: var(--color-text-secondary);
}

.diorit-flow-desc .primary-text {
  color: var(--color-text-primary);
}

/* ---- Modül detay modalı ---- */
.flow-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.flow-modal[hidden] {
  display: none;
}

.flow-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: flow-modal-fade 0.2s ease both;
}

.flow-modal-panel {
  position: relative;
  width: min(1060px, calc(100% - 10rem));
  aspect-ratio: 4 / 3;
  max-height: 92vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 28px;
  padding: clamp(1.25rem, 2.5vw, 2.5rem);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
  animation: flow-modal-pop 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.flow-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.flow-modal-nav:hover,
.flow-modal-nav:focus-visible {
  background: rgb(255 255 255 / 0.28);
  transform: translateY(-50%) scale(1.06);
}

.flow-modal-nav--previous {
  left: clamp(1rem, 3vw, 3rem);
}

.flow-modal-nav--next {
  right: clamp(1rem, 3vw, 3rem);
}

.flow-modal-close {
  position: sticky;
  top: 0;
  margin-top: -0.5rem;
  margin-right: -0.5rem;
  margin-bottom: -43.5px;
  margin-left: auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #1d1d1f;
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.flow-modal-close:hover,
.flow-modal-close:focus-visible {
  background: #000000;
  transform: scale(1.06);
}

.flow-modal-content {
  max-width: 52rem;
}

.flow-modal-eyebrow {
  color: #6e6e73;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.flow-modal-title {
  color: var(--color-text-primary);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.flow-modal-image {
  display: block;
  width: 100%;
  margin: 0 0 1.75rem;
  border-radius: 18px;
}

.flow-modal-image[hidden],
.flow-modal-desc[hidden] {
  display: none;
}

.flow-modal-desc {
  color: #1d1d1f;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
}

.flow-modal-body:not(:empty) {
  margin-top: 1.5rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.flow-modal-body p + p {
  margin-top: 1rem;
}

.flow-modal-body strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

.flow-modal-body p:last-child {
  margin-top: 1.5rem;
  font-size: 1.1em;
}

.flow-modal-contact {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--accent-color);
  border-radius: 999px;
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.flow-modal-contact svg {
  width: 1.1rem;
  height: 1.1rem;
}

.flow-modal-contact:hover,
.flow-modal-contact:focus-visible {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-1px);
}

@keyframes flow-modal-fade {
  from {
    opacity: 0;
  }
}

@keyframes flow-modal-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

@media (max-width: 600px) {
  .flow-modal-panel {
    width: 100%;
    aspect-ratio: auto;
    min-height: 60vh;
  }

  .flow-modal-eyebrow {
    font-size: 0.75rem;
  }

  .flow-modal-title {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  .flow-modal-close {
    width: 32px;
    height: 32px;
    margin-bottom: -31.5px;
  }

  .flow-modal-close svg {
    width: 18px;
    height: 18px;
  }

  .flow-modal-contact {
    display: inline-flex;
  }

  .flow-modal-nav {
    width: 42px;
    height: 42px;
  }
}

/* ---- Diorit Flow modül kartları (yatay scroll) ---- */
.flow-modules {
  --flow-gap: 24px;
  --flow-cards-in-view: 3.35; /* 3 tam + 4. kartın bir kısmı görünür */
  /* sol kenar, ortalanmış içerikle (72rem) aynı hizada başlar */
  --flow-gutter: max(1.5rem, calc((100vw - 72rem) / 2 + 2rem));
  width: 100%;
  padding-bottom: 0;
}

.flow-modules-track {
  display: flex;
  gap: var(--flow-gap);
  margin: 0;
  /* sol kenarda başlıkla hizalı başla, sağdan ekran dışına taşabilsin.
     dikey padding: hover gölgesinin kesilmemesi için pay bırakır */
  padding: 1rem 1.5rem 2rem var(--flow-gutter);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* scroll çubuğunu gizle (kaydırma yine çalışır) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.flow-modules-track::-webkit-scrollbar {
  display: none;
}

/* mouse ile sürüklerken */
.flow-modules-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.flow-card {
  position: relative;
  flex: 0 0 calc((100% - (var(--flow-cards-in-view) - 1) * var(--flow-gap)) / var(--flow-cards-in-view));
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: #ffffff;
  border-radius: 28px;
  text-align: left;
  overflow: hidden; /* görseli yuvarlak köşelere kırp */
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.flow-card-body {
  position: relative;
  z-index: 1;
}

/* kartın altına hizalı, tam genişlikte görsel */
.flow-card-image {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* hafif gölge sınıfı */
.flow-card-shadow {
  box-shadow:
    0 3px 10px rgb(0 0 0 / 0.035),
    0 8px 20px rgb(0 0 0 / 0.04);
}

/* mouse üzerine gelince hafif büyür ve gölge belirginleşir */
@media (hover: hover) {
  .flow-card:hover {
    transform: scale(1.02);
    box-shadow:
      0 6px 16px rgb(0 0 0 / 0.08),
      0 14px 30px rgb(0 0 0 / 0.09);
  }
}

/* sürükleme sırasında hover büyümesini kapat */
.flow-modules-track.is-dragging .flow-card {
  transform: none;
}

.flow-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.flow-card-eyebrow {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.flow-card-title {
  color: #ff5d00;
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.1;
}

.flow-card-desc {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.4;
}

/* icon / görsel alanı — içerik sonra eklenecek */
.flow-card-media {
  margin-top: auto;
  min-height: 120px;
}

.flow-card-add {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-color);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.flow-card-add:hover,
.flow-card-add:focus-visible {
  background: #018a52;
  transform: scale(1.06);
}

.flow-card-add svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 900px) {
  .flow-modules {
    --flow-cards-in-view: 2.2;
  }
  .flow-card {
    min-height: 520px;
  }
}

@media (max-width: 600px) {
  .flow-modules {
    --flow-cards-in-view: 1.15;
    --flow-gap: 16px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Karşılaştırma ---- */
.comparing-section {
  --comparing-bg: var(--color-bg);
  background-color: var(--comparing-bg);
  background-image: radial-gradient(ellipse 95% 72% at 50% 0%, #08434b 0%, #09261e 42%, #051410 68%, var(--color-bg) 100%);
  color: var(--color-text);
  overflow: hidden;
}

.comparing-intro {
  width: min(calc(100% - 3rem), 64rem);
  margin-inline: auto;
  padding-top: clamp(5rem, 9vw, 8rem);
  color: rgb(255 255 255 / 0.5);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}

.comparing-intro span {
  color: var(--color-text);
}

.comparing-inner {
  width: min(100%, 82rem);
  min-height: min(44rem, 75vh);
  margin-inline: auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.comparing-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .comparing-motion-ready .comparing-intro {
    opacity: 0;
    transform: translateY(5rem);
    will-change: transform, opacity;
  }

  .comparing-motion-ready .comparing-side {
    opacity: 0;
    will-change: transform, opacity;
  }

  .comparing-motion-ready .comparing-side--traditional {
    transform: translateX(-22vw);
  }

  .comparing-motion-ready .comparing-side--flow {
    transform: translateX(22vw);
  }
}

.comparing-mascot-wrap {
  position: relative;
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
}

.comparing-mascot {
  position: relative;
  z-index: 1;
  display: block;
  width: 140px;
  height: 140px;
}

.comparing-mascot--live {
  --diorit-logo-h: 140px;
  --diorit-logo-w: 140px;
}

.comparing-mascot--live [data-diorit-orb] {
  --orb-c1: #f6ffe3;
  --orb-c2: #19aa6d;
  --orb-c3: #03393c;
}

@media (prefers-reduced-motion: no-preference) {
  .comparing-side--traditional .comparing-mascot {
    animation: comparing-traditional-sway 8s ease-in-out infinite;
    transform-origin: 50% 100%;
  }
}

@keyframes comparing-traditional-sway {
  0%,
  28%,
  72%,
  100% {
    transform: rotate(0deg);
  }
  38% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(4deg);
  }
  62% {
    transform: rotate(-2deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .comparing-mascot--live [data-diorit-orb][data-expression="heyecanli"] .shape-star path,
  .comparing-mascot--live [data-diorit-orb][data-expression="mutluYildizli"] .shape-star path {
    animation: comparing-star-spin 700ms linear infinite;
    transform-box: fill-box;
    transform-origin: center;
  }
}

@keyframes comparing-star-spin {
  to {
    transform: rotate(360deg);
  }
}

.comparing-tool {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: var(--color-text);
  filter: drop-shadow(0 5px 10px rgb(0 0 0 / 0.2));
  pointer-events: none;
}

.comparing-tool::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: currentColor;
  -webkit-mask: var(--tool-icon) center / contain no-repeat;
  mask: var(--tool-icon) center / contain no-repeat;
}

.comparing-tool--file {
  --tool-icon: url("https://api.iconify.design/fluent/document-24-regular.svg");
  top: -4.25rem;
  left: -3rem;
  animation: comparing-tool-float-a 4.8s ease-in-out infinite;
}

.comparing-tool--excel {
  --tool-icon: url("https://api.iconify.design/fluent/table-24-regular.svg");
  top: -6.5rem;
  left: 4.85rem;
  animation: comparing-tool-float-b 5.5s ease-in-out -1.2s infinite;
}

.comparing-tool--mail {
  --tool-icon: url("https://api.iconify.design/fluent/mail-24-regular.svg");
  top: -4.1rem;
  right: -3.5rem;
  animation: comparing-tool-float-c 4.2s ease-in-out -0.7s infinite;
}

.comparing-tool--message {
  --tool-icon: url("https://api.iconify.design/fluent/chat-24-regular.svg");
  top: 1.7rem;
  left: -5.25rem;
  animation: comparing-tool-float-c 5.1s ease-in-out -2.4s infinite reverse;
}

.comparing-tool--form {
  --tool-icon: url("https://api.iconify.design/fluent/form-24-regular.svg");
  top: 1.25rem;
  right: -5rem;
  animation: comparing-tool-float-a 5.8s ease-in-out -3s infinite reverse;
}

.comparing-flow-schema {
  position: absolute;
  z-index: 2;
  top: -5.5rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: max-content;
  transform: translateX(-50%);
}

.comparing-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.16);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.comparing-flow-step--result {
  border-color: var(--accent-color);
  background: var(--accent-color);
}

.comparing-flow-arrow {
  color: rgb(255 255 255 / 0.7);
  font-size: 1.35rem;
  line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes comparing-tool-float-a {
    0%,
    100% {
      transform: translate(0, 0) rotate(-8deg) scale(0.92);
    }
    50% {
      transform: translate(7px, -9px) rotate(9deg) scale(1.08);
    }
  }

  @keyframes comparing-tool-float-b {
    0%,
    100% {
      transform: translateY(3px) rotate(7deg) scale(1.05);
    }
    50% {
      transform: translate(-5px, -8px) rotate(-10deg) scale(0.88);
    }
  }

  @keyframes comparing-tool-float-c {
    0%,
    100% {
      transform: translate(-3px, -2px) rotate(-5deg) scale(0.9);
    }
    50% {
      transform: translate(5px, 8px) rotate(12deg) scale(1.1);
    }
  }
}

.comparing-copy {
  max-width: 29rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.comparing-heading {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 0.95;
  text-wrap: balance;
}

.comparing-side--traditional .comparing-heading {
  color: var(--color-text-secondary);
}

.comparing-side--flow .comparing-heading {
  color: var(--accent-color);
}

.comparing-description {
  margin-top: 1.25rem;
  color: rgb(255 255 255 / 0.62);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  text-wrap: balance;
}

.comparing-divider {
  align-self: stretch;
  position: relative;
  width: 1px;
  min-height: 34rem;
  background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 0.22) 16%, rgb(255 255 255 / 0.22) 84%, transparent);
}

.comparing-divider-label {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: var(--comparing-bg);
  color: rgb(255 255 255 / 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
}

@media (max-width: 700px) {
  .comparing-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 8rem 1.5rem 2.5rem;
  }

  .comparing-mascot-wrap {
    width: 140px;
    height: 140px;
  }

  .comparing-flow-schema {
    gap: 0.35rem;
  }

  .comparing-side--flow {
    margin-top: 6rem;
  }

  .comparing-flow-step {
    min-height: 2.4rem;
    padding: 0.55rem 0.65rem;
    font-size: 0.75rem;
  }

  .comparing-flow-arrow {
    font-size: 1rem;
  }

  .comparing-copy {
    margin-top: 1.75rem;
  }

  .comparing-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    background: linear-gradient(to right, transparent, rgb(255 255 255 / 0.22) 16%, rgb(255 255 255 / 0.22) 84%, transparent);
  }
}

@keyframes hero-word-in {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes hero-word-out {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100vw);
  }
}

/* ---- Kapanış sözü ---- */
.closing-statement {
  display: grid;
  place-items: center;
  min-height: clamp(16rem, 30vw, 23rem);
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  overflow: clip;
  border-top: 1px solid var(--color-surface-border);
  border-bottom: 1px solid var(--color-surface-border);
  background: var(--color-surface);
  color: var(--color-text-primary);
  text-align: center;
}

.closing-statement-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: clamp(1.85rem, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  text-wrap: balance;
}

.closing-statement-copy span {
  display: block;
}

.closing-statement-copy strong {
  color: var(--color-text-primary);
  font-weight: inherit;
}

@media (max-width: 700px) {
  .closing-statement-copy {
    gap: 0.35em;
    font-size: clamp(2.2rem, 10.5vw, 2.75rem);
    line-height: 1.18;
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .closing-statement-copy {
      animation: closing-statement-in linear both;
      animation-timeline: view();
      animation-range: entry 32% cover 52%;
      transform-origin: center;
      will-change: transform, opacity;
    }
  }
}

@keyframes closing-statement-in {
  from {
    opacity: 0;
    transform: scale(3);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---- Contact ---- */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 2rem;
  background: radial-gradient(circle at 18% 80%, rgb(2 161 96 / 0.18), transparent 32rem), var(--color-bg);
  color: var(--color-text);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(17rem, 0.75fr) minmax(26rem, 1.25fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  width: min(100%, 72rem);
  margin-inline: auto;
  align-items: stretch;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 0.75rem;
}

.contact-title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.88;
}

.contact-lead {
  max-width: 31rem;
  margin-top: 1.75rem;
  color: rgb(255 255 255 / 0.58);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin-top: clamp(2rem, 4vw, 3rem);
  font-style: normal;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  font-size: 1rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.contact-item small {
  display: block;
  margin-bottom: 0.2rem;
  color: rgb(255 255 255 / 0.42);
  font-size: 0.72rem;
  font-weight: 550;
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  color: var(--accent-color);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--accent-color);
  color: #ffffff;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-whatsapp svg {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-whatsapp span {
  margin-left: 0.25rem;
}

.contact-whatsapp:hover,
.contact-whatsapp:focus-visible {
  box-shadow: 0 12px 30px rgb(2 161 96 / 0.3);
  transform: translateY(-2px);
}

.contact-map-wrap {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: clamp(1.5rem, 4vw, 2.5rem);
  background: #101010;
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 34rem;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

.contact-map-address {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 1.1rem;
  background: rgb(2 2 2 / 0.82);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgb(255 255 255 / 0.82);
  font-size: 0.86rem;
  font-weight: 550;
  line-height: 1.45;
}

.contact-pin {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background-color: var(--accent-color);
  -webkit-mask: url("https://api.iconify.design/fluent/location-24-filled.svg") center / 1.3rem no-repeat;
  mask: url("https://api.iconify.design/fluent/location-24-filled.svg") center / 1.3rem no-repeat;
}

@media (max-width: 800px) {
  .contact-section {
    padding-inline: 1.25rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-map-wrap,
  .contact-map {
    min-height: 26rem;
  }
}

/* Logo varyant geçişi (açık zeminli bölüm üzerinde dark logo) */
.nav-logo-dark {
  display: none;
}

.site-header.on-light .nav-logo-light {
  display: none;
}

.site-header.on-light .nav-logo-dark {
  display: block;
}

/* Navbar açık zeminli bölüm (Diorit Flow) üzerindeyken */
.site-header.on-light .site-nav,
.site-header.on-light .nav-panel {
  background: rgb(2 161 96 / 0.2);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.35),
    0 8px 24px rgb(0 0 0 / 0.06);
}

.site-header.on-light .nav-link {
  color: #000000;
}

.site-header.on-light .nav-link:hover,
.site-header.on-light .nav-link:focus-visible,
.site-header.on-light .nav-link.is-active,
.site-header.on-light .nav-link[aria-current="page"] {
  color: #000000;
}

.site-header.on-light .nav-link.is-active,
.site-header.on-light .nav-link[aria-current="page"] {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

.site-header.on-light .nav-panel a {
  color: #000000;
}

.site-header.on-light .hamburger-line {
  background: #000000;
}

.nav-panel {
  display: none;
  font-weight: 700;
}

.nav-panel a {
  padding-inline: 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-panel a.is-active,
.nav-panel a[aria-current="page"],
.site-header.on-light .nav-panel a.is-active,
.site-header.on-light .nav-panel a[aria-current="page"] {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 6px 18px rgb(0 0 0 / 0.12);
  color: #ffffff;
}

.site-header.is-open .nav-panel {
  display: flex;
}

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.site-header.is-open .hamburger-line:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-panel {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hamburger-line {
    transition: none;
  }

  .hero-word-viewport {
    width: auto;
    margin-left: 0;
    justify-content: center;
  }

  .hero-word {
    animation: none;
    will-change: auto;
  }
}
