/*
Theme Name: Atılım Model
Theme URI: https://atilimmodel.com/
Author: Atılım Model
Description: Atılım Model Döküm ve Metal Sanayi için kurumsal WordPress teması. Mobil öncelikli modern endüstriyel tasarım; ürün kataloğu, üretim aşamaları, makine parkı, kalite belgeleri ve referans içerik tipleri; eklenti gerektirmeyen teklif formu.
Version: 3.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atilim
Tags: business, industrial, custom-menu, custom-logo, translation-ready
*/

/* =========================================================
   1. TOKENLAR
   ========================================================= */
:root {
  --ink: #0e1216;
  --ink-2: #171d24;
  --ink-3: #232b34;
  --steel: #616b76;
  --steel-2: #98a1ab;
  --hair: #e6e9ec;
  --surface: #ffffff;
  --canvas: #fafbfc;
  --canvas-2: #f2f4f6;
  --line-dark: rgba(255, 255, 255, 0.11);

  --flame: #f26a1b;
  --flame-hi: #ff8534;
  --flame-dk: #c8500c;
  --flame-soft: rgba(242, 106, 27, 0.1);

  --ff-display: "Archivo", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(14, 18, 22, .05), 0 4px 14px rgba(14, 18, 22, .05);
  --sh-2: 0 2px 6px rgba(14, 18, 22, .06), 0 16px 40px rgba(14, 18, 22, .09);

  --wrap: 1300px;
  --gutter: clamp(16px, 4vw, 48px);
  --sec-y: clamp(52px, 7.5vw, 116px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

/* Modern tipografi: cümle düzeni, sıkı harf aralığı */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-variation-settings: "wdth" 100, "wght" 700;
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 6.4vw, 74px); letter-spacing: -0.04em; }
h2 { font-size: clamp(27px, 4.2vw, 50px); letter-spacing: -0.035em; }
h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.02em; }
h4 { font-size: 16px; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec-y); }
.sec--canvas { background: var(--canvas-2); }
.sec--dark { background: var(--ink); color: #fff; }
.sec--tight { padding-block: clamp(34px, 4vw, 56px); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; z-index: 300; background: var(--flame); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

/* Etiket rozeti */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--flame-dk);
  background: var(--flame-soft); border-radius: var(--r-pill);
  padding: 7px 14px; margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--flame); }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--flame-hi); background: rgba(242,106,27,.14); }

