/* Bütün sayfaların ortak bileşenleri. Kırılımlar: 640, 960, 1200 piksel. */

/* Yerleşim */

.container {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Okuma genişliği: içerik daralır, sol hiza diğer bölümlerle aynı kalır */
.container--narrow > * {
  max-width: var(--page-narrow);
}

.section {
  padding-block: var(--section-y);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: var(--gap) clamp(2rem, 4vw, 4rem);
}

@media (min-width: 960px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.on-dark {
  --focus: var(--orange);
  --muted: var(--on-dark-muted);
  --accent-text: var(--orange);
  --accent-heading: var(--orange);
  --rule: var(--line-dark);
  background: var(--ink);
  color: var(--on-dark);
}

.muted {
  color: var(--muted);
}

.lead {
  max-width: var(--measure);
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.source-note {
  max-width: 90ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.page-note {
  margin-block: 0 var(--section-y);
}

.heading-small {
  margin-bottom: 1rem;
  font-size: var(--h3);
  line-height: 1.25;
}

.section-head {
  display: grid;
  gap: 0.625rem;
  justify-items: start;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.section-head h2 {
  max-width: 24em;
}

.section-head .text-link {
  margin-top: 0.25rem;
}

.card-grid {
  display: grid;
  gap: var(--gap);
}

/* Görselli küçük kartlar telefonda da yan yana durur, sayfa boşuna uzamaz */
.card-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .card-grid,
  .card-grid--two,
  .card-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

/* İkon */

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* Logo: oran korunur, kapsayıcının yüksekliğine uyar. Yeni logo dosyası boyut değişikliği gerektirmez. */

.logo {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Düğmeler */

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}

.btn--small {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.btn--primary {
  background: var(--orange);
  color: var(--on-orange);
}

.btn--primary:hover {
  background: var(--orange-hover);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--graphite);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--ink);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

/* Tıklanabilir kart: başlık bağlantısı bütün kartı kaplar */

.stretched::after {
  position: absolute;
  inset: 0;
  content: "";
}

/* Ürün görseli standardı: şeffaf görsel, tek zemin, ortalanmış ve orantılı.
   Görsel kutuya sığar, en çok iki katına büyür (stage_img). Kart oranları burada tanımlıdır. */

.stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stage);
}

.stage img {
  position: absolute;
  inset: 0;
  width: 88%;
  height: 86%;
  margin: auto;
  object-fit: contain;
}

.stage--tall {
  aspect-ratio: 4 / 5;
}

.stage--wide {
  aspect-ratio: 16 / 10;
}

.stage--hero {
  aspect-ratio: 5 / 4;
}

.stage--hero-tall {
  aspect-ratio: 1 / 1;
}

.stage--drawing {
  max-width: 640px;
  background: var(--graphite);
}

/* Kartlar: tek görünüm */

.model-card,
.family-card,
.solution-card,
.link-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.model-card > .stage,
.family-card > .stage,
.solution-card__media {
  width: 100%;
  margin-bottom: 0.5rem;
}

.model-card:hover h3 a,
.family-card:hover h3 a,
.solution-card:hover h3 a,
.link-card:hover h3 a {
  color: var(--accent-text);
}

.model-card h3 a,
.family-card h3 a,
.solution-card h3 a,
.link-card h3 a {
  text-decoration: none;
  transition: color 150ms var(--ease);
}

.model-card__name {
  font-size: var(--h3);
}

.model-card__summary {
  font-size: 0.9375rem;
  line-height: 1.45;
}

@media (max-width: 639px) {
  .model-card__summary,
  .family-card p {
    font-size: var(--text-sm);
  }

  .model-card__name {
    font-size: 1.0625rem;
  }
}

.model-card__more {
  margin-top: auto;
  padding-top: 0.25rem;
  font-size: 0.9375rem;
}

.solution-card__media {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--stage);
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card--small h3 {
  font-size: 1.125rem;
}

.link-card {
  padding: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}

.link-card__code {
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Alt alta geniş bölüm: ürün aileleri ve hizmetler */

.feature-list {
  display: grid;
}

.feature-row {
  display: grid;
  gap: 1.25rem clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  border-top: 1px solid var(--rule);
}

.feature-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
}

.feature-row__body {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.feature-row__body p {
  max-width: var(--measure);
}

.feature-row__body h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
}

.feature-row__name {
  margin-top: -0.5rem;
  color: var(--muted);
  font-weight: 500;
}

.feature-row__note {
  font-size: 0.9375rem;
}

.feature-row__media--diagram {
  padding: clamp(0.75rem, 0.5rem + 1vw, 1.5rem);
  border-radius: var(--radius);
  background: var(--mist);
}

.feature-row .btn {
  margin-top: 0.5rem;
}

/* Metin önce gelir; dar ekranda görsel üstte */
.feature-row__media {
  order: -1;
}

@media (min-width: 960px) {
  .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-row__media {
    order: 0;
  }

  .feature-row--media-first .feature-row__media {
    order: -1;
  }
}

/* Hizmet şemaları */

.diagram {
  width: 100%;
  height: auto;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
}

.diagram text {
  fill: var(--ink);
}

.diagram .d-center {
  text-anchor: middle;
}

.diagram .d-on-accent {
  fill: var(--on-orange);
  font-weight: 600;
}

.diagram .d-line {
  fill: none;
  stroke: var(--steel);
  stroke-width: 1.5;
}

.diagram .d-fill {
  fill: var(--white);
  stroke: var(--steel);
  stroke-width: 1.5;
}

.diagram .d-fill-dot {
  fill: var(--white);
  stroke: var(--orange);
  stroke-width: 3;
}

.diagram .d-route {
  fill: none;
  stroke: var(--orange);
  stroke-width: 2.5;
  stroke-dasharray: 7 6;
}

.diagram .d-accent,
.diagram .d-accent-box {
  fill: var(--orange);
}

.diagram .d-check {
  fill: none;
  stroke: var(--orange);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Süreç */

.process {
  display: grid;
  gap: var(--gap);
  counter-reset: none;
}

.process__step {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--on-orange);
  font-size: var(--text-sm);
  font-weight: 700;
}

.process li {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  align-content: start;
}

@media (min-width: 640px) {
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.numbered {
  display: grid;
  gap: 1rem;
}

.numbered li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

/* Listeler */

.check-list {
  display: grid;
  gap: 0.5rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
}

.check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

.check-list--compact {
  gap: 0.25rem;
  font-size: 0.9375rem;
}

.point-list {
  display: grid;
  gap: 1.25rem;
}

.point-list li {
  display: grid;
  gap: 0.25rem;
}

.info-list {
  display: grid;
  gap: 0.75rem;
  margin-block: 0.75rem;
}

.info-list dt {
  font-weight: 600;
}

.info-list--values > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.info-list--values dt {
  font-weight: 500;
}

.info-list--values dd {
  font-weight: 600;
}

/* Sayfa konumu */

.crumbs {
  margin-bottom: clamp(1rem, 0.75rem + 1vw, 1.75rem);
  font-size: var(--text-sm);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem 0.5rem;
}

.crumbs li + li::before {
  margin-right: 0.5rem;
  color: var(--muted);
  content: "/";
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.crumbs [aria-current] {
  font-weight: 600;
}

/* Alt sayfa girişi: bütün alt sayfalarda aynı */

.page-hero {
  padding-block: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
  background: var(--mist);
}

.page-hero__inner {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.page-hero__text {
  min-width: 0;
}

.page-hero h1 {
  max-width: 20em;
}

.page-hero__lead {
  margin-top: 0.875rem;
}

.page-hero__media img:not(.stage img) {
  width: 100%;
  border-radius: var(--radius);
}

.page-hero .stage {
  background: var(--white);
}

@media (min-width: 960px) {
  .page-hero__inner--media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-hero .stage--hero {
    max-height: 460px;
    width: 100%;
  }
}

/* Açılır bilgi */

.more-item {
  border-bottom: 1px solid var(--rule);
}

.more-item:first-of-type {
  border-top: 1px solid var(--rule);
}

.more-item summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.more-item summary::-webkit-details-marker {
  display: none;
}

.more-item summary::after {
  width: 0.625rem;
  height: 0.625rem;
  flex: none;
  margin-right: 0.25rem;
  border-right: 2px solid var(--orange-deep);
  border-bottom: 2px solid var(--orange-deep);
  transform: rotate(45deg);
  content: "";
}

.more-item[open] summary::after {
  transform: rotate(-135deg);
}

.more-item summary:hover {
  color: var(--accent-text);
}

.more-item__body {
  padding-bottom: 1.25rem;
}

.more-item__title {
  margin-top: 1.25rem;
  margin-bottom: 0.375rem;
  font-size: 1.0625rem;
}

/* Dokümanlar */

.doc-list {
  border-top: 1px solid var(--rule);
}

.doc-item {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--rule);
}

.doc-item__title {
  font-weight: 600;
}

.doc-item__meta {
  font-size: var(--text-sm);
}

@media (min-width: 640px) {
  .doc-item {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* Bekleyen içerik */

.pending {
  max-width: var(--measure);
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--mist);
}

.pending__title {
  font-weight: 600;
}

/* Video */

.videos__grid {
  display: grid;
  gap: var(--gap);
}

.video-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
}

.video-card__frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--graphite);
}

.video-card__frame img,
.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-card__poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark);
  font-weight: 600;
}

.video-card__play {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--on-orange);
  font-size: 0.9375rem;
  font-weight: 600;
}

