/* ================================================================
   JEAN HINZ — KI-Beratung Website
   Design: Premium Editorial Consulting
   Colors: Deep Navy + Warm Copper/Gold
   Typography: Cormorant Garamond (display) + Manrope (body)
   ================================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Colors */
  --dark: #0C1222;
  --dark-surface: #111827;
  --navy: #1A2332;
  --accent: #C8873A;
  --accent-light: #E5A54D;
  --accent-glow: rgba(200, 135, 58, 0.15);
  --white: #FFFFFF;
  --off-white: #FAFAF8;
  --warm-gray: #F3F1ED;
  --text-primary: #1B1F2A;
  --text-secondary: #5A6275;
  --text-muted: #8B95A8;
  --text-on-dark: #E2E5EB;
  --border: #E5E2DC;
  --border-dark: #2A3444;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  
  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1400px;
  
  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
h4 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.large-text {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container--narrow { max-width: var(--container-narrow); }
.container--wide { max-width: var(--container-wide); }

section {
  padding: var(--section-pad) 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 16px 36px;
  border-radius: 6px;
  transition: all 0.4s var(--ease);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200, 135, 58, 0.3);
}
.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 30px rgba(200, 135, 58, 0.45);
  transform: translateY(-2px);
}

.btn--outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--dark);
}
.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 20px 48px;
  font-size: 1.05rem;
}

.btn-arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: all 0.4s var(--ease);
}

.nav--transparent {
  background: transparent;
}

.nav--scrolled {
  background: rgba(12, 18, 34, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.85rem !important;
  padding: 11px 24px !important;
  color: var(--white) !important;
  background: var(--accent);
  border-radius: 5px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease) !important;
}
.nav__cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}
.nav__cta::after { display: none !important; }

/* Mobile Nav */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.nav__mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav__mobile-overlay.active { display: flex; }
.nav__mobile-overlay a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(200, 135, 58, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 135, 58, 0.1);
  border: 1px solid rgba(200, 135, 58, 0.25);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.1s var(--ease-out) both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero__sub {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--text-on-dark);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 640px;
  animation: fadeInUp 0.8s 0.2s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s var(--ease-out) both;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-dark);
  animation: fadeInUp 0.8s 0.4s var(--ease-out) both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}
.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--off-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar__logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
  white-space: nowrap;
}
.trust-bar__logo:hover { opacity: 0.8; }

/* --- KI Zeitrechner --- */
.loss-calculator-section {
  padding: 40px 0 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(200, 135, 58, 0.1) 0%, transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(12, 18, 34, 0.05) 0%, transparent 24%),
    linear-gradient(180deg, #faf8f3 0%, #ffffff 100%);
}

.loss-calculator-section--standalone {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 135, 58, 0.14) 0%, transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(12, 18, 34, 0.08) 0%, transparent 24%),
    linear-gradient(180deg, #f6f1e8 0%, #ffffff 100%);
}

.loss-calculator {
  --calc-primary: #C8873A;
  --calc-primary-deep: #A36A2C;
  --calc-bg: #ffffff;
  --calc-surface: #f8f4ed;
  --calc-surface-strong: #111827;
  --calc-text: #1B1F2A;
  --calc-text-muted: #667085;
  --calc-danger: #B84A3A;
  --calc-font-display: var(--font-display);
  --calc-font-body: var(--font-body);
}

.js-ready .loss-calculator {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.loss-calculator.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loss-calculator__shell {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(248,244,237,1) 100%),
    var(--calc-bg);
  border: 1px solid rgba(200, 135, 58, 0.14);
  box-shadow: 0 24px 70px rgba(12, 18, 34, 0.08);
}

.loss-calculator__shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(200, 135, 58, 0.14) 0%, transparent 30%),
    radial-gradient(circle at bottom left, rgba(12, 18, 34, 0.04) 0%, transparent 26%);
  pointer-events: none;
}

.loss-calculator__intro,
.loss-calculator__layout {
  position: relative;
  z-index: 1;
}

.loss-calculator__intro {
  max-width: 720px;
  margin-bottom: 34px;
  text-align: center;
  margin-inline: auto;
}

