/* ============================================================
   metalhesap.com.tr — Ortak Tasarım Sistemi
   Tüm hesaplayıcı sayfaları bu dosyayı paylaşır.
   ============================================================ */

/* ---------- Fontlar (self-host, render-engelleyen istek azaltmak için styles içinde) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-400-latin.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:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-500-latin.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:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-600-latin.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:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/inter-700-latin.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:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/inter-800-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/inter-800-latin.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:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/jbmono-500-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/jbmono-500-latin.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:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/jbmono-600-latinext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/jbmono-600-latin.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;}

/* ---------- Tasarım Tokenları (Açık Tema) ---------- */
:root {
  /* Renkler */
  --bg:          #f1f5f9;
  --bg-soft:     #f8fafc;
  --surface:     #ffffff;
  --surface-2:   #f8fafc;
  --border:      #e2e8f0;
  --border-2:    #cbd5e1;
  --text:        #0f172a;
  --text-soft:   #334155;
  --muted:       #64748b;
  --muted-2:     #94a3b8;

  /* Vurgu — Endüstriyel Turuncu */
  --accent:      #f97316;
  --accent-600:  #ea580c;
  --accent-700:  #c2410c;
  --accent-weak: #fff1e8;
  --accent-ring: rgba(249, 115, 22, 0.28);

  /* Yardımcı durum renkleri */
  --good:        #16a34a;
  --good-weak:   #f0fdf4;

  /* Gölgeler */
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow:     0 4px 14px rgba(15, 23, 42, 0.07), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-lg:  0 18px 40px -12px rgba(15, 23, 42, 0.18);

  /* Çizgi rengi (SVG teknik çizim) */
  --line:        #475569;
  --line-soft:   #94a3b8;
  --fill-metal:  #e2e8f0;
  --fill-metal-2:#cbd5e1;

  /* Yarıçap */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Tipografi */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  --maxw: 1180px;
}

/* ---------- Koyu Tema ---------- */
:root[data-theme="dark"] {
  --bg:          #0f1419;
  --bg-soft:     #0c1116;
  --surface:     #161c24;
  --surface-2:   #1c232d;
  --border:      #28323e;
  --border-2:    #36424f;
  --text:        #e6edf3;
  --text-soft:   #c2ccd6;
  --muted:       #8b98a5;
  --muted-2:     #6b7785;

  --accent:      #fb8a3c;
  --accent-600:  #f97316;
  --accent-700:  #ea580c;
  --accent-weak: #2a1d12;
  --accent-ring: rgba(251, 138, 60, 0.30);

  --good:        #34d399;
  --good-weak:   #112019;

  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow:     0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg:  0 20px 46px -12px rgba(0, 0, 0, 0.6);

  --line:        #9aa7b4;
  --line-soft:   #5b6775;
  --fill-metal:  #2a333f;
  --fill-metal-2:#374252;
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, button { font-family: inherit; font-size: inherit; color: inherit; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Erişilebilirlik ---------- */
/* Klavye odak halkası (yalnız klavye ile; fare tıklamasında görünmez) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* İçeriğe atla — yalnız odaklanınca görünür */
.skip-link {
  position: fixed; top: -100%; left: 14px; z-index: 200;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 18px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  box-shadow: var(--shadow-lg); transition: top .18s ease;
}
.skip-link:focus { top: 0; outline-offset: -2px; }

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

/* ---------- Düzen yardımcıları ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
@media (max-width: 640px) { .section { padding: 40px 0; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  height: 68px; display: flex; align-items: center; gap: 18px;
}
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 20px; letter-spacing: -0.025em;
}
.logo__word { display: inline-flex; align-items: baseline; line-height: 1; }
.logo__metal { color: var(--text); }
.logo__hesap { color: var(--accent); }
.logo__tld {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  margin-left: 5px; letter-spacing: 0; align-self: flex-end; transform: translateY(-1px);
}
.logo__mark {
  width: 37px; height: 37px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #ffa657 0%, var(--accent) 45%, var(--accent-700) 100%);
  box-shadow: 0 3px 8px -1px var(--accent-ring), inset 0 1px 0 rgba(255,255,255,.35);
  flex: none; position: relative; overflow: hidden;
}
.logo__mark::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.18); pointer-events: none;
}
.logo:hover .logo__mark { transform: translateY(-1px); transition: transform .15s; }
.header-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-nav .nav-link, .nav-dd__trigger {
  position: relative; padding: 9px 14px; border-radius: 9px; font-size: 14px; font-weight: 550;
  color: var(--muted); transition: color .15s; background: none; border: 0; cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
}
.header-nav .nav-link:hover, .nav-dd__trigger:hover { color: var(--text); }
.header-nav .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.header-nav .nav-link:hover::after { transform: scaleX(1); }

/* Hamburger (mobil) */
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); margin-left: auto; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav-toggle__bar { width: 18px; height: 2px; border-radius: 2px; background: var(--text-soft); transition: transform .2s, opacity .2s; }
.site-header.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hesaplayıcılar mega-dropdown */
.nav-dd { position: relative; }
.nav-dd__trigger .chev { transition: transform .2s; }
.nav-dd.open .nav-dd__trigger .chev, .nav-dd:hover .nav-dd__trigger .chev { transform: rotate(180deg); }
.nav-dd.open .nav-dd__trigger, .nav-dd:hover .nav-dd__trigger { color: var(--text); }
.nav-dd__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: 640px; max-width: calc(100vw - 32px); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.nav-dd:hover .nav-dd__panel, .nav-dd.open .nav-dd__panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Görünmez köprü: trigger ↔ panel arası boşlukta hover kopmasın */
.nav-dd__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-feat { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 11px 14px; border-radius: 10px; background: var(--accent-weak); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: 13.5px; color: var(--accent-700); transition: border-color .15s; }
.mega-feat:hover { border-color: var(--accent); }
.mega-feat svg { flex: none; color: var(--accent); }
.mega-feat strong { font-weight: 700; }
:root[data-theme="dark"] .mega-feat { color: var(--accent); }
.mega { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 16px; }
.mega-col { display: flex; flex-direction: column; gap: 1px; }
.mega-col__title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 7px; }
.mega-col a { font-size: 13.5px; color: var(--text-soft); padding: 5px 8px; border-radius: 7px; transition: background .12s, color .12s; }
.mega-col a:hover { background: var(--accent-weak); color: var(--accent-700); }
.mega-all { display: inline-flex; align-items: center; gap: 7px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); font-size: 13.5px; font-weight: 600; color: var(--accent-600); transition: gap .15s; }
.mega-all:hover { gap: 11px; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; color: var(--text-soft);
  transition: background .15s, border-color .15s, color .15s;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--border-2); color: var(--accent); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
