/* ============================================================
   Spectrum of Independence — Master Stylesheet
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  /* Colors */
  --navy: #152A4A;
  --deep-blue: #1B3A5C;
  --mid-blue: #2E6B9E;
  --sky-blue: #5A9FCC;
  --light-blue: #A8D0E6;
  --pale-blue: #E8F1F8;
  --ice-blue: #F3F8FC;
  --warm-gold: #D4A95A;
  --warm-gold-hover: #c49a4a;
  --warm-cream: #FFF9F0;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-body: #3a3a4a;
  --text-muted: #6b7280;
  --border-light: #e2e8f0;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant', Georgia, serif;

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

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 80px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(21, 42, 74, 0.08);
  --shadow-md: 0 4px 12px rgba(21, 42, 74, 0.1);
  --shadow-lg: 0 8px 30px rgba(21, 42, 74, 0.12);
  --shadow-xl: 0 16px 48px rgba(21, 42, 74, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--deep-blue);
}

ul, ol {
  list-style: none;
}

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

/* ----- Accessibility ----- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-xs);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--mid-blue);
  outline-offset: 3px;
}

.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  margin-bottom: 1rem;
}

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

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--mid-blue);
}

.section-label {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--mid-blue);
  font-size: 1.1rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
}

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

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

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

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-align: center;
  line-height: 1.3;
}

.btn--primary {
  background: var(--mid-blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--deep-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: var(--warm-gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--warm-gold-hover);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  color: var(--mid-blue);
  border: 2px solid var(--mid-blue);
}

.btn--ghost:hover {
  background: var(--mid-blue);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn--text {
  background: transparent;
  color: var(--mid-blue);
  padding: 0.85rem 0;
  font-weight: 700;
}

.btn--text:hover {
  color: var(--deep-blue);
}

.btn--text svg {
  transition: transform var(--transition);
}

.btn--text:hover svg {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(21, 42, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .logo-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--navy);
}

.logo-text .logo-secondary {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--mid-blue);
}

/* Navigation */
.main-nav {
  display: flex;
}

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

.nav-list a {
  display: block;
  padding: 0.75rem var(--space-md);
  color: var(--text-body);
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--mid-blue);
}

.nav-list a.active {
  position: relative;
}

.nav-cta {
  margin: var(--space-sm) var(--space-md);
}

/* Mobile menu */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.menu-toggle .hamburger span {
  display: block;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav overlay */
@media (max-width: 1023px) {
  .main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    padding-top: var(--space-md);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .nav-list {
    width: 100%;
  }

  .nav-list a {
    font-size: 1.15rem;
    padding: 1rem var(--space-md);
    border-bottom: 1px solid var(--border-light);
  }

  .nav-cta {
    margin: var(--space-md);
  }
}

/* Desktop nav */
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .nav-list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
  }

  .nav-list a:hover {
    background: var(--pale-blue);
  }

  .nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.75rem;
    right: 0.75rem;
    height: 2px;
    background: var(--mid-blue);
    border-radius: 2px;
  }

  .nav-cta {
    margin: 0;
  }

  .menu-toggle {
    display: none;
  }
}

/* ----- Hero Sections ----- */
.hero {
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--pale-blue) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(168, 208, 230, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero h1 {
  margin-bottom: var(--space-md);
  max-width: 800px;
}

.hero h1 em {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--mid-blue);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero .btn-group {
  margin-bottom: var(--space-xl);
}

/* Value badges */
.value-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 18px;
  height: 18px;
  color: var(--mid-blue);
  flex-shrink: 0;
}

/* Page hero (non-home) */
.hero--page {
  text-align: center;
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
}

.hero--page h1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero--page .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ----- Cards ----- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mid-blue), var(--sky-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--pale-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--mid-blue);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cards-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- Process Steps / Timeline ----- */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mid-blue), var(--sky-blue));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}