.loss-calculator__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(200, 135, 58, 0.2);
  background: rgba(200, 135, 58, 0.08);
  color: var(--calc-primary);
  font-family: var(--calc-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loss-calculator__intro h2,
.loss-calculator__intro h1 {
  margin: 18px 0 16px;
  color: var(--calc-text);
  font-family: var(--calc-font-display);
  font-size: clamp(2.3rem, 4.4vw, 4.2rem);
  line-height: 1.05;
}

.loss-calculator__intro p {
  max-width: 720px;
  color: var(--calc-text-muted);
  font-family: var(--calc-font-body);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-inline: auto;
}

.loss-calculator__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.loss-calculator__controls {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(12, 18, 34, 0.06);
}

.loss-calculator__field {
  display: grid;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--calc-surface);
  border: 1px solid rgba(12, 18, 34, 0.06);
}

.loss-calculator__field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.loss-calculator__label {
  color: var(--calc-text-muted);
  font-family: var(--calc-font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

.loss-calculator__value {
  color: var(--calc-primary);
  font-family: var(--calc-font-body);
  font-size: 1rem;
  font-weight: 600;
}

.loss-calculator__range {
  --range-fill: 0%;
  appearance: none;
  width: 100%;
  height: 20px;
  background: transparent;
  cursor: pointer;
}

.loss-calculator__range:focus-visible {
  outline: none;
}

.loss-calculator__range::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--calc-primary) 0%, var(--calc-primary-deep) var(--range-fill), rgba(27,31,42,0.12) var(--range-fill), rgba(27,31,42,0.12) 100%);
}

.loss-calculator__range::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(27,31,42,0.12);
}

.loss-calculator__range::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--calc-primary) 0%, var(--calc-primary-deep) 100%);
}

.loss-calculator__range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  border: none;
  background: var(--calc-primary);
  box-shadow: 0 0 0 6px rgba(200, 135, 58, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.loss-calculator__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background: var(--calc-primary);
  box-shadow: 0 0 0 6px rgba(200, 135, 58, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.loss-calculator__range.is-dragging::-webkit-slider-thumb,
.loss-calculator__range.is-dragging::-moz-range-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px rgba(200, 135, 58, 0.22);
}

.loss-calculator__result-wrap {
  display: grid;
  gap: 18px;
}

.loss-calculator__result {
  padding: clamp(28px, 4vw, 38px);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(17, 24, 39, 0.98) 0%, rgba(26, 35, 50, 0.96) 100%);
  border: 1px solid rgba(200,135,58,0.18);
  box-shadow: 0 24px 50px rgba(12,18,34,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.loss-calculator__result.is-pulse {
  animation: calculatorPulse 0.45s ease 1;
}

.loss-calculator__result-kicker {
  color: rgba(255,255,255,0.72);
  font-family: var(--calc-font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loss-calculator__amount {
  margin: 14px 0 10px;
  color: #ffffff;
  font-family: var(--calc-font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.loss-calculator__subline {
  color: rgba(255,255,255,0.76);
  font-family: var(--calc-font-body);
  font-size: 0.92rem;
  line-height: 1.75;
}

.loss-calculator__cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  padding: 18px 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #C8873A 0%, #E5A54D 100%);
  color: #111827;
  font-family: var(--calc-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 34px rgba(200,135,58,0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.loss-calculator__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(200,135,58,0.34);
}

.loss-calculator__nudge {
  color: var(--calc-text-muted);
  font-family: var(--calc-font-body);
  font-size: 0.82rem;
  text-align: center;
}

@keyframes calculatorPulse {
  0% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 rgba(255,68,68,0); }
  50% { transform: scale(1.015); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 28px rgba(255,68,68,0.18); }
  100% { transform: scale(1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 0 0 rgba(255,68,68,0); }
}

/* --- Problem Section --- */
.problem {
  background: var(--white);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.problem__text h2 {
  margin-bottom: 32px;
}

.problem__items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.problem__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.problem__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #FEF2F2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #DC2626;
}

.problem__item p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.problem__item p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.problem__visual {
  background: var(--warm-gray);
  border-radius: 16px;
  padding: 48px;
  position: relative;
}

.problem__cost-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.problem__cost-header {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.problem__cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.problem__cost-row:last-child { border: none; }

.problem__cost-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.problem__cost-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #DC2626;
}

.problem__cost-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.problem__cost-total-label {
  font-weight: 700;
  font-size: 1rem;
}
.problem__cost-total-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #DC2626;
}

/* --- Solution Section --- */
.solution {
  background: var(--off-white);
}

.solution__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.solution__header .eyebrow { margin-bottom: 16px; }
.solution__header h2 { margin-bottom: 20px; }
.solution__header p { color: var(--text-secondary); font-size: 1.1rem; }

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

.solution__card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
}
.solution__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.solution__card-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 24px;
  right: 28px;
}

.solution__card h4 {
  margin-bottom: 16px;
  padding-right: 40px;
}

.solution__card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* --- Social Proof / Results Section --- */
.results {
  background: var(--dark);
  color: var(--white);
}

.results__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.results__header .eyebrow { margin-bottom: 16px; }
.results__header h2 { color: var(--white); margin-bottom: 20px; }
.results__header p { color: var(--text-on-dark); font-size: 1.1rem; }

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

.result-card {
  background: var(--dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 36px 32px;
  transition: all 0.4s var(--ease);
}
.result-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.result-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 135, 58, 0.1);
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.result-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.result-card__metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.result-card__metric-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-light);
}
.result-card__metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.result-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Packages Section --- */
.packages {
  background: var(--white);
}

.packages__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.packages__header .eyebrow { margin-bottom: 16px; }
.packages__header h2 { margin-bottom: 20px; }

.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.package-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease);
  position: relative;
  background: var(--white);
}
.package-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.package-card--featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(200, 135, 58, 0.12);
}

