/* Alt sayfalar */

/* Sayfa girişi */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 28rem at 88% 110%, rgba(244, 124, 32, 0.24), rgba(244, 124, 32, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 64px 100%,
    var(--ink);
}

.page-hero__inner {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  padding-block: calc(var(--header-h) + clamp(1.5rem, 1rem + 2vw, 3rem)) clamp(3rem, 2rem + 4vw, 6rem);
}

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

.page-hero--compact .page-hero__inner {
  padding-block: calc(var(--header-h) + 0.75rem) clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
}

.page-hero--compact h1 {
  max-width: none;
  font-size: clamp(1.875rem, 1.5rem + 1.8vw, 3rem);
}

.page-hero--compact .page-hero__lead {
  margin-top: 0.5rem;
  font-size: 1.0625rem;
}

.page-hero__lead {
  max-width: 54ch;
  margin-top: clamp(1rem, 0.75rem + 1vw, 1.75rem);
  color: var(--on-dark-muted);
  font-size: var(--text-lg);
  line-height: 1.5;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.page-hero__media {
  overflow: hidden;
  align-self: center;
}

.page-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-hero__media--contain {
  display: flex;
  aspect-ratio: 16 / 10;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background: var(--white);
}

.page-hero__media--contain img {
  max-height: 100%;
  width: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 479px) {
  .page-hero__actions .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 1024px) {
  .page-hero__inner--media {
    grid-template-columns: 7fr 5fr;
    align-items: center;
  }

  /* Uzun İngilizce ürün adları dar sütuna sığsın */
  .page-hero__inner--media h1 {
    font-size: clamp(2.5rem, 1.2rem + 2.9vw, 4.25rem);
  }
}

.crumbs {
  margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
  color: var(--on-dark-muted);
  font-size: var(--text-sm);
}

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

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

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--orange-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Ürün listesinde Filo Hesaplayıcı çağrısı */

.fleet-tile {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 1rem;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem);
  background:
    radial-gradient(36rem 20rem at 100% 100%, rgba(244, 124, 32, 0.3), rgba(244, 124, 32, 0) 72%),
    var(--ink);
}

.fleet-tile .eyebrow {
  margin-bottom: 0;
}

.fleet-tile h3 {
  max-width: 20em;
}

.fleet-tile:hover .arrow-mark {
  transform: translateX(6px);
}

@media (min-width: 1100px) {
  .fleet-tile {
    grid-column: span 2;
  }
}

/* İçerik yerleşimleri */

.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 5rem);
}

.list-pair {
  display: grid;
  gap: 2rem;
}

.list-title {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
  font-stretch: 100%;
  letter-spacing: 0;
}

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

.rule-list li {
  padding-block: 0.625rem;
  border-bottom: 1px solid var(--rule);
}

.rule-list--large li {
  padding-block: 1rem;
  font-size: var(--text-lg);
  line-height: 1.35;
}

.numbered li {
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--text-lg);
  line-height: 1.35;
}

.numbered li:first-child {
  border-top-color: var(--ink);
}

.numbered .process__step {
  margin-bottom: 0.25rem;
}

.page-note {
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

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

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

/* Teknik tablo */

.spec-table {
  overflow-x: auto;
  max-width: 62rem;
}

.spec-table table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.spec-table th {
  width: 45%;
  font-weight: 600;
}

/* Diğer ürün bağlantıları */

.link-tiles {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-tiles a {
  display: block;
  height: 100%;
  padding: 1rem 1.25rem;
  background: var(--paper);
  text-decoration: none;
  transition: background-color 160ms var(--ease);
}

.link-tiles a:hover {
  background: var(--white);
}

.link-tiles strong {
  display: block;
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

.link-tiles span {
  color: var(--muted);
  font-size: 0.9375rem;
}

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

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

/* Hizmetler */

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.625rem;
  padding: clamp(1.25rem, 1rem + 1.25vw, 2.25rem) clamp(1.25rem, 1rem + 1vw, 2rem);
  background: var(--paper);
}

.service .process__step {
  margin-bottom: 0;
}

.service__output {
  display: grid;
  gap: 0.125rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  font-weight: 600;
}

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

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

/* SSS */

.faq {
  max-width: 62rem;
  border-top: 1px solid var(--ink);
}

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

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.25rem 3rem 1.25rem 0;
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary::before,
.faq__item summary::after {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 16px;
  height: 2px;
  background: var(--orange-deep);
  content: "";
  transition: transform 160ms var(--ease);
}

.faq__item summary::after {
  transform: rotate(90deg);
}

.faq__item[open] summary::after {
  transform: rotate(0);
}

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

.faq__item p {
  max-width: 70ch;
  padding-bottom: 1.5rem;
}

/* İletişim */

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-details {
  display: grid;
  border-top: 1px solid var(--ink);
}

.contact-details > div {
  padding-block: 0.875rem;
  border-bottom: 1px solid var(--rule);
}

.contact-details dt {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.contact-details dd {
  font-size: var(--text-lg);
  line-height: 1.4;
}

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

.contact-details a:hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-hint {
  margin-top: 1.25rem;
  color: var(--muted);
}

.contact-hint .text-link {
  display: inline;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 6vw, 7rem);
  }
}

/* Filo Hesaplayıcı */

.fleet {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  max-width: 68rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
}

.fleet__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--ink);
  color: var(--on-dark-muted);
}

