:root {
  --bg: #110f0d;
  --bg-warm: #1a1714;
  --fg: #f0ebe3;
  --fg-muted: #a89f93;
  --accent: #d4853a;
  --accent-glow: rgba(212, 133, 58, 0.15);
  --burgundy: #6b2d3e;
  --surface: #211e1a;
  --border: rgba(240, 235, 227, 0.08);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- HERO --- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(24px, 5vw, 80px);
  padding-bottom: 60px;
  position: relative;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--accent) 50%, var(--border) 80%, transparent);
}

/* --- NUMBERS --- */
.numbers {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--bg-warm);
}

.numbers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 56px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--fg);
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 380px;
}

/* --- SERVICES --- */
.services {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--bg);
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.service-item:first-child {
  border-top: 1px solid var(--border);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 40px;
  padding-top: 4px;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}

.service-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 600px;
}

/* --- WHO --- */
.who {
  padding: 100px clamp(24px, 5vw, 80px);
  background: var(--bg-warm);
}

.who-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}

.who-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.who-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.who-item p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

/* --- CLOSING --- */
.closing {
  padding: 120px clamp(24px, 5vw, 80px);
  background: var(--bg);
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.closing h2 .accent {
  color: var(--accent);
}

.closing-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.closing-location {
  font-size: 0.85rem;
  color: var(--fg-muted);
  opacity: 0.6;
  font-style: italic;
}

/* --- FOOTER --- */
.site-footer {
  padding: 32px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
}

.footer-email {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* --- MOBILE --- */
@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-bottom: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .service-item {
    flex-direction: column;
    gap: 12px;
  }

  .who-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .numbers,
  .services,
  .who {
    padding: 64px clamp(20px, 5vw, 40px);
  }

  .closing {
    padding: 80px clamp(20px, 5vw, 40px);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .closing h2 {
    font-size: 1.7rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* --- NAV --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 15, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}

.nav-link:hover { color: var(--fg); }

.nav-dropdown { position: relative; }

.nav-link--has-dropdown::after {
  content: ' ↓';
  font-size: 0.7rem;
  opacity: 0.6;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 220px;
  padding: 8px;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown:hover .nav-dropdown-menu { display: flex; }

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--fg-muted);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-item:hover {
  background: rgba(240, 235, 227, 0.05);
  color: var(--fg);
}

.nav-item-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 20px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #1a0f05;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.88; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #1a0f05;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.88; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: transparent;
  color: var(--fg-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.btn-secondary:hover {
  color: var(--fg);
  border-color: rgba(240, 235, 227, 0.2);
}

.btn-full { width: 100%; }

/* --- CLOSING ACTIONS --- */
.closing-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* --- SERVICE ITEM LINK VARIANT --- */
.service-item--link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  gap: 40px;
  padding: 40px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  border-radius: 4px;
}

.service-item--link:first-child { border-top: 1px solid var(--border); }
.service-item--link:hover { background: rgba(240, 235, 227, 0.02); }
.service-item--link:hover .service-arrow { color: var(--accent); transform: translateX(4px); }

.service-arrow {
  margin-left: auto;
  color: var(--fg-muted);
  font-size: 1.2rem;
  padding-top: 4px;
  flex-shrink: 0;
  transition: color 0.15s, transform 0.15s;
}

/* --- PAGE HERO --- */
.page-hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px clamp(24px, 5vw, 80px) 60px;
  position: relative;
  background: var(--bg);
}

.page-hero--short { min-height: 36vh; }

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 20%, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

.page-hero-sub {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg-muted);
}

.service-num-inline {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  margin-right: 4px;
}

/* --- SERVICE DETAIL PAGE --- */
.service-detail {
  padding: 80px clamp(24px, 5vw, 80px) 100px;
  background: var(--bg);
}

.service-detail-inner { max-width: 860px; }

.service-detail-lead {
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.service-detail-lead p {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

.service-detail-section { margin-bottom: 64px; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
}

.detail-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.detail-item p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fg-muted);
}

.service-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 48px;
}

.service-callout p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
}

.service-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- HEALTH CHECK CALCULATOR --- */
.calc-section {
  padding: 80px clamp(24px, 5vw, 80px) 100px;
  background: var(--bg);
}

.calc-inner { max-width: 640px; }

.calc-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 10px;
}

