/* ============================================================
   THE TECHNOCRATI — style.css
   Mobile-first. One file. No frameworks.
   ============================================================ */

/* ============================================================
   TABLE OF CONTENTS
   1.  Reset & Box Model
   2.  Design Tokens
   3.  Skip Link
   4.  Layout Utilities
   5.  Typography
   6.  Buttons
   7.  Header & Navigation
   8.  Hero (homepage)
   8b. Section Transition Dividers
   9.  Services Overview
   10. How It Works
   12. Testimonials
   13. CTA Section
   14. Footer
   15. Inner-Page Hero
   16. Page-Level Shared Components
   17. Pricing Cards
   18. Portfolio Grid
   19. Contact Form & Layout
   20. About Page
   21. Business Consulting — Service Areas
   ============================================================ */

/* ------------------------------------------------------------
   1. Reset & Box Model
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-charcoal);
  background-color: var(--color-white);
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ------------------------------------------------------------
   2. Design Tokens
   ------------------------------------------------------------ */
:root {
  /* Primary palette */
  --color-navy: #1A2332;
  --color-navy-light: #2C3E50;
  --color-navy-mid: #34495E;

  /* Accent */
  --color-gold: #C9A84C;
  --color-gold-light: #D4B96A;
  --color-gold-dark: #B8963E;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #F5F0E8;
  --color-light-gray: #F0F0F0;
  --color-mid-gray: #888888;
  --color-dark-gray: #555555;
  --color-charcoal: #333333;
  --color-black: #1A1A1A;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Font sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width:     1200px;
  --content-width: 720px;
  --border-radius:    6px;
  --border-radius-lg: 12px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow:   500ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.06);
}

/* ------------------------------------------------------------
   3. Skip Link (Accessibility)
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 700;
  border-radius: var(--border-radius);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ------------------------------------------------------------
   4. Layout Utilities
   ------------------------------------------------------------ */
.text-white { color: var(--color-white); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.prose {
  max-width: var(--content-width);
}

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

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

/* ------------------------------------------------------------
   5. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-navy);
  font-weight: 400;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { line-height: 1.7; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-label {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 2.5rem;
  background: var(--color-gold);
}

@media (min-width: 64em) {
  h1 { font-size: var(--text-6xl); }
  h2 { font-size: var(--text-4xl); }
  h3 { font-size: var(--text-3xl); }
}

/* ------------------------------------------------------------
   6. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all var(--transition-normal);
  min-height: 44px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(to bottom, var(--color-gold-light) 0%, var(--color-gold) 55%, var(--color-gold-dark) 100%);
  color: var(--color-navy);
  border: 2px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 4px 14px rgba(201,168,76,0.35);
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(to bottom, #edd47c 0%, var(--color-gold-light) 55%, var(--color-gold) 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 6px 20px rgba(201,168,76,0.5);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--color-off-white);
  border-color: var(--color-off-white);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--color-navy);
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   7. Header & Navigation
   Mobile: brand bar (logo left + hamburger right) + tagline bar + mobile drawer
   Desktop: brand bar (logo left, large) + tagline + nav bar (evenly spaced links)
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
}

/* ── Brand bar ─────────────────────────────────────────────── */
.header-brand {
  background-color: var(--color-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23C9A84C' stop-opacity='0.65'/%3E%3Cstop offset='100%25' stop-color='%23C9A84C' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 14 Q150 8 300 14 Q450 20 600 14 L600 0 L0 0 Z' fill='url(%23g)'/%3E%3Cpath d='M0 14 Q150 8 300 14 Q450 20 600 14' fill='none' stroke='%23C9A84C' stroke-width='2' stroke-opacity='0.7'/%3E%3C/svg%3E");
  background-size: 600px 22px;
  background-repeat: repeat-x;
  background-position: top;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.header-brand-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-block: var(--space-sm);
  position: relative;
}

/* Logo — mobile size, left-aligned */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--color-white);
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 2.8rem;               /* mobile — desktop overrides to 2.8rem too */
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.12), 0 2px 8px rgba(0,0,0,0.5);
}