/* Mobil menü */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    padding: 10px 16px 18px; max-height: calc(100dvh - 68px); overflow-y: auto;
  }
  .site-header.nav-open .header-nav { display: flex; }
  .header-nav .nav-link, .nav-dd__trigger {
    width: 100%; justify-content: space-between; padding: 13px 12px; border-radius: 10px; font-size: 15px; color: var(--text-soft);
  }
  .header-nav .nav-link::after { display: none; }
  .header-nav .nav-link:active, .nav-dd__trigger:active { background: var(--surface-2); }
  .nav-dd { width: 100%; }
  .nav-dd__panel {
    position: static; width: auto; max-width: none; box-shadow: none; border: 0;
    padding: 2px 0 6px 8px; display: none; opacity: 1; visibility: visible;
  }
  /* masaüstü translateX(-50%) kuralını eşit specificity ile sıfırla */
  .nav-dd.open .nav-dd__panel, .nav-dd:hover .nav-dd__panel { transform: none; }
  .nav-dd.open .nav-dd__panel { display: block; }
  .nav-dd__panel::before { display: none; } /* köprü mobilde gereksiz */
  .mega { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .mega-col__title { margin-bottom: 4px; margin-top: 8px; }
  .mega-all { margin-top: 12px; padding-top: 12px; }
}

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 11px 16px; font-weight: 600; font-size: 14px; line-height: 1;
  transition: transform .04s ease, background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-600); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text-soft); }
