/* ===================================
   ShopperExperts - Main Stylesheet
   Modern B2B Corporate Design
   =================================== */

/* CSS Variables */
:root {
  /* ---- Brand core (new names, use these in new code) ---- */
  --ob-ink:        #181C20;   /* near-black graphite — default ground */
  --ob-signal:     #008FE4;   /* Signal Blue — data accent, RATION IT */
  --ob-slate:      #3E4C59;   /* structural blue, secondary data series */
  --ob-amber:      #C8843C;   /* warm third series, exceptions (not alarm) */
  --ob-paper:      #F5F3EE;   /* warm off-white ground */
  --ob-cloud:      #E7E3DA;   /* fills, dividers, table banding */
  --ob-ash:        #A8A59B;   /* captions, metadata, disabled */
  --ob-sub:        #565A57;   /* secondary body text */

  /* ---- Compatibility layer: existing shopperxp names remapped ----
     Do NOT delete these — the current stylesheet references them. */
  --primary-blue:        #181C20;  /* primary action = INK, not blue */
  --primary-blue-dark:   #000000;  /* hover for ink buttons */
  --primary-blue-light:  #008FE4;  /* the one place blue lives: accents/links */

  /* Neutrals: warm ramp replacing the cool slate-gray ramp */
  --gray-50:  #FAF9F6;
  --gray-100: #F5F3EE;
  --gray-200: #E7E3DA;
  --gray-300: #D7D2C7;
  --gray-400: #A8A59B;
  --gray-500: #7C7E78;
  --gray-600: #565A57;
  --gray-700: #3A3E3F;
  --gray-800: #25292C;
  --gray-900: #181C20;

  /* Accents: repurpose the teal/green slots to Operbit signals */
  --accent-teal:  #008FE4;   /* was teal — now Signal Blue   */
  --accent-green: #008FE4;   /* was green — checks/positive use Signal Blue
                                (or set to #1F8A5B if you want a true green) */

  --bg-white: #FFFFFF;
  --bg-light: #F5F3EE;       /* warm, not cool */

  /* ---- Typography ---- */
  --font-primary: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-display: var(--font-mono);  /* headings + the wordmark are MONO */

  /* ---- Spacing ---- */
  --section-padding: 6rem;   /* a touch more air — restrained/editorial */
  --container-max: 1180px;

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

  /* ---- Radii (new) — tighter, more engineered than the old 8–16px ---- */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 4px;        /* kill pills: 'pill' shapes become near-square */

  /* ---- Shadows — quieter; flat + 1px hairline is the house style ---- */
  --shadow-sm: 0 1px 2px 0 rgb(24 28 32 / 0.06);
  --shadow-md: 0 2px 8px -2px rgb(24 28 32 / 0.10);
  --shadow-lg: 0 8px 24px -6px rgb(24 28 32 / 0.12);
  --shadow-xl: 0 16px 40px -8px rgb(24 28 32 / 0.16);
  --hairline: 1px solid rgb(24 28 32 / 0.12);
}

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

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

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-blue-light);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--gray-900);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.section--dark {
  background-color: var(--gray-900);
  color: var(--gray-100);
}

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

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__subtitle {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
}

.section__description {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo__image {
  height: 40px;
  width: auto;
}

.logo__image--wide {
  height: 36px;
  width: auto;
}

.logo__icon {
  width: 40px;
  height: 40px;
  background: var(--ob-ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-paper);
  font-weight: 700;
  font-size: 1.125rem;
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary-blue);
  background-color: var(--gray-50);
}

/* Mobile Menu Button */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--gray-700);
}

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

/* ===================================
   Language Switcher
   =================================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1rem;
}

.lang-switcher__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.lang-switcher__link:hover {
  color: var(--primary-blue);
  background-color: var(--gray-50);
}

.lang-switcher__link--active {
  color: var(--primary-blue);
  background-color: var(--gray-100);
}

.lang-switcher__divider {
  color: var(--gray-300);
  font-size: 0.75rem;
}

.lang-switcher__code {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile adjustments for language switcher */
@media (max-width: 768px) {
  .lang-switcher {
    position: absolute;
    top: 20px;
    right: 60px;
    margin-right: 0;
  }
}

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--primary {
  background: var(--ob-ink);
  color: var(--ob-paper);
}

.btn--primary:hover {
  background: #000;
  color: var(--ob-paper);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--ob-ink);
  border: 1px solid var(--ob-ink);
}

