/* ============================================================
   SCALED SOLUTIONS — Institutional Design System
   Premium financial advisory aesthetic — full dark theme
   ============================================================ */

/* ---- Design Tokens ---- */
:root {
  /* Primary palette — institutional deep navy */
  --navy-900: #060e1a;
  --navy-800: #0a1628;
  --navy-700: #0f2035;
  --navy-600: #162d4a;
  --navy-500: #1e3a5f;

  /* Steel blue — institutional accent */
  --steel-600: #1e4976;
  --steel-500: #2d6a9f;
  --steel-400: #4A8EC4;
  --steel-300: #74AEDD;
  --steel-200: #A4C8E8;

  /* Silver — refined neutral */
  --silver-500: #788AA0;
  --silver-400: #94A3B8;
  --silver-300: #B2BFCF;
  --silver-200: #CBD5E0;
  --silver-100: #E2E8F0;

  /* Amber/Gold — primary CTA accent */
  --amber-700: #92600E;
  --amber-600: #B7791F;
  --amber-500: #D4A017;
  --amber-400: #EAB308;
  --amber-300: #FCD34D;
  --amber-200: #FDE68A;
  --amber-100: #FEF9C3;

  /* Legacy gold aliases (for any remaining references) */
  --gold-600: var(--amber-600);
  --gold-500: var(--amber-500);
  --gold-400: var(--amber-400);
  --gold-300: var(--amber-300);
  --gold-200: var(--amber-200);
  --gold-100: var(--amber-100);

  /* On-dark text scale */
  --text-on-dark-primary: #FFFFFF;
  --text-on-dark-secondary: rgba(255, 255, 255, 0.70);
  --text-on-dark-tertiary: rgba(255, 255, 255, 0.45);
  --text-on-dark-muted: rgba(255, 255, 255, 0.30);

  /* Semantic */
  --white: #ffffff;
  --bg-primary: var(--navy-800);
  --bg-alt: var(--navy-700);
  --bg-dark: var(--navy-800);
  --text-primary: var(--text-on-dark-primary);
  --text-secondary: var(--text-on-dark-secondary);
  --text-tertiary: var(--text-on-dark-tertiary);
  --border: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(255, 255, 255, 0.06);

  /* Glass card surface */
  --glass-surface: rgba(255, 255, 255, 0.04);
  --glass-surface-hover: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.09);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.14em;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Radii */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  /* Shadows — dark-aware */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.30), 0 1px 3px rgba(0, 0, 0, 0.20);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.40), 0 4px 12px rgba(0, 0, 0, 0.20);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.50), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-amber: 0 4px 20px rgba(212, 160, 23, 0.20);
  --shadow-gold: 0 4px 20px rgba(212, 160, 23, 0.20);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --nav-height: 72px;
  --container-max: 1140px;
  --container-narrow: 780px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--text-primary);
  line-height: 1.6;
  padding-top: var(--nav-height);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ---- Layout ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--navy-700);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-top: var(--space-sm);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: var(--space-md);
  display: block;
}

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--navy-900);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 1000;
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.40);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-wordmark {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--amber-400);
  transform: scaleX(0);
  transition: transform var(--duration-normal) var(--ease-out);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Nav CTA — amber/gold fill, navy text */
.btn-nav-cta {
  background: var(--amber-500);
  color: var(--navy-800);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: all var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
  border: 1.5px solid var(--amber-500);
}

.btn-nav-cta:hover {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--amber-500);
  color: var(--navy-900);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1.5px solid var(--amber-500);
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--amber-400);
  border-color: var(--amber-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.60);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--amber-500);
  color: var(--navy-900);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1.5px solid var(--amber-500);
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn-navy:hover {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-amber);
}

.btn-large {
  padding: 18px 36px;
  font-size: 0.98rem;
}

.btn-submit {
  width: 100%;
  border: none;
  font-size: 0.95rem;
  justify-content: center;
}

/* ---- Badge ---- */
.badge {
  background: rgba(212, 160, 23, 0.12);
  color: var(--amber-300);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  display: inline-block;
  border: 1px solid rgba(212, 160, 23, 0.25);
}

/* ---- Hero ---- */
.hero {
  background: var(--navy-800);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle depth layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 40%, rgba(46, 106, 159, 0.18) 0%, transparent 65%),
              radial-gradient(ellipse 60% 50% at 85% 60%, rgba(6, 14, 26, 0.60) 0%, transparent 65%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-home {
  min-height: 88vh;
  padding: var(--space-4xl) 0;
}

.hero-inner {
  min-height: 55vh;
  padding: var(--space-4xl) 0;
}

.hero-blog-post {
  min-height: 45vh;
}

.hero-blog {
  min-height: 45vh;
}

.hero-inner-content {
  max-width: var(--container-narrow);
}

.hero-inner-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-inner-content .section-label {
  color: var(--amber-300);
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.08;
  font-style: italic;
  font-weight: 300;
  color: var(--white);
  letter-spacing: var(--tracking-tight);
}

.hero-h1 em {
  font-style: italic;
  color: var(--amber-400);
}

.hero-subhead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.hero-inner .hero-inner-content {
  padding: 0;
}

/* Hero home layout — two-column */
.hero-home .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero-content .section-label {
  color: var(--amber-300);
}

/* ---- Hero Stats ---- */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  min-width: 200px;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: border-color var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-card:hover {
  border-color: rgba(212, 160, 23, 0.30);
  background: rgba(255, 255, 255, 0.07);
}

/* Stat icon */
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--amber-400);
  opacity: 0.85;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--amber-400);
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* ---- Pain Points ---- */
.section-problem {
  background: var(--navy-700);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: var(--space-2xl);
}

