/* ============================================
   THE HR VA HUB — Design System & Styles
   Premium, Calm, Competent
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette — deep navy to convey trust & professionalism */
  --color-primary: #1a2b4a;
  --color-primary-light: #2d4470;
  --color-primary-dark: #0f1a2e;

  /* Accent — warm gold for premium feel */
  --color-accent: #c9a84c;
  --color-accent-light: #dfc06e;
  --color-accent-dark: #a8893a;

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f7f4;
  --color-light-grey: #eeecea;
  --color-mid-grey: #b0aca6;
  --color-dark-grey: #5a5650;
  --color-charcoal: #2e2b27;

  /* Semantic */
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-off-white);
  --color-text: var(--color-charcoal);
  --color-text-light: var(--color-dark-grey);
  --color-text-inverse: var(--color-white);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.5rem, 5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-heading: 1.2;
  --lh-body: 1.7;

  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.05em;
  --ls-wider: 0.1em;

  /* 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 */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 43, 74, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 43, 74, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 43, 74, 0.1);
  --shadow-xl: 0 16px 50px rgba(26, 43, 74, 0.12);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  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-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
  color: var(--color-primary);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-semibold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-medium); }

.display-heading {
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}

.overline {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-accent);
}

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-text-light);
}

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

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

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

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

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

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

.section--dark .lead {
  color: rgba(255, 255, 255, 0.75);
}

.section--dark .overline {
  color: var(--color-accent-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-xl);
}

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

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

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

@media (max-width: 1024px) {
  .grid--3, .grid--4, .grid--5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
}

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--color-text-light);
  line-height: 1;
}
.modal__close:hover {
  color: var(--color-text);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn--primary:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

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

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: var(--fs-body);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-xs);
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.nav.scrolled {
  border-bottom-color: var(--color-light-grey);
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  letter-spacing: var(--ls-tight);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.nav__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

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

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile nav */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-fast);
}

.nav__toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav__menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: var(--space-xl);
    gap: var(--space-lg);
    display: none;
  }

  .nav__menu.open {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
  }

  .nav__link {
    font-size: var(--fs-body-lg);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-sm);
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #3a5a8c 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
}

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

.hero__overline {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-sm);
  color: var(--color-accent-light);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero__trust {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-small);
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--space-2xl);
  }

  .hero__trust {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

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

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

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

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

.card p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.7;
}

/* --- Package Cards --- */
.grid--4 > .package-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 7;
}

.package-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.package-card--featured {
  border-color: var(--color-accent);
  position: relative;
}

.package-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  right: var(--space-md);
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.package-card__header {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.package-card__name {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.package-card__tagline {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

.package-card__ideal {
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-md);
}

.package-card__ideal-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 0.375rem;
}

.package-card__ideal p {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.package-card__features {
  padding: 0 var(--space-lg);
}

.package-card__features ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.package-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--fs-small);
  color: var(--color-text);
}

.package-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c9a84c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.package-card__footer {
  padding: var(--space-lg);
}

.package-card__footer .btn {
  width: 100%;
}

.package-card__hours {
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-md);
}

.package-card__hours-number {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  line-height: 1;
}

.package-card__hours-label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  margin-top: 0.25rem;
}
.package-card__price {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 0.5rem;
}

.package-card__examples-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.package-card__outcomes {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-light-grey);
  background: var(--color-bg-alt);
}

.package-card__outcomes p {
  font-size: var(--fs-small);
  color: var(--color-text);
  font-weight: var(--fw-medium);
  font-style: italic;
  line-height: 1.6;
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--space-lg);
  position: relative;
  padding-bottom: var(--space-xl);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step__number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  position: relative;
  z-index: 2;
}

.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--color-light-grey);
}

.process-step__content {
  padding-top: 0.75rem;
}

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

.process-step__content p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .process-step {
    gap: var(--space-md);
  }

  .process-step__number {
    width: 44px;
    height: 44px;
    font-size: var(--fs-small);
  }

  .process-step:not(:last-child)::before {
    left: 22px;
    top: 44px;
  }
}

/* --- Stats / Trust Bar --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl) 0;
}

.trust-bar__item {
  padding: var(--space-md);
}

.trust-bar__number {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.trust-bar__label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- FAQ --- */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-light-grey);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-item__question:hover {
  color: var(--color-primary-light);
}

.faq-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-md);
}

.faq-item__answer p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.8;
}

/* --- Forms --- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 43, 74, 0.08);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--color-mid-grey);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__select {
  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='%235a5650' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

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

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-group {
  justify-content: center;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-2xl) 0 var(--space-lg);
}

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

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__brand p {
  margin-top: var(--space-sm);
  font-size: var(--fs-small);
  line-height: 1.7;
  max-width: 300px;
}

.footer__col h4 {
  color: var(--color-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col a {
  font-size: var(--fs-small);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--color-accent-light);
}

.footer__bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: var(--fs-xs);
}

.footer__bottom a {
  transition: color var(--transition-fast);
}

.footer__bottom a:hover {
  color: var(--color-accent-light);
}

/* --- Page Header (internal pages) --- */
.page-header {
  background: var(--color-primary);
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Benefits List --- */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.benefit-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.benefit-item h4 {
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.benefit-item p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

.section--dark .benefit-item h4 {
  color: var(--color-white);
}

.section--dark .benefit-item p {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .benefit-item__icon {
  color: var(--color-accent);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .two-col, .two-col--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-lg);
  }
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--color-light-grey);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mid-grey);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
}

