/* Alterra Yazılım — kurumsal site (28.09.2026 yeniden tasarım).

   Klasik Türk "yazılım çözümleri" sitesi düzeni, modern bitişle: marka renkli
   ince bilgi şeridi, beyaz başlıkta açılır alt menülü ana menü (menü = site
   haritası), koyu giriş alanı, marka renkli hızlı bağlantı şeridi, altı ince
   marka çizgili bölüm başlıkları, menüyü tekrar eden koyu altbilgi.

   Vurgu rengi TEK değişkende: --brand. Kırmızı / beyaz / antrasit şeması
   kullanıcı kararıdır (28.09.2026; menekşe seçeneğiyle yan yana karşılaştırıldı). */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --brand: #C8102E;         /* kırmızı — beyaz metinle 5,9:1 */
  --brand-deep: #A00C24;
  --brand-wash: #FBE8EB;
  --brand-rgb: 200, 16, 46;

  --ink: #14161D;
  --ink-soft: #454A5A;      /* beyaz üstünde 9,1:1 */
  --ink-faint: #676C7C;     /* beyaz üstünde 5,3:1 */
  --line: #E3E5EC;
  --line-strong: #CDD0DA;
  --bg: #FFFFFF;
  --bg-tint: #F5F6F9;       /* dönüşümlü bölüm zemini: nötr çok açık gri */

  --charcoal: #1B1E26;      /* giriş alanı ve altbilgi */
  --charcoal-2: #242833;
  --on-dark: #FFFFFF;
  --on-dark-soft: #C3C7D2;  /* koyu zeminde 10:1 */
  --on-dark-faint: #9AA0AE; /* koyu zeminde 6,4:1 */

  --bayim: #0D89CA;
  --rotam: #F37732;
  --yedek: #FCB530;
  --yasam: #2DB35B;
  --rapor: #8A1538;         /* vurgu kırmızısından ayrışsın diye koyu */

  --wrap: 1200px;
  --gutter: 56px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-panel: 0 18px 40px -18px rgba(20, 22, 29, .28), 0 2px 6px rgba(20, 22, 29, .06);
  --shadow-device: 0 2px 4px rgba(20, 22, 29, .06), 0 24px 48px -16px rgba(20, 22, 29, .30);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-stretch: 112%; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