.logo-accent {
  background: linear-gradient(160deg, #c9a84c 0%, #f8e890 30%, #fffce4 50%, #e8c85a 70%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  background: linear-gradient(160deg, #c9a84c 0%, #f8e890 30%, #fffce4 50%, #e8c85a 70%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Tagline bar ───────────────────────────────────────────── */
.site-tagline-bar {
  background: var(--color-navy-light);
  text-align: center;
  padding-block: var(--space-sm);
}

.site-tagline-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(160deg, #c9a84c 0%, #f8e890 30%, #fffce4 50%, #e8c85a 70%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Desktop nav bar — hidden on mobile ───────────────────── */
.desktop-nav {
  display: none;
}

/* ── Hamburger toggle — mobile only ───────────────────────── */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: var(--space-sm);
  color: var(--color-white);
  border-radius: var(--border-radius);
  flex-shrink: 0;
  position: absolute;
  right: var(--space-lg);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

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

/* ── Mobile nav drawer — hidden until toggled ─────────────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: var(--space-xs);
  background: var(--color-navy);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition-fast);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-gold); }

/* ── Desktop overrides (64em / ~1024px+) ──────────────────── */
@media (min-width: 64em) {
  /* Brand bar: logo centered, no hamburger, no bottom border
     (tagline bar merges visually into this band) */
  .header-brand {
    border-bottom: none;
  }

  .header-brand-inner {
    justify-content: center;
    padding-block: var(--space-lg) var(--space-sm);
  }

  .logo-name {
    font-size: 2.8rem;
  }

  /* Center the logo column items on desktop */
  .site-logo {
    align-items: center;
  }

  /* Tagline bar: absorb into header by matching navy background.
     The text stays; the lighter band disappears. */
  .site-tagline-bar {
    background-color: var(--color-navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 10'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%23C9A84C' stop-opacity='0'/%3E%3Cstop offset='100%25' stop-color='%23C9A84C' stop-opacity='0.5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 5 Q150 1.5 300 5 Q450 8.5 600 5 L600 10 L0 10 Z' fill='url(%23bg)'/%3E%3Cpath d='M0 5 Q150 1.5 300 5 Q450 8.5 600 5' fill='none' stroke='%23C9A84C' stroke-width='1.8' stroke-opacity='0.6'/%3E%3C/svg%3E");
    background-size: 600px 10px;
    background-repeat: repeat-x;
    background-position: bottom;
    border-bottom: none;
    padding-block: var(--space-xs) var(--space-lg);
  }

  .site-tagline-text {
    font-size: var(--text-sm);
  }

  .nav-toggle  { display: none; }
  .mobile-nav  { display: none !important; }

  /* Desktop nav bar: full-width, evenly spaced, all gold */
  .desktop-nav {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: var(--color-navy-light);
    border-top: 1px solid rgba(201,168,76,0.2);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding-block: 2px;  /* halved twice from original space-sm */
  }

  .desktop-nav a {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    padding: var(--space-xs) var(--space-lg);
    transition: color var(--transition-fast);
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    color: var(--color-gold);
  }
}

/* desktop-break: invisible on mobile, creates a line break on desktop */
.desktop-break { display: none; }
@media (min-width: 64em) { .desktop-break { display: inline; } }

/* ------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------ */
.hero {
  background: var(--color-navy);
  color: var(--color-white);
  padding-block: var(--space-2xl) var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(44,62,80,0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid line accent */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;      /* mobile + desktop: all hero text centered */
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  text-align: center;
}

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

.hero-lead {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;  /* mobile + desktop: buttons centered */
  margin-top: var(--space-3xl);
}


.hero-why {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-white);
  text-align: center;
  margin-top: var(--space-3xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
}

/* Tighten the gap between the label and the blocks it introduces */
.hero-why + .hero-meta {
  margin-top: var(--space-md);
}

.hero-meta {
  margin-top: var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-lg);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: var(--space-md);
  background: rgba(255,255,255,0.04);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255,255,255,0.07);
  min-height: 100px;
}

.hero-meta-item strong {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(160deg, #c9a84c 0%, #f8e890 30%, #fffce4 50%, #e8c85a 70%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.35));
}

.hero-meta-item span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.5px rgba(255,255,255,0.75);
  text-stroke: 0.5px rgba(255,255,255,0.75);
}

@media (min-width: 48em) {
  .hero-meta {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Hero: desktop overrides ──────────────────────────────── */
@media (min-width: 64em) {
  /* Remove the 720px cap so the headline can span the full container */
  .hero-content {
    max-width: 100%;
  }

  /* Explicit desktop size — overrides the clamp so the line fits without wrapping */
  .hero h1 {
    font-size: 3.5rem;
  }

  /* Lead paragraph spans full hero width */
  .hero-lead {
    max-width: none;
  }

  .hero-actions .btn {
    width: 380px;
  }
}

/* ------------------------------------------------------------
   8b. Section Transition Dividers
   A thin gold gradient line at each section boundary gives
   visual breathing room between sections and prevents hard
   colour collisions (e.g. navy CTA running into black footer).
   ------------------------------------------------------------ */
.services,
.how-it-works,
.testimonials,
.cta-section,
.site-footer {
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(201,168,76,0.4), transparent) 1;
}

/* ------------------------------------------------------------
   9. Services Overview
   ------------------------------------------------------------ */
.services {
  background: var(--color-white);
}

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

.services-header h2 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.services-header p {
  font-size: var(--text-lg);
  color: var(--color-dark-gray);
  max-width: 600px;
}

.services-grid {
  display: grid;
  gap: var(--space-xl);
}

.service-card {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

/* Hover lift only on pointer devices — prevents accidental trigger while scrolling on mobile */
@media (hover: hover) {
  .service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-xl);
  color: var(--color-gold);
  display: block;
  margin-inline: auto;
}

.service-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  text-align: center;
}

.service-card p {
  color: var(--color-dark-gray);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  text-align: center;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
}

.service-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
}

.service-card .btn {
  width: 100%;
  margin-top: auto;
}

@media (min-width: 48em) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card .btn {
    width: auto;
  }
}

@media (min-width: 64em) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    padding: var(--space-2xl);
  }

  /* Services subtitle: full-width and centered on desktop */
  .services-header p {
    max-width: none;
    text-align: center;
  }

  /* Card headings centered on desktop */
  .service-card h3 {
    text-align: center;
  }
}

