/* ============================================================
   TELOS INTELLIGENCE — GLOBAL STYLESHEET
   Brand: The Stoic Palette v2.0 (Charcoal + Amber)
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Primary Palette */
  --charcoal:       #1B1F2A;
  --amber:          #C9820A;
  --parchment:      #F5EDD6;
  --slate:          #6E7C8A;

  /* Secondary Palette */
  --charcoal-light: #2D3346;
  --amber-light:    #E09B2E;
  --amber-muted:    #A06A08;
  --off-white:      #FAFAF8;
  --stone:          #8C8678;
  --alert-red:      #C0392B;

  /* Typography */
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--amber);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--amber-light);
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Defaults ---------- */
section {
  padding: var(--section-padding);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.15;
  color: inherit;
}

h1 { font-size: clamp(36px, 5vw, 52px); font-weight: bold; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: bold; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: bold; }

.display-headline {
  font-size: clamp(42px, 6vw, 64px);
  font-family: var(--font-serif);
  font-weight: bold;
  line-height: 1.1;
}

p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: inherit;
}

.lead {
  font-size: 18px;
  line-height: 1.65;
}

.text-amber { color: var(--amber); }
.text-slate  { color: var(--slate); }
.text-white  { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--amber-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,130,10,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(27, 31, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,130,10,0.15);
  transition: box-shadow var(--transition);
}

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

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.navbar-brand img {
  height: 36px;
  width: auto;
  /* Logo has white background — show in a clean white badge */
  background: #fff;
  padding: 4px 10px;
  border-radius: 3px;
}

.navbar-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.navbar-nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #fff;
  border-bottom-color: var(--amber);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--charcoal);
  z-index: 999;
  padding: 24px;
  border-top: 1px solid rgba(201,130,10,0.2);
  transform: translateY(-100%);
  opacity: 0;
  transition: all var(--transition-slow);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
}

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

.mobile-nav .mobile-cta {
  margin-top: 20px;
}

/* ---------- Hero Section ---------- */
.hero {
  background: var(--charcoal);
  color: #fff;
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,130,10,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,130,10,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(46px, 6.5vw, 72px);
  line-height: 1.05;
  margin-bottom: 24px;
  color: #fff;
}

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

.hero-sub {
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}

.hero-scroll svg {
  color: rgba(255,255,255,0.3);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--charcoal-light);
  padding: 0;
  border-bottom: 1px solid rgba(201,130,10,0.15);
}

.stats-bar-intro {
  text-align: center;
  padding: 32px 24px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  divide-columns: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
  padding: 36px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: bold;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ---------- Problem Section ---------- */
.problem-section {
  background: var(--parchment);
  padding: var(--section-padding);
}

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

.problem-content h2 {
  margin-bottom: 24px;
}

.problem-content p {
  margin-bottom: 20px;
  color: var(--charcoal);
  opacity: 0.85;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.problem-stat-card {
  background: var(--charcoal);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.problem-stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
}

.problem-stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: bold;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
  min-width: 100px;
}

.problem-stat-text {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

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

.solution-header {
  text-align: left;
  max-width: 880px;
  margin-bottom: 64px;
}

.solution-header h2 {
  margin-bottom: 20px;
  white-space: nowrap;
  font-size: clamp(26px, 3vw, 38px);
}

@media (max-width: 640px) {
  .solution-header h2 { white-space: normal; }
}

.solution-header p {
  font-size: 17px;
  color: rgba(27,31,42,0.75);
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
}

.solution-card {
  background: var(--off-white);
  padding: 48px 36px;
  transition: background var(--transition);
}

.solution-card:hover {
  background: var(--parchment);
}

.solution-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-icon svg {
  color: var(--amber);
}

.solution-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.solution-card p {
  font-size: 15px;
  color: rgba(27,31,42,0.7);
  line-height: 1.65;
}

/* ---------- Services Section ---------- */
.services-section {
  background: var(--charcoal);
  padding: var(--section-padding);
  color: #fff;
}

.services-header {
  margin-bottom: 64px;
}

.services-header h2 {
  color: #fff;
  margin-bottom: 16px;
}

.services-header p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  max-width: 560px;
}

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

.service-card {
  background: var(--parchment);
  padding: 40px 36px 36px;
  border: 1px solid rgba(201,130,10,0.18);
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: #fff;
  border-color: rgba(201,130,10,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-layer {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-muted);
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.service-price {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(27,31,42,0.1);
}

.service-card p {
  font-size: 15px;
  color: rgba(27,31,42,0.72);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 32px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--amber);
}

/* ---------- Social Proof Section ---------- */
.proof-section {
  background: var(--parchment);
  padding: var(--section-padding);
}

.proof-header {
  margin-bottom: 64px;
}

.proof-header h2 {
  margin-bottom: 16px;
}

.proof-header p {
  color: rgba(27,31,42,0.65);
  font-size: 17px;
}

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

.proof-card {
  background: var(--off-white);
  padding: 40px 36px;
  border-left: 4px solid var(--amber);
  transition: box-shadow var(--transition);
}

.proof-card:hover {
  box-shadow: 0 8px 32px rgba(27,31,42,0.12);
}

.proof-metric {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: bold;
  color: var(--amber);
  margin-bottom: 16px;
  line-height: 1;
}

.proof-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.proof-card p {
  font-size: 15px;
  color: rgba(27,31,42,0.7);
  line-height: 1.6;
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--off-white);
  padding: var(--section-padding);
}

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

.about-content h2 {
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  color: rgba(27,31,42,0.8);
  margin-bottom: 20px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--amber);
  margin-top: 8px;
}