/* --- About Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: var(--space-lg);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

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

.value-card p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

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

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

.contact-info__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact-info__item h4 {
  margin-bottom: 0.25rem;
}

.contact-info__item p {
  color: var(--color-text-light);
  font-size: var(--fs-small);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
}

.legal-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-h3);
}

.legal-content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  font-size: var(--fs-h4);
}

.legal-content p {
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
}

.legal-content ul li {
  list-style: disc;
  color: var(--color-text-light);
  font-size: var(--fs-small);
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-accent-dark);
}

/* --- Holiday Cover Badge --- */
.package-card__commitment {
  padding: 0 var(--space-lg);
  padding-top: var(--space-md);
  align-self: end;
}
.package-card__commitment-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.75rem;
  background: rgba(26, 43, 74, 0.06);
  border: 1px solid rgba(26, 43, 74, 0.12);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
}
.package-card__commitment-note {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* Ad-hoc support section */
.adhoc-section {
  max-width: 720px;
  margin: var(--space-xl) auto 0;
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-light-grey);
  border-radius: var(--radius-md);
  text-align: center;
}
.adhoc-section h3 {
  margin-bottom: var(--space-xs);
}
.adhoc-section .lead {
  margin-bottom: var(--space-md);
}
.adhoc-section__details {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}
.adhoc-section__detail {
  text-align: center;
}
.adhoc-section__detail strong {
  display: block;
  font-size: var(--fs-body);
  color: var(--color-primary);
}
.adhoc-section__detail span {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}
.adhoc-section__nudge {
  font-size: var(--fs-small);
  color: var(--color-text-light);
  font-style: italic;
  margin-top: var(--space-md);
}

.addon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-accent-dark);
}

/* --- Animate on scroll (simple) --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Utilities --- */
/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--space-md) var(--space-md);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
  font-size: var(--fs-small);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--color-accent);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-xs);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

/* --- Utilities --- */
/* --- Checkout Flow --- */
.checkout-flow {
  min-height: 100vh;
  padding-top: 80px;
  background: var(--color-bg-alt);
}

/* Progress bar */
.progress-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-light-grey);
  padding: var(--space-md) 0;
}

.progress-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.progress-bar__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-mid-grey);
  white-space: nowrap;
}

.progress-bar__step.active {
  color: var(--color-primary);
}

.progress-bar__step.completed {
  color: var(--color-accent-dark);
}

.progress-bar__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  background: var(--color-white);
  transition: all var(--transition-base);
}

.progress-bar__step.active .progress-bar__dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.progress-bar__step.completed .progress-bar__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.progress-bar__line {
  width: 60px;
  height: 2px;
  background: var(--color-light-grey);
  margin: 0 var(--space-sm);
  flex-shrink: 0;
}

.progress-bar__line.completed {
  background: var(--color-accent);
}

@media (max-width: 640px) {
  .progress-bar__label { display: none; }
  .progress-bar__line { width: 40px; }
}

/* Checkout container */
.checkout-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}

.checkout-container--narrow {
  max-width: 600px;
}

/* Order summary card */
.order-summary {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
  overflow: hidden;
}

.order-summary__header {
  background: var(--color-primary);
  padding: var(--space-lg);
  color: var(--color-white);
}

.order-summary__header h2 {
  color: var(--color-white);
  font-size: var(--fs-h3);
  margin-bottom: 0.25rem;
}

.order-summary__header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-small);
}

.order-summary__body {
  padding: var(--space-lg);
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-light-grey);
}

.order-summary__row:last-child {
  border-bottom: none;
}

.order-summary__label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.order-summary__value {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  text-align: right;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-alt);
  border-top: 2px solid var(--color-light-grey);
}

.order-summary__total-label {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.order-summary__total-price {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
}

.order-summary__total-period {
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--color-text-light);
}

/* Trust strip */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--color-text-light);
}

.trust-strip__item svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Checkout sections */
.checkout-section {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.checkout-section__title {
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-light-grey);
}

/* Onboarding multi-step */
.onboard-step {
  display: none;
}

.onboard-step.active {
  display: block;
}

.onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-light-grey);
}

/* File upload */
.file-upload {
  border: 2px dashed var(--color-light-grey);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload:hover {
  border-color: var(--color-primary);
  background: rgba(26, 43, 74, 0.02);
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload__label {
  font-size: var(--fs-small);
  color: var(--color-text-light);
}

.file-upload__label strong {
  color: var(--color-primary);
}

/* Success page */
.success-container {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.success-steps {
  text-align: left;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-light-grey);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.success-steps h3 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-h4);
}

.success-steps ol {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.success-steps li {
  counter-increment: steps;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--color-text-light);
  line-height: 1.6;
}

.success-steps li::before {
  content: counter(steps);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  margin-top: 1px;
}

/* Checkbox group */
.form__checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: var(--fs-small);
  color: var(--color-text);
}

.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.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); }