/* ------------------------------------------------------------
   10. How It Works
   ------------------------------------------------------------ */
.how-it-works {
  background: var(--color-off-white);
}

.how-it-works-header {
  margin-bottom: var(--space-3xl);
}

.how-it-works-header h2 {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.how-it-works-header p {
  font-size: var(--text-lg);
  color: var(--color-dark-gray);
  max-width: 560px;
}

.process-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  justify-content: center;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-charcoal);
  background: rgba(201, 168, 76, 0.06);
}

.process-badge::before {
  content: '✓';
  color: var(--color-gold-dark);
  font-weight: 700;
}

.process-subline {
  font-size: var(--text-lg);
  color: var(--color-dark-gray);
  max-width: 560px;
  margin-top: var(--space-2xl);
  text-align: center;
}

.steps-grid {
  display: grid;
  gap: var(--space-xl);
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl) var(--space-xl);
}

.step-label {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
  margin-bottom: var(--space-xs);
}

.step-number-wrap {
  display: block;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.step-number {
  display: block;
  text-align: center;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
  margin-bottom: -0.3rem;
}

.step-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
  color: var(--color-navy);
  text-align: center;
}

.step-content p {
  color: var(--color-dark-gray);
  font-size: var(--text-base);
  line-height: 1.7;
  text-align: center;
}

@media (min-width: 64em) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
  }

  .step {
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl) var(--space-xl);
  }

  .step-label {
    display: block;
    text-align: center;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-mid-gray);
    margin-bottom: var(--space-xs);
  }

  /* Step number, title, and description centered on desktop */
  .step-content h3 {
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .step-content p {
    text-align: center;
  }

  /* How It Works header: centered on desktop */
  .how-it-works-header h2 {
    text-align: center;
  }

  .how-it-works-header p {
    max-width: none;
    text-align: center;
  }

  .process-badges {
    justify-content: center;
  }

  .process-subline {
    max-width: none;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   12. Testimonials
   ------------------------------------------------------------ */
.testimonials {
  background: var(--color-white);
}

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

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

.testimonials-grid {
  display: grid;
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-off-white);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  border: 1px solid rgba(0,0,0,0.04);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-lg);
}

.testimonial-stars span {
  color: var(--color-gold);
  font-size: var(--text-lg);
}

.testimonial-card blockquote {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-xl);
  font-family: var(--font-body);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-gold);
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
}

.testimonial-author-info span {
  font-size: var(--text-xs);
  color: var(--color-mid-gray);
  letter-spacing: 0.02em;
}

@media (min-width: 48em) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64em) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials header: centered on desktop */
  .testimonials-header h2 {
    text-align: center;
  }
}

/* ------------------------------------------------------------
   13. CTA Section
   ------------------------------------------------------------ */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-2xl);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

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

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
}