.btn--ghost:hover { border-color: var(--border-2); background: var(--surface-2); }
.btn--wa { background: #25d366; color: #053b1b; }
.btn--wa:hover { background: #20c25c; }
.btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   FORM ELEMANLARI
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 5px; }
.field > label {
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
  letter-spacing: .005em;
}
.field .hint { font-size: 11.5px; color: var(--muted-2); font-weight: 500; }
.control,
input.control, select.control {
  width: 100%; height: 42px; padding: 0 13px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); color: var(--text);
  font-size: 15px; font-variant-numeric: tabular-nums;
  transition: border-color .15s, box-shadow .15s, background .15s;
  appearance: none; -webkit-appearance: none;
}
.control:focus, input.control:focus, select.control:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring); background: var(--surface);
}
.control::placeholder { color: var(--muted-2); }
select.control {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 11px center;
  padding-right: 38px; cursor: pointer;
}
/* Birleşik girişler (değer + birim) */
.input-unit { position: relative; }
.input-unit .control { padding-right: 46px; }
.input-unit .unit {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  font-size: 12.5px; font-weight: 600; color: var(--muted-2); pointer-events: none;
}
/* Aramalı combobox (malzeme) */
.combo { position: relative; }
.combo__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  text-align: left; cursor: pointer; font-weight: 500;
}
.combo__trigger .combo__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__chev { color: var(--muted); flex: none; transition: transform .18s; }
.combo.open .combo__chev { transform: rotate(180deg); }
.combo.open .combo__trigger { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--surface); }
.combo__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden; display: none;
}
.combo.open .combo__panel { display: block; }
.combo__search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--muted-2); }
.combo__search-input {
  flex: 1; border: 0; background: none; font-size: 14px; color: var(--text); padding: 2px 0;
  font-family: inherit;
}
.combo__search-input:focus { outline: none; }
.combo__list { max-height: 240px; overflow-y: auto; padding: 5px; }
.combo__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; background: none; cursor: pointer; border-radius: var(--r-sm);
  font-size: 14px; color: var(--text-soft); font-family: inherit; text-align: left;
}
.combo__opt[hidden] { display: none; }
.combo__opt:hover { background: var(--surface-2); color: var(--text); }
.combo__opt.is-focused { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 2px var(--accent); }
.combo__opt.is-active { background: var(--accent-weak); color: var(--accent-700); font-weight: 600; }
.combo__opt.is-active.is-focused { background: var(--accent-weak); }
.combo__opt-d { font-size: 12px; color: var(--muted-2); font-variant-numeric: tabular-nums; flex: none; }
.combo__opt.is-active .combo__opt-d { color: var(--accent-600); }
.combo__empty { padding: 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* Statik kurumsal sayfalar (hakkımızda / iletişim / gizlilik) */
.static-page { max-width: 760px; padding: 10px 0 56px; }
.static-page h1 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 14px; }
.static-page h2 { font-size: 20px; margin: 26px 0 10px; }
.static-page p, .static-page li { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; }
.static-page ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.static-page a { color: var(--accent-600); font-weight: 600; }
.static-page a:hover { text-decoration: underline; }