.sec-head { max-width: 60ch; margin-bottom: clamp(28px, 3.5vw, 52px); }
.sec-head h2 { margin-bottom: 14px; }
.lead { font-size: clamp(15.5px, 1.35vw, 18px); color: var(--steel); line-height: 1.65; }
.sec--dark .lead { color: rgba(255,255,255,.66); }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 14px 26px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--r-pill);
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--flame); color: #fff; box-shadow: 0 6px 18px rgba(242,106,27,.28); }
.btn--solid:hover { background: var(--flame-dk); box-shadow: 0 8px 24px rgba(242,106,27,.34); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn--outline { border-color: var(--hair); background: var(--surface); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }

/* =========================================================
   2. HEADER
   ========================================================= */
.topbar { background: var(--ink); color: var(--steel-2); font-family: var(--ff-mono); font-size: 11.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 40px; }
.topbar a { color: var(--steel-2); text-decoration: none; }
.topbar a:hover { color: var(--flame-hi); }
.topbar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 12px; align-items: center; }
.lang-switch a { padding: 0 4px; }
.lang-switch a.is-active { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 100; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.site-header.is-stuck::before { border-bottom-color: var(--hair); box-shadow: 0 4px 20px rgba(14,18,22,.06); }

.header-inner { position: relative; display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { max-height: 46px; width: auto; }
.brand-text { font-family: var(--ff-display); font-weight: 700; font-size: 19px; letter-spacing: -0.035em; line-height: 1; }
.brand-text span { display: block; font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 5px; font-weight: 400; }

.nav-main ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-main li { position: relative; }
.nav-main a {
  display: block; padding: 9px 14px; text-decoration: none; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-main a:hover { background: var(--canvas-2); }
.nav-main .current-menu-item > a { color: var(--flame-dk); background: var(--flame-soft); }
.nav-main .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 234px;
  background: var(--surface); padding: 8px; border-radius: var(--r);
  box-shadow: var(--sh-2); border: 1px solid var(--hair);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s var(--ease); flex-direction: column; align-items: stretch;
}
.nav-main li:hover > .sub-menu, .nav-main li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-main .sub-menu a { padding: 11px 14px; border-radius: var(--r-sm); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--hair);
  background: var(--surface); border-radius: var(--r-pill); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   3. HERO
   ========================================================= */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 15% 20%, rgba(242,106,27,.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(14,18,22,.86) 0%, rgba(14,18,22,.7) 40%, rgba(14,18,22,.95) 100%);
}
.hero__ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 55% at 20% 15%, rgba(242,106,27,.2) 0%, transparent 62%),
    radial-gradient(60% 50% at 85% 80%, rgba(90,120,160,.16) 0%, transparent 60%),
    linear-gradient(160deg, var(--ink-2), var(--ink));
}
.hero__inner { position: relative; padding-block: clamp(56px, 11vw, 132px) clamp(44px, 6vw, 84px); }
.hero h1 { max-width: 15ch; margin-bottom: 20px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--flame-hi), var(--flame)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 50ch; font-size: clamp(15.5px, 1.4vw, 18.5px); color: rgba(255,255,255,.72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

/* Tesis rakamları — kart şeridi */
.factbar { position: relative; }
.factbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding-bottom: clamp(36px, 5vw, 64px); }
.factbar div {
  padding: 20px 22px 22px; border-radius: var(--r);
  background: rgba(255,255,255,.055); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
}
.factbar b { display: block; font-family: var(--ff-display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(24px, 3.2vw, 40px); line-height: 1; color: #fff; margin-bottom: 7px; }
.factbar span { font-size: 12.5px; color: var(--steel-2); letter-spacing: -0.005em; }

/* Sektör kayan şeridi */
.marquee { overflow: hidden; border-block: 1px solid var(--hair); background: var(--surface); padding-block: 16px; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: mq 38s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee__group span { font-family: var(--ff-display); font-weight: 600; font-size: 15px; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }
.marquee__group i { width: 5px; height: 5px; border-radius: 50%; background: var(--flame); flex-shrink: 0; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =========================================================
   4. KARTLAR
   ========================================================= */
.grid { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.pcard {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r);
  overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__body { padding: 20px 20px 22px; flex: 1; }
.pcard h3 { margin-bottom: 7px; }
.pcard p { font-size: 14.5px; color: var(--steel); margin: 0; line-height: 1.55; }
.pcard__more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--flame-dk); }

/* Görsel yokken zarif dolgu */
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 16px; text-align: center;
  background: linear-gradient(150deg, var(--ink-2), var(--ink-3));
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--steel-2);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 30% 25%, rgba(242,106,27,.14), transparent 65%);
}

/* Yatay kaydırma şeridi — mobilde devreye girer */
.rail { display: grid; }

/* =========================================================
   5. İKİLİ BÖLÜM
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.split--wide-left { grid-template-columns: 1.08fr 1fr; }
.split__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--ink-2); box-shadow: var(--sh-1); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.checklist li {
  position: relative; padding: 12px 14px 12px 40px; font-size: 15px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-sm);
}
.checklist li::before {
  content: ""; position: absolute; left: 15px; top: 50%; margin-top: -5px;
  width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--flame-hi), var(--flame));
}
.sec--dark .checklist li, .feature__body .checklist li { background: rgba(255,255,255,.05); border-color: var(--line-dark); }

/* =========================================================
   6. ÜRETİM AŞAMALARI
   ========================================================= */
.stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stage {
  position: relative; padding: 24px 20px 26px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); border-radius: var(--r);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.stage:hover { background: rgba(255,255,255,.09); transform: translateY(-3px); }
.stage__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--flame-hi), var(--flame-dk));
  font-family: var(--ff-mono); font-size: 12px; color: #fff;
}
.stage h3 { font-size: 17.5px; margin-bottom: 7px; }
.stage p { font-size: 13.8px; color: rgba(255,255,255,.6); margin: 0; line-height: 1.55; }