.cta-section p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.7);
  max-width: 644px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.cta-actions .btn {
  width: 100%;
}

.cta-note {
  display: block;
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-white);
  letter-spacing: 0.02em;
}

/* ── CTA: desktop overrides ───────────────────────────────── */
@media (min-width: 64em) {
  .cta-actions .btn {
    width: 314px;
  }
}

/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.6);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  text-align: center;
}

.footer-brand .site-logo {
  margin-bottom: var(--space-lg);
  margin-inline: auto;
  align-items: center;
}

.footer-brand .logo-name {
  font-size: 1.8rem;
}

.footer-brand .logo-tagline {
  font-size: var(--text-xs);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-white);
  max-width: none;
}

.footer-nav,
.footer-contact {
  text-align: center;
}

.footer-nav h4,
.footer-nav-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-weight: 700;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.footer-nav li,
.footer-contact li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.4em;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
}

.footer-nav a,
.footer-contact a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
}

.footer-contact a[href^="mailto"] {
  color: var(--color-gold);
  font-weight: 700;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-block: var(--space-sm) var(--space-xs);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-white);
  letter-spacing: 0.02em;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

/* ── Footer: desktop overrides ────────────────────────────── */
@media (min-width: 64em) {
  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--space-2xl) var(--space-4xl);
  }

  .footer-brand {
    flex: 0 0 100%;
    text-align: center;
    margin-bottom: var(--space-md);
  }

  .footer-brand .site-logo {
    margin-inline: auto;
    align-items: center;
  }

  .footer-brand .logo-name {
    font-size: 2.8rem;
  }

  .footer-brand .logo-tagline {
    font-size: var(--text-sm);
  }

  .footer-brand p {
    text-align: center;
    max-width: none;
  }

  .footer-nav,
  .footer-contact {
    flex: 0 0 280px;
    text-align: center;
  }

  .footer-nav ul,
  .footer-contact ul {
    align-items: center;
  }

  .footer-nav li,
  .footer-contact li {
    justify-content: center;
    min-height: 1.6em;
    display: flex;
    align-items: center;
  }
}

/* ------------------------------------------------------------
   15. Inner-Page Hero
   Shorter variant of the homepage hero, used on all inner pages.
   ------------------------------------------------------------ */
.hero--page {
  padding-block: var(--space-2xl) var(--space-3xl);
}

.hero--page h1 {
  font-size: clamp(1.875rem, 4vw, 2.8rem);
  margin-bottom: var(--space-md);
}

.hero--page .hero-lead {
  margin-bottom: 0;
  font-size: var(--text-base);
  text-align: left;
}

@media (min-width: 64em) {
  .hero--page {
    padding-block: var(--space-3xl);
  }

  .hero--page h1 {
    font-size: clamp(2.25rem, 3.5vw, 3.2rem);
  }

  .hero--page .hero-lead {
    font-size: var(--text-lg);
    text-align: left;
  }

  .hero--centered .hero-lead {
    text-align: center;
  }
}

.hero--centered .hero-lead {
  text-align: center;
}

/* ------------------------------------------------------------
   16. Page-Level Shared Components
   Section lead, eyebrow, industries grid, highlight list.
   ------------------------------------------------------------ */

/* Section lead text (large intro paragraph under section heading) */
.section-lead {
  font-size: var(--text-lg);
  color: var(--color-dark-gray);
  max-width: 680px;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

h2 + .section-lead {
  margin-top: var(--space-lg);
}

/* Industries grid — who it's for */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.industry-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 3px solid var(--color-gold);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.industry-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}

.industry-item::before {
  content: '◆';
  color: var(--color-gold);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* Highlight / deliverables list (checkmark style) */
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.65;
}

.highlight-item::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 700;
  font-size: var(--text-lg);
  flex-shrink: 0;
  line-height: 1.4;
}

/* Two-col intro layout: text left, image/graphic right */
.intro-with-photo {
  display: grid;
  gap: var(--space-3xl);
  align-items: start;
}

.intro-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
}

.intro-photo--constrained {
  max-width: 360px;
  margin-inline: auto;
}

/* Service areas grid (Business Consulting page) */
.service-areas-grid {
  display: grid;
  gap: var(--space-xl);
}

.service-area-card {
  padding: var(--space-xl);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--border-radius-lg);
  background: var(--color-white);
}

.service-area-icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
  display: block;
  line-height: 1;
}

.service-area-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.service-area-card p {
  font-size: var(--text-base);
  color: var(--color-dark-gray);
  line-height: 1.7;
}

