/* Altınova Metal. Renk ve ölçüler bu bloktan değiştirilir. */
:root {
  /* Renkler logodan: mavi ve antrasit. */
  --ink: #1d2126;
  --anthracite: #33363a;
  --steel: #565e64;
  --line: #d6dadd;
  --tint: #e9ecf0;
  --white: #fff;
  --navy: #0a2a5e;
  --accent: #0b3f94;
  --accent-dark: #08306f;
  --sky: #8fbcf2;
  --danger: #b80f2a;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Barlow", system-ui, sans-serif;
}

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("/fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-0130, U+0132-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

/* Temel */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: .005em; overflow-wrap: anywhere; }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); line-height: .98; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .18em; }
main a:not(.btn) { color: var(--accent); font-weight: 600; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
.site-footer :focus-visible, .hero :focus-visible, .intro-band :focus-visible, .product__panel :focus-visible, .plant__body :focus-visible, .cta-band :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 2px var(--ink); }
main:focus-visible { outline: none; box-shadow: none; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 8px; }
.eyebrow { display: flex; align-items: center; gap: .6em; margin-bottom: .9em; font: 600 1.05rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: none; width: 34px; height: 4px; background: var(--accent); }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; }

/* Düğmeler: dokunmatik hedef en az 48 piksel */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border: 2px solid transparent; border-radius: 0; background: none; color: inherit; font: 600 1.1rem/1.15 var(--font-head); letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
main a.btn { font-weight: 600; }
.btn--primary, main a.btn--primary { background: var(--accent); color: var(--white); }
.btn--dark, main a.btn--dark { background: var(--ink); color: var(--white); }
.btn--light, main a.btn--light { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
/* Dokunmatik ekranda hover rengi dokunuştan sonra takılı kalmasın. */
@media (hover: hover) {
  .btn--primary:hover, main a.btn--primary:hover { background: var(--accent-dark); }
  .hero a.btn--primary:hover, .cta-band a.btn--primary:hover, .site-footer a.btn--primary:hover { background: var(--sky); color: var(--navy); }
  .btn--dark:hover, main a.btn--dark:hover { background: var(--steel); }
  .btn--light:hover, main a.btn--light:hover { background: var(--white); color: var(--ink); }
  .btn--outline:hover { background: var(--ink); color: var(--white); }
}
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn--large { min-height: 56px; padding: 12px 28px; font-size: 1.2rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Üst bölüm */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.site-header__bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; font: 700 1.5rem/1 var(--font-head); letter-spacing: .03em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand__mark { width: 8px; height: 30px; background: var(--accent); }
.brand__name span { font-weight: 600; opacity: .8; }
.menu-toggle { display: none; order: 3; align-items: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 0 6px; border: 0; background: none; color: inherit; font: 600 1rem/1 var(--font-head); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.menu-toggle__icon, .menu-toggle__icon::before, .menu-toggle__icon::after { display: block; width: 24px; height: 3px; background: currentColor; }
.menu-toggle__icon { position: relative; }
.menu-toggle__icon::before, .menu-toggle__icon::after { content: ""; position: absolute; left: 0; }
.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after { top: 7px; }
.js .menu-toggle { display: inline-flex; }
.main-nav { order: 4; width: 100%; }
.site-header__bar { flex-wrap: wrap; }
.js .main-nav { display: none; }
.js .main-nav.is-open { display: block; max-height: calc(100vh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.main-nav ul { padding-bottom: 12px; }
.main-nav a { display: flex; align-items: center; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.main-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 14px; }
.header-actions { display: flex; align-items: center; gap: 8px; order: 2; }
.header-phone { display: none; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--steel); font-weight: 600; text-decoration: none; }
.lang-switch:hover { background: var(--ink); color: var(--white); }
.header-quote { display: none; white-space: nowrap; }

/* Görsel alanları */
.media__img { width: 100%; height: 100%; object-fit: cover; }
.media__img--schematic { background: var(--navy); }
.media__tag { position: absolute; left: 8px; bottom: 8px; z-index: 3; max-width: calc(100% - 16px); padding: 4px 8px; background: #fff; color: var(--ink); font-size: .78rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }

/* Ana sayfa kapağı */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(86vh, 780px); min-height: min(86svh, 780px); background: var(--navy); color: var(--white); }
.hero__media, .page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media::after, .page-hero__media::after { content: ""; position: absolute; inset: 0; background: rgb(7 26 58 / .84); }
@media (min-width: 900px) {
  .hero__media::after, .page-hero__media::after { background: linear-gradient(90deg, rgb(7 26 58 / .95) 0%, rgb(7 26 58 / .88) 50%, rgb(7 26 58 / .1) 82%); }
}
.hero .media__tag, .page-hero .media__tag { left: auto; right: 8px; bottom: auto; top: 8px; }
/* Gerçek fotoğraf varken: kapak tüm ekranı kaplar, salonun büyüklüğü görünür kalır. */
.hero:has(.media__img:not(.media__img--schematic)) { min-height: calc(100vh - var(--header-h) - 64px); min-height: calc(100svh - var(--header-h) - 64px); }
.hero .media__img { object-position: 50% 62%; }
.hero__media:has(.media__img:not(.media__img--schematic))::after { background: linear-gradient(180deg, rgb(7 26 58 / 0) 0%, rgb(7 26 58 / .08) 28%, rgb(7 26 58 / .72) 58%, rgb(7 26 58 / .93) 100%); }
@media (min-width: 768px) {
  .hero:has(.media__img:not(.media__img--schematic)) { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
}
@media (min-width: 900px) {
  /* Sol taraf yazı için koyu, sağ taraf salonun büyüklüğü için açık kalır. */
  .hero__media:has(.media__img:not(.media__img--schematic))::after { background: linear-gradient(90deg, rgb(7 26 58 / .86) 0%, rgb(7 26 58 / .74) 38%, rgb(7 26 58 / 0) 68%), linear-gradient(180deg, rgb(7 26 58 / 0) 55%, rgb(7 26 58 / .7) 100%); }
  .page-hero__media:has(.media__img:not(.media__img--schematic))::after { background: linear-gradient(90deg, rgb(7 26 58 / .9) 0%, rgb(7 26 58 / .62) 48%, rgb(7 26 58 / .08) 85%); }
}
/* Telefon ve küçük tablette iç sayfa fotoğrafı kırpılmasın: görsel üstte, yazı altta. */
@media (max-width: 899px) {
  .page-hero:has(.media__img:not(.media__img--schematic)) { display: block; min-height: 0; }
  .page-hero__media:has(.media__img:not(.media__img--schematic)) { position: relative; aspect-ratio: 4 / 3; }
  .page-hero__media:has(.media__img:not(.media__img--schematic))::after { display: none; }
}
.hero__content { position: relative; z-index: 2; padding-block: clamp(48px, 9vw, 104px); }
.hero__content > * { max-width: 860px; }
.hero .lead { max-width: 660px; margin-bottom: 1.5em; }
.hero .eyebrow::before, .page-hero .eyebrow::before, .cta-band .eyebrow::before { background: var(--sky); }
.hero a.btn--primary, .cta-band a.btn--primary, .site-footer a.btn--primary, .mobile-cta a.btn--primary { background: var(--white); color: var(--navy); }
.mobile-cta a.btn--dark { border-color: var(--white); background: none; color: var(--white); }
main a.hero__scroll { display: none; position: absolute; left: 50%; bottom: 22px; z-index: 3; align-items: center; justify-content: center; width: 56px; height: 48px; margin-left: -28px; color: var(--white); }
@media (min-width: 900px) { main a.hero__scroll { display: flex; } }

.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(320px, 46vw, 500px); background: var(--navy); color: var(--white); }
.page-hero__content { position: relative; z-index: 2; padding-block: clamp(36px, 6vw, 72px); }
.page-hero__content > * { max-width: 880px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.page-hero .lead { margin: 0; }

/* Tanıtım şeridi */
.intro-band { padding-block: clamp(44px, 7vw, 88px); background: var(--accent); color: var(--white); scroll-margin-top: var(--header-h); }
.intro-band p { max-width: 1120px; margin: 0 auto; font-size: clamp(1.25rem, 2.5vw, 1.95rem); line-height: 1.4; text-align: center; }

/* Öne çıkan rakamlar */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: 1fr; }
.facts__list li { padding: 24px 0; border-top: 1px solid var(--line); }
.facts__list li:first-child { border-top: 0; }
.facts__list strong { display: block; color: var(--accent); font: 700 clamp(2.2rem, 4vw, 3.4rem)/1.05 var(--font-head); }
.facts__list span { display: block; margin-top: 6px; }

/* Ana ürünler: fotoğraf ve düz renk panel */
.products .container { display: grid; gap: 16px; }
.product { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.product__media .media__img { position: absolute; inset: 0; }
.product__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4.5vw, 64px); background: var(--navy); color: var(--white); }
.product__panel h3 { font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight: 700; }
.product__panel p { font-size: 1.15rem; }
.product__specs { margin: 8px 0 24px; }
.product__specs div { padding: 12px 0; border-top: 1px solid rgb(143 188 242 / .4); }
.product__specs dt { color: var(--sky); font-weight: 600; font-size: .98rem; }
.product__specs dd { margin: 0; font: 600 1.4rem/1.25 var(--font-head); }
main a.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--white); font: 600 1.2rem/1.2 var(--font-head); letter-spacing: .02em; text-decoration: none; }
main a.arrow-link::after { content: ""; flex: none; width: 10px; height: 10px; border-top: 3px solid var(--sky); border-right: 3px solid var(--sky); transform: rotate(45deg); }
main a.arrow-link:hover { text-decoration: underline; }

/* Kullanım alanları: ince çizgili ikon ızgarası */
.industries { padding-block: clamp(56px, 8vw, 112px); background: var(--navy); color: var(--white); }
.industries h2 { margin-bottom: clamp(32px, 5vw, 64px); text-align: center; }
.industries__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(143 188 242 / .45); }
.industries__grid li { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: clamp(24px, 3.4vw, 44px) 12px; background: var(--navy); font: 600 clamp(1.1rem, 1.8vw, 1.4rem)/1.2 var(--font-head); text-align: center; }
.line-icon { color: var(--sky); }