/* Yetenek bandı */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--ink); color: #fff; }
.feature__media { position: relative; min-height: 420px; background: var(--ink-2); }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(30px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }

/* =========================================================
   7. MAKİNE PARKI
   ========================================================= */
.table-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table thead th { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 400; background: var(--canvas-2); }
.spec-table tbody tr { transition: background .18s var(--ease); }
.spec-table tbody tr:hover { background: var(--canvas); }
.spec-table td:first-child { font-weight: 600; letter-spacing: -0.015em; }
.spec-table td:nth-child(n+2) { font-family: var(--ff-mono); font-size: 13px; color: var(--steel); }

/* =========================================================
   8. GALERİ / BELGE / REFERANS
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.gallery-grid figure { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-sm); background: var(--ink-2); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(14,18,22,.88)); color: #fff; font-size: 13px; font-weight: 500; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.cert { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); padding: 18px; text-align: center; }
.cert__img { position: relative; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-bottom: 14px; background: var(--canvas-2); border-radius: var(--r-sm); }
.cert__img img { width: 100%; height: 100%; object-fit: contain; }
.cert h4 { margin: 0 0 3px; }
.cert span { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }

.ref-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ref-grid > * {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-sm);
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  padding: 14px; text-align: center; transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.ref-grid > *:hover { border-color: transparent; box-shadow: var(--sh-1); }
.ref-grid img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .25s var(--ease), opacity .25s var(--ease); }
.ref-grid > *:hover img { filter: none; opacity: 1; }
.ref-name { font-size: 13px; font-weight: 500; color: var(--steel); }

.empty-note { padding: 44px 22px; text-align: center; border: 1px dashed var(--hair); border-radius: var(--r); font-family: var(--ff-mono); font-size: 12px; color: var(--steel); }

/* =========================================================
   9. CTA / SAYFA / FORM
   ========================================================= */
.cta-band { padding-block: clamp(20px, 3vw, 40px); }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: clamp(var(--r-sm), 2.5vw, 28px);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff;
  padding: clamp(30px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between;
}
.cta-band__inner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 90% at 88% 20%, rgba(242,106,27,.28), transparent 62%);
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band__text, .cta-band__act { position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 8px; max-width: 20ch; }
.cta-band p { margin: 0; color: rgba(255,255,255,.7); max-width: 46ch; }
.cta-band__act { display: flex; gap: 10px; flex-wrap: wrap; }

.page-head { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-head__bg { position: absolute; inset: 0; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 12% 10%, rgba(242,106,27,.16), transparent 60%); }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(42px, 6.5vw, 92px) clamp(32px, 4vw, 56px); }
.page-head h1 { margin-bottom: 10px; }
.breadcrumb { font-size: 13.5px; color: var(--steel-2); }
.breadcrumb a { color: var(--steel-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--flame-hi); }

.entry { max-width: 74ch; }
.entry h2 { margin-top: 1.5em; }
.entry h3 { margin-top: 1.3em; }
.entry ul, .entry ol { padding-left: 1.15em; }
.entry li { margin-bottom: .45em; }
.entry img { margin-block: 1.3em; border-radius: var(--r-sm); }
.entry a { color: var(--flame-dk); }
.entry blockquote { border-left: 3px solid var(--flame); margin: 1.5em 0; padding-left: 20px; color: var(--steel); font-size: 18px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.info-list li { padding: 16px 18px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-sm); }
.info-list dt { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 5px; }
.info-list dd { margin: 0; font-size: 16px; }
.info-list a { text-decoration: none; color: var(--flame-dk); font-weight: 500; }

.form-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); padding: clamp(20px, 3vw, 34px); box-shadow: var(--sh-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 500; color: var(--steel); }
.field .req { color: var(--flame); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 16px; color: var(--ink); width: 100%;
  min-height: 50px; padding: 13px 15px; background: var(--canvas);
  border: 1px solid var(--hair); border-radius: var(--r-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--flame); background: #fff;
  box-shadow: 0 0 0 3px var(--flame-soft);
}
.field textarea { min-height: 150px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--steel); line-height: 1.55; }
.notice { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: 15px; border: 1px solid; }
.notice--ok { border-color: rgba(31,122,69,.3); background: rgba(31,122,69,.08); color: #16603a; }
.notice--err { border-color: rgba(200,80,12,.3); background: rgba(200,80,12,.08); color: var(--flame-dk); }
.map-embed { margin-top: 44px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--hair); line-height: 0; }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; filter: grayscale(1) contrast(1.04); }