.step-content h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
  }

  .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 34px);
    width: calc(100% - 68px);
    height: 2px;
    background: linear-gradient(90deg, var(--light-blue), var(--sky-blue));
  }
}

/* ----- CTA Banner ----- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 50%, var(--mid-blue) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(90, 159, 204, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.cta-banner p {
  color: var(--light-blue);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- Photo Placeholder ----- */
.photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--pale-blue) 0%, var(--light-blue) 50%, var(--sky-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-blue);
  position: relative;
  overflow: hidden;
}

.photo-placeholder--portrait {
  aspect-ratio: 3 / 4;
  max-width: 380px;
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.liz-headshot {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ----- Section Images ----- */
.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

.section-image--portrait {
  aspect-ratio: 3 / 4;
  max-width: 380px;
}

/* ----- Sections with alternating backgrounds ----- */
.section--pale {
  background: var(--pale-blue);
}

.section--ice {
  background: var(--ice-blue);
}

.section--cream {
  background: var(--warm-cream);
}

.section--navy {
  background: var(--navy);
  color: var(--light-blue);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

/* ----- FAQ Accordion ----- */
.accordion {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}

.accordion-trigger:hover {
  background: var(--ice-blue);
}

.accordion-trigger[aria-expanded="true"] {
  background: var(--ice-blue);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--mid-blue);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-panel-inner {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ----- Resource Cards ----- */
.resource-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition);
  text-decoration: none;
}

.resource-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mid-blue);
  color: var(--text-body);
}

.resource-card h3 {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.resource-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--space-sm);
  color: var(--mid-blue);
  font-weight: 700;
  font-size: 0.9rem;
}

.resource-card .card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.resource-card:hover .card-link svg {
  transform: translateX(4px);
}

/* ----- Contact Form ----- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-group label .required {
  color: #c0392b;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mid-blue);
  box-shadow: 0 0 0 3px rgba(46, 107, 158, 0.15);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.privacy-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  padding: var(--space-sm);
  background: var(--ice-blue);
  border-radius: var(--radius-sm);
}

.privacy-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--mid-blue);
}

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

.contact-info-block {
  background: var(--ice-blue);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.contact-info-block h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-block h3 svg {
  width: 20px;
  height: 20px;
  color: var(--mid-blue);
}

.contact-info-block p {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-info-block a {
  font-weight: 600;
}

.contact-mini-steps {
  counter-reset: mini-step;
}

.contact-mini-step {
  counter-increment: mini-step;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-mini-step:last-child {
  margin-bottom: 0;
}

.mini-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mid-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-mini-step p {
  font-size: 0.9rem;
  margin: 0;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.form-success.is-visible {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--mid-blue);
  margin-bottom: var(--space-md);
}

.form-success h3 {
  margin-bottom: var(--space-xs);
}

/* ----- Service Detail Sections ----- */
.service-detail {
  border-left: 4px solid var(--mid-blue);
  padding-left: var(--space-md);
}

.service-detail h3 {
  margin-bottom: var(--space-xs);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}

.skill-tag {
  padding: 0.35rem 0.85rem;
  background: var(--pale-blue);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-blue);
}

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

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

.credential-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.credential-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-sm);
}

.credential-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--warm-gold);
}

.credential-card ul {
  list-style: none;
}

.credential-card li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.credential-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--mid-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--navy);
  color: var(--light-blue);
  padding: var(--space-xl) 0 var(--space-md);
}

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

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .logo-primary {
  color: var(--white);
}

.footer-brand .logo-secondary {
  color: var(--light-blue);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
  color: var(--light-blue);
}

.footer-links h4 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.footer-links a {
  display: block;
  padding: 0.25rem 0;
  color: var(--light-blue);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(168, 208, 230, 0.15);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(168, 208, 230, 0.7);
}

.footer-bottom a {
  color: rgba(168, 208, 230, 0.7);
}

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

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

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ----- Utilities ----- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

/* ----- Print ----- */
@media print {
  .site-header,
  .menu-toggle,
  .cta-banner,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }

  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}