.btn--secondary:hover {
  background: var(--ob-ink);
  color: var(--ob-paper);
}

.btn--ghost {
  background-color: transparent;
  color: var(--gray-700);
}

.btn--ghost:hover {
  background-color: var(--gray-100);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  padding-top: 120px;
  padding-bottom: 5rem;
  background: var(--ob-paper);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--primary-blue);
}

.hero__description {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__ideal-client {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 2rem;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background-color: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.hero__benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.hero__benefit-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero__benefit svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.hero__stats-qualifier {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero__visual {
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--ob-cloud);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-ash);
  font-size: 0.875rem;
}

/* ===================================
   Features/Services Grid
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.features-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--primary-blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--ob-ink);
  color: var(--ob-paper);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature-card__title {
  margin-bottom: 0.75rem;
}

.feature-card__description {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Services Cards - Large */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.service-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--ob-cloud);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-ash);
  font-size: 0.875rem;
}

img.service-card__image {
  display: block;
}

.service-card__content {
  padding: 2rem;
}

.service-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-card__title {
  margin-bottom: 0.75rem;
}

.service-card__description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

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

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.service-card__feature svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ===================================
   Why Us Section
   =================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-card__icon {
  width: 64px;
  height: 64px;
  background-color: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.why-card__icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-blue);
}

.why-card__title {
  margin-bottom: 0.75rem;
}

.why-card__description {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ===================================
   Process/Steps
   =================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--ob-cloud);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 80px;
  height: 80px;
  background: var(--ob-ink);
  color: var(--ob-paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

.process-step__title {
  margin-bottom: 0.75rem;
}

.process-step__description {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
  background: var(--ob-ink);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta__title {
  color: white;
  margin-bottom: 1rem;
}

.cta__description {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.cta .btn--secondary:hover {
  background-color: var(--gray-100);
  color: var(--primary-blue-dark);
}

/* ===================================
   Services Page Specific
   =================================== */
.page-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
  background: var(--ob-paper);
  text-align: center;
}

.page-hero__title {
  margin-bottom: 1rem;
}

.page-hero__description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail--reverse {
  direction: rtl;
}

.service-detail--reverse > * {
  direction: ltr;
}

.service-detail__content {
  max-width: 520px;
}

.service-detail__tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-detail__title {
  margin-bottom: 1rem;
}

.service-detail__description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.service-detail__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-detail__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray-700);
}

.service-detail__item svg {
  width: 24px;
  height: 24px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-detail__visual {
  position: relative;
}

.service-detail__image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.service-detail__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--ob-cloud);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ob-ash);
  font-size: 0.875rem;
}

/* Service Deliverables */
.service-deliverables {
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-deliverables__title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.service-deliverables__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: disc;
  padding-left: 1.25rem;
}

.service-deliverables__list li {
  font-size: 0.9375rem;
  color: var(--gray-700);
}

/* Starter Package Box */
.starter-package {
  background: var(--bg-white);
  border: 2px solid var(--primary-blue);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.starter-package__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  background-color: var(--primary-blue);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.starter-package__title {
  margin-bottom: 0.75rem;
}

.starter-package__description {
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.starter-package__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.starter-package__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.starter-package__option svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

/* ===================================
   About Page
   =================================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro__content {
  max-width: 520px;
}

.about-intro__title {
  margin-bottom: 1.5rem;
}

.about-intro__text {
  color: var(--gray-600);
  font-size: 1.125rem;
}

.about-intro__visual {
  position: relative;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--ob-ink);
  color: var(--ob-paper);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.value-card__title {
  margin-bottom: 0.75rem;
}

.value-card__description {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===================================
   Contact Page
   =================================== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  max-width: 480px;
}

.contact-info__title {
  margin-bottom: 1rem;
}

.contact-info__description {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.contact-info__items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background-color: var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
}

.contact-info__label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-weight: 500;
  color: var(--gray-800);
}

.contact-form-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form__title {
  margin-bottom: 0.5rem;
}

.contact-form__subtitle {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--gray-800);
  background-color: var(--bg-white);
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--ob-signal);
  box-shadow: 0 0 0 3px rgb(0 143 228 / .15);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

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

.form-required {
  color: #dc2626;
}

.form-disclaimer {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
  text-align: center;
}

.form-disclaimer a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* ===================================
   Legal Pages (Privacy, Terms)
   =================================== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content__updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  color: var(--gray-600);
  line-height: 1.8;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary-blue);
}

/* Features grid centered variant */
.features-grid--centered {
  justify-items: center;
}

/* ===================================
   Clients / Trusted By
   =================================== */
.clients {
  padding: 3rem 0;
}

.clients__header {
  text-align: center;
  margin-bottom: 2rem;
}

.clients__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  align-items: center;
}

.clients__logo {
  height: 48px;
  width: 130px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition-base);
}