/* =========================================================
   10. FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.64); padding-top: clamp(44px, 6vw, 78px); }
.footer-grid { display: grid; gap: 32px; padding-bottom: 42px; grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(145px, 1fr)); }
.site-footer h4 { color: #fff; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14.5px; }
.site-footer a { color: rgba(255,255,255,.64); text-decoration: none; transition: color .18s var(--ease); }
.site-footer a:hover { color: var(--flame-hi); }
.footer-brand img { max-height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; max-width: 40ch; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 12.5px; color: var(--steel-2); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--ff-mono); font-size: 10.5px; }
.social a:hover { background: var(--flame); border-color: var(--flame); color: #fff; }

.quick-bar { display: none; }

/* =========================================================
   11. HAREKET
   ========================================================= */
.has-js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.has-js .reveal.is-in { opacity: 1; transform: none; }

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

/* =========================================================
   12. DUYARLI — mobil öncelikli düzeltmeler
   ========================================================= */
@media (max-width: 1100px) {
  .grid--4, .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .stages { grid-template-columns: repeat(3, 1fr); }
  .ref-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .tb-addr { display: none; }
  .brand-text { font-size: 17px; }
  .brand-text span { font-size: 9px; }

  /* Menü: alttan açılan panel, geniş dokunma alanları */
  .nav-main {
    position: fixed; inset: auto 0 0 0; max-height: 82vh; z-index: 120;
    background: var(--surface); border-radius: 22px 22px 0 0;
    padding: 10px var(--gutter) calc(24px + var(--safe-b));
    overflow-y: auto; visibility: hidden;
    transform: translateY(100%); transition: transform .32s var(--ease), visibility .32s;
    box-shadow: 0 -12px 40px rgba(14,18,22,.22);
  }
  .nav-main.is-open { transform: none; visibility: visible; }
  .nav-main::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 2px; background: var(--hair); margin: 8px auto 14px; }
  .nav-main ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-main a { padding: 15px 14px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-main .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: var(--canvas-2); padding: 4px; margin: 2px 0 6px 12px;
  }
  .nav-scrim {
    position: fixed; inset: 0; z-index: 95; background: rgba(14,18,22,.55);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-scrim.is-on { opacity: 1; visibility: visible; }

  .split, .split--wide-left, .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 260px; }
  .factbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(3, 1fr); }

  /* Sabit alt eylem çubuğu */
  .quick-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 12px calc(12px + var(--safe-b)) 12px; z-index: 90;
  }
  .quick-bar a {
    min-height: 52px; display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: #fff; background: var(--ink); border-radius: var(--r-pill);
    font-size: 15px; font-weight: 600; box-shadow: var(--sh-2);
  }
  .quick-bar a + a { background: var(--flame); }
  .site-footer { padding-bottom: 84px; }
}

/* Mobilde kartlar: dikey yığın yerine yatay kaydırma şeridi */
@media (max-width: 760px) {
  .rail {
    display: grid;
    grid-template-columns: none; /* .grid--3 / --4 sablonunu iptal et */
    grid-auto-flow: column; grid-auto-columns: 80%; grid-template-rows: 1fr;
    gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1);
    padding-bottom: 6px; scrollbar-width: none;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .rail .pcard { height: 100%; }
  .rail-hint { font-size: 12.5px; color: var(--steel); margin-top: 12px; display: flex; align-items: center; gap: 7px; }
  .rail-hint::after { content: "→"; }
}

