/* Miga Tekstil — site stilleri */

:root {
  --navy: #1D2944;
  --navy-deep: #141D33;
  --teal: #22A6B3;
  --teal-dark: #178894;
  --teal-text: #137782;      /* beyaz zeminde okunaklı turkuaz */
  --gold: #ECCC68;
  --gold-dark: #D9B548;
  --green: #16A34A;          /* aktif menü çizgisi */
  --green-text: #15803D;     /* beyaz zeminde okunaklı yeşil */
  --green-light: #4ADE80;    /* koyu zeminde yeşil */
  --green-soft: #EAF7EF;
  --ink: #2F3542;
  --muted: #5F6673;
  --soft: #F5F6F7;
  --line: #E3E6EA;
  --white: #FFFFFF;
  /* üst menü ve alttaki logo zemini: beyaz.
     önceki denemeler: kirli beyaz #F2EFE8 / #E0DACE / #E9E5DC, şeker kasar #F9F7F2 / #E7E2D8 / #F1EEE6,
     ekru #F9F5EC / #E9E1D1 / #F1EADC */
  --paper: #FFFFFF;
  --paper-line: #E3E6EA;     /* bu zeminde ince çizgi */
  --paper-soft: #F5F6F7;     /* bu zeminde üzerine gelme */
  --lacivert: #0A2A50;       /* üst iletişim şeridi ve menü yazıları */
  --topbar-bg: var(--lacivert);

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --topbar-h: 40px;
  --radius: 10px;
  --shadow: 0 6px 40px rgba(29, 41, 68, .10);
  --shadow-lg: 0 18px 60px rgba(29, 41, 68, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --after-intro: 2.05s;
}
.no-intro { --after-intro: .1s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 4px); }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-text); text-underline-offset: .2em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; }
h3, .h-sm { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.005em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
main > section { padding: clamp(72px, 9vw, 120px) 0; }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- giriş ---------- */
.intro {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--white); pointer-events: none;
  animation: intro-out .55s ease-in 1.95s forwards;
}
.intro-badge { width: min(300px, 64vw); aspect-ratio: 1; color: #06213E; }
.intro-badge svg { width: 100%; height: 100%; overflow: visible; }
.intro-ring { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ring-draw 1s cubic-bezier(.6, 0, .25, 1) .05s forwards; }
.intro-mark path { animation: bar-in .6s cubic-bezier(.2, .85, .25, 1) both; animation-delay: calc(.15s + var(--i) * 40ms); }
.intro-word { clip-path: inset(-10% 100% -10% 0); animation: write .75s cubic-bezier(.5, 0, .3, 1) .8s forwards; }
.intro-sub { opacity: 0; animation: sub-in .45s ease-out 1.25s forwards; }
.intro-sub2 { animation-delay: 1.36s; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes bar-in { from { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
@keyframes write { to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes sub-in { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; transform: scale(1.04); } }
.no-intro .intro { display: none; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap;
  padding: 16px 28px; border-radius: 50px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-line-light { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 11px 18px; font-size: .75rem; }
.btn-block { display: flex; width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- üst menü ---------- */
/* menü her sayfada ve her konumda dolu (beyaz) zeminde durur; logo hep orijinal renklerinde, menü yazıları lacivert */
.site-header {
  --line: var(--paper-line); --soft: var(--paper-soft);
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--paper); color: var(--lacivert);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(29, 41, 68, .08); border-bottom-color: transparent; }
body:not(.has-hero) main { padding-top: calc(var(--header-h) + var(--topbar-h)); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; margin-right: auto; color: inherit; }
.brand .logo { height: 58px; width: auto; color: #06213E; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: inherit; text-decoration: none; font-size: .9375rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover { border-bottom-color: var(--teal); }
.lang { color: inherit; opacity: .8; text-decoration: none; font-size: .8125rem; font-weight: 700; padding: 5px 9px; border: 1.5px solid currentColor; border-radius: 50px; }
.lang:hover { opacity: 1; }
.menu-btn { display: none; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: .875rem; color: inherit; background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- üst bilgi şeridi ---------- */
.topbar {
  height: var(--topbar-h); overflow: hidden; background: var(--topbar-bg); color: #fff;
  font-size: .8125rem; font-weight: 500; letter-spacing: .01em; line-height: 1;
  border-bottom: 1px solid rgba(236, 204, 104, .22);
}
.topbar-row { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-contact, .topbar-social { display: flex; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
.topbar a:hover { color: var(--gold); }
.topbar .mi { width: 15px; height: 15px; flex: none; }
.topbar-contact a + a { margin-left: 22px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .3); }
.topbar-social { gap: 8px; }
.topbar-follow { margin-right: 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.topbar-social a { width: 28px; height: 28px; justify-content: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; }
.topbar-social a .mi { width: 14px; height: 14px; color: #fff; transition: color .2s; }
.topbar-social a:hover { background: var(--gold); border-color: var(--gold); }
.topbar-social a:hover .mi { color: var(--navy); }
@media (max-width: 600px) {
  :root { --topbar-h: 36px; }
  .topbar-follow { display: none; }
  .topbar-contact a + a { margin-left: 14px; padding-left: 14px; }
  .topbar-mail .tb-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- açılış ---------- */
main > .hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(100svh, 800px); padding: calc(var(--header-h) + var(--topbar-h) + 40px) 0 170px;
  display: flex; align-items: center; background: var(--navy-deep);
}
.hero-bg, .hero-overlay { position: absolute; inset: 0; }
.hero-knit { width: 100%; height: 100%; --h-out: #0D1830; --h-yarn: #253B67; --h-sheen: #5C7DB3; }
.hero-knit .hg { fill: #0D1830; }
.hero-overlay { background: linear-gradient(180deg, rgba(0, 20, 67, .55) 0%, rgba(0, 20, 67, .62) 55%, rgba(14, 22, 42, .9) 100%); }
.hero-inner { position: relative; text-align: center; max-width: 900px; }
.hero h1 { color: #fff; }
.hero .lead { margin: 22px auto 0; max-width: 40em; font-size: 1.1875rem; color: rgba(255, 255, 255, .88); }
.hero .actions { justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-knit .hr { animation: knit-in .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--after-intro) + var(--i) * 45ms); }
  .hero-inner > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > :nth-child(1) { animation-delay: calc(var(--after-intro) + .1s); }
  .hero-inner > :nth-child(2) { animation-delay: calc(var(--after-intro) + .22s); }
  .hero-inner > :nth-child(3) { animation-delay: calc(var(--after-intro) + .34s); }
}
@keyframes knit-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- güvence kartları ---------- */
main > .boxes { display: flow-root; padding: 0 0 clamp(64px, 7vw, 96px); background: var(--soft); position: relative; z-index: 2; }
.box-list { list-style: none; margin: -120px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.box {
  background: #fff; border-radius: var(--radius); padding: 32px 24px 30px; text-align: center;
  box-shadow: var(--shadow); transition: transform .25s, background-color .25s, color .25s;
}
.box .ico { width: 52px; height: 52px; margin: 0 auto 18px; color: var(--teal); transition: color .25s; }
.box p { margin-top: 8px; color: var(--muted); font-size: .9688rem; line-height: 1.6; transition: color .25s; }
.box:hover { transform: translateY(-8px); background: var(--teal); }
.box:hover .ico, .box:hover h2, .box:hover p { color: #fff; }

/* ---------- bölüm başlıkları ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.section-head p { margin-top: 14px; color: var(--muted); }
.section-head h2::after { content: ""; display: block; width: 48px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--teal) 50%, var(--gold) 50%); }
.lead-sm { font-size: 1.1875rem; line-height: 1.6; color: var(--navy); font-weight: 500; }

/* ---------- kartela ---------- */
.kartela { background: var(--soft); }
main > .kartela { padding-top: 0; }
.swatches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.swatch { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.swatch:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.swatch-img { padding: 22px 22px 0; filter: drop-shadow(0 8px 14px rgba(29, 41, 68, .14)); }
.swatch-img { aspect-ratio: 4 / 3; display: flex; justify-content: center; }
.swatch-img .knit { width: 100%; height: 100%; }
.swatch-photo { padding: 0; filter: none; overflow: hidden; background: var(--soft); }
.swatch-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.swatch:hover .swatch-photo img { transform: scale(1.05); }
.swatch-more span { display: inline-block; transition: transform .25s; }
.swatch:hover .swatch-more span { transform: translateX(4px); }
.swatch-cta { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.swatch-cta h3 { color: #fff; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.swatch-cta p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 46ch; line-height: 1.6; }
.swatch-cta .swatch-cta-kicker { color: var(--gold); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.swatch-cta .btn { margin-top: 6px; }
.swatch-body { padding: 20px 24px 26px; }
.swatch h3 { font-size: 1.375rem; }
.swatch h3 a { color: inherit; text-decoration: none; }
.swatch h3 a::after { content: ""; position: absolute; inset: 0; }
.swatch:hover h3 a { color: var(--teal-text); }
.swatch h3 a:focus-visible { outline: none; }
.swatch:has(a:focus-visible) { outline: 3px solid var(--teal); outline-offset: 4px; }
.swatch-body > p { margin-top: 6px; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.spec { margin: 16px 0 0; font-size: .9063rem; }
.spec div { display: grid; grid-template-columns: 8em 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.kartela-more { margin: 44px 0 20px; text-align: center; color: var(--muted); }

/* numune renkleri (logodaki iplik renkleri) */
.t-mavi      { --k-yarn: #7496C7; --k-sheen: #C0D0E6; --k-ground: #486086; --k-recess: #3E5276; --k-back: #9EB6D8; --k-loop: #DCE5F1; }
.t-turkuaz   { --k-yarn: #79C6B2; --k-sheen: #C3E5DC; --k-ground: #4B787B; --k-recess: #40656E; --k-back: #A1D7C9; --k-loop: #DEF1EC; }
.t-mercan    { --k-yarn: #F17279; --k-sheen: #F9C0C3; --k-ground: #874E5E; --k-recess: #6E4558; --k-back: #F59CA1; --k-loop: #FCDCDE; }
.t-mor       { --k-yarn: #B56AA1; --k-sheen: #DEBCD5; --k-ground: #694A72; --k-recess: #574267; --k-back: #CB97BD; --k-loop: #ECDAE8; }
.t-sari      { --k-yarn: #FFD43C; --k-sheen: #FFECA7; --k-ground: #8E7E40; --k-recess: #736A41; --k-back: #FFE176; --k-loop: #FFF4CE; }
.t-camgobegi { --k-yarn: #55C7E5; --k-sheen: #B2E6F3; --k-ground: #397894; --k-recess: #326581; --k-back: #88D8ED; --k-loop: #D4F1F8; }
.t-yesil     { --k-yarn: #B7D172; --k-sheen: #DFEAC0; --k-ground: #6A7D5B; --k-recess: #586955; --k-back: #CDDF9C; --k-loop: #EDF4DC; }
.t-turuncu   { --k-yarn: #F29456; --k-sheen: #F9CFB3; --k-ground: #885E4D; --k-recess: #6E524B; --k-back: #F6B489; --k-loop: #FCE4D5; }
.knit .k-yarn { fill: var(--k-yarn); }
.knit .k-ground { fill: var(--k-ground); }
.knit .k-recess { fill: var(--k-recess); }
.knit .k-bump { fill: none; stroke: var(--k-yarn); stroke-linecap: round; opacity: .55; }
.knit .k-cell { fill: none; stroke: var(--k-ground); }
.knit .k-sheen { fill: none; stroke: var(--k-sheen); stroke-linecap: round; opacity: .5; }
.knit .k-back { fill: var(--k-back); }
.knit .k-loop { fill: none; stroke: var(--k-loop); opacity: .9; }
.knit .k-float { fill: none; stroke: var(--k-loop); stroke-linecap: round; opacity: .85; }
.knit .k-tick { fill: none; stroke: var(--k-ground); stroke-linecap: round; opacity: .45; }

/* ---------- özel üretim ---------- */
.custom-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.custom h2 { max-width: 15ch; }
.custom .lead-sm { margin-top: 20px; max-width: 30em; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; }
.checks li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checks .bullet { color: var(--teal); flex: none; position: relative; top: 2px; }
.ticket { background: #fff; border-radius: var(--radius); padding: 36px 32px 32px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.ticket-title { color: var(--navy); font-weight: 800; font-size: 1.1875rem; }
.ticket .spec { margin-top: 18px; }
.ticket-foot { margin: 18px 0 22px; color: var(--muted); font-size: .9375rem; line-height: 1.6; }

/* ---------- süreç ---------- */
.process { background: var(--soft); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 18px); opacity: .5; }
.steps li { text-align: center; position: relative; }
.steps .n {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto;
  border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.25rem;
  box-shadow: 0 0 0 8px var(--soft); position: relative;
}
.steps h3 { margin-top: 20px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.process .actions { justify-content: center; margin-top: 48px; }

/* ---------- belgeler ---------- */
.docs { background: var(--navy); color: #C5CEDB; }
.docs h2, .docs h3 { color: #fff; }
.docs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.docs-copy p { margin-top: 20px; max-width: 30em; }
.docs-copy .btn { margin-top: 32px; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.doc-list li { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.doc-list h3 { display: flex; align-items: center; gap: 10px; }
.doc-list h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; }
.doc-list p { margin-top: 8px; font-size: .9688rem; line-height: 1.6; }

/* ---------- hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about-mark { padding: clamp(24px, 4vw, 48px); background: var(--soft); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; }
.about-mark svg { width: 78%; height: auto; }
.about-copy .lead-sm { margin-top: 18px; }
.about-copy p + p { margin-top: 14px; }
.about-copy p:not(.lead-sm) { color: var(--muted); max-width: 36em; }
.about-copy .btn { margin-top: 30px; }

/* ---------- çağrı ---------- */
.cta { background: var(--soft); text-align: center; }
.cta-inner { max-width: 760px; }
.cta p { margin: 16px auto 0; color: var(--muted); max-width: 34em; }
.cta .actions { justify-content: center; }

/* ---------- alt bilgi ---------- */
.site-footer { background: var(--navy-deep); color: #A9B4C4; padding: 76px 0 32px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .logo-badge { width: 150px; height: 150px; color: #06213E; }
.badge-disc { fill: var(--paper); }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a { color: #DDE4ED; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; display: grid; gap: 8px; }
.footer-fabrics { columns: 2; column-gap: 24px; }
.footer-fabrics li:first-child { margin-top: 0; }
.footer-brand p { margin-top: 18px; max-width: 22em; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: #DDE4ED; transition: background-color .2s, border-color .2s, color .2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-social .mi { width: 17px; height: 17px; }
.site-footer .footer-ci { display: inline-flex; align-items: center; gap: 10px; }
.footer-ci .mi { width: 16px; height: 16px; flex: none; color: var(--gold); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem; }
.site-footer .footer-card { color: var(--gold); font-weight: 600; }
.site-footer .footer-card:hover { color: #fff; }

/* WhatsApp butonu: her sayfada sağ altta sabit; açılan mobil menünün (z-index 100) altında kalır.
   Lacivert zemin + beyaz yazı; beyaz halka koyu zeminlerde (alt bilgi) de seçilsin diye. */
.wa-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px 0 17px;
  border-radius: 999px; background: var(--lacivert); color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; box-shadow: 0 0 0 2px #fff, 0 10px 28px rgba(6, 33, 62, .28); transition: background-color .2s, transform .2s, box-shadow .2s;
}
.wa-float:hover { background: #16427A; color: #fff; transform: translateY(-2px); box-shadow: 0 0 0 2px #fff, 0 14px 32px rgba(6, 33, 62, .32); }
.wa-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.wa-float .mi { width: 24px; height: 24px; flex: none; }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 50px; padding: 0 18px 0 14px; font-size: .9375rem; }
  .footer-bottom { padding-bottom: 64px; }   /* telif satırı butonun altında kalmasın */
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } .wa-float:hover { transform: none; } }

/* ---------- duyarlı düzen ---------- */
@media (max-width: 1100px) {
  .nav, .nav ul { gap: 18px; }
  .box-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal) 0 10px, transparent 10px 18px); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; text-align: left; padding-bottom: 28px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps .n { margin: 0; }
  .steps h3 { margin-top: 14px; }
  .steps p { grid-column: 2; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand .logo { height: 46px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h) - var(--topbar-h));
    flex-direction: column; align-items: stretch; gap: 22px; padding: 12px var(--gutter) 32px;
    background: var(--paper); color: var(--lacivert); overflow-y: auto; border-top: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; }
  .nav ul a:hover { border-bottom-color: var(--line); color: var(--teal-text); }
  .lang { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
  .custom-grid, .docs-grid, .about-grid { grid-template-columns: 1fr; }
  .about-mark { max-width: 260px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .swatch-cta { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  main > .hero { padding-bottom: 120px; }
  .hero .lead { font-size: 1.0625rem; }
  .box-list { margin-top: -80px; gap: 14px; }
  .box { padding: 22px 14px; }
  .box .ico { width: 40px; height: 40px; margin-bottom: 12px; }
  .box .h-sm { font-size: 1rem; }
  .box p { font-size: .875rem; }
  .swatches { grid-template-columns: 1fr; gap: 16px; }
  .swatch { display: grid; grid-template-columns: 116px 1fr; align-items: stretch; }
  .swatch-img { padding: 14px 0 14px 14px; aspect-ratio: auto; align-items: flex-start; }
  .swatch-photo { padding: 0; }
  .swatch-photo img { min-height: 140px; }
  .swatch-cta { grid-column: auto; }
  .swatch-body { padding: 14px 16px 16px; }
  .swatch h3 { font-size: 1.1875rem; }
  .swatch-body > p { font-size: .875rem; line-height: 1.5; }
  .swatch .spec { font-size: .8125rem; margin-top: 10px; }
  .swatch .spec div { grid-template-columns: 5.2em 1fr; gap: 8px; padding: 6px 0; }
  .doc-list { grid-template-columns: 1fr; }
  .ticket { padding: 28px 20px 22px; }
  .spec div { grid-template-columns: 7.5em 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .box, .swatch, .btn { transition: none; }
}

/* ---------- kumaş sayfaları ---------- */
.swatch-more { margin-top: 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; color: var(--teal-text); }
.kartela-more a { color: var(--teal-text); font-weight: 600; }
main > .page-head { background: var(--soft); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-text); }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
.page-head .lead-sm { margin-top: 14px; max-width: 40em; }
.notfound-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }   /* 404 sayfası */
main > .fabric { padding-top: clamp(40px, 6vw, 72px); }
.fabric-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.fabric-photo { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.fabric-photo img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.fabric-photo.is-full img { max-height: none; }      /* yazılı bilgi görselleri kırpılmaz */
img.obj-top { object-position: 50% 0; }              /* kartlarda görselin üstü (logo) görünsün */
.fabric-text { max-width: 44em; }
.fabric-text h2 { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); margin: 40px 0 14px; }
.fabric-text h3 { margin: 26px 0 8px; color: var(--teal-text); }
.fabric-text > p + p { margin-top: 14px; }
.fabric-text > p { color: var(--ink); }
.fabric-text .checks { margin-top: 16px; }
.feature-list { margin: 16px 0 0; display: grid; gap: 12px; }
.feature-list div { padding: 16px 20px; border-radius: var(--radius); background: var(--soft); border-left: 4px solid var(--teal); }
.feature-list dt { font-weight: 700; color: var(--navy); }
.feature-list dd { margin: 4px 0 0; color: var(--muted); }
.fabric-side { position: sticky; top: calc(var(--header-h) + var(--topbar-h) + 24px); }
.side-swatch { margin: -8px 0 20px; filter: drop-shadow(0 8px 14px rgba(29, 41, 68, .14)); }
.side-swatch .knit { width: 100%; height: auto; max-height: 180px; object-fit: cover; }
.more-fabrics { background: var(--soft); }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more-list a { position: relative; display: block; height: 180px; border-radius: var(--radius); overflow: hidden; background: var(--navy); text-decoration: none; box-shadow: var(--shadow); }
.more-list img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .25s, transform .4s; }
.more-list a:hover img { opacity: .9; transform: scale(1.04); }
.more-list span { position: absolute; left: 20px; bottom: 16px; color: #fff; font-weight: 800; font-size: 1.25rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.more-all { display: grid !important; place-items: center; background: var(--teal) !important; }
.more-all span { position: static; text-shadow: none; }
@media (max-width: 980px) {
  .fabric-grid { grid-template-columns: 1fr; }
  .fabric-side { position: static; }
  .more-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .more-list { grid-template-columns: 1fr; } .more-list a { height: 140px; } }

/* ---------- kurumsal açılır menü ---------- */
.nav .has-sub { position: relative; }
.nav .has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.nav .caret { width: 10px; height: 6px; transition: transform .2s; }
.nav .sub {
  position: absolute; top: calc(100% + 14px); left: -20px; z-index: 5; min-width: 248px;
  display: block; padding: 10px; background: var(--paper); color: var(--lacivert);
  border-radius: var(--radius); box-shadow: 0 14px 40px rgba(29, 41, 68, .16); border-top: 3px solid var(--teal);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .has-sub:hover .caret, .nav .has-sub:focus-within .caret { transform: rotate(180deg); }
.nav .sub li { display: block; }
.nav .sub a { display: block; padding: 10px 14px; border: 0; border-radius: 6px; font-size: .9375rem; font-weight: 600; white-space: nowrap; }
.nav .sub a:hover { background: var(--soft); color: var(--teal-text); }
@media (max-width: 980px) {
  .nav .caret { display: none; }
  .nav .has-sub > a { display: flex; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; background: none; }
  .nav .sub::before { display: none; }
  .nav .sub a { padding: 11px 0; font-size: 1.0625rem; font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--muted); }
  .nav .sub a:hover { background: none; }
}

/* ---------- kurumsal sayfalar ---------- */
.corp-lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.65; color: var(--navy); font-weight: 500; margin-bottom: 18px; }
.fabric-text > .corp-lead:first-child { margin-top: 0; }
.fabric-text > h2:first-child { margin-top: 0; }
.corp-menu { margin-bottom: 24px; padding: 22px 22px 14px; border-radius: var(--radius); background: var(--soft); }
.corp-menu-title { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.corp-menu ul { list-style: none; margin: 0; padding: 0; }
.corp-menu a { display: block; padding: 11px 0 11px 14px; border-left: 3px solid transparent; color: var(--navy); font-weight: 600; text-decoration: none; }
.corp-menu li + li a { border-top: 1px solid var(--line); }
.corp-menu a:hover { color: var(--teal-text); }
.corp-menu a[aria-current="page"] { border-left-color: var(--teal); color: var(--teal-text); }

/* ---------- SSS akordeon ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; font-weight: 700; font-size: 1.0625rem; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-text); }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: var(--radius); }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal); border-radius: 2px; transition: transform .25s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--teal); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); line-height: 1.7; }
.faq-item[open] .faq-answer { animation: faqIn .25s ease-out; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq-item[open] .faq-answer { animation: none; } }

/* ---------- aktif menü: bulunulan kategori yeşil ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.nav > ul > li > a { transition: color .2s, border-color .2s; }
@media (min-width: 981px) {
  .nav > ul { align-items: center; }
  .nav > ul > li > a { display: inline-flex; align-items: center; gap: 6px; }
}
.nav > ul > li.is-current > a { color: var(--green-text); border-bottom-color: var(--green); }
.nav .sub a[aria-current="page"] { background: var(--green-soft); color: var(--green-text); }
.nav .sub a[aria-current="page"]::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 9px 2px 0; border-radius: 50%; background: var(--green); }
.corp-menu a[aria-current="page"] { border-left-color: var(--green); color: var(--green-text); }
@media (max-width: 980px) {
  .nav > ul > li.is-current > a { color: var(--green-text); border-bottom-color: var(--line); }
  .nav > ul > li.is-current > a::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--green); vertical-align: middle; }
  .nav > ul > li.has-sub.is-current > a::after { margin-left: 4px; }
  .nav .sub a[aria-current="page"] { background: none; color: var(--green-text); }
}

/* ---------- blog ---------- */
.post-kicker { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-text); }
.post-no { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 4px; background: var(--navy); color: #fff; font-size: .75rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
main > .blog { padding-top: clamp(40px, 6vw, 72px); }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card:has(a:focus-visible) { outline: 3px solid var(--teal); outline-offset: 4px; }
.post-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card h2 { margin-top: 12px; font-size: 1.3125rem; line-height: 1.3; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:focus-visible { outline: none; }
.post-card:hover h2 a { color: var(--teal-text); }
.post-card-text { margin-top: 10px; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.post-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; font-size: .8125rem; color: var(--muted); }
.post-card-more { font-weight: 700; letter-spacing: .04em; color: var(--teal-text); white-space: nowrap; }
.post-card-more span { display: inline-block; transition: transform .25s; }
.post-card:hover .post-card-more span { transform: translateX(4px); }
.post-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.post-card.is-featured .post-card-img { aspect-ratio: auto; min-height: 100%; }
.post-card.is-featured .post-card-body { justify-content: center; padding: clamp(28px, 4vw, 52px); }
.post-card.is-featured h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); }
.post-card.is-featured .post-card-text { font-size: 1.0625rem; max-width: 34em; }
.post-card.is-featured .post-card-meta { margin-top: 26px; padding-top: 0; justify-content: flex-start; gap: 24px; }
.post-head .post-kicker { margin-bottom: 14px; }
.post-meta { margin-top: 14px; font-size: .875rem; color: var(--muted); }
.post-cover img { aspect-ratio: 16 / 10; }
.post-body > p + p { margin-top: 14px; }
.post-body .checks { margin-bottom: 20px; }
.post-body p a, .post-body li a { color: var(--teal-text); font-weight: 600; }
.post-body p a:hover, .post-body li a:hover { color: var(--teal-dark); }
.howto { list-style: none; margin: 20px 0 24px; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.howto li { counter-increment: step; position: relative; padding: 18px 20px 18px 70px; border-radius: var(--radius); background: var(--soft); }
.howto li::before { content: counter(step); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; }
.fabric-text .howto h3 { margin: 4px 0 4px; color: var(--navy); font-size: 1.0625rem; }
.howto p { color: var(--muted); font-size: .9688rem; line-height: 1.65; }
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 22px 0; padding: 26px 20px; border-radius: var(--radius); background: var(--navy); color: #fff; font-weight: 700; font-size: 1.0625rem; text-align: center; }
.f-lhs { color: var(--gold); }
.f-eq, .f-tail { font-size: 1.25rem; }
.f-frac { display: inline-flex; flex-direction: column; align-items: stretch; }
.f-num { padding: 0 10px 6px; border-bottom: 2px solid rgba(255, 255, 255, .85); }
.f-den { padding: 6px 10px 0; }
.calc { margin: 0 0 22px; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--teal); background: #F2FAFB; }
.calc-title { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.calc dl { margin: 10px 0 0; }
.calc dl div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(34, 166, 179, .25); }
.calc dt { color: var(--muted); }
.calc dd { margin: 0; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.calc .calc-result dd { color: var(--green-text); font-size: 1.125rem; }
.note { margin: 24px 0; padding: 20px 22px; border-radius: var(--radius); background: #FFF9E8; border-left: 4px solid var(--gold); }
.note-title { font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.note p:not(.note-title) { color: var(--ink); font-size: .9688rem; line-height: 1.65; }
.table-wrap { margin: 24px 0; overflow-x: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.data-table th, .data-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--navy); color: #fff; font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; }
.data-table tbody th { color: var(--navy); white-space: nowrap; }
.data-table tbody tr:nth-child(even) { background: var(--soft); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, background-color .2s; }
.post-nav a:hover { border-color: var(--teal); background: #F2FAFB; }
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-nav-title { font-weight: 700; color: var(--navy); line-height: 1.35; }
@media (max-width: 980px) {
  .post-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post-card, .post-card.is-featured { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .post-card-img { aspect-ratio: auto; min-height: 100%; }
  .post-card.is-featured .post-card-body { padding: 26px 28px; }
  .post-card.is-featured .post-card-meta { margin-top: auto; padding-top: 18px; justify-content: space-between; }
}
@media (max-width: 600px) {
  .post-card, .post-card.is-featured { grid-template-columns: minmax(0, 1fr); }
  .post-card-img, .post-card.is-featured .post-card-img { aspect-ratio: 16 / 10; min-height: 0; }
  .post-card-body, .post-card.is-featured .post-card-body { padding: 18px 18px 20px; }
  .post-card.is-featured h2 { font-size: 1.375rem; }
  .post-card.is-featured .post-card-text { font-size: .9688rem; }
  .howto li { padding: 16px 16px 16px 60px; }
  .howto li::before { left: 14px; width: 32px; height: 32px; }
  .formula { font-size: .9688rem; padding: 22px 14px; }
  .calc dl div { grid-template-columns: 7.5em 1fr; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }
  .data-table tbody tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table tbody th, .data-table td { padding: 3px 0; border: 0; white-space: normal; }
  .data-table tbody th { font-size: 1.0625rem; margin-bottom: 4px; }
  .data-table td::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8125rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .post-card, .post-card-img img { transition: none; } }