.video-card__play svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.video-card__frame:hover .video-card__play {
  background: var(--orange-hover);
}

.video-card__meta {
  display: grid;
  gap: 0.25rem;
}

.video-card__tag {
  color: var(--accent-text);
  font-size: var(--text-sm);
  font-weight: 600;
}

.video-card h3 {
  font-size: 1.0625rem;
}

.video-card--featured h3 {
  font-size: var(--h3);
}

.video-card__external {
  color: var(--muted);
  font-size: var(--text-sm);
}

@media (min-width: 640px) {
  .videos__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .video-card--featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .videos__grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, auto);
  }

  .video-card--featured {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .videos__grid .video-card:not(.video-card--featured) .video-card__external {
    display: none;
  }
}

/* Form alanları: iletişim formu ve Filo Hesaplayıcı aynı alanları kullanır */

.field {
  display: grid;
  gap: 0.375rem;
  align-content: start;
  min-width: 0;
}

.field__label {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.field__label abbr,
.check abbr {
  color: var(--orange-ink);
  text-decoration: none;
}

.field input[type="number"],
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--input-line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--orange-deep);
  outline: 2px solid var(--orange-deep);
  outline-offset: 0;
}

.field input[aria-invalid],
.field select[aria-invalid],
.field textarea[aria-invalid] {
  border-color: var(--error);
}