.fleet__steps li {
  padding: 0.75rem 0.25rem;
  border-bottom: 3px solid var(--graphite);
  font-size: 0;
  text-align: center;
}

.fleet__steps span {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
}

.fleet__steps .is-done {
  border-bottom-color: var(--orange-deep);
  color: var(--on-dark);
}

.fleet__steps .is-active {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

.fleet__form,
.fleet__result {
  padding: clamp(1.25rem, 1rem + 2vw, 3rem);
}

.fleet__result:focus {
  outline: none;
}

.fleet__step {
  display: grid;
  gap: 1.25rem clamp(1rem, 2vw, 2rem);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.fleet__step legend {
  margin-bottom: 1.25rem;
  padding: 0;
  font-size: var(--h3);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.no-js .fleet__steps,
.no-js .fleet__nav {
  display: none;
}

.no-js .fleet__step + .fleet__step {
  margin-top: 2.5rem;
}

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

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

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

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

.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 [aria-invalid] {
  border-color: #b3261e;
}

.choices {
  display: grid;
  gap: 0.5rem;
}

.choices [aria-invalid] + span {
  border-color: #b3261e;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  height: 100%;
  min-height: 56px;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border: 1px solid #8d8f90;
  border-radius: var(--radius);
  font-weight: 500;
  line-height: 1.25;
  transition: background-color 140ms var(--ease), border-color 140ms var(--ease);
}

.choice:hover span {
  border-color: var(--ink);
}

.choice input:checked + span {
  border-color: var(--orange-deep);
  background: rgba(244, 124, 32, 0.14);
  box-shadow: inset 0 0 0 1px var(--orange-deep);
  font-weight: 600;
}

.choice input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.fleet__error {
  margin-top: 1rem;
  color: #b3261e;
  font-weight: 600;
}

.fleet__nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.fleet__noscript {
  margin: 0 clamp(1.25rem, 1rem + 2vw, 3rem) 2rem;
}

.fleet__result-title {
  margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
}

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

.fleet-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.fleet-panel h4 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.fleet-panel--locked {
  border: 1px dashed var(--accent-text);
  background: rgba(244, 124, 32, 0.06);
}

.fleet-panel__status {
  color: var(--accent-text);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.fleet-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.fleet-metrics dt {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.3;
}

.fleet-metrics dd {
  margin-top: 0.25rem;
  color: var(--orange);
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  font-stretch: 112%;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.fleet-metrics--locked dd {
  color: var(--steel);
}

.fleet__guide {
  display: grid;
  gap: 0.5rem;
  justify-items: start;
  margin-top: 1.5rem;
  padding-block: 1.25rem;
  border-block: 1px solid var(--line);
}

.fleet__guide-name {
  margin-block: 0.25rem;
  font-size: var(--text-lg);
}

.fleet__guide-name strong {
  font-weight: 700;
}

.fleet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.fleet__hint {
  margin-top: 0.75rem;
}

@media (max-width: 479px) {
  .fleet__nav .btn,
  .fleet__actions .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 720px) {
  .fleet__steps li {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.875rem clamp(0.75rem, 1.5vw, 1.25rem);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
  }

  .fleet__step {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field--wide,
  .fleet__step legend {
    grid-column: 1 / -1;
  }

  .choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet__panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet__guide {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

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