/* =========================================================================
   BLUE OAK INTERACTIVE — STYLESHEET
   Aesthetic: Geometric Precision with Strategic Warmth
   ========================================================================= */

/* -------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------------------------------- */
:root {
  /* Colors - Core Palette */
  --c-bg: #FFFFFF;
  --c-surface: #F9F9F9;
  --c-border: #E0E0E0;

  /* Colors - Brand (PRIMARY BLUE IS SACRED) */
  --c-primary: #3090BC;
  --c-primary-dark: #1E5F7E;
  --c-primary-light: #E8F5F9;
  --c-secondary: #0DA9BC;
  --c-accent: #F39120;
  --c-accent-dark: #D87D15;

  /* Colors - Text Hierarchy */
  --c-text: #404041;
  --c-text-2: #5A5A5A;
  --c-text-muted: #7A7A7A;
  --c-text-inverse: #FFFFFF;

  /* Colors - Semantic */
  --c-success: #4CAF50;
  --c-warning: #EBB218;
  --c-error: #E53935;

  /* Typography */
  --f-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type Scale (Major Third - 1.25) */
  --fs-d1: clamp(2.5rem, 5vw, 3.815rem);
  --fs-d2: clamp(2rem, 4vw, 3.052rem);
  --fs-d3: clamp(1.5rem, 3vw, 2.441rem);
  --fs-h1: clamp(1.25rem, 2.5vw, 1.953rem);
  --fs-h2: clamp(1.125rem, 2vw, 1.563rem);
  --fs-h3: 1.25rem;
  --fs-base: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --section-padding: 80px;

  /* Borders - SHARP GEOMETRIC */
  --radius-sm: 0px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 24px rgba(48,144,188,0.3);
  --shadow-nav: 0 2px 20px rgba(0,0,0,0.08);

  /* Layout */
  --max-w: 1280px;
  --nav-h: 72px;
  --gutter: 24px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--c-primary-dark);
}

/* -------------------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

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

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

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

.section__header {
  margin-bottom: var(--space-6);
}

.section__header--center {
  text-align: center;
}

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

/* -------------------------------------------------------------------------
   COMPONENT: Typography
   ------------------------------------------------------------------------- */
.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  margin-bottom: var(--space-2);
}

h1, .h1 {
  font-family: var(--f-display);
  font-size: var(--fs-d1);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-text);
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--f-display);
  font-size: var(--fs-d2);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-text);
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--f-display);
  font-size: var(--fs-d3);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}

h4, .h4 {
  font-family: var(--f-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-text);
}

h5, .h5 {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}

h6, .h6 {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
}

p {
  margin-bottom: 1em;
}

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

.lead {
  font-size: var(--fs-h2);
  line-height: 1.5;
  color: var(--c-text-2);
}

.text-muted {
  color: var(--c-text-muted);
}

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

.text-accent {
  color: var(--c-accent);
}

blockquote {
  position: relative;
  padding: var(--space-4);
  padding-left: var(--space-5);
  background: var(--c-surface);
  border-left: 4px solid var(--c-primary);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-accent);
  opacity: 0.4;
  line-height: 1;
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  font-style: normal;
  font-weight: 600;
  color: var(--c-text-muted);
}

/* -------------------------------------------------------------------------
   COMPONENT: Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 16px 32px;
  font-family: var(--f-display);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-accent);
  color: var(--c-text-inverse);
  border-color: var(--c-accent);
}

.btn--primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: var(--c-text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}

.btn--secondary:hover {
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: transparent;
  padding: 0;
}

.btn--ghost:hover {
  color: var(--c-primary-dark);
}

.btn--ghost .btn__arrow {
  transition: transform var(--transition-fast);
}

.btn--ghost:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--white {
  background: var(--c-bg);
  color: var(--c-primary);
  border-color: var(--c-bg);
}

.btn--white:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary-light);
  color: var(--c-primary-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--c-text-inverse);
  border-color: var(--c-text-inverse);
}

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

.btn--lg {
  padding: 20px 40px;
  font-size: var(--fs-h3);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

/* -------------------------------------------------------------------------
   COMPONENT: Navigation
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  background: var(--c-bg);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

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

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.nav__logo-icon {
  width: 40px;
  height: 40px;
  color: var(--c-primary);
}

.nav__logo-text {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-text);
}

.nav__menu {
  display: none;
  list-style: none;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .nav__menu {
    display: flex;
  }
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-2) var(--space-2);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-text);
  transition: color var(--transition-fast);
}

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

.nav__link[aria-current="page"] {
  color: var(--c-primary);
}

.nav__link-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav__item:hover .nav__link-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--c-bg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-list {
  list-style: none;
  padding: var(--space-1) 0;
}

.nav__dropdown-link {
  display: block;
  padding: 12px 24px;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-text);
  transition: all var(--transition-fast);
}

.nav__dropdown-link:hover {
  background: var(--c-primary-light);
  color: var(--c-primary);
}

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

.nav__cta {
  display: none;
}

@media (min-width: 1024px) {
  .nav__cta {
    display: inline-flex;
  }
}

/* Mobile Toggle */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }
}