/* 404 sayfası */
.nf { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(56px, 10vh, 110px) 0 72px; }
.nf__code {
  font-family: var(--mono); font-size: clamp(72px, 14vw, 104px); font-weight: 600;
  line-height: 1; letter-spacing: -0.04em; color: var(--accent);
}
.nf h1 { font-size: 28px; margin: 18px 0 10px; letter-spacing: -0.02em; }
.nf > p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 46ch; margin: 0 auto; }
.nf .hero-cta { margin-top: 26px; }
.nf__calcs { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); }
.nf__calcs-title {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.nf__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nf__chips a {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--text-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nf__chips a:hover, .nf__chips a:focus-visible { border-color: var(--accent); color: var(--accent); }

/* Tersine hesap (kg → metre/levha) */
.reverse-calc {
  margin: 16px 22px 0; border: 1px dashed var(--border-2); border-radius: var(--r-sm);
  background: var(--surface-2);
}
.reverse-calc summary {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer;
  font-size: 13.5px; font-weight: 600; color: var(--text-soft); list-style: none;
}
.reverse-calc summary::-webkit-details-marker { display: none; }
.reverse-calc summary svg { color: var(--accent); flex: none; }
.reverse-calc[open] summary { border-bottom: 1px dashed var(--border-2); }
.reverse-calc__body {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 14px;
  align-items: center; padding: 14px;
}
.reverse-calc__out { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.reverse-calc__out strong { color: var(--text); }
.reverse-calc__out small { color: var(--muted-2); }
@media (max-width: 560px) { .reverse-calc__body { grid-template-columns: 1fr; gap: 10px; } }

/* Birim çevirici (sidebar mini araç) */
.conv {
  border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface);
}
.conv summary {
  display: flex; align-items: center; gap: 7px; padding: 10px 12px; cursor: pointer;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); list-style: none;
}
.conv summary::-webkit-details-marker { display: none; }
.conv summary svg { color: var(--accent); flex: none; }
.conv__body { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.conv__row { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.conv__row .control { height: 34px; padding: 0 9px; font-size: 13.5px; min-width: 0; }
.conv__eq { color: var(--muted-2); flex: none; }
.conv__note { margin: 2px 0 0; font-size: 11.5px; color: var(--muted-2); line-height: 1.5; }

/* Fire payı notu (sonuç çubuğu) */
.rt-fire {
  display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px;
  background: var(--accent-weak); color: var(--accent-700);
  font-size: 10.5px; font-weight: 700; text-transform: none; letter-spacing: 0;
}

/* Ana sayfa hesaplayıcı arama */
.calc-search {
  display: flex; align-items: center; gap: 11px; max-width: 560px; margin: 0 auto 28px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 999px;
  padding: 0 20px; height: 54px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s;
}
.calc-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.calc-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.calc-search input {
  flex: 1; border: 0; background: none; font-size: 15.5px; color: var(--text);
  font-family: inherit; height: 100%;
}
.calc-search input:focus { outline: none; }
.calc-search input::placeholder { color: var(--muted-2); }
.calc-search input::-webkit-search-cancel-button { cursor: pointer; }
.calc-search__empty { text-align: center; color: var(--muted); font-size: 14.5px; padding: 24px 0; }

/* Segmentli toggle (mm / metre) */
.seg {
  display: inline-flex; padding: 3px; gap: 3px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px;
}
.seg button {
  border: 0; background: transparent; color: var(--muted);
  padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 600;
  transition: background .15s, color .15s;
}
.seg button[aria-pressed="true"] {
  background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .seg button[aria-pressed="true"] { background: var(--border); }

/* ============================================================
   KART
   ============================================================ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.card--pad { padding: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }

/* CTA bandı */
.footer-cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, #1a1f27 0%, #11151b 100%);
  border-radius: var(--r-lg); padding: 34px 38px; margin: 40px 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.footer-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(circle at 88% -10%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 42%),
    repeating-linear-gradient(0deg, transparent 0 27px, rgba(255,255,255,.05) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(255,255,255,.05) 27px 28px);
}
.footer-cta__txt h3 { color: #fff; font-size: 21px; letter-spacing: -0.02em; }
.footer-cta__txt p { color: #9aa7b4; font-size: 14.5px; margin-top: 6px; max-width: 46ch; }
.footer-cta .btn--primary { box-shadow: 0 8px 24px -6px rgba(249,115,22,.5); }

/* Ana grid */
.footer-main { padding: 46px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; }
.footer-col h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700; margin-bottom: 15px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col h3::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-col li a {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-soft);
  padding: 3px 0; transition: color .15s, gap .15s;
}
.footer-col li a::before {
  content: ""; width: 0; height: 1.5px; background: var(--accent); border-radius: 2px;
  transition: width .18s ease;
}
.footer-col li a:hover { color: var(--accent); }
.footer-col li a:hover::before { width: 10px; }

/* Marka kolonu */
.footer-about p { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 32ch; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.footer-contact a, .footer-contact span {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-soft);
}
.footer-contact .ci {
  width: 30px; height: 30px; flex: none; border-radius: 8px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--accent);
}
.footer-contact .ci svg { width: 15px; height: 15px; }
.footer-contact a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 9px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
  transition: color .15s, border-color .15s, transform .12s;
}
.footer-social a:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); transform: translateY(-2px); }
.footer-social a svg { width: 18px; height: 18px; }