/* Fabrika */
.plant { display: grid; grid-template-columns: 1fr; background: var(--accent); color: var(--white); }
.plant__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.plant__media .media__img { position: absolute; inset: 0; }
.plant__body { padding: clamp(32px, 5vw, 72px) var(--gutter); }
.plant__body h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.plant__body p { font-size: 1.15rem; }

/* Gelişim */
.timeline { display: grid; gap: 24px; }
.timeline li { padding-top: 16px; border-top: 4px solid var(--accent); }
.timeline strong { display: block; margin-bottom: 8px; color: var(--accent); font: 700 clamp(2.4rem, 4vw, 3.4rem)/1 var(--font-head); }
.timeline p { margin: 0; }

/* Bölümler */
.section { padding-block: clamp(48px, 8vw, 104px); }
.section--tint { background: var(--tint); }
.section-head { max-width: 780px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head p { font-size: 1.15rem; }
.section-note { margin: 28px 0 0; color: var(--steel); }
.empty-state { margin: 0; padding: 24px; border-left: 4px solid var(--anthracite); background: var(--tint); font-size: 1.1rem; }

/* Hizmet kartları */
.service-cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
main .service-card a { position: relative; display: flex; align-items: flex-end; min-height: 300px; height: 100%; overflow: hidden; background: var(--navy); color: var(--white); font-weight: 400; text-decoration: none; }
.service-card__media { position: absolute; inset: 0; }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(7 26 58 / .08) 25%, rgb(7 26 58 / .9) 100%); }
.service-card .media__img { transition: transform .25s; }
.service-card a:hover .media__img { transform: scale(1.03); }
.service-card .media__tag { top: 8px; bottom: auto; }
.service-card__body { position: relative; z-index: 2; display: block; padding: 20px; }
.service-card__title { display: block; margin-bottom: 4px; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--font-head); overflow-wrap: anywhere; }
.service-card__text { display: block; }
.service-card a:hover .service-card__title, .service-card a:focus-visible .service-card__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }

/* Adımlar */
.steps { display: grid; gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 20px 20px 20px 72px; border-top: 4px solid var(--accent); background: var(--white); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 16px; font: 700 2.6rem/1 var(--font-head); color: var(--accent); }
.steps p { margin: 0; }

/* Teklif şeridi */
.cta-band { padding-block: clamp(44px, 7vw, 88px); background: var(--accent); color: var(--white); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; }

/* Önizleme notu */
.preview-note { margin-block: 20px 0; }
.preview-note strong { display: block; }
.preview-note { padding-block: 14px; border: 2px dashed var(--accent); max-width: calc(100% - 2 * var(--gutter)); font-size: .95rem; }
@media (min-width: 1440px) { .preview-note { max-width: 1264px; } }
.preview-note ul { padding-left: 18px; list-style: disc; }

/* Metin düzeni */
.prose-grid { display: grid; gap: 32px; }
.prose { max-width: 760px; font-size: 1.15rem; }
.info-panel { padding: clamp(20px, 3vw, 32px); border-top: 5px solid var(--accent); background: var(--tint); }
.info-panel h2 { font-size: 1.7rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tag-list li { padding: 6px 12px; background: var(--navy); color: var(--white); font-weight: 600; }
.plain-cards { display: grid; gap: 16px; }
.plain-cards > li { padding: 24px; border-top: 4px solid var(--anthracite); background: var(--white); }
.section:not(.section--tint) .plain-cards > li { background: var(--tint); }
.plain-cards p { margin: 0; }
.plain-cards__media { position: relative; aspect-ratio: 16 / 9; margin: -24px -24px 20px; overflow: hidden; }
.check-list li { position: relative; padding: 5px 0 5px 24px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 3px; background: var(--accent); }
.check-list--large { font-size: 1.15rem; }
.spec-list { margin: 0 0 20px; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 600; }
.spec-list dd { margin: 0; text-align: right; }

/* Hizmet sayfası */
.jump-nav { position: sticky; top: var(--header-h); z-index: 20; border-bottom: 1px solid var(--line); background: var(--white); }
.jump-nav ul { display: flex; gap: 6px 18px; padding-block: 8px; overflow-x: auto; scrollbar-width: thin; }
.jump-nav li { flex: none; }
main .jump-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration: none; }
main .jump-nav a:hover { color: var(--accent); text-decoration: underline; }
.service { display: grid; grid-template-columns: 1fr; scroll-margin-top: calc(var(--header-h) + 62px); border-bottom: 1px solid var(--line); }
.service:nth-of-type(even) { background: var(--tint); }
.service__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.service__body { padding: clamp(28px, 5vw, 72px) var(--gutter); }
.service__number { margin-bottom: .2em; color: var(--accent); font: 700 2rem/1 var(--font-head); }
.service__lists { display: grid; gap: 20px; margin-block: 24px; }
.service__limits { padding-left: 14px; border-left: 4px solid var(--anthracite); font-weight: 600; }