::selection { background: var(--brand); color: #FFFFFF; }
input, textarea { caret-color: var(--brand); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; padding: 10px 14px; background: var(--ink); color: #FFFFFF; border-radius: var(--radius-sm); }
.skip:focus { top: 10px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
/* Bantlar (bilgi şeridi, giriş, bölümler, altbilgi) yan boşluğu kendileri taşır:
   zemin rengi olan kutuda metin kenara yapışmasın. İçteki .wrap yalnız genişlik sınırı. */
.band > .wrap { max-width: var(--wrap); padding-inline: 0; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── Düğmeler ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm);
  background: var(--brand); color: #FFFFFF; border: 1px solid var(--brand);
  font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.btn:disabled { background: var(--ink-faint); border-color: var(--ink-faint); cursor: progress; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-tint); border-color: var(--ink-faint); }
.btn--on-dark { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .55); }
.btn--on-dark:hover { background: rgba(255, 255, 255, .1); border-color: #FFFFFF; }
.btn--white { background: #FFFFFF; color: var(--brand); border-color: #FFFFFF; }
.btn--white:hover { background: var(--brand-wash); border-color: var(--brand-wash); color: var(--brand-deep); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--block { width: 100%; }

/* ── Bilgi şeridi ─────────────────────────────────────────────────────── */

.util { padding: 4px var(--gutter); background: var(--brand); color: #FFFFFF; font-size: 0.875rem; }
.util__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 30px; }
.util a { display: inline-flex; align-items: center; gap: 7px; padding-block: 2px; color: #FFFFFF; text-decoration: none; }
.util a:hover { text-decoration: underline; text-underline-offset: 3px; }
.util__family img { width: 16px; height: 16px; background: #FFFFFF; border-radius: 3px; padding: 1px; }
.util__links { display: flex; align-items: center; gap: 22px; }
.util .icon { width: 16px; height: 16px; }

/* ── Başlık ve ana menü ───────────────────────────────────────────────── */

.head { position: sticky; top: 0; z-index: 30; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.head__row { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.head__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.head__brand .mark { height: 28px; width: auto; display: block; }
/* Pusula gülü, kelime markasının x-yüksekliğine değil tam boyuna oturur. */
.brandmark { width: 34px; height: 34px; flex-shrink: 0; display: block; }
.brandmark__body { fill: #FFFFFF; stroke: var(--on-dark-faint); stroke-width: 3; stroke-linejoin: round; }
.brandmark__q { fill: var(--brand); }
/* Koyu zeminde beyaz gövde kendini zaten ayırır; kenar gereksiz. */
.foot__logo .brandmark__body { stroke: none; }
.foot__logo { display: flex; align-items: center; gap: 12px; color: #FFFFFF; }
.foot__logo .brandmark { width: 32px; height: 32px; }

.menu { margin-left: auto; }
.menu__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: 2px; }
.menu__item { position: relative; display: flex; }
.menu__link {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 0 14px; min-height: 84px;
  font-size: 0.9688rem; font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.menu__link .chev { width: 14px; height: 14px; stroke-width: 2.2; opacity: .6; transition: transform 200ms var(--ease); }
.menu__item:hover > .menu__link,
.menu__item:focus-within > .menu__link,
.menu__link[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.menu__item:hover > .menu__link .chev,
.menu__item:focus-within > .menu__link .chev { transform: rotate(180deg); opacity: 1; }
.head__cta { margin-left: 8px; white-space: nowrap; }

/* Açılır panel: beyaz, yumuşak gölgeli, üstte marka çizgisi yok (menü
   öğesinin alt çizgisi zaten bağlantıyı kuruyor). */
.menu__panel {
  position: absolute; top: 100%; left: 0; z-index: 40;
  min-width: 300px; padding: 10px;
  background: #FFFFFF; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-panel);
  display: none; opacity: 1; transform: none;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), display 180ms allow-discrete;
}
.menu__item:hover > .menu__panel,
.menu__item:focus-within > .menu__panel { display: block; }
@starting-style {
  .menu__item:hover > .menu__panel,
  .menu__item:focus-within > .menu__panel { opacity: 0; transform: translateY(6px); }
}
.menu__panel--wide { min-width: 640px; left: 50%; transform: translateX(-50%); }
@starting-style {
  .menu__item:hover > .menu__panel--wide,
  .menu__item:focus-within > .menu__panel--wide { opacity: 0; transform: translate(-50%, 6px); }
}
.menu__panel--end { left: auto; right: 0; }

.sub { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu__panel--wide .sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sub a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: start;
  padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink);
}
.sub a:hover, .sub a:focus-visible { background: var(--bg-tint); }
.sub__name { grid-column: 2; font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.sub__desc { grid-column: 2; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-faint); }
.sub .icon { grid-row: 1 / span 2; margin-top: 1px; color: var(--brand); }
.sub .dot { grid-row: 1 / span 2; margin-top: 6px; }
.sub__foot { margin: 6px 2px 0; padding: 10px 12px 4px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.sub__foot a { color: var(--brand); font-weight: 600; text-decoration: none; }
.sub__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); flex: none; display: inline-block; }
.p-bayim { --dot: var(--bayim); }
.p-rotam { --dot: var(--rotam); }
.p-yedek { --dot: var(--yedek); }
.p-yasam { --dot: var(--yasam); }
.p-rapor { --dot: var(--rapor); }

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #FFFFFF; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 22px; height: 22px; }

/* ── Giriş alanı (koyu, gerçek ürün ekranı üstünde) ───────────────────── */

.hero { position: relative; overflow: hidden; padding: 104px var(--gutter) 96px; background: var(--charcoal); color: var(--on-dark); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: blur(1.5px) saturate(.85); opacity: .6; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 30, 38, .62), rgba(27, 30, 38, .88)); }
.hero__inner { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 20ch; }
.hero__lead { max-width: 40em; font-size: 1.1875rem; color: var(--on-dark-soft); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* Alt sayfa başlığı: aynı koyu alan, daha alçak, sola yaslı + yol haritası. */
.pagehead { position: relative; overflow: hidden; padding: 56px var(--gutter) 60px; background: var(--charcoal); color: var(--on-dark); isolation: isolate; }
.pagehead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 30, 38, .6), rgba(27, 30, 38, .94)); }
.pagehead__inner { display: grid; gap: 14px; }
.pagehead h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.02em; }
.pagehead p { max-width: 40em; font-size: 1.125rem; color: var(--on-dark-soft); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--on-dark-faint); }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ── Hızlı bağlantı şeridi ────────────────────────────────────────────── */

.quick { padding: 0 var(--gutter); background: var(--brand); color: #FFFFFF; }
.quick__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick__list a {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 14px; align-items: center;
  padding: 22px 20px; min-height: 96px; color: #FFFFFF; text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .18);
  transition: background 160ms var(--ease);
}
.quick__list li:last-child a { border-right: 1px solid rgba(255, 255, 255, .18); }
.quick__list a:hover { background: rgba(0, 0, 0, .12); }
.quick__list .icon { grid-row: 1 / span 2; width: 28px; height: 28px; }
.quick__name { font-weight: 700; font-stretch: 108%; font-size: 1.0625rem; line-height: 1.25; }
.quick__desc { font-size: 0.875rem; color: rgba(255, 255, 255, .88); line-height: 1.4; }
.quick__list a { align-content: center; }
@media (min-width: 1024px) {
  .quick__name, .quick__desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ── Bölümler ─────────────────────────────────────────────────────────── */

.sec { padding: 88px var(--gutter); }
.sec--tint { background: var(--bg-tint); }
.sec--tight { padding: 64px var(--gutter); }
.sec__head { display: grid; gap: 14px; max-width: 40em; margin-bottom: 40px; }
.sec__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.prod__text .sec__head, .contact__text .sec__head, .split .sec__head { margin-bottom: 24px; }
.prose--center { margin-inline: auto; text-align: center; }
.sec__title { font-size: clamp(1.6rem, 2.8vw, 2.25rem); letter-spacing: -0.02em; }
/* Başlığın altında kısa marka çizgisi: referans düzenin bölüm ayracı. */
.sec__title::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 16px; background: var(--brand); border-radius: 2px; }
.sec__head--center .sec__title::after { margin-inline: auto; }
.sec__head p { font-size: 1.125rem; color: var(--ink-soft); text-wrap: pretty; }
.sec__more { margin-top: 32px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more .icon { width: 16px; height: 16px; }

/* Hizmet kartları: dört eşit kart. */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.sec--tint .card { border-color: #E1E4EA; }
.card__icon { width: 28px; height: 28px; color: var(--brand); margin-bottom: 4px; }
.card h3 { font-size: 1.375rem; }
.card p { color: var(--ink-soft); font-size: 0.9688rem; }
.card__proof { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; color: var(--ink); line-height: 1.5; min-height: calc(15px + 3em); }
.card__link { font-size: 0.9375rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── Entegrasyon ──────────────────────────────────────────────────────── */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks .link-more { color: var(--ink); }
.ticks .link-more:hover { color: var(--brand); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .25em;
  width: 20px; height: 20px; border-radius: 50%; background-color: var(--ink-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center; background-size: 20px; background-repeat: no-repeat;
}
.proofbox { margin-top: 24px; padding: 14px 18px; border-radius: var(--radius-sm); background: #FFFFFF; border: 1px solid var(--line); font-size: 0.9688rem; color: var(--ink-soft); }
.proofbox strong { color: var(--ink); }

.flowmap { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) 36px auto 36px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 0; }
.flowmap__col { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.flowmap__col li { display: flex; align-items: center; justify-content: center; height: 56px; padding: 8px 10px; line-height: 1.3; border-radius: var(--radius-sm); background: #FFFFFF; border: 1px solid var(--line); font-size: 0.875rem; font-weight: 600; text-align: center; }
.flowmap__arrow { position: relative; height: 2px; background: var(--brand); opacity: .7; }
.flowmap__arrow--both::before { content: ""; position: absolute; left: -2px; top: 50%; width: 9px; height: 11px; background: var(--brand); clip-path: polygon(100% 0, 0 50%, 100% 100%); transform: translateY(-50%); }
.flowmap__arrow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 9px; height: 11px; background: var(--brand); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%); }
.flowmap__hub { display: grid; gap: 4px; place-items: center; text-align: center; padding: 24px 16px; min-width: 150px; border-radius: var(--radius); background: var(--brand); color: #FFFFFF; }
.flowmap__hub-name { font-weight: 700; font-stretch: 112%; line-height: 1.2; }
.flowmap__hub-sub { font-size: 0.8125rem; opacity: .88; }

/* Entegrasyon sayfası: beş iş, eşit bloklar. */
.blocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.block { padding: 26px 24px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; align-content: start; scroll-margin-top: 110px; }
.block h3 { font-size: 1.375rem; display: flex; align-items: center; gap: 12px; }
.block h3 .icon { color: var(--brand); width: 24px; height: 24px; }
.block p { color: var(--ink-soft); font-size: 0.9688rem; }

/* ── Cihaz çerçevesi ──────────────────────────────────────────────────── */

.device { margin: 0; background: #FFFFFF; box-shadow: var(--shadow-device); overflow: hidden; border-radius: var(--radius); }
.device img { display: block; width: 100%; height: auto; }
.device__bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: #F4F5F8; border-bottom: 1px solid var(--line); }
.device__bar span { width: 8px; height: 8px; border-radius: 50%; background: #D3D6DF; }
.demo-note { margin-top: 12px; max-width: 68ch; font-size: 0.8125rem; color: var(--ink-faint); text-wrap: pretty; }

/* ── Ürünler: ana sayfa ve ürünler sayfası kartları ───────────────────── */

.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pcard__shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #F4F5F8; border-bottom: 1px solid var(--line); }
.pcard__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 400ms var(--ease); }
.pcard:hover .pcard__shot img { transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 18px; flex: 1; }
.pcard h3 { font-size: 1.375rem; display: flex; align-items: center; gap: 10px; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { color: var(--brand); }
.pcard p { font-size: 0.9063rem; color: var(--ink-soft); line-height: 1.5; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; justify-items: start; }

.status { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-deep); font-size: 0.8125rem; font-weight: 600; }
.pilot-link { color: var(--brand); font-weight: 600; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pilot-link:hover { color: var(--brand-deep); text-decoration-thickness: 2px; }

/* ── Ürün sayfası ─────────────────────────────────────────────────────── */

.prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.prod__text { display: grid; gap: 18px; }
.prod__text > p { color: var(--ink-soft); font-size: 1.0625rem; }
.prod__status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 0.9688rem; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot, var(--brand)); transform: translateY(-1px); }
.prod__site { font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.prod__site:hover { color: var(--ink); }

.others { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.others a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.others a:hover { border-color: var(--ink-faint); }

/* ── Kurumsal: kanıt tablosu ve ECOL adımları ─────────────────────────── */

.prose { display: grid; gap: 16px; max-width: 40em; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--brand); font-weight: 600; }
.table-wrap { overflow-x: auto; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; }
.proof { width: 100%; border-collapse: collapse; font-size: 0.9688rem; }
.proof th, .proof td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.proof tr:last-child th, .proof tr:last-child td { border-bottom: 0; }
.proof thead th { font-size: 0.875rem; color: var(--ink-faint); font-weight: 600; background: var(--bg-tint); }
.proof tbody th { font-weight: 600; width: 38%; }
.proof td { color: var(--ink-soft); }

.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.step { position: relative; display: grid; gap: 4px; padding: 22px 18px; text-align: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.step--own { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.step__who { font-weight: 700; font-stretch: 108%; }
.step__what { font-size: 0.9375rem; color: var(--ink-soft); }
.step--own .step__what { color: rgba(255, 255, 255, .88); }
.step:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--line-strong); border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }

/* ── Harekete geçirici bant ───────────────────────────────────────────── */

.cta { padding: 44px var(--gutter); background: var(--brand); color: #FFFFFF; }
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(1.4rem, 2.4vw, 1.875rem); }
.cta p { margin-top: 8px; color: rgba(255, 255, 255, .88); max-width: 38em; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── İletişim ─────────────────────────────────────────────────────────── */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__text { display: grid; gap: 16px; }
.contact__text p { color: var(--ink-soft); max-width: 30em; }
.contact__direct { display: grid; gap: 10px; margin-top: 8px; padding: 18px 20px; background: var(--bg-tint); border-radius: var(--radius); }
.contact__direct a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.contact__direct a:hover { color: var(--brand); }
.contact__direct .icon { color: var(--brand); }

.form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field__label { font-size: 0.9375rem; font-weight: 600; }
.field__opt { color: var(--ink-faint); font-weight: 500; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 11px 13px; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.field input { min-height: 48px; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.field [aria-invalid="true"] { border-color: #B42318; }
.form__status { min-height: 1.4em; font-size: 0.9375rem; font-weight: 600; }
.form__status:empty { display: none; }
.form__status[data-tone="ok"] { color: #1E6B3A; }
.form__status[data-tone="error"] { color: #B42318; }
.form__note { font-size: 0.8125rem; color: var(--ink-faint); max-width: 40em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Altbilgi: menüyü tekrar eden site haritası ───────────────────────── */

.foot { background: var(--charcoal); color: var(--on-dark-soft); font-size: 0.9375rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 64px 48px; }
.foot__brand .mark { height: 26px; width: auto; color: #FFFFFF; display: block; }
.foot__brand p { margin-top: 16px; max-width: 26em; text-wrap: pretty; }
.foot__title { font-size: 1rem; font-weight: 700; font-stretch: 108%; color: #FFFFFF; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--on-dark-soft); text-decoration: none; }
.foot a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px var(--gutter); }
.foot__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.875rem; color: var(--on-dark-faint); }
.foot__bottom a { color: var(--on-dark-soft); }

/* ── Yerel önizleme: renk seçici (yalnız localhost'ta görünür) ────────── */

/* ── Dar ekran ────────────────────────────────────────────────────────── */

@media (max-width: 1180px) {
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu__link { padding: 0 10px; }
}
@media (max-width: 1080px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Altı menü öğesi + teklif düğmesi 981–1080 px arasında tek satıra sığsın. */
  .head__row { gap: 16px; }
  .head__brand .mark { height: 24px; }
  .head__brand .brandmark { width: 30px; height: 30px; }
  .menu__link { padding: 0 7px; font-size: 0.9375rem; }
  .head__cta { margin-left: 4px; }
}
@media (max-width: 980px) {
  .head__row { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .head__cta { display: none; }
  /* Dar ekranda menü tam liste: alt menüler açık durur, site haritası tek bakışta. */
  .menu { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-panel); max-height: calc(100vh - 68px); overflow-y: auto; }
  .menu:not(.is-open) { display: none; }
  .menu__list { flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; }
  .menu__item { flex-direction: column; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
  .menu__link { min-height: 52px; padding: 0; border-bottom: 0; margin: 0; font-size: 1.0625rem; }
  .menu__link .chev { display: none; }
  .menu__panel, .menu__panel--wide { position: static; display: block; opacity: 1; transform: none; min-width: 0; padding: 4px 8px 12px; border: 0; box-shadow: none; }
  .menu__panel--wide .sub { grid-template-columns: minmax(0, 1fr); }
  .sub a { padding: 8px 4px; }
  .sub__desc { display: none; }
  .sub__foot { display: none; }
  .quick__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__list a { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .quick__list li:nth-child(odd) a { border-right: 1px solid rgba(255, 255, 255, .18); }
  .quick__list li:last-child a { border-right: 0; }
  .split, .contact, .prod { grid-template-columns: minmax(0, 1fr); }
  .flowmap { max-width: 640px; }
  .util__lead { display: none; }
}
@media (max-width: 760px) {
  .pcards { grid-template-columns: minmax(0, 1fr); }
  .pcard { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .pcard__shot { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .blocks { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .sec { padding: 64px var(--gutter); }
  .hero { padding: 72px var(--gutter) 64px; }
  .cards, .form__row, .steps, .others { grid-template-columns: minmax(0, 1fr); }
  .quick__list { grid-template-columns: minmax(0, 1fr); }
  .quick__list li a { border-right: 0 !important; min-height: 76px; }
  .step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -12px; transform: translateX(-50%) rotate(135deg); }
  .flowmap { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .flowmap__arrow { justify-self: center; width: 2px; height: 28px; }
  .flowmap__arrow::after { right: 50%; top: auto; bottom: -2px; width: 11px; height: 9px; clip-path: polygon(0 0, 100% 0, 50% 100%); transform: translateX(50%); }
  .flowmap__arrow--both::before { left: 50%; top: -2px; width: 11px; height: 9px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform: translateX(-50%); }
  .flowmap__col li { height: 46px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .pcard__shot { aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line); }
  .util__links a.util__opt { display: none; }
}