/* Alt bar */
.footer-bottom {
  margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-bottom__links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-bottom__links a { color: var(--muted); transition: color .15s; }
.footer-bottom__links a:hover { color: var(--accent); }
.footer-note { display: inline-flex; align-items: center; gap: 7px; }
.footer-note svg { color: var(--muted-2); flex: none; }

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  .footer-cta { padding: 28px 26px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BİLGİ + SSS BÖLÜMÜ (iki kolon, hizalı)
   ============================================================ */
.info-section { padding-top: 64px; }
.info-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
.info-intro { position: sticky; top: 90px; }
.info-intro .pill { margin-bottom: 16px; }
.info-faq__head { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.info-faq__head h2 { font-size: 22px; letter-spacing: -0.01em; }
.info-faq__head .badge {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent-weak); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; gap: 36px; }
  .info-intro { position: static; }
}

/* ============================================================
   ACCORDION (SSS)
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 15.5px; color: var(--text);
}
.faq-q .chev { flex: none; color: var(--muted); transition: transform .2s; }
.faq-item[open] .chev { transform: rotate(180deg); color: var(--accent); }
.faq-a { padding: 0 20px 18px; color: var(--text-soft); font-size: 14.5px; }
.faq-a p + p { margin-top: 10px; }
/* <details> kullanımı */
details.faq-item > summary { list-style: none; cursor: pointer; }
details.faq-item > summary::-webkit-details-marker { display: none; }

/* ============================================================
   SEO İÇERİK TİPOGRAFİSİ
   ============================================================ */
.prose h2 { font-size: 24px; letter-spacing: -0.01em; margin: 0 0 14px; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { color: var(--text-soft); margin-bottom: 14px; }
.prose ul { color: var(--text-soft); padding-left: 20px; margin-bottom: 14px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.formula {
  display: inline-block; font-family: var(--mono); font-size: 14.5px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px; color: var(--text);
  margin: 6px 0 16px;
}
.formula b { color: var(--accent); }

/* ---------- Standart tablo ---------- */
.std-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.std-table th, .std-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.std-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: var(--surface-2); }
.std-table td { font-variant-numeric: tabular-nums; color: var(--text-soft); }
.std-table tr:last-child td { border-bottom: 0; }
.std-table .accent { color: var(--accent); font-weight: 700; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--muted-2); }
.crumb [aria-current] { color: var(--text-soft); font-weight: 600; }

/* ---------- Pill / etiket ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-weak); color: var(--accent-700);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
:root[data-theme="dark"] .pill { color: var(--accent); }

/* ============================================================
   TEKNİK ÇİZİM (SVG kesit)
   ============================================================ */
.ps-fill { fill: var(--fill-metal-2); stroke: var(--line); stroke-width: 1.6; stroke-linejoin: round; }
.ps-hole { fill: var(--surface); stroke: var(--line); stroke-width: 1.6; stroke-linejoin: round; }
/* Ölçü çizgileri (büyük mühendislik çizimi) */
.dim       { stroke: var(--accent); stroke-width: 1.4; }
.dim-tick  { stroke: var(--accent); stroke-width: 1.4; }
.dim-text  { fill: var(--accent); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.ctr-line  { stroke: var(--line-soft); stroke-width: 1; stroke-dasharray: 5 3 1 3; }
.part-fill { fill: var(--fill-metal); stroke: var(--line); stroke-width: 2; stroke-linejoin: round; }
.part-hole { fill: var(--surface); stroke: var(--line); stroke-width: 2; stroke-linejoin: round; }
.part-hatch{ stroke: var(--line-soft); stroke-width: 0.8; }

/* ============================================================
   HUB — HERO & KART GRID
   ============================================================ */
.hero { position: relative; padding: 60px 0 52px; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 60% 80% at 50% -8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 33px, var(--border) 33px 34px),
    repeating-linear-gradient(90deg, transparent 0 33px, var(--border) 33px 34px);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 28%, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 75% at 50% 28%, #000 35%, transparent 78%);
  opacity: .7;
}
:root[data-theme="dark"] .hero-bg { opacity: .5; }
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 18px;
}
.hero h1 .hl { color: var(--accent); }
.hero p.lede { font-size: clamp(16px, 2.2vw, 19px); color: var(--text-soft); max-width: 64ch; line-height: 1.6; }
.hero p.lede strong { color: var(--text); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.btn--lg { padding: 15px 24px; font-size: 15px; border-radius: 12px; }
.hero-meta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero-meta .stat {
  display: flex; align-items: baseline; gap: 7px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px;
  backdrop-filter: blur(4px);
}
.hero-meta .stat b { font-size: 17px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-meta .stat span { font-size: 13px; color: var(--muted); }

.grid-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.grid-head h2 { font-size: 22px; letter-spacing: -0.01em; }
.grid-head p { font-size: 14px; color: var(--muted); }

.card-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .card-grid { grid-template-columns: 1fr; } }

.pcard {
  position: relative; display: flex; gap: 15px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px; box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.pcard:hover .pcard__icon { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.pcard__icon {
  flex: none; width: 62px; height: 62px; border-radius: 11px;
  background: var(--surface-2); border: 1px solid var(--border);
  display: grid; place-items: center; transition: border-color .18s;
}
.pcard__icon svg { width: 42px; height: 42px; }
.pcard__body { min-width: 0; }
.pcard__body h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }
.pcard__body p { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.pcard__arrow { margin-left: auto; flex: none; color: var(--muted-2); transition: color .15s, transform .15s; }
.pcard:hover .pcard__arrow { color: var(--accent); transform: translateX(2px); }
.pcard::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }

/* "Yakında" rozeti */
.pcard__soon {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 5px;
}

/* ============================================================
   HESAPLAYICI SAYFASI
   ============================================================ */
.calc-section { padding-top: 26px; }
.calc-head { margin-bottom: 20px; }
.calc-head h1 { font-size: clamp(26px, 4.4vw, 36px); letter-spacing: -0.025em; line-height: 1.12; }
.calc-head h1 .hl { color: var(--accent); }
.calc-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; font-size: 15.5px; }
/* Açıklama bilgi kutusu (callout) */
.calc-lede {
  display: flex; align-items: flex-start; gap: 11px;
  margin-top: 12px; padding: 13px 16px;
  background: var(--accent-weak); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-left: 3px solid var(--accent); border-radius: var(--r-sm);
}
.calc-lede__ic { flex: none; color: var(--accent-600); margin-top: 2px; }
.calc-lede__ic svg { width: 18px; height: 18px; }
.calc-lede p { margin: 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.65; max-width: none; }

.calc-main { padding: 0; overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 318px 1fr; }
.calc-draw {
  background: var(--surface-2); border-right: 1px solid var(--border);
  padding: 24px 20px; display: flex; flex-direction: column; gap: 16px;
  justify-content: center;
}
.calc-draw__svg { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.calc-draw__svg svg { width: 100%; height: auto; max-height: 180px; }
.calc-draw__cap { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.calc-draw__cap svg { flex: none; margin-top: 1px; }
/* Popüler ölçü hızlı seçim */
.calc-quick { border-top: 1px dashed var(--border-2); padding-top: 14px; }
.calc-quick__label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.calc-quick__label svg { width: 13px; height: 13px; color: var(--accent); }
.quick-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.quick-chips button {
  font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 9px; cursor: pointer; transition: .14s; font-variant-numeric: tabular-nums;
}
.quick-chips button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-weak); }
.quick-chips button.is-active { border-color: var(--accent); color: #fff; background: var(--accent); }
.calc-form { padding: 22px; display: flex; flex-direction: column; gap: 13px; }
.calc-form .field-divider { height: 1px; background: var(--border); margin: 2px 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.len-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }

@media (max-width: 760px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-draw { border-right: 0; border-bottom: 1px solid var(--border); position: static; }
}
@media (max-width: 440px) { .form-row, .form-row--3 { grid-template-columns: 1fr 1fr; } }

/* ---------- Sonuç çubuğu ---------- */
.result-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border); background: var(--surface-2);
}
.result-tile { padding: 18px 22px; border-right: 1px solid var(--border); }
.result-tile:last-child { border-right: 0; }
.result-tile .rt-label {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: 5px;
}
.result-tile .rt-value {
  font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px;
  font-variant-numeric: tabular-nums; line-height: 1.05; color: var(--text);
  overflow-wrap: anywhere; min-width: 0;
}
.result-tile .rt-value small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.result-tile--hero { background: var(--accent-weak); }
.result-tile--hero .rt-value { color: var(--accent-700); }
:root[data-theme="dark"] .result-tile--hero .rt-value { color: var(--accent); }
.result-tile--price { display: none; }
.result-bar.has-price .result-tile--price { display: block; }
.result-bar.has-price { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 620px) {
  .result-bar, .result-bar.has-price { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .result-tile { border-bottom: 1px solid var(--border); padding: 15px 16px; }
  .result-tile .rt-value { font-size: 20px; }
  .result-tile .rt-value small { font-size: 11.5px; }
}

.calc-actions { padding: 18px 24px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.calc-actions .spacer { flex: 1; }
.calc-actions .note { font-size: 12.5px; color: var(--muted-2); }

/* ---------- Hesap listesi ---------- */
.list-card { margin-top: 20px; }
.list-head { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.list-head .list-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.list-head .count { font-size: 12px; font-weight: 700; color: var(--accent-700); background: var(--accent-weak); border-radius: 999px; padding: 3px 9px; }
:root[data-theme="dark"] .list-head .count { color: var(--accent); }
.list-actions { display: flex; gap: 8px; }
.list-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; text-align: left; padding: 11px 16px; background: var(--surface-2); }
.list-table td { padding: 13px 16px; border-top: 1px solid var(--border); color: var(--text-soft); font-variant-numeric: tabular-nums; }
.list-table td.num, .list-table th.num { text-align: right; }
.list-table .li-name { color: var(--text); font-weight: 600; }
.list-table .li-sub { font-size: 12px; color: var(--muted); }
.list-table tfoot td { border-top: 2px solid var(--border-2); font-weight: 800; color: var(--text); font-size: 15px; }
.li-del { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: grid; place-items: center; transition: .15s; }
.li-del:hover { color: #ef4444; border-color: #ef4444; background: color-mix(in srgb, #ef4444 8%, var(--surface)); }
.list-empty { padding: 40px 22px; text-align: center; color: var(--muted); }
.list-empty svg { color: var(--muted-2); margin: 0 auto 12px; }
.list-empty p { font-size: 14px; }

/* ---------- "Diğer Hesaplayıcılar" ---------- */
.related-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.related-chips a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--text-soft); transition: .15s;
}
.related-chips a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-weak); }
.related-chips a svg { width: 22px; height: 22px; }

