/* ============================================
   LINEK CONSULTING — v3 FINAL
   Heritage-modern. Warm. Grounded. Premium.
   Patagonia / Filson / Huckberry energy.
   Playfair Display + Inter. Forest green accent.
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #FFFFFF;
  --cream: #FAF9F6;
  --warm-50: #F5F3EF;
  --warm-100: #EBE8E2;
  --warm-200: #D6D1C7;
  --gray-300: #B5B0A8;
  --gray-400: #8E8E93;
  --gray-500: #6E6E73;
  --gray-600: #636366;
  --gray-700: #48484A;
  --gray-800: #3A3A3C;
  --black: #1D1D1F;
  --green: #2D5A3D;
  --green-light: #3A7250;
  --green-dark: #1E3F2B;
  --green-pale: #EDF3EF;
  --red: #BF3B30;
  --red-pale: #FDF0EF;
  --brown: #6B4C3B;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --max-w: 1080px;
  --section-py: 140px;
  --radius: 10px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--gray-700);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-light); }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 36px; }

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--black);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

p { color: var(--gray-600); font-size: 1.08rem; line-height: 1.85; }
p.large { font-size: 1.2rem; line-height: 1.9; }

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger > .fade-in:nth-child(2) { transition-delay: 80ms; }
.stagger > .fade-in:nth-child(3) { transition-delay: 160ms; }
.stagger > .fade-in:nth-child(4) { transition-delay: 240ms; }
.stagger > .fade-in:nth-child(5) { transition-delay: 320ms; }
.stagger > .fade-in:nth-child(6) { transition-delay: 400ms; }
.stagger > .fade-in:nth-child(7) { transition-delay: 480ms; }
.stagger > .fade-in:nth-child(8) { transition-delay: 560ms; }

/* ---- Navigation ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto; padding: 0 36px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo .logo-img { height: 34px; width: auto; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: var(--gray-500); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.01em; transition: color 0.2s;
}
.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: 9px 22px; border-radius: 980px;
  font-weight: 600; font-size: 0.82rem !important;
  border: none; cursor: pointer;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-light); color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--black); margin: 5px 0; transition: 0.3s; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.25s ease; border: none;
  border-radius: 980px;
}
.btn-primary {
  background: var(--green); color: var(--white);
  padding: 17px 40px;
}
.btn-primary:hover { background: var(--green-light); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--green);
  padding: 15px 38px;
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-white {
  background: var(--white); color: var(--green);
  padding: 17px 40px;
}
.btn-white:hover { background: var(--warm-100); color: var(--green); transform: translateY(-1px); }

/* ---- Hero ---- */
.hero {
  min-height: 94vh;
  display: flex; align-items: center;
  padding-top: 56px;
  background: var(--cream);
}
.hero .container { max-width: 820px; }
.hero h1 { margin-bottom: 28px; }
.hero p { margin-bottom: 16px; max-width: 660px; }
.hero-meta {
  font-size: 0.88rem; color: var(--gray-400);
  margin-bottom: 44px; font-style: italic;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Sections ---- */
section { padding: var(--section-py) 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-green {
  background: var(--green);
  color: var(--white);
}
.section-green h2, .section-green h3, .section-green h4 { color: var(--white); }
.section-green p { color: rgba(255, 255, 255, 0.82); }
.section-green .btn-primary { background: var(--white); color: var(--green); }
.section-green .btn-primary:hover { background: var(--warm-100); color: var(--green); }

.section-header { margin-bottom: 72px; }
.section-header h4 { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 20px; max-width: 640px; }
.section-header p { max-width: 600px; }

.section-header.center { text-align: center; }
.section-header.center h2 { margin: 0 auto 20px; }
.section-header.center p { margin: 0 auto; text-align: center; }

/* ---- Proof Bar ---- */
.proof-bar {
  background: var(--green);
  padding: 52px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.proof-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.proof-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255, 255, 255, 0.15);
}
.proof-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--white);
  line-height: 1.1; margin-bottom: 6px;
}
.proof-label {
  font-size: 0.78rem; color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---- Problem List ---- */
.problem-list {
  list-style: none; max-width: 640px;
}
.problem-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--warm-200);
  color: var(--gray-700);
  font-size: 1.02rem;
  display: flex; align-items: flex-start; gap: 14px;
  line-height: 1.7;
}
.problem-list li:last-child { border-bottom: none; }
.problem-list .icon-svg { flex-shrink: 0; margin-top: 4px; }

