/* =========================================================
   Altınaylar Yapı — Kurumsal Web Sitesi
   Tasarım & Kodlama: ASD (www.asd.web.tr)
   ---------------------------------------------------------
   Layout: tam genişlikte anıt (doğal taş) hero → ince taş
   tonlu bölümler → koyu "tarihçe" bandı → ürün/mikron şeması
   → referans duvarı → iletişim. 1200px içerik kolonu.
   ========================================================= */

:root {
  /* Renk — logodaki kurumsal mavi + "A" kırmızısı, mavi eğilimli taş griler */
  --ink: #0c1a2c;          /* koyu lacivert metin / koyu bantlar */
  --brand: #1f5592;        /* Altınaylar mavisi (logodan) */
  --brand-deep: #143d6c;
  --brand-tint: #e7eef7;
  --signal: #d2232a;       /* logodaki kırmızı A — sadece küçük vurgular */
  --stone: #f1f3f5;        /* açık taş zemin */
  --stone-2: #e3e7ec;
  --line: #d6dce4;
  --muted: #5a6779;
  --paper: #ffffff;
  --on-dark: #e9eef5;
  --on-dark-muted: #9fb0c5;

  /* Tipografi */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Ölçek */
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-md: 1.05rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
  --fs-2xl: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --fs-hero: clamp(2.4rem, 1.4rem + 4.4vw, 4.9rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 76px;
  --shadow: 0 10px 30px -12px rgba(12, 26, 44, 0.25);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
button { font: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-stretch: 112%;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
p { margin: 0; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 8vw, 112px); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--signal);
}
.section--dark .eyebrow { color: var(--on-dark-muted); }

.section-head {
  display: grid; gap: 16px;
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 { font-size: var(--fs-2xl); font-weight: 800; }
.section-head p { color: var(--muted); font-size: var(--fs-md); max-width: 65ch; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--f-display); font-stretch: 108%;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn:active { transform: translateY(1px); }

/* ---------- Üst bilgi şeridi ---------- */
.topbar {
  background: var(--ink); color: var(--on-dark-muted);
  font-size: var(--fs-xs);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: var(--on-dark); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info svg { width: 14px; height: 14px; color: var(--on-dark-muted); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; gap: 4px; font-family: var(--f-mono); letter-spacing: .08em; }
.lang a, .lang strong { padding: 2px 6px; border-radius: 3px; }
.lang strong { background: rgba(255,255,255,.12); color: #fff; font-weight: 500; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(12,26,44,.35); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h);
}
.brand { display: block; flex: none; }
.brand img { width: clamp(190px, 22vw, 250px); height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: var(--header-h); padding: 0 14px;
  font-family: var(--f-display); font-stretch: 82%;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.035em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; background: none; border: 0;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--brand); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }

.dropdown {
  position: absolute; top: calc(100% - 10px); left: 0; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown,
.nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover > .nav__link svg,
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 10px 12px; border-radius: 4px;
  color: var(--ink); text-decoration: none; font-size: 0.93rem;
}
.dropdown a:hover { background: var(--stone); color: var(--brand); }

.nav__cta {
  margin-left: 10px;
  min-height: 42px; padding: 0 16px; font-size: 0.82rem; letter-spacing: .06em; text-transform: uppercase;
}

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(500px, 74vh, 700px);
  display: flex; align-items: center;
  color: #fff; background: var(--ink);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
}
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,18,32,.88) 0%, rgba(8,18,32,.62) 45%, rgba(8,18,32,.15) 100%),
    linear-gradient(0deg, rgba(8,18,32,.55) 0%, rgba(8,18,32,0) 40%);
}
.hero .wrap { padding-block: 72px 150px; }
.hero__content { max-width: 720px; display: grid; gap: 22px; }
.hero .eyebrow { color: #c9d7ea; }
.hero h1 {
  font-size: var(--fs-hero); font-weight: 900; font-stretch: 118%;
  letter-spacing: -0.02em; line-height: 0.98;
}
.hero h1 em { font-style: normal; color: #9cc0ea; }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #d9e2ee; max-width: 56ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

.hero__caption {
  position: absolute; right: var(--gutter); bottom: 86px;
  display: grid; justify-items: end; gap: 10px; text-align: right;
}
.hero__place {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: #fff;
  min-height: 1.4em;
}
.hero__place small { color: #b8c6d8; letter-spacing: .12em; }
.hero__dots { display: flex; gap: 6px; }
.hero__dot {
  width: 30px; height: 4px; border: 0; padding: 0; border-radius: 2px;
  background: rgba(255,255,255,.3); position: relative; overflow: hidden;
}
.hero__dot::after {
  content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left;
}
.hero__dot.is-active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }

/* ---------- Rakamlar ---------- */
.facts { position: relative; z-index: 2; margin-top: -64px; }
.facts__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.fact { padding: 26px 26px 24px; display: grid; gap: 6px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact__num {
  font-family: var(--f-display); font-stretch: 120%; font-weight: 900;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); line-height: 1; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.fact__num small { font-size: .45em; font-weight: 700; color: var(--ink); margin-left: 4px; font-stretch: 100%; }
.fact__label { font-size: var(--fs-sm); color: var(--muted); }
.fact dd { margin: 0; order: -1; }

/* ---------- Hakkımızda ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start;
}
.about__intro { display: grid; gap: 20px; }
.about__intro h2 { font-size: var(--fs-2xl); font-weight: 800; }
.about__intro p { color: #2f3d50; max-width: 62ch; }
.about__intro .quote {
  font-family: var(--f-display); font-stretch: 100%; font-weight: 600; font-size: var(--fs-lg);
  color: var(--brand-deep); border-left: 3px solid var(--signal); padding-left: 18px; line-height: 1.4;
}
.about__figure { position: relative; }
.about__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about__badge {
  position: absolute; left: -18px; bottom: -22px;
  background: var(--brand); color: #fff; border-radius: var(--radius);
  padding: 16px 20px; display: grid; gap: 2px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--f-display); font-stretch: 120%; font-size: 2rem; line-height: 1; font-weight: 900; }
.about__badge span { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-mono); }

.mv {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line);
}
.mv__item { padding: 32px 32px 8px 0; display: grid; gap: 12px; align-content: start; }
.mv__item + .mv__item { padding-left: 32px; border-left: 1px solid var(--line); }
.mv__item h3 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: baseline; gap: 12px; }
.mv__item h3 span { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--signal); font-weight: 500; letter-spacing: .1em; }
.mv__item p { color: #2f3d50; }

/* ---------- Tarihçe ---------- */
.history__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.history__aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: grid; gap: 18px; }
.history__aside h2 { font-size: var(--fs-2xl); font-weight: 800; color: #fff; }
.history__aside p { color: var(--on-dark-muted); max-width: 46ch; }
.history__span {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4.4rem); line-height: .9; color: #fff;
  display: flex; align-items: center; gap: 14px; font-variant-numeric: tabular-nums;
}
.history__span i { flex: 1; max-width: 90px; height: 3px; background: var(--signal); }
.history__span span:last-child { color: #7fa6d6; }

.timeline { position: relative; display: grid; }
.timeline::before {
  content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.18);
}
.tl-year { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 30px; padding-block: 16px; position: relative; }
.tl-year + .tl-year { border-top: 1px solid rgba(255,255,255,.08); }
.tl-year__label {
  font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem; color: #fff; letter-spacing: .04em;
  font-variant-numeric: tabular-nums; padding-top: 1px;
}
.tl-year__label::after {
  content: ""; position: absolute; left: 72px; top: 25px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink); border: 2px solid #7fa6d6;
}
.tl-year.is-key .tl-year__label::after { background: var(--signal); border-color: var(--signal); }
.tl-year ul { display: grid; gap: 8px; }
.tl-year li { color: var(--on-dark); }
.tl-year.is-key li { color: #fff; font-weight: 500; }

/* ---------- Değerler & Hedefler ---------- */
.values__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; align-content: start;
}
.panel h3 { font-size: var(--fs-xl); font-weight: 800; }
.panel > p { color: #2f3d50; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: #2f3d50; }
.checklist li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5592' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Politikalar (sekmeler) ---------- */
.tabs__list {
  display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 32px;
}
.tabs__tab {
  border: 0; background: none; padding: 14px 18px; margin-bottom: -2px;
  font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: .95rem; letter-spacing: .03em;
  color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--signal); }
.tabs__panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); }
.tabs__panel h3 { font-size: var(--fs-xl); font-weight: 800; }
.tabs__panel .lead { color: #2f3d50; margin-top: 14px; display: grid; gap: 14px; }
.tabs__panel .motto {
  margin-top: 22px; font-family: var(--f-display); font-stretch: 100%; font-weight: 600;
  color: var(--brand-deep); font-size: 1.1rem; border-left: 3px solid var(--signal); padding-left: 16px;
}

/* ---------- Ürünler ---------- */
.products__switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(48px, 6vw, 72px); }
.pcat {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px;
  padding: 28px; min-height: 180px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  text-decoration: none; color: #fff; background: var(--ink);
}
.pcat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; transition: transform .6s var(--ease), opacity .3s; }
.pcat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,18,32,.85), rgba(8,18,32,.15)); }
.pcat:hover { color: #fff; }
.pcat:hover img { transform: scale(1.05); opacity: .7; }
.pcat small { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #c9d7ea; }
.pcat h3 { font-size: var(--fs-xl); font-weight: 800; margin-top: 8px; }
.pcat .arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.pcat .arrow svg { width: 18px; height: 18px; }
.pcat:hover .arrow { background: #fff; color: var(--ink); }

.subhead {
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 32px;
}
.subhead h3 { font-size: var(--fs-xl); font-weight: 800; }
.subhead p { color: var(--muted); max-width: 52ch; font-size: var(--fs-sm); }

.granules { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.granule { display: grid; justify-items: center; gap: 12px; text-align: center; }
.granule__img {
  width: 100%; max-width: 168px; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 12px 22px -14px rgba(12,26,44,.6);
  background: var(--stone-2);
  transition: transform .35s var(--ease);
}
.granule__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.granule:hover .granule__img { transform: translateY(-4px) rotate(-6deg); }
.granule__code {
  font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .1em; color: var(--brand);
  background: var(--brand-tint); padding: 2px 8px; border-radius: 3px; font-variant-numeric: tabular-nums;
}
.granule__name { font-family: var(--f-display); font-stretch: 108%; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; margin-top: -4px; }

/* Elek boyu şeması */
.sieve {
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
}
.sieve__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sieve__head h4 { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.sieve__head p { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: .06em; }
.sieve__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sieve__chart { min-width: 620px; display: grid; gap: 6px; }
.sieve__row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 132px; align-items: center; gap: 14px; }
.sieve__code { font-family: var(--f-mono); font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.sieve__track { position: relative; height: 22px; background: var(--stone); border-radius: 3px; }
.sieve__track::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grid, none);
}
.sieve__bar {
  position: absolute; top: 4px; bottom: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), #3b77ba);
}
.sieve__bar.from-zero { background: linear-gradient(90deg, rgba(31,85,146,.15), var(--brand) 55%); }
.sieve__val { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sieve__axis { display: grid; grid-template-columns: 54px minmax(0, 1fr) 132px; gap: 14px; margin-top: 6px; }
.sieve__ticks { position: relative; height: 20px; }
.sieve__ticks span {
  position: absolute; top: 0; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.sieve__notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); font-size: var(--fs-xs); color: var(--muted); letter-spacing: .02em; }
.sieve__notes p:last-child { font-style: italic; }

/* Yapı kimyasalları */
.chem { margin-top: clamp(72px, 9vw, 112px); }
.brands-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.brand-chip {
  display: grid; place-items: center; width: 190px; height: 92px; padding: 10px 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s, transform .2s var(--ease);
}
.brand-chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.brand-chip img { max-height: 70px; width: auto; }

.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ccard {
  display: grid; justify-items: center; gap: 14px; text-align: center; align-content: start;
  padding: 22px 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.ccard:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.ccard__img { width: 108px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--stone-2); }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform .5s var(--ease); }
.ccard:hover .ccard__img img { transform: scale(1.2); }
.ccard h4 { font-size: .98rem; font-weight: 700; font-stretch: 105%; line-height: 1.25; }

.packs { margin-top: 48px; }
.packs__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.packs__head h4 { font-size: var(--fs-lg); font-weight: 800; }
.packs__head p { color: var(--muted); font-size: var(--fs-sm); }
.packs__ctrl { display: flex; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }
.packs__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
}
.pack {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 10px;
  padding: 20px 10px 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--paper), var(--stone));
  border: 1px solid var(--line);
}
.pack img { height: 190px; width: auto; filter: drop-shadow(0 12px 12px rgba(12,26,44,.18)); transition: transform .3s var(--ease); }
.pack:hover img { transform: translateY(-6px); }
.pack span { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Sektörler ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sector {
  background: var(--paper); padding: 26px 22px 24px; display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 18px;
  transition: background .25s;
}
.sector:hover { background: var(--brand-tint); }
.sector img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; transform: scale(1); transition: transform .4s var(--ease); }
.sector:hover img { transform: scale(1.08) rotate(-4deg); }
.sector h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.sector small { display: block; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); letter-spacing: .1em; margin-bottom: 4px; }