.nav__toggle-bar {
  width: 100%;
  height: 2px;
  background: var(--c-text);
  transition: all var(--transition-fast);
}

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

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu Overlay */
.nav__mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--nav-h));
  background: var(--c-bg);
  padding: var(--space-4);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  z-index: 999;
}

.nav__mobile--open {
  transform: translateX(0);
}

.nav__mobile-list {
  list-style: none;
}

.nav__mobile-link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--fs-h2);
  font-weight: 600;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

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

.nav__mobile-sublist {
  list-style: none;
  padding-left: var(--space-3);
}

.nav__mobile-sublink {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--c-text-2);
}

.nav__mobile-cta {
  margin-top: var(--space-4);
}

/* -------------------------------------------------------------------------
   COMPONENT: Hero (Homepage - Full Viewport)
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80vh;
  padding: calc(var(--nav-h) + var(--space-8)) 0 var(--space-8);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(64,64,65,0.4) 0%, rgba(64,64,65,0.7) 100%);
  z-index: 1;
}

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

.hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: var(--space-3);
}

.hero__title {
  font-size: var(--fs-d1);
  font-weight: 800;
  line-height: 1.05;
  color: var(--c-text-inverse);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: var(--fs-h2);
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-5);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Geometric accent shapes */
.hero__shape {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
}

.hero__shape--1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  background: var(--c-accent);
  transform: rotate(45deg);
}

.hero__shape--2 {
  bottom: 15%;
  right: 20%;
  width: 100px;
  height: 100px;
  border: 4px solid var(--c-text-inverse);
  transform: rotate(15deg);
}

/* -------------------------------------------------------------------------
   COMPONENT: Interior Page Header (Compact)
   ------------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + var(--space-8)) 0 var(--space-8);
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__content {
  position: relative;
  z-index: 1;
}

.page-header__eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-accent);
  margin-bottom: var(--space-2);
}

.page-header__title {
  font-size: var(--fs-d2);
  font-weight: 800;
  color: var(--c-text-inverse);
  letter-spacing: -0.01em;
}

.page-header__subtitle {
  font-size: var(--fs-h2);
  color: rgba(255,255,255,0.8);
  margin-top: var(--space-2);
}

/* -------------------------------------------------------------------------
   COMPONENT: Cards
   ------------------------------------------------------------------------- */
/* Service Card */
.card {
  position: relative;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card__media--square {
  aspect-ratio: 1;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-4);
}

.card__title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--space-2);
}

.card__description {
  font-size: var(--fs-base);
  color: var(--c-text-2);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--c-primary);
}

.card__link-arrow {
  transition: transform var(--transition-fast);
}

.card:hover .card__link-arrow {
  transform: translateX(4px);
}

/* Client Card */
.card--client {
  border-left-width: 1px;
  background: var(--c-surface);
}

.card--client .card__body {
  text-align: center;
}

/* Testimonial Card */
.card--testimonial {
  background: var(--c-surface);
  border-left: 4px solid var(--c-primary);
  padding: var(--space-5);
}