.field__error {
  color: var(--error);
  font-size: var(--text-sm);
  font-weight: 500;
}

.check {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.45;
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  accent-color: var(--orange-deep);
  cursor: pointer;
}

.check input[aria-invalid] {
  outline: 2px solid var(--error);
  outline-offset: 1px;
}

/* Ortak iletişim formu */

.contact-section {
  padding-block: var(--section-y);
  background: var(--mist);
  scroll-margin-top: var(--header-h);
}

.contact-section__grid {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2rem, 5vw, 5rem);
}

.contact-section__intro {
  display: grid;
  gap: 0.875rem;
  align-content: start;
}

.contact-section__direct {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-section__direct li {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}

.contact-section__direct .icon {
  color: var(--orange-deep);
}

.contact-section__direct a {
  font-weight: 600;
  text-decoration: none;
}

.contact-section__direct a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1.125rem var(--gap);
  min-width: 0;
  padding: clamp(1.125rem, 0.75rem + 2vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-form__notice {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-form__consent {
  gap: 0.625rem;
}

.contact-form__turnstile {
  min-height: 65px;
}

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

.contact-form__foot {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.contact-form__mode {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.contact-form__status {
  width: 100%;
  padding: 0.75rem 1rem;
  border-left: 4px solid var(--steel);
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-form__status[data-kind="error"] {
  border-left-color: var(--error);
  color: var(--error);
}

.contact-form__status[data-kind="success"] {
  border-left-color: #1f7a3d;
  color: #14572a;
}

@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form .field--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .contact-section__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

/* WhatsApp: sağ alt, küçük ve sabit. Mobilde telefonun alt çubuğuna girmez. */

.whatsapp {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1fa855;
  box-shadow: 0 2px 10px rgba(21, 24, 28, 0.28);
  color: var(--white);
  transition: background-color 150ms var(--ease);
}

.whatsapp:hover {
  background: #178a45;
}

/* Koyu ve açık zeminde görünen çift halka */
.whatsapp:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--white);
}

.whatsapp .icon {
  width: 28px;
  height: 28px;
}

.menu-open .whatsapp {
  display: none;
}

/* Form veya hesaplayıcıda yazarken alanların ve klavyenin üstünde durmaz */
.is-typing .whatsapp {
  visibility: hidden;
}

/* Sayfa sonunda footer'ın son satırı düğmenin altında kalmaz */
body:has(.whatsapp) .site-footer__inner {
  padding-bottom: calc(1.25rem + 68px);
}

/* Ana sayfanın ilk ekranındaki video düğmesi WhatsApp düğmesinin altında kalmaz */
body:has(.whatsapp) .hero__meta {
  padding-right: 68px;
}

@media (max-width: 639px) {
  .whatsapp {
    width: 48px;
    height: 48px;
  }

  .whatsapp .icon {
    width: 26px;
    height: 26px;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.site-header__bar {
  display: flex;
  height: var(--header-h);
  align-items: center;
  gap: 1rem;
}

.site-header__logo {
  display: block;
  height: 26px;
  flex: none;
  max-width: 210px;
}

/* Sabit ve cep telefonu alt alta: çubuğa tek numaralık genişlik yeter */
.site-header__phones {
  display: none;
  flex: none;
  flex-direction: column;
  margin-left: auto;
}

.site-header__phone {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__phone .icon {
  width: 16px;
  height: 16px;
  color: var(--orange-deep);
}

.site-header__phone:hover {
  color: var(--orange-ink);
}

.site-header__cta {
  display: none;
  flex: none;
}

.site-nav__toggle {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
}

.site-nav__toggle-icon,
.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.site-nav__toggle-icon {
  position: relative;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.site-nav__toggle-icon::before {
  top: -7px;
}

.site-nav__toggle-icon::after {
  top: 7px;
}

.is-open .site-nav__toggle-icon {
  background: transparent;
}

.is-open .site-nav__toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.is-open .site-nav__toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav__sub-toggle span {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms var(--ease);
}

.is-open > .site-nav__sub-toggle span {
  transform: translateY(2px) rotate(-135deg);
}

.site-nav__group {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Tablet çubuğu: menü kapalıyken numara görünür kalır */
@media (min-width: 640px) and (max-width: 1199px) {
  .site-header__phones {
    display: flex;
  }

  .site-nav__toggle {
    margin-left: 0;
  }
}

/* Mobil ve tablet menü: tam ekran, büyük dokunma alanları, altta iletişim */
@media (max-width: 1199px) {
  .no-js .site-nav__toggle {
    display: none;
  }

  .no-js .site-header__bar {
    height: auto;
    flex-wrap: wrap;
    padding-block: 0.75rem;
  }

  .js .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 1px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--white);
  }

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

  .no-js .site-nav {
    width: 100%;
    order: 5;
  }

  .site-nav__item {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-nav__link {
    display: flex;
    min-height: 54px;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
  }

  .site-nav__link[aria-current],
  .site-nav__link[data-section-active] {
    color: var(--orange-ink);
  }

  .site-nav__sub-toggle {
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-right: -0.75rem;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .site-nav__sub {
    display: none;
    grid-column: 1 / -1;
    padding-bottom: 0.75rem;
  }

  .no-js .site-nav__sub-toggle {
    display: none;
  }

  .no-js .site-nav__sub,
  .is-open > .site-nav__sub {
    display: block;
  }

  .site-nav__sub a {
    display: flex;
    min-height: 44px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
  }

  .site-nav__sub a[aria-current] {
    color: var(--orange-ink);
    font-weight: 600;
  }

  .site-nav__group {
    padding-top: 0.5rem;
  }

  .site-nav__all a {
    color: var(--orange-ink);
    font-weight: 600;
  }

  .site-nav__contact {
    display: grid;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.25rem;
  }

  .site-nav__phone,
  .site-nav__mail {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .site-nav__phone {
    font-size: 1.125rem;
    line-height: 1.25;
  }

  .site-nav__phone-label {
    display: block;
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 500;
  }

  .site-nav__contact .icon {
    color: var(--orange-deep);
  }

  .site-nav__cta {
    width: 100%;
  }
}

/* Masaüstü menü */
@media (min-width: 1200px) {
  .site-header__bar {
    gap: clamp(0.875rem, 1.25vw, 1.5rem);
  }

  .site-header__phones {
    display: flex;
    margin-left: 0;
  }

  .site-header__cta {
    display: inline-flex;
  }

  .site-nav__toggle,
  .site-nav__contact {
    display: none;
  }

  .site-nav {
    min-width: 0;
    flex: 1;
  }

  .site-nav__list {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 1vw, 1.125rem);
  }

  .site-nav__item {
    position: relative;
    display: flex;
    align-items: center;
  }

  .site-nav__link {
    display: flex;
    height: var(--header-h);
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 0 0 transparent;
  }

  .site-nav__link:hover {
    color: var(--orange-ink);
  }

  .site-nav__link[aria-current],
  .site-nav__link[data-section-active] {
    box-shadow: inset 0 -3px 0 var(--orange);
    font-weight: 600;
  }

  .site-nav__sub-toggle {
    display: flex;
    width: 20px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .site-nav__sub {
    position: absolute;
    top: 100%;
    left: -0.75rem;
    display: none;
    min-width: 15rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(21, 24, 28, 0.1);
  }

  .site-nav__item:hover > .site-nav__sub,
  .site-nav__item.is-open > .site-nav__sub {
    display: block;
  }

  .site-nav__sub a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    line-height: 1.35;
    text-decoration: none;
  }

  .site-nav__sub a:hover {
    background: var(--mist);
    color: var(--orange-ink);
  }

  .site-nav__sub a[aria-current] {
    font-weight: 600;
  }

  .site-nav__group {
    padding: 0.625rem 0.75rem 0.25rem;
  }

  .site-nav__all {
    margin-top: 0.375rem;
    padding-top: 0.375rem;
    border-top: 1px solid var(--line);
  }

  .site-nav__all a {
    color: var(--orange-ink);
    font-weight: 600;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .site-nav__link {
    font-size: 0.875rem;
  }
}

/* Footer: dört sütun, arkada büyük ve soluk ARPOTECH yazısı */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--anthracite);
  font-size: 0.9375rem;
}

.site-footer__mark {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.site-footer__mark text {
  fill: var(--white);
  fill-opacity: 0.045;
  font-family: var(--font);
  font-size: 170px;
  font-weight: 800;
}

.site-footer__inner {
  position: relative;
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem) 1.25rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem var(--gap);
}

.site-footer h2 {
  margin-bottom: 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
}

.site-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--orange);
}

.site-footer__brand {
  display: grid;
  gap: 0.875rem;
  justify-items: start;
  max-width: 34ch;
  color: var(--on-dark-muted);
}

.site-footer__logo {
  display: block;
  height: 28px;
  max-width: 220px;
}

.site-footer__slogan {
  color: var(--orange);
  font-weight: 600;
}

.site-footer__social {
  display: flex !important;
  gap: 0.5rem;
}

.site-footer__social a {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  color: var(--orange);
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease);
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--on-orange);
}

/* İletişim sayfası: platform adı görünür, ikon turuncu */
.social-list {
  display: grid;
  gap: 0.75rem;
}

.social-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.social-list .icon {
  width: 22px;
  height: 22px;
  color: var(--orange-deep);
}

.social-list a:hover span {
  color: var(--orange-ink);
  text-decoration: underline;
}

.social-list__handle {
  color: var(--muted);
  font-weight: 400;
}

.site-footer__contact li {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  color: var(--on-dark-muted);
  overflow-wrap: anywhere;
}

.site-footer__contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  color: var(--orange);
}

.site-footer__contact a {
  color: var(--on-dark);
}

.site-footer__label {
  display: block;
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  }
}

/* Koyu zeminde header dışındaki odak halkası */

.site-footer :focus-visible {
  outline-color: var(--orange);
}