/* ---- Fix Cards ---- */
.fix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fix-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius);
  transition: box-shadow 0.3s ease;
}
.fix-card:hover { box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05); }
.fix-card .icon-svg { margin-bottom: 18px; }
.fix-card h3 { font-size: 1.15rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; color: var(--black); }
.fix-card p { font-size: 0.95rem; color: var(--gray-500); max-width: 100%; }

/* ---- Fit Section ---- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fit-card {
  padding: 48px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--warm-200);
  background: var(--white);
}
.fit-card h3 { margin-bottom: 28px; font-size: 1.25rem; }
.fit-card.yes { border-color: rgba(45, 90, 61, 0.2); background: var(--green-pale); }
.fit-card.yes h3 { color: var(--green); }
.fit-card.no { border-color: rgba(191, 59, 48, 0.15); background: var(--red-pale); }
.fit-card.no h3 { color: var(--red); }

.fit-list { list-style: none; }
.fit-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  color: var(--gray-700);
  font-size: 0.95rem;
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.65;
}
.fit-list li:last-child { border-bottom: none; }
.fit-list .icon-svg { flex-shrink: 0; margin-top: 3px; }

/* ---- Process Steps ---- */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-pale); color: var(--green);
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 22px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; color: var(--black); }
.process-step p { font-size: 0.95rem; color: var(--gray-500); }

/* ---- Outcome List ---- */
.outcome-list {
  list-style: none;
  max-width: 640px;
}
.outcome-list li {
  padding: 11px 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.88);
  display: flex; align-items: flex-start; gap: 14px;
  line-height: 1.7;
}
.outcome-list .icon-svg { flex-shrink: 0; margin-top: 4px; }

/* ---- CTA Section ---- */
.cta-section { padding: var(--section-py) 0; }
.cta-section h2 { margin-bottom: 20px; }
.cta-section p { margin-bottom: 40px; max-width: 580px; }
.cta-section.center { text-align: center; }
.cta-section.center p { margin: 0 auto 40px; text-align: center; }
.cta-support {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}
.section-green .cta-support { color: rgba(255, 255, 255, 0.5); }

/* ---- Footer ---- */
.footer { padding: 48px 0; border-top: 1px solid var(--warm-200); background: var(--cream); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer p { font-size: 0.82rem; color: var(--gray-400); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.82rem; color: var(--gray-400); }
.footer-links a:hover { color: var(--black); }

/* ---- About Page ---- */
.about-hero { padding: 150px 0 64px; }
.about-hero h4 { margin-bottom: 14px; }
.about-hero h1 { max-width: 700px; }
.about-hero p { margin-top: 20px; max-width: 620px; }

.about-body { max-width: 680px; }
.about-body h2 { margin-top: 0; margin-bottom: 20px; }
.about-body p { margin-bottom: 20px; }
.about-body ul {
  list-style: none; margin: 20px 0 28px;
}
.about-body ul li {
  padding: 8px 0;
  font-size: 1.02rem; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.7;
}
.about-body ul li .icon-svg { flex-shrink: 0; margin-top: 4px; }

/* ---- Services Page ---- */
.service-block { margin-bottom: 80px; }
.service-block:last-child { margin-bottom: 0; }
.service-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; margin-bottom: 16px;
  color: var(--black);
}
.service-block p { margin-bottom: 16px; max-width: 640px; }
.service-block ul {
  list-style: none; max-width: 640px;
  margin: 20px 0;
}
.service-block ul li {
  padding: 6px 0; font-size: 0.98rem; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.7;
}
.service-block ul li .icon-svg { flex-shrink: 0; margin-top: 5px; }