.card--testimonial:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.card--testimonial .card__quote-icon {
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.card--testimonial .card__quote {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: var(--space-4);
}

.card--testimonial .card__author {
  font-weight: 600;
  color: var(--c-text);
}

.card--testimonial .card__role {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}

/* -------------------------------------------------------------------------
   COMPONENT: Grids
   ------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--gutter);
}

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

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

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

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

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

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

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

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

/* Two Column Layout */
.two-col {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

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

.two-col--reverse .two-col__media {
  order: 1;
}

@media (min-width: 768px) {
  .two-col--reverse .two-col__media {
    order: 2;
  }
  .two-col--reverse .two-col__content {
    order: 1;
  }
}

.two-col__media img {
  width: 100%;
  box-shadow: var(--shadow-md);
}

/* -------------------------------------------------------------------------
   COMPONENT: Client Logos
   ------------------------------------------------------------------------- */
.logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: center;
}

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

@media (min-width: 1024px) {
  .logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition-base);
}

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

.logos__item img {
  max-height: 48px;
  width: auto;
}

/* -------------------------------------------------------------------------
   COMPONENT: Stats
   ------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

.stats__item {
  text-align: center;
  padding: var(--space-4);
}

.stats__number {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stats__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -------------------------------------------------------------------------
   COMPONENT: CTA Band
   ------------------------------------------------------------------------- */
.cta-band {
  padding: var(--space-8) 0;
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}

.cta-band__bg-shape {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  transform: rotate(45deg);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.cta-band__content {
  max-width: 600px;
}

.cta-band__title {
  font-size: var(--fs-d3);
  font-weight: 700;
  color: var(--c-text-inverse);
  margin-bottom: var(--space-2);
}

.cta-band__text {
  font-size: var(--fs-h2);
  color: rgba(255,255,255,0.85);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* -------------------------------------------------------------------------
   COMPONENT: Forms
   ------------------------------------------------------------------------- */
.form {
  max-width: 600px;
}

.form--full {
  max-width: none;
}

.form__group {
  margin-bottom: var(--space-4);
}

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: var(--space-1);
}

.form__label--required::after {
  content: '*';
  color: var(--c-error);
  margin-left: 4px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--c-text-muted);
}

.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='%23404041' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
  cursor: pointer;
}

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

.form__hint {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  margin-top: var(--space-1);
}

.form__error {
  font-size: var(--fs-sm);
  color: var(--c-error);
  margin-top: var(--space-1);
}

.form__input--error {
  border-color: var(--c-error);
}

.form__success {
  padding: var(--space-3);
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--c-success);
  color: var(--c-success);
  font-weight: 500;
}

/* -------------------------------------------------------------------------
   COMPONENT: Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--c-text);
  color: var(--c-text-inverse);
  padding: var(--space-8) 0 0;
}

.footer__grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

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

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  color: var(--c-primary);
}

.footer__logo-text {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-text-inverse);
}

.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer__heading {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-3);
}

.footer__list {
  list-style: none;
}

.footer__link {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--c-primary);
}

.footer__contact-item {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.8);
}

.footer__contact-link {
  color: var(--c-primary);
}

.footer__contact-link:hover {
  color: var(--c-accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-4) 0;
}

.footer__copyright {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.4);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__copyright {
    text-align: left;
  }
}

/* -------------------------------------------------------------------------
   COMPONENT: Lists
   ------------------------------------------------------------------------- */
.list {
  list-style: none;
  margin: var(--space-3) 0;
}

.list__item {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}

.list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--c-primary);
}

.list--check .list__item::before {
  content: '✓';
  width: auto;
  height: auto;
  background: none;
  color: var(--c-primary);
  font-weight: 700;
  top: 0;
}

/* -------------------------------------------------------------------------
   COMPONENT: Divider
   ------------------------------------------------------------------------- */
.divider {
  position: relative;
  height: 1px;
  background: var(--c-border);
  margin: var(--space-6) 0;
}

.divider::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 16px;
  height: 16px;
  background: var(--c-primary);
}

.divider--center::after {
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* -------------------------------------------------------------------------
   COMPONENT: Content Blocks
   ------------------------------------------------------------------------- */
.content-block {
  margin-bottom: var(--space-6);
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  margin-bottom: var(--space-3);
}

.content-block h3 {
  margin-bottom: var(--space-2);
}

.content-block ul,
.content-block ol {
  margin: var(--space-3) 0;
  padding-left: var(--space-4);
}

.content-block li {
  margin-bottom: var(--space-1);
}
