/* =========================================================
   MAIN SITE STYLES
   Dark workshop / systems-builder aesthetic
   Reconciled to the root Jekyll site markup.
   ========================================================= */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
  --color-bg: #10110f;
  --color-bg-secondary: #171916;
  --color-surface: #1d201c;
  --color-surface-light: #252823;

  --color-text: #f1f3ed;
  --color-text-muted: #a7ada1;

  --color-primary: #c7ff4a;
  --color-primary-hover: #d8ff79;

  --color-border: #343832;

  --color-success: #8ed66d;

  --font-body:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --font-heading:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --container-width: 1180px;
  --content-width: 760px;
  --header-height: 76px;

  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 3rem; 
  /* modified space 3xl from 5 to 3 for testing */
  --space-4xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;

  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
}


/* =========================================================
   COLORS
   ========================================================= */

.color-primary {
  color: var(--color-primary);   
}



/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 2rem);
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

p {
  margin-top: 0;
}

ul,
ol {
  margin-top: 0;
}

::selection {
  background: var(--color-primary);
  color: var(--color-bg);
}

main {
  min-height: 60vh;
}

section {
  position: relative;
}

.page-wrapper {
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  color: var(--color-text-muted);
}

strong {
  color: var(--color-text);
}

.large-text {
  max-width: 700px;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
}

.narrow {
  width: min(100%, var(--content-width));
}

/* =========================================================
   LAYOUT
   ========================================================= */

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: var(--space-3xl);
}

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background: rgba(16, 17, 15, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(16, 17, 15, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--color-text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav > a,
.nav-dropdown-toggle {
  position: relative;
  padding-block: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.site-nav > a::after,
.nav-dropdown-toggle::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-primary);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}

.site-nav > a:hover,
.site-nav > a.active,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--color-text);
}

.site-nav > a:hover::after,
.site-nav > a.active::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform var(--transition-normal);
}

/* Services dropdown */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem 0;
  background: transparent;
  border: 0;
  font: inherit;
  color: var(--color-text-muted);
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 0.7em;
  line-height: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  display: none;
  width: max-content;
  min-width: 220px;
  padding: 0.5rem;
  transform: translateX(-50%);
  background: var(--color-bg-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu::before {
  position: absolute;
  top: -0.75rem;
  right: 0;
  left: 0;
  height: 0.75rem;
  content: "";
}

.nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  color: var(--color-text);
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--color-surface-light);
  color: var(--color-primary);
}

/* =========================================================
   HEROES
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(6rem, 12vw, 10rem);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(199, 255, 74, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 255, 74, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero::before {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(199, 255, 74, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(199, 255, 74, 0.05);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  max-width: 900px;
}

.hero-content h1 {
  max-width: 950px;
  margin-bottom: var(--space-xl);
}

.hero-content h1 span {
  color: var(--color-primary);
}

.hero-description {
  max-width: 700px;
  margin-bottom: var(--space-2xl);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

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

.page-hero {
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(
      180deg,
      var(--color-bg-secondary),
      var(--color-bg)
    );
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: var(--space-lg);
}

.page-intro,
.page-hero .lead {
  max-width: 700px;
  margin-bottom: 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

/* System/process visual */

.hero-visual {
  position: relative;
}

