:root {
  --navy: #0d2438;
  --navy-2: #153349;
  --teal: #087c83;
  --teal-light: #6fc7cb;
  --paper: #f6f7f5;
  --white: #ffffff;
  --copper: #c58b55;
  --muted: #4a5d6c;
  --muted-on-navy: #b4c3cd;
  --rule: #d5dbdd;
  --rule-on-navy: rgba(246, 247, 245, 0.2);
  --danger: #a03a2c;
  --display: "Montserrat", "Aptos Display", Arial, sans-serif;
  --body: Aptos, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 9vw, 128px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.875rem, 3.6vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
}

.skip:focus {
  top: 8px;
}

/* Onay bekleyen içerik işaretleri: yayın öncesi kaldırılır */
.draft-bar {
  padding: 8px var(--gutter);
  background: var(--copper);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.pending {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed currentColor;
  border-radius: 3px;
  color: #7a4d22;
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

.on-navy .pending {
  color: var(--copper);
}

/* Üst bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  color: var(--paper);
  border-bottom: 1px solid var(--rule-on-navy);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  color: var(--teal-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
  font-size: 0.9375rem;
}

.site-nav a {
  padding-block: 8px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--copper);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.875rem;
  font-weight: 600;
}

.lang-switch a,
.lang-switch span {
  padding: 8px 5px;
}

.lang-switch a {
  color: var(--muted-on-navy);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-switch [aria-current] {
  color: var(--copper);
}

.header-cta {
  white-space: nowrap;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--copper);
  color: var(--navy);
}

.btn-primary:hover {
  background: #d59d69;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: progress;
}

.btn-ghost {
  border-color: var(--rule-on-navy);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.875rem;
}

.link-arrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.link-arrow::after {
  content: " →";
}

.link-arrow:hover {
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--paper);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 11vw, 152px);
}

.hero-copy {
  max-width: 800px;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.on-navy .eyebrow {
  color: var(--teal-light);
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.625rem, 6.4vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero h1 span {
  display: block;
}

.hero-lede {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted-on-navy);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.globe {
  position: absolute;
  top: 50%;
  inset-inline-end: -9%;
  width: min(62vw, 860px);
  transform: translateY(-50%);
  pointer-events: none;
}

.globe .grid {
  fill: none;
  stroke: var(--teal-light);
  stroke-width: 1;
  opacity: 0.28;
}

.globe .route {
  fill: none;
  stroke: var(--teal-light);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s ease-out forwards;
}

.globe .route:nth-of-type(2) { animation-delay: 0.15s; }
.globe .route:nth-of-type(3) { animation-delay: 0.3s; }
.globe .route:nth-of-type(4) { animation-delay: 0.45s; }
.globe .route:nth-of-type(5) { animation-delay: 0.6s; }

.globe .origin {
  fill: var(--copper);
}

.globe .pulse {
  fill: none;
  stroke: var(--copper);
  stroke-width: 1.5;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Bölümler */
.section {
  padding-block: var(--section);
  scroll-margin-top: 72px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head h2 {
  margin-top: 14px;
}

.section-head > p {
  color: var(--muted);
}

/* Faaliyet alanları */
.areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(16px, 2.5vw, 32px);
  border-top: 2px solid var(--navy);
}

.area {
  display: flex;
  flex-direction: column;
  padding-block: 24px 8px;
}

.area-unit {
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 600;
}

.area-media {
  margin-bottom: 16px;
  background: var(--navy);
}

.area-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: luminosity;
}

.area h3 {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.area p {
  margin-top: 12px;
  margin-bottom: 24px;
  color: var(--muted);
}

.area .link-arrow {
  margin-top: auto;
  font-size: 0.9375rem;
}

/* Görsel bant: stok görseller marka tonuna çekilir */
.photo-band {
  height: clamp(200px, 28vw, 400px);
  background: var(--navy);
}

.photo-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: luminosity;
}

/* Neden WTC */
.why {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 6vw, 96px);
}

.why-grid h2 {
  margin-top: 14px;
}

.why-intro {
  margin-top: 20px;
  color: var(--muted);
}

.why-list li {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px 32px;
  padding-block: 28px;
  border-top: 1px solid var(--rule);
}

.why-list li:first-child {
  border-top: 2px solid var(--navy);
}

.why-list p {
  color: var(--muted);
}

/* Ürünler */
.sub-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 8px;
}

.sub-head h3 {
  font-size: 1.5rem;
}

.sub-lede {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
}

.section-anchor {
  scroll-margin-top: 96px;
}

.sr-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-block + .product-block {
  margin-top: clamp(56px, 7vw, 88px);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  font-size: 1rem;
}

.ledger th {
  padding-block: 12px;
  padding-inline-end: 16px;
  border-bottom: 1px solid var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: start;
}

.ledger td {
  padding-block: 16px;
  padding-inline-end: 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.ledger .name {
  font-family: var(--display);
  font-weight: 600;
}

.ledger .name small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.875rem;
  font-weight: 400;
}

.ledger .id {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

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

.ledger .act {
  padding-inline-end: 0;
  text-align: end;
  white-space: nowrap;
}

.hazard {
  display: inline-block;
  margin-top: 6px;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--danger);
  color: var(--white);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 600;
}