/* Decorative section background variant */
.section--alt {
  background: var(--color-off-white);
}

/* Section transition divider — applied to inner-page sections as well */
.section--alt,
.page-pricing,
.page-portfolio,
.page-faq,
.page-contact-section {
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent) 1;
}

@media (min-width: 48em) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 64em) {
  .industries-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .intro-with-photo {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }

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

/* ------------------------------------------------------------
   17. Pricing Cards
   3-tier pricing layout used on service pages.
   ------------------------------------------------------------ */
.pricing-grid {
  display: grid;
  gap: var(--space-xl);
}

.pricing-card {
  border: 2px solid #D9D3C3;
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  min-width: 0;
}

.pricing-card--featured {
  border-color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.pricing-badge {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--color-gold-light), var(--color-gold-dark));
  color: var(--color-navy);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.pricing-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  text-align: center;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-navy);
  line-height: 1;
}

.pricing-unit {
  font-size: var(--text-sm);
  color: var(--color-mid-gray);
  line-height: 1;
}

.pricing-description {
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-light-gray);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.5;
}

.pricing-feature::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

@media (min-width: 64em) {
  /* 6 explicit row tracks: tier label, title, price, description, features, button.
     Cards subgrid into these rows so the description row height is set by the
     tallest card automatically — no min-height guessing needed. */
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, auto);
    align-items: start;
    row-gap: 0;
  }

  .pricing-card {
    display: grid;
    grid-row: span 6;
    grid-template-rows: subgrid;
  }
}

/* ------------------------------------------------------------
   18. Portfolio Grid
   Placeholder cards shown on the web design page.
   ------------------------------------------------------------ */
.portfolio-grid {
  display: grid;
  gap: var(--space-xl);
}

.portfolio-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-light-gray);
  background: var(--color-white);
}

.portfolio-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-info {
  padding: var(--space-xl);
}

.portfolio-info h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
  justify-content: center;
}

.portfolio-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 999px;
  padding: 2px 8px;
}

.portfolio-info p {
  font-size: var(--text-sm);
  color: var(--color-dark-gray);
  line-height: 1.65;
}

@media (min-width: 48em) {
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64em) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-thumb--arete {
  background: url('../images/Arete Thumbnail.jpg') center center / cover no-repeat;
}

.portfolio-thumb--karens {
  background: url('../images/Karen\'s Kases Thumbnail.jpg') center center / cover no-repeat;
}

.portfolio-thumb--technocrati {
  background: url('../images/Technocrati Thumbnail.png') center center / cover no-repeat;
}

.portfolio-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.portfolio-link:hover {
  color: var(--color-gold);
}

.page-portfolio .section-lead {
  text-align: center;
}

/* ------------------------------------------------------------
   19. Contact Form & Layout
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  gap: var(--space-3xl);
}

.page-contact-section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.contact-form-intro {
  font-size: var(--text-base);
  color: var(--color-dark-gray);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem var(--space-md);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

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

.form-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='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-3xl);
  cursor: pointer;
}

.form-row {
  display: grid;
  gap: var(--space-xl);
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-mid-gray);
  line-height: 1.6;
}

/* Invalid field highlight */
.form-input[aria-invalid="true"],
.form-textarea[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

/* Field-level error text */
.form-field-error {
  display: block;
  font-size: var(--text-xs);
  color: #dc2626;
  min-height: 1em;
  line-height: 1.5;
}

/* Form-level error banner */
.form-error-banner:not(:empty) {
  padding: var(--space-md) var(--space-lg);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--border-radius);
  color: #dc2626;
  font-size: var(--text-sm);
  margin-bottom: var(--space-lg);
}

/* Success message — hidden by default, shown when Formspree adds data-fs-active */
.form-success-message {
  display: none;
  padding: var(--space-xl) var(--space-2xl);
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--border-radius);
  text-align: center;
}

[data-fs-success][data-fs-active] {
  display: block;
}

.form-success-message p {
  color: #15803d;
  font-size: var(--text-lg);
  font-weight: 500;
  margin: 0;
}

/* Hide the form once submission succeeds */
[data-fs-success][data-fs-active] ~ #contact-form {
  display: none;
}

/* Contact info sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-sidebar p {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  line-height: 1.7;
}

.contact-sidebar-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--border-radius);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: var(--text-lg);
}

.contact-detail-text strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: var(--space-xs);
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: var(--text-base);
  color: var(--color-charcoal);
  line-height: 1.6;
}

.contact-detail-text a:hover {
  color: var(--color-gold);
}

/* FAQ items on contact page */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.faq-item {
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
}