/* ============================================================
   İÇERİK DÜZENİ (açıklama + sticky kenar çubuğu) — tam genişlik
   ============================================================ */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
@media (max-width: 920px) { .content-layout { grid-template-columns: 1fr; gap: 30px; } }
.content-main { min-width: 0; }
.content-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 920px) { .content-side { position: static; } }
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
.side-card__title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); margin-bottom: 11px; display: flex; align-items: center; gap: 8px; }
.side-card__title::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }
.side-links { display: flex; flex-direction: column; gap: 1px; }
.side-links a { display: flex; align-items: center; gap: 11px; padding: 8px 9px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); transition: background .14s, color .14s; }
.side-links a:hover { background: var(--accent-weak); color: var(--accent); }
.side-links a > svg:first-child { width: 30px; height: 30px; flex: none; }
.side-links a .ar { margin-left: auto; flex: none; color: var(--accent); opacity: 0; transform: translateX(-3px); transition: opacity .14s, transform .14s; }
.side-links a:hover .ar { opacity: 1; transform: translateX(0); }
/* Sayfa açıklaması (kullanıcı doldurur) */
.page-desc { margin-bottom: 30px; }
.page-desc p { color: var(--text-soft); font-size: 15px; line-height: 1.7; margin-bottom: 13px; }
.page-desc p:last-child { margin-bottom: 0; }
.page-desc strong { color: var(--text); font-weight: 700; }