.common-problems {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 48px;
  list-style: none; max-width: 680px;
}
.common-problems li {
  padding: 8px 0;
  font-size: 0.95rem; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.65;
}
.common-problems li .icon-svg { flex-shrink: 0; margin-top: 4px; }

/* ---- Book Page / Intake Form ---- */
.book-hero { padding: 150px 0 40px; }
.book-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.book-hero p { margin-top: 20px; max-width: 560px; }

.intake-form {
  max-width: 640px; margin: 56px auto 0;
  padding: 52px 48px;
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--black); margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--warm-200);
}
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600;
  color: var(--black); letter-spacing: 0.02em; margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--warm-200);
  border-radius: 8px;
  color: var(--black);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { cursor: pointer; appearance: none; }
.form-group .hint { font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; }

/* Checkbox group */
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkbox-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 400; color: var(--gray-700);
  cursor: pointer; padding: 10px 14px;
  background: var(--cream); border: 1px solid var(--warm-200);
  border-radius: 8px; transition: border-color 0.2s;
}
.checkbox-group label:hover { border-color: var(--green); }
.checkbox-group input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--green);
  padding: 0; flex-shrink: 0;
}

/* Radio group */
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.92rem; font-weight: 400; color: var(--gray-700);
  cursor: pointer; padding: 10px 18px;
  background: var(--cream); border: 1px solid var(--warm-200);
  border-radius: 8px; transition: border-color 0.2s;
}
.radio-group label:hover { border-color: var(--green); }
.radio-group input[type="radio"] {
  width: 18px; height: 18px; accent-color: var(--green);
  padding: 0; flex-shrink: 0;
}

.form-note {
  text-align: center; padding: 18px; margin-top: 28px;
  border-radius: 8px; background: var(--warm-50);
}
.form-note p { font-size: 0.82rem; color: var(--gray-400); margin: 0 auto; text-align: center; }

.disqualify-msg {
  display: none; text-align: center; padding: 40px;
  margin: 24px auto 0; max-width: 640px;
  background: var(--red-pale);
  border: 1px solid rgba(191, 59, 48, 0.15);
  border-radius: var(--radius);
}
.disqualify-msg h3 { color: var(--red); margin-bottom: 12px; font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.disqualify-msg p { margin: 0 auto; font-size: 0.95rem; text-align: center; }

/* ---- Divider ---- */
.section-divider {
  border: none;
  height: 1px;
  background: var(--warm-200);
  margin: 0;
}

/* ---- SVG Icons ---- */
.icon-svg {
  width: 20px; height: 20px;
  display: inline-block; flex-shrink: 0;
}
.icon-svg.lg { width: 36px; height: 36px; }

/* ---- Legal Pages ---- */
.legal-page { padding: 150px 0 80px; }
.legal-page .container { max-width: 680px; }
.legal-page h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; }
.legal-page .updated { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 48px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 48px; margin-bottom: 16px; }
.legal-page p { margin-bottom: 16px; }
.legal-page ul { list-style: disc; padding-left: 24px; margin: 12px 0 20px; }
.legal-page ul li { font-size: 1rem; color: var(--gray-600); padding: 4px 0; line-height: 1.7; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .fix-grid, .fit-grid, .process-steps { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr !important; }
  .about-grid > div:first-child { max-width: 240px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2)::after { display: none; }
  .common-problems { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 96px; }
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: var(--cream); padding: 24px 36px; gap: 16px;
    border-bottom: 1px solid var(--warm-200);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .nav-toggle { display: block; }
  .hero { min-height: 82vh; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; max-width: 320px; text-align: center; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item::after { display: none; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  .intake-form { padding: 36px 28px; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { padding: 16px 8px; }
  .radio-group { flex-direction: column; }
}