@media (max-width: 620px) {
  h1 { letter-spacing: -0.035em; }
  .topbar .wrap { justify-content: center; }
  .topbar-contact { justify-content: center; gap: 12px; }
  .topbar-right { display: none; }
  .stages { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid, .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__act { width: 100%; }
  .cta-band__act .btn { flex: 1; }
  .hero__actions .btn { flex: 1; min-width: 140px; }

  /* Tablo → kart listesi */
  .table-card { border: 0; background: transparent; }
  .spec-table thead { display: none; }
  .spec-table tbody tr { display: block; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 10px; }
  .spec-table td { display: flex; justify-content: space-between; gap: 14px; border: 0; padding: 5px 0; }
  .spec-table td::before { content: attr(data-label); font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); flex-shrink: 0; }
  .spec-table td:first-child { display: block; font-size: 16px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--hair); }
  .spec-table td:first-child::before { content: none; }
}

/* WordPress çekirdek */
.alignwide { max-width: 1080px; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1.1em 0; }
.alignright { float: right; margin: 0 0 1.1em 1.5em; }
.wp-caption-text { font-family: var(--ff-mono); font-size: 12px; color: var(--steel); }

/* =========================================================
   13. İÇ SAYFALAR — ortak kurumsal tasarım sistemi
   ========================================================= */
.inner-page { position: relative; }
.inner-shell { max-width: 1080px; }

.inner-hero { min-height: clamp(360px, 46vw, 560px); display: flex; align-items: stretch; }
.inner-hero::after {
  background:
    linear-gradient(90deg, rgba(14,18,22,.98) 0%, rgba(14,18,22,.88) 48%, rgba(14,18,22,.55) 100%),
    radial-gradient(70% 90% at 12% 10%, rgba(242,106,27,.2), transparent 62%);
}
.inner-hero__bg img { opacity: .48; filter: saturate(.75) contrast(1.05); }
.inner-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(28px, 6vw, 80px);
  align-items: end; width: 100%;
}
.inner-hero__content { max-width: 820px; }
.inner-hero .breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.inner-hero .eyebrow { margin-bottom: 14px; }
.inner-hero h1 { max-width: 16ch; margin-bottom: 16px; }
.inner-hero__lead { max-width: 62ch; margin: 0; font-size: clamp(16px, 1.5vw, 19px); color: rgba(255,255,255,.72); line-height: 1.65; }
.inner-hero__signature {
  justify-self: end; width: 190px; min-height: 190px; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.14); border-radius: 50%;
  background: rgba(255,255,255,.045); backdrop-filter: blur(8px);
}
.inner-hero__signature span, .inner-hero__signature small {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2);
}
.inner-hero__signature strong { margin-block: 4px; font-family: var(--ff-display); font-size: 35px; line-height: 1; letter-spacing: -.05em; color: var(--flame-hi); }