/* ---------- Referanslar ---------- */
.refs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ref {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 4px;
  aspect-ratio: 5 / 3; display: grid; place-items: center; padding: 6px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.ref img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s, transform .3s var(--ease); }
.ref:hover { border-color: var(--brand); box-shadow: 0 8px 18px -12px rgba(12,26,44,.45); }
.ref:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.refs__note { margin-top: 22px; font-size: var(--fs-sm); color: var(--muted); font-family: var(--f-mono); letter-spacing: .04em; }

/* ---------- CTA bandı ---------- */
.cta-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cta {
  position: relative; display: grid; gap: 14px; align-content: start;
  padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); text-decoration: none; overflow: hidden;
  transition: transform .25s var(--ease);
}
.cta:hover { transform: translateY(-3px); }
.cta--catalog { background: var(--brand); color: #fff; }
.cta--pay { background: var(--ink); color: #fff; }
.cta:hover { color: #fff; }
.cta small { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.cta h3 { font-size: var(--fs-xl); font-weight: 800; }
.cta p { opacity: .85; max-width: 44ch; }
.cta .go { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-stretch: 108%; letter-spacing: .04em; margin-top: 6px; }
.cta .go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.cta:hover .go svg { transform: translateX(5px); }
.cta__mark { position: absolute; right: -24px; bottom: -34px; width: 170px; height: 170px; opacity: .1; }

/* ---------- İletişim ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 14px; }
.info-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.info-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.info-card__icon svg { width: 20px; height: 20px; }
.info-card h3 { font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-stretch: 100%; }
.info-card p, .info-card a { color: var(--ink); font-weight: 500; }
.info-card a { text-decoration: none; }
.info-card a:hover { color: var(--brand); text-decoration: underline; }
.info-card .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn {
  border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: 3px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px;
}
.copy-btn:hover { color: var(--brand); border-color: var(--brand); }
.copy-btn.is-done { color: #157347; border-color: #157347; }

.form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 40px); display: grid; gap: 18px;
}
.form h3 { font-size: var(--fs-xl); font-weight: 800; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field label abbr { color: var(--signal); text-decoration: none; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--stone);
  border: 1.5px solid transparent; border-radius: var(--radius);
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: var(--paper); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--signal); background: #fff5f5; }
.field__err { font-size: var(--fs-xs); color: var(--signal); min-height: 0; }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: var(--fs-sm); color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__status { font-size: var(--fs-sm); font-weight: 500; }
.form__status.is-ok { color: #157347; }
.form__status.is-err { color: var(--signal); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.map {
  margin-top: clamp(40px, 5vw, 64px); position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--stone-2); min-height: 380px;
  display: grid; place-items: center;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  display: grid; justify-items: center; gap: 14px; text-align: center; padding: 32px;
  background:
    radial-gradient(circle at 50% 40%, rgba(31,85,146,.12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31,85,146,.07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31,85,146,.07) 39px 40px);
  position: absolute; inset: 0; align-content: center;
}
.map__pin { width: 46px; height: 46px; color: var(--signal); }
.map__placeholder p { color: var(--muted); max-width: 46ch; font-size: var(--fs-sm); }
.map__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: var(--fs-sm); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 72px 48px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__logo { background: #fff; border-radius: var(--radius); padding: 12px 16px; width: max-content; max-width: 100%; }
.footer__logo img { width: 220px; }
.footer__brand p { max-width: 46ch; line-height: 1.7; }
.site-footer h4 { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-stretch: 100%; }
.footer__links { display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact { display: grid; gap: 12px; font-style: normal; }
.footer__contact span { display: block; font-size: var(--fs-xs); color: var(--on-dark-muted); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.footer__contact div { color: var(--on-dark); }
.footer__allmax { display: inline-block; margin-top: 18px; background: #fff; border-radius: var(--radius); padding: 6px 10px; }
.footer__allmax img { width: 120px; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 20px; }
.footer__copy { font-size: var(--fs-xs); max-width: 70ch; }

/* ASD imza — footer en sağ alt köşe */
.signature {
  margin-left: auto; margin-right: 58px;
  display: inline-flex; align-items: center;
  opacity: .85; transition: opacity .25s;
}
.signature img { height: 26px; width: auto; display: block; }
.signature:hover { opacity: 1; }

/* ---------- Yukarı çık ---------- */
.to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--brand); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__link { padding: 0 10px; font-size: .8rem; }
  .refs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + env(safe-area-inset-top, 0px))) 0 0 0;
    background: var(--paper); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; opacity: 0; transform: translateY(-10px); visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: auto; min-height: 56px; width: 100%; justify-content: space-between; font-size: .95rem; padding: 0 4px; }
  .nav__link::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 12px 8px; display: none; min-width: 0;
  }
  .nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { display: none; }
  .nav__item.is-open > .dropdown { display: block; }
  .nav__cta { margin: 20px 0 0; min-height: 52px; }
  body.menu-open { overflow: hidden; }

  .about__grid, .history__grid, .contact__grid, .tabs__panel { grid-template-columns: minmax(0, 1fr); }
  .history__aside { position: static; }
  .granules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about__figure { max-width: 560px; }
}