.about-link:hover {
  gap: 12px;
  color: var(--amber-light);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(27,31,42,0.1);
}

.about-value {
  padding: 24px 0;
  border-bottom: 1px solid rgba(27,31,42,0.1);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
}

.value-label {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: bold;
  color: var(--amber);
  padding-top: 2px;
}

.value-text {
  font-size: 15px;
  color: rgba(27,31,42,0.75);
  line-height: 1.6;
}

/* ---------- Final CTA Section ---------- */
.cta-section {
  background: var(--charcoal);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,130,10,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
}

.cta-section p {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-divider {
  color: rgba(255,255,255,0.3);
  font-size: 14px;
}

.cta-email {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

.cta-email a {
  color: var(--amber);
}

/* ---------- Footer ---------- */
.footer {
  background: #12151F;
  color: rgba(255,255,255,0.5);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(201,130,10,0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 32px;
  width: auto;
  background: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

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

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--charcoal);
  padding: 160px 0 80px;
  color: #fff;
}

.page-hero .section-label {
  margin-bottom: 16px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
  max-width: 700px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.65;
}

/* ---------- Contact Form ---------- */
.contact-section {
  background: var(--off-white);
  padding: var(--section-padding);
}

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

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: rgba(27,31,42,0.75);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  color: var(--amber);
}

.contact-detail-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.contact-detail-text span {
  font-size: 14px;
  color: var(--slate);
}

.contact-detail-text a {
  font-size: 14px;
  color: var(--amber);
}

/* Form */
.contact-form {
  background: var(--off-white);
  border: 1px solid rgba(27,31,42,0.1);
  padding: 48px 40px;
}

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

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--amber);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid rgba(27,31,42,0.2);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(201,130,10,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--alert-red);
}

.form-group .error-msg {
  display: none;
  font-size: 12px;
  color: var(--alert-red);
  margin-top: 6px;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group select {
  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='%236E7C8A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

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

.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 13px;
  color: var(--slate);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success .success-icon {
  width: 60px;
  height: 60px;
  background: var(--parchment);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.form-success .success-icon svg {
  color: var(--amber);
}

.form-success h3 {
  margin-bottom: 12px;
  color: var(--charcoal);
}

.form-success p {
  color: var(--slate);
  font-size: 15px;
}

/* ---------- About Page Body ---------- */
.about-story {
  background: var(--off-white);
  padding: var(--section-padding);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-story-content h2 {
  margin-bottom: 28px;
}

.about-story-content p {
  font-size: 16px;
  color: rgba(27,31,42,0.8);
  margin-bottom: 20px;
  line-height: 1.75;
}

.about-values-full {
  background: var(--parchment);
  padding: var(--section-padding);
}

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

.about-value-card {
  background: var(--off-white);
  padding: 36px 32px;
  border-top: 3px solid var(--amber);
}

.about-value-card h3 {
  font-size: 20px;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 15px;
  color: rgba(27,31,42,0.7);
  line-height: 1.65;
}

/* ---------- Services Page ---------- */
.services-full {
  padding: 0;
}

/* Each layer gets its own background */
.service-layer-section {
  padding: 80px 0;
}
.service-layer-section:nth-child(1) { background: var(--off-white); }
.service-layer-section:nth-child(2) { background: var(--parchment); }
.service-layer-section:nth-child(3) { background: #EEF1F4; }

.service-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.service-full-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.service-full-card.reverse .service-full-content {
  order: 2;
}
.service-full-card.reverse .service-full-detail {
  order: 1;
}

.service-layer-badge {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 4px;
}

.service-full-content h2 {
  margin-bottom: 16px;
}

.service-full-price {
  font-size: 15px;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 24px;
}

.service-full-content p {
  font-size: 16px;
  color: rgba(27,31,42,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-detail-box {
  background: var(--parchment);
  padding: 40px 36px;
  border-left: 4px solid var(--amber);
}

.service-detail-box h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 20px;
}

.service-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(27,31,42,0.8);
  line-height: 1.5;
}

.service-detail-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ---------- Methodology Band ---------- */
.methodology-band {
  background: var(--charcoal);
  padding: 80px 0;
  color: #fff;
}

.methodology-band h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 16px;
}

.methodology-band > .container > p {
  text-align: center;
  color: rgba(255,255,255,0.6);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(201,130,10,0.15);
}

.method-step {
  background: #2E3347;
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}

.method-step:hover {
  background: #38405A;
}

.method-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: bold;
  color: var(--amber-light);
  opacity: 0.85;
  margin-bottom: 12px;
  line-height: 1;
}

.method-step h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.method-step p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .problem-grid,
  .about-grid,
  .about-story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-full-card,
  .service-full-card.reverse .service-full-content,
  .service-full-card.reverse .service-full-detail {
    grid-template-columns: 1fr;
    order: unset !important;
  }

  .methodology-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --section-padding: 72px 0; }

  .navbar-nav,
  .navbar-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 140px 0 100px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .solution-cards {
    grid-template-columns: 1fr;
    background: transparent;
    gap: 16px;
  }

  .solution-card {
    border: 1px solid rgba(27,31,42,0.1);
  }

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

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .methodology-steps {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

  .methodology-steps {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 130px 0 60px;
  }
}