/* Square logos need more height to match visual weight */
.clients__logo--square {
  height: 56px;
  width: 80px;
}

.clients__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer__logo .logo__icon {
  background: var(--ob-paper);
  color: var(--ob-ink);
}

.footer__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  background-color: var(--gray-800);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background-color: var(--primary-blue);
  color: white;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__column h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__link {
  color: var(--gray-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: white;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  gap: 2rem;
}

.footer__legal a {
  color: var(--gray-500);
}

.footer__legal a:hover {
  color: white;
}

/* ===================================
   Case Studies
   =================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case-study-card {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
}

.case-study-card:hover {
  border-color: var(--primary-blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-study-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.case-study-card__title {
  margin-bottom: 0.75rem;
}

.case-study-card__description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.case-study-card__results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-study-card__result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background-color: var(--gray-50);
  border-radius: 8px;
}

.case-study-card__result-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-green);
  white-space: nowrap;
}

.case-study-card__result-label {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0;
}

/* ===================================
   Pricing Cards
   =================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.pricing-card:hover {
  border-color: var(--primary-blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pricing-card__title {
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.pricing-card__unit {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.pricing-card__description {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.pricing-note {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9375rem;
  max-width: 600px;
  margin: 2rem auto 0;
  font-style: italic;
}

/* ===================================
   Insights Cards
   =================================== */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.insight-card {
  background-color: var(--bg-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  border-color: var(--primary-blue-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.insight-card__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--gray-100);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.insight-card__title {
  margin-bottom: 0.75rem;
}

.insight-card__title a {
  color: var(--gray-900);
}

.insight-card__title a:hover {
  color: var(--primary-blue);
}

.insight-card__description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.insight-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.insight-card__link:hover {
  color: var(--primary-blue-dark);
}

.insight-card__link svg {
  width: 16px;
  height: 16px;
}

/* ===================================
   Article Content
   =================================== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-content__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.article-content h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content p {
  color: var(--gray-600);
  line-height: 1.8;
}

.article-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content li {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content__cta {
  margin-top: 3rem;
  padding: 2rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
}

.article-content__cta h3 {
  margin-bottom: 0.75rem;
}

.article-content__cta p {
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__container {
    gap: 3rem;
  }

  .features-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients__grid {
    gap: 1.5rem 2rem;
  }

  .process-steps::before {
    display: none;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero__benefits {
    flex-direction: column;
    gap: 0.75rem;
  }

  .starter-package {
    padding: 1.5rem;
  }

  .starter-package__options {
    max-width: 100%;
  }

  .header__container {
    height: 64px;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav__list.active {
    display: flex;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav__toggle {
    display: block;
  }

  .nav .btn {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__container,
  .service-detail,
  .about-intro,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero__visual {
    order: 1;
    max-height: 280px;
    overflow: hidden;
    border-radius: var(--radius-lg);
  }

  .hero__visual .hero__image {
    object-fit: cover;
    height: 280px;
  }

  .service-detail--reverse {
    direction: ltr;
  }

  .services-grid,
  .features-grid,
  .values-grid,
  .why-us-grid,
  .process-steps,
  .case-studies-grid,
  .pricing-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .clients__grid {
    gap: 1.25rem 1.5rem;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .clients__grid {
    gap: 1rem 1.25rem;
  }

  .clients__logo {
    max-height: 36px;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ===================================
   Operbit — Mono headings (BUILD.md §3b)
   =================================== */
h1, h2, h3, h4, h5, h6,
.section__subtitle, .hero__badge,
.hero__stat-value, .case-study-card__result-value,
.pricing-card__price, .logo {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section__subtitle, .service-card__tag, .case-study-card__tag,
.insight-card__tag, .service-detail__tag {
  font-weight: 500;
  letter-spacing: 0.16em;   /* mono eyebrows want wide tracking */
  text-transform: uppercase;
}