/* ============================================================
   AÇIKLAMA BÖLÜMÜ ("Nasıl Hesaplanır?") — adım kartları
   ============================================================ */
.explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 4px 0 8px; }
@media (max-width: 760px) { .explain { grid-template-columns: 1fr; } }
.estep {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 20px 18px;
}
.estep__n {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
  font-variant-numeric: tabular-nums; margin-bottom: 13px; box-shadow: 0 2px 6px -1px var(--accent-ring);
}
.estep h3 { font-size: 15.5px; letter-spacing: -0.01em; margin-bottom: 7px; }
.estep p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.estep .mini-formula {
  display: block; font-family: var(--mono); font-size: 12.5px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 11px; margin-top: 11px; font-variant-numeric: tabular-nums;
}
.estep .mini-formula b { color: var(--accent); }
/* Bağlantı oku (kartlar arası) */
.estep:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 32px; z-index: 2;
  width: 18px; height: 18px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18l6-6-6-6'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
@media (max-width: 760px) { .estep:not(:last-child)::after { display: none; } }

/* Kısa Cevap kutusu (featured snippet hedefi) */
.quick-answer {
  background: var(--accent-weak); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-left: 3px solid var(--accent); border-radius: var(--r-sm);
  padding: 15px 18px; margin-bottom: 26px;
}
.quick-answer__tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-700); margin-bottom: 9px;
}
:root[data-theme="dark"] .quick-answer__tag { color: var(--accent); }
.quick-answer p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-soft); max-width: none; }
.quick-answer strong { color: var(--text); }
.quick-answer .qa-list {
  list-style: none; padding: 0; margin: 11px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 5px 18px;
}
.quick-answer .qa-list li { font-size: 13.5px; color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* Örnek hesap kutusu */
.example-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--accent-weak); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: var(--r); padding: 18px 20px; margin: 22px 0 0;
}
.example-box__ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.example-box__ic svg { width: 20px; height: 20px; }
.example-box h4 { font-size: 14px; color: var(--accent-700); margin-bottom: 5px; }
:root[data-theme="dark"] .example-box h4 { color: var(--accent); }
.example-box p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; margin: 0; }
.example-box strong { color: var(--text); }