.faq-item h3 {
  font-size: var(--text-base);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}

.faq-item p {
  font-size: var(--text-base);
  color: var(--color-dark-gray);
  line-height: 1.7;
}

@media (min-width: 64em) {
  .contact-layout {
    grid-template-columns: 1.55fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
  }

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

  .form-submit-row {
    flex-direction: row;
    align-items: center;
  }
}

/* ------------------------------------------------------------
   20. About Page
   ------------------------------------------------------------ */
.bio-section {
  display: grid;
  gap: var(--space-3xl);
  align-items: start;
}

.bio-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.bio-text p {
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  line-height: 1.8;
}

/* Credentials grid */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-off-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(201,168,76,0.15);
}

.credential-icon {
  color: var(--color-gold);
  font-size: var(--text-2xl);
  flex-shrink: 0;
  line-height: 1;
}

.credential-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.credential-text span {
  font-size: var(--text-xs);
  color: var(--color-mid-gray);
  line-height: 1.5;
}

/* Philosophy / value proposition block */
.philosophy-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.philosophy-item {
  padding: var(--space-xl);
  border-left: 3px solid var(--color-gold);
  background: var(--color-off-white);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.philosophy-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-navy);
}

.philosophy-item p {
  font-size: var(--text-base);
  color: var(--color-dark-gray);
  line-height: 1.7;
}

@media (min-width: 48em) {
  .credentials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64em) {
  .bio-section {
    grid-template-columns: 1fr 320px;
  }

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

/* ------------------------------------------------------------
   21. Shared inner-page section borders
   ------------------------------------------------------------ */
.page-section-border {
  border-top: 1px solid transparent;
  border-image: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent) 1;
}

/* ------------------------------------------------------------
   22. Section centered — desktop only
   Centers heading, eyebrow label, and section-lead paragraph
   in sections where the content grid below is full-width.
   ------------------------------------------------------------ */
@media (min-width: 64em) {
  /* Section labels (eyebrow + line) are always left-aligned —
     centering only applies to the heading and paragraph below */
  .section--centered h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  /* Let the paragraph span full container width to match the grid below it */
  .section--centered .section-lead {
    text-align: center;
    max-width: none;
    margin-inline: auto;
  }

  /* Industries section: heading centered, paragraph full-width and left-aligned */
  .section--alt.section--centered .section-lead {
    text-align: left;
    max-width: none;
    margin-inline: 0;
  }

  /* Pricing section: allow section-lead to stay centered, just remove max-width cap */
  .page-pricing.section--centered .section-lead {
    max-width: none;
    margin-inline: 0;
  }

  /* Consulting pricing section: left-align its section-lead */
  .page-consulting-pricing.section--centered .section-lead {
    text-align: left;
    max-width: none;
    margin-inline: 0;
  }

  /* Portfolio section: re-center its section-lead (overrides section--alt left rule) */
  .page-portfolio.section--centered .section-lead {
    text-align: center;
  }

  /* Intro section: center the standalone h2 over its paragraph,
     with the same comfortable spacing as other section headings */
  .intro-heading-centered {
    text-align: center;
    margin-bottom: var(--space-lg);
  }

  /* Remove section-lead max-width inside two-column intro so it matches
     the highlight-list width (both fill the same grid column) */
  .intro-with-photo .section-lead {
    max-width: none;
  }

  /* Pricing card h3: reduce size slightly to fit 3 columns */
  .pricing-card h3 {
    font-size: var(--text-xl);
  }

}

/* ============================================================
   MOBILE-ONLY OVERRIDES  (max-width: 47.9375em = below 768px)
   These never touch desktop. Desktop uses min-width queries above.
   ============================================================ */
@media (max-width: 47.9375em) {

  /* "Why Choose Technocrati Services?" — as large as possible on one line */
  .hero-why {
    font-size: 1.35rem;
  }

  /* Stat box labels (Anthropic Certified, Years Experience, etc.)
     — uniformly larger without breaking any single word */
  .hero-meta-item span {
    font-size: var(--text-base);
  }

  /* Service card body paragraphs — left-aligned on mobile */
  .service-card p {
    text-align: left;
  }

  /* Step body paragraphs — left-aligned on mobile (all pages) */
  .step-content p {
    text-align: left;
  }

}