.pain-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.pain-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber-500), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.pain-card:hover::after {
  opacity: 1;
}

.pain-number {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: var(--space-md);
  opacity: 0.6;
}

.pain-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.65;
}

.pain-text strong {
  color: var(--white);
  font-weight: 600;
}

.problem-bridge {
  background: rgba(212, 160, 23, 0.07);
  border-left: 3px solid var(--amber-500);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid rgba(212, 160, 23, 0.12);
  border-bottom: 1px solid rgba(212, 160, 23, 0.12);
  border-right: 1px solid rgba(212, 160, 23, 0.07);
}

.problem-bridge p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.6;
}

/* ---- Services Grid (Home) ---- */
.section-services {
  background: var(--navy-800);
}

.services-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.service-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
}

.service-card.featured {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(212, 160, 23, 0.20);
  box-shadow: var(--shadow-md);
}

.service-card.featured:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 160, 23, 0.35);
}

.service-card.featured .badge {
  align-self: flex-start;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  flex: 1;
}

.service-link {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--amber-400);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast);
}

.service-link:hover {
  color: var(--amber-300);
}

.service-link-navy {
  color: var(--amber-400);
}

.service-link-navy:hover {
  color: var(--amber-300);
}

/* ---- Testimonials ---- */
.section-testimonials {
  background: var(--navy-700);
}

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

.testimonial-card {
  background: var(--glass-surface);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--amber-500);
  display: block;
  margin-bottom: -8px;
  opacity: 0.55;
}

.testimonial-text {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  flex: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--white);
}

.author-title {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.48);
}

/* ---- Guarantee Section ---- */
.section-guarantee {
  background: var(--navy-900);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-guarantee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(212, 160, 23, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.guarantee-block {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.section-guarantee h2 {
  color: var(--amber-400);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.section-guarantee .prose {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.section-guarantee .prose p {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.72);
}

.section-guarantee .section-label {
  color: var(--amber-400);
}

/* ---- CTA Band ---- */
.cta-band {
  background: var(--navy-900);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-500), transparent);
}

.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.cta-band-accent {
  width: 40px;
  height: 2px;
  background: var(--amber-500);
  border-radius: 1px;
}

.cta-band-h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-style: italic;
}

.cta-band-subtext {
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.98rem;
  max-width: 500px;
  line-height: 1.7;
}

/* ---- Services Detail Page ---- */
.service-section {
  padding: var(--space-4xl) 0;
  background: var(--navy-800);
}

.service-section.section-alt {
  background: var(--navy-700);
}

.service-detail {
  max-width: 920px;
}

.service-detail-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.service-detail-header h2 {
  margin-top: 0;
}

.featured-detail {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-2xl) var(--space-2xl);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.service-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 700px;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  align-items: start;
}

.what-you-get-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: var(--space-md);
}

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

.service-list li {
  padding-left: 18px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber-500);
}

.service-list li strong {
  color: var(--white);
}

.outcome-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.outcome-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--amber-300);
  margin-bottom: 12px;
}

.outcome-stat {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--amber-400);
  line-height: 1.1;
}

.outcome-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  line-height: 1.5;
}

.outcome-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 16px 0;
}

.outcome-highlight {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

/* ---- About Page ---- */
.about-origin {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-text .section-label {
  display: block;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: var(--space-lg);
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--white);
  font-weight: 600;
}

.pull-quote {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.6;
}

.pull-quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--amber-500);
  display: block;
  line-height: 0.8;
  margin-bottom: 8px;
  opacity: 0.55;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.advantage-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-surface);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 160, 23, 0.25);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.20);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-title {
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 500;
}

.advantage-body {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: var(--container-narrow);
}

.value-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  align-items: baseline;
}

.value-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.value-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-500);
  flex-shrink: 0;
}

.value-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

/* ---- Blog Index ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.blog-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.40);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
}

.blog-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast);
}

.blog-card-title a:hover {
  color: var(--amber-400);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.7;
  flex: 1;
}

.blog-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--duration-fast);
  letter-spacing: 0.02em;
}

.blog-read-more:hover {
  color: var(--amber-400);
}

.blog-empty {
  text-align: center;
  padding: var(--space-4xl) 0;
}

.blog-empty-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.blog-empty-subtext {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.95rem;
}

.blog-empty-subtext a {
  color: var(--amber-400);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 160, 23, 0.35);
  text-underline-offset: 2px;
}

/* ---- Blog Post ---- */
.blog-article {
  min-height: 100vh;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.blog-post-h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 680px;
}

