/* ================================================================
   KALKULATOR BETONU – Global Styles
   Industrial Dark Theme · oklch color space
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --primary:       oklch(0.65 0.20 40);
  --primary-hover: oklch(0.70 0.20 40);
  --primary-dim:   oklch(0.65 0.20 40 / 0.14);
  --primary-border:oklch(0.65 0.20 40 / 0.30);
  --accent:        oklch(0.75 0.15 65);
  --bg:            oklch(0.18 0.02 240);
  --bg-alt:        oklch(0.15 0.02 240);
  --card:          oklch(0.22 0.02 240);
  --card-hover:    oklch(0.25 0.02 240);
  --border:        oklch(0.30 0.02 240);
  --text:          oklch(0.97 0.01 240);
  --text-sub:      oklch(0.88 0.01 240);
  --text-muted:    oklch(0.65 0.01 240);
  --muted:         oklch(0.28 0.02 240);
  --success:       oklch(0.70 0.15 145);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 4px 28px oklch(0 0 0 / 0.45);
  --glow:      0 0 28px oklch(0.65 0.20 40 / 0.28);

  --container: 1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.18s; }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { font-family: var(--font-body); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem);  font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem);  font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem);  font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--text-sub); }
strong { color: var(--text); font-weight: 600; }

.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent);  }
.text-muted   { color: var(--text-muted); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4rem 0; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.7rem;
}
.section-header { margin-bottom: 2.5rem; }
.section-header p {
  max-width: 640px;
  margin-top: 0.6rem;
  font-size: 1.025rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Header / Nav ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: oklch(0.18 0.02 240 / 0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.logo-text .logo-line1 { font-size: 1rem; }
.logo-text .logo-line2 { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--muted); }
.nav-link.active { color: var(--primary); background: var(--primary-dim); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0.75rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  gap: 0.15rem;
  background: var(--bg-alt);
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 0.6rem 1rem; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, oklch(0.65 0.20 40 / 0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 1.1rem; text-wrap: balance; }
.hero h1 .hl { color: var(--primary); }
.hero-desc {
  font-size: 1.025rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* ── Hero full-width variant (inner pages) ────────────────────── */
.hero-full {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.hero-full h1 { margin-bottom: 0.75rem; }
.hero-full .hero-desc { margin-bottom: 1.25rem; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 1rem 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { opacity: 0.35; font-size: 0.7rem; }
.breadcrumb span:last-child { color: var(--primary); }

/* ── Calculator Widget ───────────────────────────────────────── */
.calc-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-header {
  background: var(--muted);
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.calc-header-icon {
  width: 30px;
  height: 30px;
  background: var(--primary);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.calc-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.calc-body { padding: 1.35rem; }

/* Shape toggle */
.shape-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.shape-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.5rem;
  background: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.18s;
}
.shape-btn:hover, .shape-btn.active {
  background: var(--primary-dim);
  border-color: var(--primary-border);
  color: var(--primary);
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group.hidden { display: none; }

.form-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input, .form-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.975rem;
  padding: 0.6rem 0.85rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.55; }

/* Calc button */
.btn-calc {
  width: 100%;
  padding: 0.85rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  color: oklch(0.12 0.02 240);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
.btn-calc:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--glow); }
.btn-calc:active { transform: translateY(0); }

/* Results */
.calc-results {
  margin-top: 1.1rem;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: none;
}
.calc-results.visible {
  display: block;
  animation: fadeUp 0.3s var(--ease);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.results-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.results-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.result-item {
  background: var(--card);
  border-radius: 7px;
  padding: 0.7rem 0.5rem;
  text-align: center;
}
.result-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.result-unit {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}
.result-name {
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
  font-weight: 600;
}
.result-bags { display: none; }
.calc-disclaimer {
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}
.calc-disclaimer strong { color: var(--accent); }

/* ── Content Sections ────────────────────────────────────────── */
.content-section { padding: 3.5rem 0; }
.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.content-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1.5rem;
}
.content-wide { max-width: 800px; }

.text-body p { color: var(--text-sub); line-height: 1.75; margin-bottom: 1rem; }
.text-body p:last-child { margin-bottom: 0; }
.text-body h3 { margin: 1.5rem 0 0.6rem; }

.formula-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.formula-box code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}
.formula-box p { font-size: 0.84rem; color: var(--text-muted); margin: 0; }

.dot-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1rem 0;
}
.dot-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.55;
}
.dot-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

/* ── Tool Cards ──────────────────────────────────────────────── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.tool-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  text-decoration: none;
  transition: all 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.22s var(--ease);
}
.tool-card:hover {
  background: var(--card-hover);
  border-color: var(--primary-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  color: inherit;
}
.tool-card:hover::before { transform: scaleX(1); }
.tool-card-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.tool-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }
.tool-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; line-height: 1.5; flex: 1; }
.tool-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.9rem;
}

/* ── Author / EEAT Section ───────────────────────────────────── */
.author-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}
.author-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid var(--primary);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}
.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: 100px;
  margin-bottom: 0.4rem;
}
.author-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.author-title { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.65rem; }
.author-bio { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── FAQ Accordion ───────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 2rem;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item.open { border-color: var(--primary-border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  text-align: left;
  padding: 1rem 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.18s;
  line-height: 1.45;
}
.faq-q:hover { background: var(--muted); }
.faq-item.open .faq-q { background: oklch(0.65 0.20 40 / 0.05); color: var(--text); }
.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, transform 0.28s var(--ease);
}
.faq-item.open .faq-icon { background: var(--primary); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.faq-item.open .faq-a { max-height: 700px; }
.faq-a-inner {
  padding: 0 1.2rem 1.2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.72;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}
.faq-a-inner p + p { margin-top: 0.65rem; }
.faq-a-inner strong { color: var(--text-sub); }
.faq-a-inner ul { margin: 0.5rem 0; }
.faq-a-inner ul li { padding-left: 1rem; position: relative; margin-bottom: 0.3rem; }
.faq-a-inner ul li::before { content: '–'; position: absolute; left: 0; color: var(--primary); }

/* ── Data Table ──────────────────────────────────────────────── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin: 1.25rem 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.data-table th {
  background: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-sub);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--muted); }

/* ── Callout ─────────────────────────────────────────────────── */
.callout {
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 1.25rem 0;
  line-height: 1.6;
}
.callout strong { color: var(--accent); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
}
.btn-primary { background: var(--primary); color: oklch(0.12 0.02 240); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--glow); color: oklch(0.12 0.02 240); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-dim); color: var(--primary); }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0.9rem 0 1.4rem;
  max-width: 270px;
}
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 34px;
  height: 34px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.18s;
}
.social-link:hover { background: var(--primary-dim); border-color: var(--primary-border); color: var(--primary); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { font-size: 0.86rem; color: oklch(0.72 0.01 240); transition: color 0.18s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Inner page calc section ─────────────────────────────────── */
.calc-section {
  padding: 3rem 0 4rem;
}
.calc-inner-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3.5rem;
  align-items: start;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { max-width: none; }
  .calc-inner-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .content-2col { grid-template-columns: 1fr; gap: 1.75rem; }
  .results-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 2.5rem 0; }
  .hero { padding: 2.75rem 0 2.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .results-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-card { flex-direction: column; gap: 1rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.65rem; }
}