.content-panel {
  background: var(--surface); border: 1px solid var(--hair); border-radius: clamp(var(--r), 2vw, 24px);
  padding: clamp(24px, 4vw, 56px); box-shadow: var(--sh-1);
}
.content-panel__media { margin: clamp(-56px, -4vw, -24px) clamp(-56px, -4vw, -24px) clamp(28px, 4vw, 44px); overflow: hidden; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.content-panel__media img { width: 100%; max-height: 560px; object-fit: cover; }
.content-panel .entry { max-width: 82ch; }
.page-intro { max-width: 64ch; }
.page-intro > h2 { margin-bottom: 18px; }
.corporate-media { min-height: 460px; }

.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.value-card {
  min-height: 250px; padding: clamp(22px, 2.5vw, 30px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.value-card > span { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; color: var(--flame-dk); margin-bottom: auto; }
.value-card h3 { margin-top: 38px; margin-bottom: 10px; }
.value-card p { margin: 0; color: var(--steel); font-size: 14.5px; line-height: 1.6; }

.corporate-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden;
  background: var(--ink); color: #fff; border-radius: clamp(var(--r), 2vw, 26px); box-shadow: var(--sh-2);
}
.corporate-stats > div { padding: clamp(24px, 3vw, 38px); border-right: 1px solid var(--line-dark); }
.corporate-stats > div:last-child { border-right: 0; }
.corporate-stats b { display: block; margin-bottom: 8px; font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1; letter-spacing: -.045em; color: #fff; }
.corporate-stats span { font-size: 13px; color: var(--steel-2); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.5vw, 20px); }
.service-card {
  position: relative; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: transparent; }
.service-card--static { cursor: default; }
.service-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { display: flex; flex: 1; flex-direction: column; padding: clamp(22px, 2.5vw, 30px); }
.service-card__n { width: fit-content; margin-bottom: 42px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; color: var(--flame-dk); }
.service-card h3 { margin-bottom: 10px; font-size: clamp(19px, 1.8vw, 24px); }
.service-card p { margin: 0; color: var(--steel); font-size: 14.5px; line-height: 1.6; }
.service-card small { margin-top: 16px; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .06em; color: var(--steel-2); }
.service-card__more { margin-top: auto; padding-top: 24px; font-size: 13.5px; font-weight: 600; color: var(--flame-dk); }
.product-showcase .service-card__n { margin-bottom: 30px; }

.gallery-topline { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.gallery-topline h2 { margin-bottom: 0; }
.gallery-count { flex: 0 0 auto; padding: 9px 14px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-pill); font-family: var(--ff-mono); font-size: 11px; color: var(--steel); }
.gallery-page-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.5vw, 20px); }
.gallery-page-grid figure { aspect-ratio: 5 / 4; border-radius: var(--r); box-shadow: var(--sh-1); }
.gallery-page-grid figure:nth-child(6n + 1), .gallery-page-grid figure:nth-child(6n + 5) { grid-column: span 2; aspect-ratio: 2 / 1; }
.pagination-wrap { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 36px; }
.pagination-wrap .page-numbers { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hair); border-radius: 50%; text-decoration: none; background: var(--surface); font-family: var(--ff-mono); font-size: 12px; }
.pagination-wrap .page-numbers.current, .pagination-wrap .page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.reference-showcase { position: relative; }
.reference-showcase::before { content: ""; position: absolute; right: var(--gutter); top: -20px; width: 180px; height: 180px; border-radius: 50%; background: var(--flame-soft); filter: blur(2px); pointer-events: none; }
.reference-showcase > * { position: relative; z-index: 1; }
.reference-showcase .ref-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.reference-showcase .ref-grid > * { min-height: 132px; aspect-ratio: auto; border-radius: var(--r); }
.reference-showcase .ref-grid img { max-height: 62px; max-width: 82%; }

.contact-card { padding: clamp(24px, 3vw, 38px); background: var(--surface); border: 1px solid var(--hair); border-radius: clamp(var(--r), 2vw, 24px); box-shadow: var(--sh-1); }
.contact-card > h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.contact-card--form { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-card--form .lead, .contact-card--form .contact-form-lead { color: rgba(255,255,255,.62); }
.contact-card--form .form-card { margin-top: 24px; box-shadow: none; }
.contact-copy { margin-bottom: 28px; color: var(--steel); }
.contact-card .info-list li { background: var(--canvas); }
.detail-specs { margin-top: clamp(34px, 5vw, 56px); padding-top: clamp(26px, 4vw, 42px); border-top: 1px solid var(--hair); }

@media (max-width: 1100px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .reference-showcase .ref-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 920px) {
  .inner-hero__inner { grid-template-columns: 1fr; align-items: end; }
  .inner-hero__signature { display: none; }
  .corporate-media { min-height: 0; }
  .corporate-stats { grid-template-columns: repeat(2, 1fr); }
  .corporate-stats > div:nth-child(2) { border-right: 0; }
  .corporate-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .reference-showcase .ref-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .inner-hero { min-height: 360px; }
  .inner-hero .wrap { padding-block: 42px 34px; }
  .inner-hero .breadcrumb { margin-bottom: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card__n { margin-bottom: 24px; }
  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page-grid figure:nth-child(6n + 1), .gallery-page-grid figure:nth-child(6n + 5) { grid-column: auto; aspect-ratio: 5 / 4; }
  .gallery-topline { align-items: flex-start; flex-direction: column; }
  .reference-showcase .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 210px; }
  .corporate-stats { grid-template-columns: 1fr 1fr; }
  .corporate-stats > div { padding: 22px 18px; }
  .gallery-page-grid { gap: 8px; }
  .contact-card { padding: 20px; }
  .content-panel { padding: 22px; }
  .content-panel__media { margin: -22px -22px 26px; }
}