/* ---------- Yazdırma ---------- */
@media print {
  .site-header, .site-footer, .calc-draw, .calc-form, .result-bar,
  .calc-actions, .list-actions, .seo-block, .related-block, .crumb,
  .calc-lede, .reverse-calc, .theme-toggle, .li-del { display: none !important; }
  body { background: #fff; color: #000; }
  .calc-main { border: 0; box-shadow: none; }
  .list-card { box-shadow: none; border: 1px solid #ccc; margin: 0; }
  .calc-head { margin-bottom: 14px; }
  .calc-head h1 { font-size: 22px; }
  .calc-head h1 .hl { color: #000; }
  .list-table th { color: #000; }
}

/* ---------- Erişilebilirlik ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   ÜST AKSAN ÇİZGİSİ + HEADER MODERN DOKUNUŞ
   ============================================================ */
.topbar-accent { height: 3px; background: linear-gradient(90deg, var(--accent-700), var(--accent) 40%, #ffc191 70%, var(--accent)); }
.site-header.scrolled { box-shadow: 0 6px 22px -14px rgba(15,23,42,.35); }
.header-cta {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px;
  border-radius: 10px; font-size: 13.5px; font-weight: 650;
  background: var(--accent); color: #fff; box-shadow: 0 2px 6px -1px var(--accent-ring);
  transition: background .15s, transform .04s;
}
.header-cta:hover { background: var(--accent-600); }
.header-cta:active { transform: translateY(1px); }
.header-cta svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .header-cta span { display: none; } .header-cta { padding: 0 11px; } }

/* ============================================================
   BÖLÜM BAŞLIĞI
   ============================================================ */
.sec-head { max-width: 660px; margin-bottom: 28px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 11px;
}
.sec-head .eyebrow::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); }
.sec-head h2 { font-size: clamp(23px, 3.2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.sec-head p { color: var(--muted); margin-top: 11px; font-size: 15.5px; }

/* Tam genişlik bant (ritim için) */
.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ============================================================
   HERO — TAM GENİŞLİK BİLGİ ALANI (eski iki kolon kaldırıldı)
   ============================================================ */

.qref {
  position: relative; border: 1px solid var(--border); border-radius: 18px;
  background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden;
}
.qref__head {
  padding: 15px 18px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(0deg, color-mix(in srgb, var(--accent) 5%, var(--surface)), color-mix(in srgb, var(--accent) 5%, var(--surface))),
    repeating-linear-gradient(90deg, transparent, transparent 13px, color-mix(in srgb, var(--accent) 8%, transparent) 13px, color-mix(in srgb, var(--accent) 8%, transparent) 14px),
    repeating-linear-gradient(0deg, transparent, transparent 13px, color-mix(in srgb, var(--accent) 8%, transparent) 13px, color-mix(in srgb, var(--accent) 8%, transparent) 14px);
}
.qref__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.qref__title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }
.qref__unit { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.qref__list { padding: 0; display: flex; flex-direction: column; }
.qref__row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; transition: background .14s; }
.qref__row + .qref__row { border-top: 1px solid var(--border); }
.qref__row:hover { background: var(--surface-2); }
.qref__ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; }
.qref__ic svg { width: 28px; height: 28px; }
.qref__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qref__name { font-weight: 650; font-size: 14px; letter-spacing: -0.01em; color: var(--text); }
.qref__sub { font-size: 12px; color: var(--muted); line-height: 1.3; }
.qref__val { margin-left: auto; text-align: right; font-weight: 800; font-size: 17px; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--accent-700); flex: none; }
:root[data-theme="dark"] .qref__val { color: var(--accent); }
.qref__val small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted-2); letter-spacing: .03em; }
.qref__foot { padding: 13px 18px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--surface-2); }
.qref__foot a { font-size: 13px; font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.qref__foot a:hover { gap: 9px; }
.qref__foot span { font-size: 12px; color: var(--muted-2); }

/* ============================================================
   ÖZELLİKLER (Neden metalhesap?)
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 920px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.band .feature-card { background: var(--surface-2); }
.feature-card .fic {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 15px;
  background: var(--accent-weak); color: var(--accent); display: grid; place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}
.feature-card .fic svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 16px; letter-spacing: -0.01em; }
.feature-card p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.55; }

/* ============================================================
   PROFİL TİPLERİ (SEO + iç link)
   ============================================================ */
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .types-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .types-grid { grid-template-columns: 1fr; } }
.type-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px; transition: transform .14s, box-shadow .18s, border-color .18s; }
.type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.type-card__top { display: flex; align-items: center; gap: 13px; margin-bottom: 13px; }
.type-card__ic { width: 50px; height: 50px; flex: none; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; }
.type-card__ic svg { width: 34px; height: 34px; }
.type-card h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.type-card h3 .kw { display: block; font-size: 11.5px; color: var(--accent); font-weight: 600; margin-top: 3px; letter-spacing: .01em; }
.type-card p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.type-card .more { margin-top: 13px; font-size: 13px; font-weight: 650; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.type-card:hover .more { gap: 9px; }

/* Malzeme yoğunlukları kartı */
.density-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
@media (max-width: 820px) { .density-wrap { grid-template-columns: 1fr; gap: 26px; } }