@media (max-width: 760px) {
  .topbar__info span.hide-sm { display: none; }
  .hero { min-height: 540px; }
  .hero .wrap { padding-block: 56px 150px; }
  .hero__caption { left: var(--gutter); right: auto; justify-items: start; text-align: left; }
  .values__grid, .mv, .cta-band, .products__switch, .form__grid, .sieve__notes { grid-template-columns: minmax(0, 1fr); }
  .mv__item, .mv__item + .mv__item { padding: 24px 0 8px; border-left: 0; }
  .mv__item + .mv__item { border-top: 1px solid var(--line); }
  .granules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 14px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px 12px; }
  .refs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 56px 32px; }
  .signature { margin-left: 0; margin-right: 0; }
  .timeline::before { left: 60px; }
  .tl-year { grid-template-columns: 60px minmax(0, 1fr); gap: 0 22px; }
  .tl-year__label { font-size: .95rem; }
  .tl-year__label::after { left: 56px; }
  .about__badge { left: 12px; }
}

@media (max-width: 460px) {
  .topbar__right .lang { display: none; }
  .facts { margin-top: -48px; }
  .fact { padding: 18px 16px; }
  .granules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ref { padding: 3px; }
  .brand-chip { width: calc(50% - 8px); height: 80px; }
  .sector img { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .topbar, .site-header, .hero__caption, .to-top, .map, .form { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero::before, .hero__slides { display: none; }
}


/* ---------- Revize 30.10: mineral görseli büyütme + standart boyutlar ---------- */
button.granule__img { display: block; padding: 0; border: 0; cursor: zoom-in; font: inherit; color: inherit; }
button.granule__img:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.text-link { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

.modal { border: 0; padding: 0; background: transparent; max-width: min(920px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); overflow: visible; color: var(--ink); }
.modal::backdrop { background: rgba(12, 26, 44, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: modalIn .28s var(--ease, ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__inner { position: relative; max-height: calc(100dvh - 32px); overflow: auto; border-radius: var(--radius); }
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(12,26,44,.5);
}
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { color: var(--brand); }
.sieve--modal { margin-top: 0; padding-top: clamp(28px, 4vw, 40px); }
.sieve--modal .sieve__head { padding-right: 52px; }

.modal--photo { max-width: min(760px, calc(100vw - 32px)); }
.modal--photo .modal__inner { background: var(--paper); overflow: hidden; }
.lightbox { margin: 0; }
.lightbox img { transition: opacity .18s ease; display: block; width: 100%; height: auto; max-height: calc(100dvh - 120px); object-fit: contain; background: var(--stone); }
.lightbox figcaption { padding: 14px 20px; font-family: var(--f-display); font-stretch: 108%; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.lightbox figcaption span { font-family: var(--f-mono); font-weight: 500; color: var(--brand); margin-right: 10px; }
.lightbox__nav {
  position: absolute; top: calc(50% - 46px); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 6px 18px -8px rgba(12,26,44,.5);
}
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__nav:hover { color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
.sieve--modal .sieve__chart { min-width: 0; }
@media (max-width: 600px) {
  .sieve--modal .sieve__row, .sieve--modal .sieve__axis { grid-template-columns: 30px minmax(0, 1fr) 92px; gap: 8px; }
  .sieve--modal .sieve__val { font-size: .7rem; }
  .sieve--modal .sieve__ticks span:nth-child(even) { display: none; }
  .sieve--modal .sieve__notes { grid-template-columns: 1fr; }
}

/* Revize 31.10: Ana Sayfa menü öğesi – menü tek satırda kalsın */
.nav__link, .nav__cta { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1140px) {
  .nav__link { padding: 0 8px; font-size: .8rem; letter-spacing: .02em; }
  .nav__link::after { left: 8px; right: 8px; }
  .nav__cta { padding: 0 12px; }
  .brand img { width: 180px; }
}