.system-card {
  position: relative;
  padding: var(--space-xl);
  background: rgba(29, 32, 28, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.system-card-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(142, 214, 109, 0.35);
}

.system-status {
  margin-left: auto;
  color: var(--color-success);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-flow {
  padding-top: var(--space-xl);
}

.flow-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 58px;
  padding: 0.9rem 1rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.flow-item > span {
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flow-line {
  width: 1px;
  height: 24px;
  margin: 0 auto;
  background: var(--color-border);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.button::before {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  content: "";
  transform: skewX(-20deg);
  transition: left 600ms ease;
  pointer-events: none;
}

.button:hover::before,
.button.clicked::before {
  left: 140%;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-bg);
  box-shadow: 0 8px 25px rgba(199, 255, 74, 0.08);
}

.button-primary:hover {
  background: var(--color-primary-hover);
  color: var(--color-bg);
  box-shadow: 0 12px 30px rgba(199, 255, 74, 0.14);
}

.button-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.button-outline:hover {
  background: var(--color-surface);
  border-color: var(--color-text-muted);
}

.button-ghost {
  background: transparent;
  color: var(--color-text-muted);
}

.button-ghost:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.shine {
  position: relative;
}

/* =========================================================
   PROBLEM / PROCESS SECTIONS
   ========================================================= */

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

.section-dark {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.problem-section .large-text + .large-text {
  margin-top: var(--space-lg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.process-step {
  position: relative;
  padding: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.process-step > span {
  display: block;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.process-step h3 {
  margin-bottom: var(--space-sm);
}

.process-step p {
  margin-bottom: 0;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-page {
  padding-block: var(--space-4xl);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.services-grid-large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-2xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-normal),
    box-shadow var(--transition-normal);
}

.service-card:hover {
  background: var(--color-surface-light);
  border-color: #4a5046;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-xl);
  background: rgba(199, 255, 74, 0.08);
  border: 1px solid rgba(199, 255, 74, 0.16);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.service-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-category {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.service-card p {
  margin-bottom: var(--space-xl);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 700;
}

.text-link span {
  transition: transform var(--transition-fast);
}

.text-link:hover {
  color: var(--color-primary-hover);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* =========================================================
   PACKAGE / PRICING CARDS
   ========================================================= */

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

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--space-lg);
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.package-card:hover {
  transform: translateY(-4px);
  border-color: #4a5046;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.package-featured {
  border-color: var(--color-primary);
  box-shadow:
    0 0 0 1px rgba(199, 255, 74, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.package-badge {
  position: absolute;
  top: 0;
  right: var(--space-xl);
  padding: 0.4rem 0.65rem;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-header h2,
.package-header h3 {
  margin-bottom: var(--space-sm);
}

.package-header p,
.package-description {
  margin-bottom: 0;
}

.package-pricing {
  margin-top: var(--space-xl);
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: var(--space-sm);
}

.price,
.package-price .price {
  color: var(--color-text);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-period {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.setup-price,
.package-setup {
  margin-top: 0;
  margin-bottom: var(--space-xl);
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.package-monthly {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.package-short-description {
  margin: var(--space-md) 0 var(--space-xl);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.package-services {
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.package-services h3 {
  margin-bottom: var(--space-md);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-services li {
  position: relative;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(52, 56, 50, 0.7);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.package-services-plain {
  margin: 0 0 var(--space-xl);
  padding: 0;
  list-style: none;
}

.package-services-plain h3 {
  margin-bottom: var(--space-md);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-services-plain li {
  position: relative;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(52, 56, 50, 0.7);
  color: var(--color-text);
  font-size: 0.9rem;
}

.check-mark {
  flex: 0 0 auto;
  color: var(--color-primary);
  font-weight: 800;
}

.package-action {
  margin-top: auto;
}

.package-action .button {
  width: 100%;
}

/* =========================================================
   PACKAGE COMPARISON
   ========================================================= */

.package-comparison {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.comparison-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.comparison-table thead th {
  color: var(--color-text);
  font-weight: 700;
}

.comparison-table th:first-child {
  width: 50%;
  text-align: left;
}

.comparison-table tbody th {
  font-weight: 400;
}

.comparison-table tbody th a {
  color: var(--color-text);
}

.comparison-table tbody th a:hover {
  color: var(--color-primary);
}

.comparison-table td {
  vertical-align: middle;
}

.comparison-check {
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
}

.comparison-none {
  color: var(--color-text-muted);
  opacity: 0.4;
}

/* =========================================================
   SERVICE DETAIL / PAGE HOOKS
   ========================================================= */

.service-hero {
  padding-block: clamp(5rem, 9vw, 8rem);
  background:
    linear-gradient(
      180deg,
      var(--color-bg-secondary),
      var(--color-bg)
    );
  border-bottom: 1px solid var(--color-border);
}

.process-section {
  position: relative;
}

/* =========================================================
   SERVICE DETAIL PAGES
   ========================================================= */

.service-content {
  padding-block: var(--space-4xl);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: var(--space-4xl);
  align-items: start;
}

.service-main {
  min-width: 0;
}

.service-section,
.content-section {
  width: min(100%, var(--content-width));
  margin-bottom: var(--space-4xl);
}

.service-section:last-child,
.content-section:last-child {
  margin-bottom: 0;
}

.service-section h2,
.content-section h2 {
  margin-bottom: var(--space-lg);
}

.service-section p,
.content-section p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-benefits {
  padding-block: var(--space-4xl);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.service-benefits h2 {
  margin-bottom: var(--space-xl);
}

.service-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-benefits li {
  position: relative;
  padding: 1rem 1rem 1rem 1.75rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.service-benefits li::before {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--color-primary);
  content: "✓";
  font-weight: 800;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.sidebar-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.sidebar-card .button {
  width: 100%;
  margin-top: var(--space-lg);
}

/* =========================================================
   LISTS
   ========================================================= */

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: var(--space-md);
  padding-left: 1.75rem;
  color: var(--color-text-muted);
}

.check-list li::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  color: var(--color-primary);
  content: "✓";
  font-weight: 800;
}

/* =========================================================
   ABOUT
   ========================================================= */

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

.about-story {
  max-width: 700px;
  margin-bottom: var(--space-3xl);
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.approach-card {
  padding: var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.card-number {
  display: block;
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.approach-card h2 {
  margin-bottom: var(--space-sm);
  font-size: 1.35rem;
}

.approach-card p {
  margin-bottom: 0;
}

/* =========================================================
   FAQ
   ========================================================= */

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

.faq-container {
  width: min(100%, 850px);
  margin-inline: auto;
}

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

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: 100%;
  padding: var(--space-xl) 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--transition-normal);
}

.faq-item[open] .faq-icon,
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 760px;
  padding: 0 3rem var(--space-xl) 0;
}

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

/* =========================================================
   CONTACT
   ========================================================= */

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  font-size: 1.05rem;
}

.contact-method {
  display: block;
  margin-top: var(--space-lg);
  color: var(--color-text);
}

.contact-method:hover {
  color: var(--color-primary);
}

.contact-method span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form-wrapper {
  min-width: 0;
}

/* =========================================================
   FORMS
   ========================================================= */

.contact-form {
  padding: var(--space-2xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.form-field {
  margin-bottom: var(--space-lg);
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 650;
}

.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #73796e;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  background: var(--color-bg);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(199, 255, 74, 0.08);
}

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

.form-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.form-status {
  min-height: 1.5em;
  margin-top: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.contact-form > .button {
  width: 100%;
}

/* =========================================================
   CTA
   ========================================================= */

.cta-section {
  position: relative;
  padding-block: var(--space-4xl);
  overflow: hidden;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-section::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(199, 255, 74, 0.05);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cta-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: var(--space-2xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.cta-box h2 {
  max-width: 720px;
  margin-bottom: var(--space-lg);
}

.cta-box p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding-block: var(--space-3xl) var(--space-xl);
  background: #0b0c0a;
  border-top: 1px solid var(--color-border);
}

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

.footer-brand {
  display: inline-block;
  color: var(--color-text);
  font-weight: 800;
}

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

.footer-grid > div > p {
  max-width: 400px;
  margin-top: var(--space-md);
}

.footer-grid h3 {
  margin-bottom: var(--space-md);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.footer-links a {
  width: fit-content;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

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

.footer-contact a {
  width: fit-content;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-contact a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.footer-bottom span {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

/* =========================================================
   ANIMATION / REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .hero-visual {
    max-width: 620px;
  }

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

  .service-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .service-sidebar {
    position: static;
  }

  .approach-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-benefits ul {
    grid-template-columns: 1fr;
  }

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

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--container-width));
  }

  .section,
  .hero,
  .page-hero,
  .services-page,
  .packages-section,
  .service-content,
  .service-benefits,
  .contact-section,
  .faq-section,
  .about-section,
  .cta-section,
  .package-comparison {
    padding-block: var(--space-3xl);
  }

  /* Mobile navigation */

  .mobile-menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  }

  .site-nav a,
  .nav-dropdown-toggle {
    width: 100%;
    padding: 0.9rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav > a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding-left: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
  }

  /* Typography */

  h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  /* Hero */

  .hero {
    min-height: auto;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    max-width: none;
  }

  /* Grids */

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

  /* Cards / forms */

  .service-card,
  .package-card,
  .contact-form,
  .sidebar-card,
  .cta-box {
    padding: var(--space-xl);
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-item summary {
    align-items: flex-start;
  }

  .faq-answer {
    padding-right: 0;
  }

  .comparison-table {
    min-width: 620px;
  }
}

/* =========================================================
FREE WEBSITE AUDIT
========================================================= */

.audit-page {
padding-block: var(--space-4xl);
}

.audit-header {
width: min(100%, 720px);
margin: 0 auto var(--space-3xl);
text-align: center;
}

.audit-header h1 {
margin-bottom: var(--space-lg);
}

.audit-subtitle {
max-width: 650px;
margin: 0 auto;
font-size: 1.1rem;
line-height: 1.7;
}

.audit-card {
width: min(100%, 720px);
margin-inline: auto;
}

.audit-included {
margin-bottom: var(--space-xl);
padding: var(--space-2xl);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
}

.audit-included h2 {
margin-bottom: var(--space-lg);
font-size: 1.35rem;
}

.audit-list {
margin: 0;
padding: 0;
list-style: none;
}

.audit-list li {
position: relative;
padding: 0.9rem 0 0.9rem 1.5rem;
border-top: 1px solid var(--color-border);
color: var(--color-text-muted);
font-size: 0.9rem;
line-height: 1.65;
}

.audit-list li {
border-top: 0;
}

.audit-list li::before {
position: absolute;
top: 1.35rem;
left: 0;
width: 6px;
height: 6px;
background: var(--color-primary);
border-radius: 50%;
content: "";
}

.audit-list strong {
color: var(--color-text);
}

.audit-note {
margin: var(--space-lg) 0 0;
color: var(--color-primary);
font-size: 0.82rem;
font-weight: 650;
}

.audit-form {
padding: var(--space-2xl);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
}

.audit-form .form-field {
margin-bottom: var(--space-xl);
}

.audit-form label span {
color: var(--color-text-muted);
font-size: 0.8rem;
font-weight: 400;
}

.audit-form .button {
width: 100%;
}

.audit-form .button {
cursor: wait;
opacity: 0.6;
transform: none;
}

.audit-status {
min-height: 1.5em;
margin-top: var(--space-lg);
color: var(--color-text-muted);
font-size: 0.9rem;
text-align: center;
}

.audit-report {
margin-top: var(--space-xl);
}

.audit-report {
display: none;
}

/* Handles an HTML report returned by the audit endpoint */

.audit-report-card {
padding: var(--space-2xl);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
}

.audit-report-card h2,
.audit-report-card h3 {
margin-bottom: var(--space-md);
}

.audit-score {
margin-bottom: var(--space-xl);
color: var(--color-primary);
font-size: clamp(3rem, 10vw, 5rem);
font-weight: 800;
line-height: 1;
}

.audit-error {
padding: var(--space-lg);
background: rgba(199, 255, 74, 0.05);
border: 1px solid var(--color-border);
border-radius: var(--radius-md);
color: var(--color-text-muted);
}

@media (max-width: 700px) {
.audit-page {
padding-block: var(--space-3xl);
}

.audit-included,
.audit-form,
.audit-report-card {
padding: var(--space-xl);
}

.audit-header {
margin-bottom: var(--space-2xl);
}
}