.calc-form-sub {
  font-size: 0.95rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
}

.calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calc-field-hint {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.calc-input-wrap { position: relative; }

.calc-input-wrap input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.15s;
  -moz-appearance: textfield;
}

.calc-input-wrap input::-webkit-outer-spin-button,
.calc-input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.calc-input-wrap input:focus { border-color: var(--accent); }

.calc-input-unit {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fg-muted);
  font-size: 1rem;
  pointer-events: none;
}

.calc-error { color: #e05a5a; font-size: 0.9rem; margin-top: 12px; min-height: 20px; }

.calc-result { padding-top: 8px; }

.result-grade-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.result-grade {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.grade-green { background: rgba(52,168,83,0.15); color: #34a853; border: 1px solid rgba(52,168,83,0.3); }
.grade-yellow { background: rgba(251,188,4,0.12); color: #fbbc04; border: 1px solid rgba(251,188,4,0.3); }
.grade-red { background: rgba(234,67,53,0.12); color: #ea4335; border: 1px solid rgba(234,67,53,0.3); }

.result-grade-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 400px;
}

.result-breakdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}

.result-row {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.result-row:last-child { border-bottom: none; }
.result-row--prime { background: rgba(240,235,227,0.02); }

.result-row-label { font-size: 0.875rem; color: var(--fg-muted); min-width: 80px; }

.result-row-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  min-width: 60px;
}

.result-row-badge {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: auto;
}

.badge-green { background: rgba(52,168,83,0.12); color: #34a853; }
.badge-yellow { background: rgba(251,188,4,0.1); color: #fbbc04; }
.badge-red { background: rgba(234,67,53,0.1); color: #ea4335; }

.recs-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.rec-item { padding: 16px 0; border-top: 1px solid var(--border); }
.rec-item--good { border-top: none; padding: 0 0 16px; }

.rec-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  margin-bottom: 6px;
}

.rec-link:hover { color: var(--accent); }
.rec-item p { font-size: 0.875rem; line-height: 1.65; color: var(--fg-muted); }

.result-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.calc-explainer {
  padding: 80px clamp(24px, 5vw, 80px) 100px;
  background: var(--bg-warm);
}

.calc-explainer-inner { max-width: 1100px; margin: 0 auto; }

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.explainer-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.explainer-item p { font-size: 0.9rem; line-height: 1.7; color: var(--fg-muted); }

/* --- CONSULTATION FORM --- */
.consult-section {
  padding: 80px clamp(24px, 5vw, 80px) 100px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.consult-inner { min-width: 0; }

.consult-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.req { color: var(--accent); }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }

.form-field select option { background: var(--surface); color: var(--fg); }

.form-note { font-size: 0.85rem; line-height: 1.6; color: var(--fg-muted); }
.form-error { color: #e05a5a; font-size: 0.9rem; min-height: 20px; }

.consult-success { text-align: center; padding: 60px 0; }

.success-icon { font-size: 3rem; color: #34a853; margin-bottom: 20px; }

.consult-success h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
}

.consult-success p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 12px;
}

.success-sub a { color: var(--accent); text-decoration: none; }

.consult-aside { padding-top: 16px; display: flex; flex-direction: column; gap: 32px; }

.aside-block {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.aside-block h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 14px;
}

.aside-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.aside-list li {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--fg-muted);
  padding-left: 14px;
  position: relative;
}

.aside-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.aside-list em { color: var(--fg); font-style: italic; }

/* --- ADDITIONAL MOBILE BREAKPOINTS --- */
@media (max-width: 900px) {
  .consult-section { grid-template-columns: 1fr; gap: 48px; }
  .detail-grid { grid-template-columns: 1fr; }
  .explainer-grid { grid-template-columns: 1fr; gap: 32px; }
  .calc-fields { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    z-index: 99;
  }

  .nav-open .nav-links { display: flex; }

  .nav-dropdown-menu {
    position: static !important;
    display: flex !important;
    flex-direction: column;
    border: none;
    background: none;
    padding: 0 0 0 12px;
  }

  .nav-link--has-dropdown::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; justify-content: center; }

  .form-row { grid-template-columns: 1fr; }
  .service-cta-row { flex-direction: column; }
  .result-actions { flex-direction: column; }
  .closing-actions { flex-direction: column; align-items: center; }
}