.blog-post-excerpt {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 8px;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: var(--space-3xl);
  align-items: start;
}

.blog-post-content {
  max-width: 680px;
}

/* Prose styles */
.prose h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
  color: var(--white);
}

.prose h3 {
  margin-top: var(--space-xl);
  margin-bottom: 12px;
  font-size: 1.15rem;
  color: var(--white);
}

.prose ul, .prose ol {
  margin: var(--space-md) 0 var(--space-lg) 0;
  padding-left: var(--space-lg);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.prose blockquote {
  border-left: 3px solid var(--amber-500);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  background: rgba(212, 160, 23, 0.07);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose blockquote p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.blog-post-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}

.sidebar-cta-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-cta-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--amber-400);
}

.sidebar-cta-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
}

.sidebar-cta-body {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
}

.sidebar-cta-btn {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-size: 0.85rem;
  justify-content: center;
}

.blog-back {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-back-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.blog-back-link:hover {
  color: var(--white);
}

/* ---- Contact Page ---- */
.contact-section {
  background: var(--navy-800);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.booking-placeholder {
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.booking-placeholder-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.booking-icon {
  font-size: 2rem;
  display: block;
}

.booking-placeholder p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.booking-placeholder a {
  color: var(--amber-400);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

.form-required {
  color: #f87171;
  margin-left: 2px;
}

.form-optional {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.40);
  font-size: 0.78rem;
}

.form-input,
.form-select,
.form-textarea {
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color var(--duration-fast),
              box-shadow var(--duration-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber-400);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Fix select option visibility on dark bg */
.form-select option {
  background: var(--navy-700);
  color: var(--white);
}

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

.form-status {
  font-size: 0.88rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #6EE7B7;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  color: #FCA5A5;
}

/* What to Expect */
.expect-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
}

.expect-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.expect-connector {
  flex-shrink: 0;
  width: 48px;
  height: 1.5px;
  background: var(--amber-500);
  margin-top: 28px;
  opacity: 0.25;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.25);
  color: var(--amber-400);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
}

.step-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.65;
  max-width: 200px;
}

.step-time {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--amber-400);
}

/* ---- Guarantee Reminder (contact page) ---- */
.guarantee-reminder {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.20);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
}

.guarantee-reminder p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.guarantee-reminder strong {
  color: var(--amber-300);
}

/* ---- FAQ ---- */
.section-pad {
  padding: var(--space-4xl) 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: var(--space-lg) 0;
}

.faq-item h3 {
  color: var(--white) !important;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.65) !important;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: var(--space-md);
  line-height: 1.7;
}

.hero-sub a {
  color: var(--amber-400);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(212, 160, 23, 0.40);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-900);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-2xl);
  padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 320px;
}

.footer-logo {
  text-decoration: none;
}

.footer-wordmark {
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer-nav a:hover {
  color: var(--amber-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-lg);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.30);
  line-height: 1.5;
}

.footer-compliance {
  font-size: 0.7rem !important;
  color: rgba(255, 255, 255, 0.20) !important;
}

/* ---- Scroll Animations ---- */
.animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-home .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .stat-card {
    min-width: 140px;
    flex: 1;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-post-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .blog-post-sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Navbar mobile */
  .hamburger {
    display: flex;
  }

  .btn-nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--navy-900);
    backdrop-filter: none;
    flex-direction: column;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

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

  .nav-link {
    padding: 12px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
  }

  .nav-link::after {
    display: none;
  }

  /* Hero mobile */
  .hero-home {
    min-height: auto;
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-subhead {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .stat-card {
    min-width: 130px;
    flex: 1;
    padding: 16px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .hero-inner {
    text-align: center;
    padding: var(--space-3xl) 0;
  }

  .hero-inner-content {
    align-items: center;
  }

  /* Pain grid */
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* About */
  .about-origin {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .pull-quote {
    position: static;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .value-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Services detail */
  .service-detail-body {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .featured-detail {
    padding: var(--space-lg);
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .expect-steps {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .expect-connector {
    width: 1.5px;
    height: 24px;
    margin: 0;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .footer-bottom .container {
    text-align: center;
  }

  /* CTA Band */
  .cta-band {
    padding: var(--space-3xl) 0;
  }

  /* Section padding */
  .section-guarantee {
    padding: var(--space-3xl) 0;
  }

  .section-pad {
    padding: var(--space-3xl) 0;
  }
}

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

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline,
  .btn-navy {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
  }

  .stat-card {
    min-width: auto;
  }

  .container {
    padding: 0 var(--space-md);
  }
}

/* ---- Print Styles ---- */
@media print {
  .navbar, .footer, .cta-band {
    display: none;
  }

  body {
    padding-top: 0;
    background: #fff;
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }
}