.package-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.package-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.package-card__target {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.package-card__price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.package-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.package-card__price-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.package-card__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}

.package-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.package-card__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.package-card .btn {
  width: 100%;
  justify-content: center;
}

/* --- Process Section --- */
.process {
  background: var(--off-white);
}

.process__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.process__header .eyebrow { margin-bottom: 16px; }

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__step {
  text-align: center;
  position: relative;
}

.process__step-number {
  width: 60px;
  height: 60px;
  background: var(--dark);
  color: var(--accent-light);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process__step h4 {
  margin-bottom: 12px;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- About Teaser --- */
.about-teaser {
  background: var(--white);
}

.about-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-teaser__image {
  background: var(--warm-gray);
  border-radius: 16px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}

.about-teaser__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  background: linear-gradient(135deg, var(--warm-gray) 0%, #E8E4DE 100%);
}

.about-teaser__content .eyebrow { margin-bottom: 16px; }
.about-teaser__content h2 { margin-bottom: 24px; }
.about-teaser__content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-teaser__creds {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  margin-bottom: 36px;
}

.about-teaser__cred {
  display: flex;
  flex-direction: column;
}
.about-teaser__cred-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.about-teaser__cred-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq {
  background: var(--off-white);
}

.faq__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.faq__header .eyebrow { margin-bottom: 16px; }

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq__item:hover { border-color: var(--accent); }
.faq__item.active { border-color: var(--accent); }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.faq__item.active .faq__icon {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer-inner {
  padding: 0 28px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* --- Final CTA Section --- */
.final-cta {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200, 135, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.final-cta .eyebrow { margin-bottom: 16px; }
.final-cta h2 { color: var(--white); margin-bottom: 24px; }
.final-cta p {
  color: var(--text-on-dark);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
}

.final-cta__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 20px;
}

/* --- Footer --- */
.footer {
  background: var(--dark-surface);
  padding: 64px 0 32px;
  color: var(--text-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer__brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer__heading {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--accent-light); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 0.8rem;
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a { transition: color 0.3s; }
.footer__bottom-links a:hover { color: var(--accent-light); }

/* --- Page Headers (Subpages) --- */
.page-header {
  background: var(--dark);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(200, 135, 58, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
.page-header p { color: var(--text-on-dark); font-size: 1.15rem; line-height: 1.8; }

/* --- Services Detail Cards --- */
.service-detail {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:nth-child(even) { background: var(--off-white); }

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.service-detail__content .eyebrow { margin-bottom: 12px; }
.service-detail__content h2 { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.service-detail__content > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.service-detail__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.service-detail__list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.service-detail__sidebar {
  background: var(--warm-gray);
  border-radius: 16px;
  padding: 40px;
  position: sticky;
  top: 100px;
}

.service-detail__sidebar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.service-detail__sidebar-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.service-detail__sidebar-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.service-detail__sidebar-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.service-detail__sidebar-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-detail__sidebar-info li strong {
  color: var(--text-primary);
}

/* --- Case Study Cards --- */
.case-study {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  margin-bottom: 32px;
}
.case-study:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.case-study__header {
  background: var(--off-white);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.case-study__company {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.case-study__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 14px;
  border-radius: 4px;
}

.case-study__body {
  padding: 40px;
}

.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.case-study__metric {
  text-align: center;
  padding: 20px;
  background: var(--off-white);
  border-radius: 10px;
}

.case-study__metric-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.case-study__metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.case-study__text h4 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.case-study__text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-primary);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

/* --- Blog Cards --- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.blog-card__image {
  height: 200px;
  background: var(--warm-gray);
  position: relative;
}

.blog-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 4px;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* --- Sticky CTA Bar (Mobile) --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 14px 20px;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-cta .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .problem__grid,
  .about-teaser__grid,
  .service-detail__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .packages__grid,
  .solution__grid,
  .results__grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .case-study__metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero__proof { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .about-teaser__creds { flex-direction: column; gap: 20px; }
  .process__steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .trust-bar__inner { flex-direction: column; gap: 20px; }
}

/* --- Responsive Helper Classes for Inline-Grid Pages --- */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.grid-2-col--wide-right {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.grid-2-col--wide-left {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2-col-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 1024px) {
  .grid-2-col,
  .grid-2-col--wide-right,
  .grid-2-col--wide-left {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3-col {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .grid-2-col-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .grid-4-col {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Blog Featured Post Responsive --- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }

/* --- Special: Floating Stats Bar on Hero --- */
.hero__floating-stats {
  position: absolute;
  right: clamp(20px, 4vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  z-index: 3;
}

@media (max-width: 1200px) {
  .hero__floating-stats { display: none; }
}

.hero__floating-stat {
  text-align: right;
  opacity: 0;
  animation: fadeInUp 0.6s var(--ease-out) both;
}
.hero__floating-stat:nth-child(1) { animation-delay: 0.5s; }
.hero__floating-stat:nth-child(2) { animation-delay: 0.65s; }
.hero__floating-stat:nth-child(3) { animation-delay: 0.8s; }

.hero__floating-stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.hero__floating-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* --- Claude Hub Spotlight --- */
.hub-spotlight {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
  border-bottom: 1px solid var(--border);
}

.hub-spotlight__wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 40px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(12, 18, 34, 0.06);
}

.hub-spotlight__copy h2 {
  margin: 14px 0 18px;
}

.hub-spotlight__copy p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 640px;
}

.hub-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hub-spotlight__cards {
  display: grid;
  gap: 16px;
}

.hub-spotlight__card {
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(200, 135, 58, 0.08) 0%, rgba(12, 18, 34, 0.02) 100%);
  border: 1px solid rgba(200, 135, 58, 0.18);
}

.hub-spotlight__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.hub-spotlight__card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Claude Guide --- */
.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 96px;
  background: var(--dark);
}

.guide-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 135, 58, 0.18) 0%, transparent 38%),
    radial-gradient(circle at 82% 24%, rgba(59, 130, 246, 0.12) 0%, transparent 34%),
    linear-gradient(180deg, rgba(12, 18, 34, 0.92) 0%, rgba(12, 18, 34, 1) 100%);
}

.guide-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,1), rgba(0,0,0,0.55));
}

.guide-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 360px);
  gap: 40px;
  align-items: end;
}

.guide-hero__content h1 {
  color: var(--white);
  margin: 18px 0 24px;
  max-width: 780px;
}

.guide-hero__lead {
  color: var(--text-on-dark);
  font-size: 1.14rem;
  line-height: 1.85;
  max-width: 740px;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.guide-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(200, 135, 58, 0.12);
  border: 1px solid rgba(200, 135, 58, 0.24);
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.guide-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.guide-hero__panel {
  padding: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.guide-hero__panel-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.guide-hero__panel-copy {
  color: var(--white);
  line-height: 1.8;
  font-size: 0.98rem;
}

.guide-hero__meta {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.guide-hero__meta span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.guide-hero__meta strong {
  color: var(--white);
  font-size: 0.95rem;
}

.guide-topbar {
  padding: 18px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.guide-topbar__inner {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.guide-shell {
  padding: 56px 0 var(--section-pad);
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}

.guide-toc {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--off-white);
}

.guide-toc__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.guide-toc a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 8px 0;
}

.guide-toc a:hover {
  color: var(--accent);
}

.guide-article {
  max-width: 860px;
}

.guide-callout {
  padding: 26px 28px;
  margin-bottom: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(200, 135, 58, 0.12) 0%, rgba(200, 135, 58, 0.05) 100%);
  border: 1px solid rgba(200, 135, 58, 0.2);
}

.guide-callout p {
  font-size: 1.03rem;
  line-height: 1.8;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.guide-grid--compact {
  margin: 24px 0 12px;
}

.guide-stat-card,
.guide-mini-card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(12, 18, 34, 0.04);
}

.guide-stat-card__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.guide-stat-card strong,
.guide-mini-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  margin-bottom: 10px;
}

.guide-stat-card p,
.guide-mini-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.guide-section {
  padding: 0;
  margin-top: 54px;
}

.guide-section--last {
  margin-bottom: 0;
}

.guide-section h2 {
  margin: 12px 0 20px;
}

.guide-section h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.guide-section p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 18px;
}

.guide-section a {
  color: var(--accent);
  font-weight: 600;
}

.guide-definition,
.guide-note {
  padding: 22px 24px;
  margin: 24px 0;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.guide-definition strong,
.guide-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.guide-product-list,
.guide-links-grid {
  display: grid;
  gap: 18px;
}

.guide-product-card,
.guide-link-card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.guide-product-card:hover,
.guide-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(12, 18, 34, 0.08);
  border-color: rgba(200, 135, 58, 0.32);
}

.guide-product-card h3,
.guide-link-card strong {
  margin-bottom: 10px;
}

.guide-link-card span {
  display: block;
  color: var(--text-secondary);
  line-height: 1.7;
}

.guide-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background: var(--white);
}

.guide-table th,
.guide-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.96rem;
}

.guide-table thead th {
  background: var(--off-white);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guide-steps {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.guide-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.guide-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.guide-step p {
  margin-bottom: 0;
}

.guide-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-list-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.guide-list-card ul {
  margin-left: 18px;
  color: var(--text-secondary);
}

.guide-list-card li + li {
  margin-top: 10px;
}

.faq-simple {
  display: grid;
  gap: 18px;
}

.faq-simple__item {
  padding: 24px;
  border-radius: 18px;
  background: var(--off-white);
  border: 1px solid var(--border);
}

.faq-simple__item h3 {
  margin-bottom: 10px;
}

.faq-simple__item p {
  margin-bottom: 0;
}

.guide-cta-box {
  margin-top: 24px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
}

.guide-cta-box p {
  color: var(--text-on-dark);
  margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .guide-layout,
  .guide-hero__layout,
  .hub-spotlight__wrap,
  .loss-calculator__layout {
    grid-template-columns: 1fr;
  }

  .guide-toc {
    position: static;
  }
}

@media (max-width: 900px) {
  .nav__links {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .guide-hero {
    padding: 132px 0 80px;
  }

  .guide-grid,
  .guide-two-col {
    grid-template-columns: 1fr;
  }

  .hub-spotlight__wrap,
  .guide-hero__panel,
  .guide-callout,
  .guide-step,
  .guide-list-card,
  .faq-simple__item,
  .guide-cta-box,
  .loss-calculator__shell {
    padding: 22px;
  }

  .loss-calculator-section {
    padding-top: 24px;
  }

  .loss-calculator__field {
    padding: 18px 18px 16px;
  }

  .loss-calculator__field-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .loss-calculator__cta {
    padding-inline: 20px;
    font-size: 0.95rem;
  }
}