/* Makine kartları */
.machine-grid { display: grid; gap: 20px; }
.machine-card { display: flex; flex-direction: column; background: var(--tint); }
.machine-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.machine-card__body { padding: 20px 24px; }
.machine-card__body p:last-child { margin: 0; }
.machine-card__tag { margin-bottom: .3em; color: var(--accent); font: 700 1.2rem/1.2 var(--font-head); letter-spacing: .05em; text-transform: uppercase; }

/* İletişim ve form */
.contact-grid { display: grid; gap: 32px; }
.quote { min-width: 0; }
.quote:focus { outline: none; }
.quote-form h2 { margin-bottom: .2em; }
.form-hint { margin: 0 0 8px; color: var(--steel); font-size: .98rem; }
.form-grid { display: grid; gap: 0 20px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label, .upload__native label { margin-bottom: 6px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 2px solid var(--steel); border-radius: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--font-body); }
textarea { resize: vertical; min-height: 150px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--ink); }
[aria-invalid="true"] { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-weight: 600; }
.form-alert { margin-bottom: 20px; padding: 14px 16px; border-left: 5px solid var(--danger); background: #fbecee; }
.form-alert strong { display: block; }
.form-alert:focus { outline: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.upload { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.upload legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.upload__limits { margin-bottom: 12px; }
.upload__native { display: flex; flex-direction: column; }
.js .upload__native label, .js .upload__native p { display: none; }
.js .upload__native input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; clip-path: inset(50%); }
.upload__zone { padding: 24px 16px; border: 2px dashed var(--steel); background: var(--tint); text-align: center; }
.upload__zone.is-over { border-color: var(--accent); background: #dfe8f6; }
.upload__drop-text { font-weight: 600; }
.upload__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.upload__photo { display: none; }
@media (hover: none) and (pointer: coarse) {
  .upload__drop-text { display: none; }
  .upload__photo { display: inline-flex; }
}
.file-list { margin-top: 12px; }
.file-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.file-item__name { font-weight: 600; overflow-wrap: anywhere; }
.file-item__meta { grid-column: 1; color: var(--steel); font-size: .95rem; }
.file-item__remove { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 8px 12px; border: 2px solid var(--ink); background: none; color: var(--ink); font: 600 .98rem/1 var(--font-body); cursor: pointer; }
.file-item__remove:hover { background: var(--ink); color: var(--white); }
.file-item__remove[disabled] { opacity: .4; cursor: not-allowed; }
.file-item progress { grid-column: 1 / -1; width: 100%; height: 8px; appearance: none; border: 0; background: var(--line); accent-color: var(--accent); }
.file-item progress::-webkit-progress-bar { background: var(--line); }
.file-item progress::-webkit-progress-value { background: var(--accent); }
.file-item progress::-moz-progress-bar { background: var(--accent); }
.file-total { margin: 10px 0 0; font-weight: 600; }
.privacy { margin-bottom: 20px; padding: 16px; border-left: 4px solid var(--anthracite); background: var(--tint); font-size: .98rem; }
.privacy h3 { margin-bottom: .2em; }
.privacy p:last-child { margin: 0; }
.privacy__tag { display: inline-block; margin-bottom: 8px; padding: 2px 8px; background: var(--anthracite); color: var(--white); font-size: .95rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { flex-basis: 100%; margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.quote-success { padding: clamp(20px, 4vw, 36px); border-top: 6px solid var(--ink); background: var(--tint); }
.quote-success:focus { outline: none; }
.quote-success__ref span { display: block; }
.quote-success__ref strong { font: 700 clamp(1.5rem, 5vw, 2.2rem)/1.2 var(--font-head); overflow-wrap: anywhere; }
.quote-email h3 { margin-top: 28px; }
.quote-email .privacy { margin-top: 28px; }
.quote-email__address { font: 700 clamp(1.7rem, 4.5vw, 2.6rem)/1.15 var(--font-head); overflow-wrap: anywhere; }
main .quote-email__address a { color: var(--accent); font-weight: 700; }
.btn .whatsapp-icon { flex: none; width: 22px; height: 22px; margin-right: 8px; }
main a.btn--whatsapp { background: #128c7e; color: var(--white); }
main a.btn--whatsapp:hover { background: #0e6f64; }
.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #128c7e; color: var(--white); box-shadow: 0 4px 14px rgb(0 0 0 / .3); }
.whatsapp-float:hover { background: #0e6f64; }
.whatsapp-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
body:not(.page-contact) .whatsapp-float { bottom: 80px; }
@media (min-width: 768px) { body:not(.page-contact) .whatsapp-float { bottom: 24px; } .whatsapp-float { right: 24px; bottom: 24px; } }
.contact-list { margin: 0; }
.contact-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-weight: 600; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
main .contact-link { display: flex; align-items: center; min-height: 44px; font-size: 1.15rem; }
.footer-tel { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }

/* KVKK sayfası */
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal h2 { margin-top: 1.4em; font-size: 1.6rem; }

/* Yerel fotoğraf galerisi */
.gallery-page { max-width: 1360px; padding-block: 32px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-bottom: 32px; }
.gallery-item { background: var(--tint); }
.gallery-item img { width: 100%; height: auto; }
.gallery-item__body { display: flex; flex-direction: column; gap: 4px; padding: 12px; font-size: .95rem; }
.gallery-item--review { outline: 3px solid var(--accent); }
.gallery-item__flag { color: var(--accent); font-weight: 600; }

/* Alt bölüm */
.site-footer { padding-top: clamp(40px, 6vw, 72px); background: var(--navy); color: var(--white); }
.site-footer__logo { width: auto; height: 44px; margin-bottom: 20px; }
.site-footer__corporate { color: var(--sky); font-weight: 600; }
.site-footer__grid { display: grid; gap: 32px; }
.site-footer h2 { margin-bottom: .5em; font-size: 1.3rem; letter-spacing: .03em; text-transform: uppercase; }
.site-footer__brand { margin-bottom: .4em; font-weight: 600; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer address { margin-bottom: 16px; font-style: normal; }
.site-footer__legal { margin-top: 32px; padding-block: 18px; border-top: 1px solid rgb(255 255 255 / .16); font-size: .92rem; }

/* Telefonda sabit teklif düğmesi */
.mobile-cta { position: fixed; inset: auto 0 0; z-index: 40; display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--navy); }
.mobile-cta .btn { flex: 1; }
body:not(.page-contact) { padding-bottom: 64px; }

/* Yönetim */
.admin { padding-bottom: 0; }
.admin__main { padding-block: 32px; max-width: 860px; }
.admin__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin__list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin__description { white-space: pre-wrap; }
.admin__login { max-width: 420px; }
.admin__ok { margin-bottom: 20px; padding: 14px 16px; border-left: 5px solid var(--anthracite); background: var(--tint); font-weight: 600; }
.admin__status { margin-bottom: 24px; }
.admin__list li.admin__file { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.admin__file > span { min-width: 0; }
.admin__danger { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.brand img { display: block; width: auto; height: 34px; }
@media (min-width: 420px) { .brand img { height: 40px; } }
@media (min-width: 1400px) { .brand img { height: 46px; } }

@media (min-width: 640px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .service__lists { grid-template-columns: 1fr 1fr; }
  .facts__list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .facts__list li:nth-child(2) { border-top: 0; }
}

@media (min-width: 700px) {
  .machine-grid, .plain-cards--two { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 72px 20px 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .mobile-cta { display: none; }
  body:not(.page-contact) { padding-bottom: 0; }
  .header-quote { display: inline-flex; }
  .brand { font-size: 1.7rem; }
}

@media (min-width: 900px) {
  .product { grid-template-columns: 1fr 1fr; }
  .product__media { aspect-ratio: auto; min-height: 520px; }
  .product:nth-of-type(even) .product__media { order: 2; }
  .plant { grid-template-columns: 3fr 2fr; }
  .plant__media { aspect-ratio: auto; min-height: 440px; }
  .plant__body { align-self: center; }
  .industries__grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .prose-grid { grid-template-columns: 3fr 2fr; align-items: start; gap: 56px; }
}

@media (min-width: 1000px) {
  .service { grid-template-columns: 1fr 1fr; }
  .service__media { aspect-ratio: auto; min-height: 100%; }
  .service__media .media__img { position: absolute; inset: 0; }
  .service:nth-of-type(even) .service__media { order: 2; }
  .contact-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; gap: 56px; }
  .contact-grid .info-panel { position: sticky; top: calc(var(--header-h) + 20px); }
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .facts__list { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .facts__list li { padding: 36px 24px; border-top: 0; border-left: 1px solid var(--line); }
  .facts__list li:first-child { padding-left: 0; border-left: 0; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; }
}

/* Masaüstü menü */
@media (min-width: 1280px) {
  .js .menu-toggle { display: none; }
  .site-header__bar { flex-wrap: nowrap; }
  .js .main-nav, .main-nav { display: block; order: 1; width: auto; margin-inline: auto; }
  .main-nav ul { display: flex; gap: 2px; padding: 0; }
  .main-nav a { min-height: var(--header-h); padding: 0 11px; border-top: 0; font-size: 1rem; white-space: nowrap; }
  .main-nav a:hover { background: var(--tint); }
  .main-nav a[aria-current="page"] { padding-left: 11px; box-shadow: inset 0 -4px 0 var(--accent); }
  .brand { margin-right: 0; }
  .header-actions { order: 3; }
}
@media (min-width: 1600px) {
  .site-header__bar { max-width: 1560px; }
  .header-phone { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