.notice {
  max-width: 860px;
  margin-top: 20px;
  padding-inline-start: 16px;
  border-inline-start: 3px solid var(--danger);
  font-size: 0.9375rem;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
  border-top: 2px solid var(--navy);
}

.food-item {
  display: flex;
  flex-direction: column;
  padding-block: 24px;
  border-bottom: 1px solid var(--rule);
}

.food-item p {
  margin-top: 10px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.food-item .link-arrow {
  margin-top: auto;
  font-size: 0.9375rem;
}

.roz-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
  border-top: 2px solid var(--navy);
}

.roz-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-height: 48px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.roz-list strong {
  font-family: var(--display);
  font-weight: 600;
}

.roz-list span {
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: end;
}

.roz-list a:hover strong {
  color: var(--teal);
}

/* Proje */
.project {
  background: var(--navy);
  color: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 40px clamp(32px, 6vw, 96px);
  align-items: start;
}

.project h2 {
  margin-top: 14px;
}

.project-copy p {
  margin-top: 20px;
  color: var(--muted-on-navy);
}

.project-copy .btn {
  margin-top: 32px;
}

.specs {
  margin: 0;
  border-top: 2px solid var(--paper);
}

.specs div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule-on-navy);
}

.specs dt {
  font-weight: 600;
}

.specs dd {
  margin: 0;
}

/* Talep formu */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px clamp(32px, 6vw, 96px);
}

.contact h2 {
  margin-top: 14px;
}

.contact-intro {
  margin-top: 20px;
  color: var(--muted);
}

.contact-details {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}

.contact-details li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block: 12px;
  border-bottom: 1px solid var(--rule);
}

.contact-details strong {
  font-weight: 600;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(20px, 3vw, 40px);
  background: var(--white);
  border-top: 3px solid var(--teal);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #8a99a4;
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.875rem;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-status {
  flex: 1 1 280px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="preview"] {
  color: #7a4d22;
}

.form-status[data-state="success"] {
  color: var(--teal);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

/* Alt bilgi */
.site-footer {
  padding-block: 56px 32px;
  background: var(--navy);
  color: var(--paper);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule-on-navy);
}

.footer-slogan {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-legal {
  max-width: 880px;
  margin-top: 24px;
  color: var(--muted-on-navy);
  font-size: 0.875rem;
}

.footer-meta {
  margin-top: 16px;
  color: var(--muted-on-navy);
  font-size: 0.875rem;
}

/* Arapça: sağdan sola düzen ve Arapça yazı tipi */
:root[lang="ar"] {
  --display: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
  --body: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

:root[lang="ar"] body {
  line-height: 1.75;
}

:root[lang="ar"] h1,
:root[lang="ar"] h2,
:root[lang="ar"] h3,
:root[lang="ar"] .eyebrow {
  letter-spacing: 0;
}

:root[lang="ar"] h1,
:root[lang="ar"] h2,
:root[lang="ar"] h3 {
  line-height: 1.3;
}

:root[lang="ar"] .eyebrow {
  font-size: 0.9375rem;
  text-transform: none;
}

:root[lang="ar"] .wordmark {
  font-family: "Montserrat", Arial, sans-serif;
}

[dir="rtl"] .link-arrow::after {
  content: " ←";
}

[dir="rtl"] .globe {
  transform: translateY(-50%) scaleX(-1);
}

/* Duyarlı düzen */
@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .lang-switch {
    margin-inline-start: auto;
  }

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

  .area {
    padding-block: 20px 24px;
    border-top: 2px solid var(--navy);
  }

  .why-grid,
  .project-grid,
  .contact-grid,
  .section-head {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .globe {
    inset-inline-end: -30%;
    width: 110vw;
    max-width: 860px;
    opacity: 0.6;
  }
}

@media (max-width: 720px) {
  .site-header .wrap {
    gap: 6px;
    min-height: 64px;
  }

  .section {
    scroll-margin-top: 64px;
  }

  .wordmark {
    font-size: 1.125rem;
  }

  .wordmark span {
    font-size: 0.625rem;
  }

  .header-cta {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .lang-switch a,
  .lang-switch span {
    padding-inline: 3px;
  }

  .areas,
  .food-grid,
  .roz-list,
  .request-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .globe {
    top: -8%;
    inset-inline-end: -50%;
    width: 120vw;
    transform: none;
    opacity: 0.28;
  }

  .why-list li {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger td {
    display: block;
    width: 100%;
  }

  .ledger tr {
    padding-block: 16px;
    border-bottom: 1px solid var(--rule);
  }

  .ledger td {
    padding: 0;
    border: 0;
  }

  .ledger td + td {
    margin-top: 6px;
  }

  .ledger .id {
    white-space: normal;
  }

  .ledger .act {
    margin-top: 10px;
    text-align: start;
  }

  .roz-list a {
    flex-direction: column;
    gap: 2px;
  }

  .roz-list span {
    text-align: start;
  }

  .form-actions .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  [dir="rtl"] .globe {
    transform: scaleX(-1);
  }
}

@media (max-width: 370px) {
  .header-cta {
    display: none;
  }

  .hero h1 {
    font-size: 2.125rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .globe .route {
    stroke-dashoffset: 0;
    animation: none;
  }

  .btn {
    transition: none;
  }
}
