/* ============================================
   LUMON SOFTWARE — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
  --navy: #0a0f1a;
  --navy-light: #131a2e;
  --navy-mid: #1c2541;
  --terracotta: #e07a5f;
  --terracotta-hover: #c9694f;
  --white: #ffffff;
  --gray-50: #f9f9fa;
  --gray-100: #f0f0f2;
  --gray-200: #e0e0e4;
  --gray-400: #9a9aab;
  --gray-600: #6b6b7b;
  --gray-800: #2a2a3a;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--gray-600);
  max-width: 65ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: -0.02em;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  font-weight: 500;
}

.label--green {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2dd48c;
  font-weight: 500;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }
.mb-3 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-075 { margin-top: 0.75rem; }

/* --- Focus Styles --- */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

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

/* --- Honeypot --- */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.color-white { color: var(--white); }
.color-green { color: #2dd48c; }

.stats__number--green {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #2dd48c;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  line-height: 1.2;
}

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

.container--narrow {
  max-width: 800px;
}

section {
  padding: 7rem 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

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

.btn--primary:hover {
  background: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.3);
}

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

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 15, 26, 0.3);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--terracotta);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__cta {
  margin-left: 1rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(224, 122, 95, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(28, 37, 65, 0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__content .label {
  margin-bottom: 1.5rem;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__content h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero__content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-bar__highlights {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.trust-bar__proof {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
  max-width: none;
}

.trust-bar__proof strong {
  color: var(--navy);
  font-weight: 600;
}

.trust-bar__divider {
  width: 1px;
  height: 24px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.trust-bar__products {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.trust-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}

.trust-bar__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .trust-bar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-bar__highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .trust-bar__divider {
    display: none;
  }
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 4rem;
}

.section-header .label {
  margin-bottom: 1rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--gray-400);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 15, 26, 0.08);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.card__number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* --- Stats --- */
.stats {
  background: var(--navy);
  padding: 5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__number,
.stats__item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.stats__item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- Process --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.process-card__step {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gray-100);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-card h3 {
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.9rem;
  margin: 0 auto;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  margin: 0 auto 2.5rem;
}

/* --- About Page --- */
.about-hero {
  background: var(--navy);
  padding: 10rem 0 6rem;
}

.about-hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  max-width: 600px;
}

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

.value-card {
  padding: 2.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--gray-200);
  background: var(--white);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.95rem;
}

/* --- Manifesto --- */
.manifesto {
  background: var(--gray-50);
}

.manifesto__content {
  max-width: 700px;
  margin: 0 auto;
}

.manifesto__content blockquote {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  border-left: 3px solid var(--terracotta);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.manifesto__content p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* --- Contact Page --- */
.contact-hero {
  background: var(--navy);
  padding: 10rem 0 6rem;
}

.contact-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--terracotta);
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

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

.contact-info {
  padding-top: 1rem;
}

.contact-info__item {
  margin-bottom: 2.5rem;
}

.contact-info__item h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-info__item p {
  font-size: 0.95rem;
}

.contact-info__item a {
  color: var(--terracotta);
}

.contact-info__item a:hover {
  text-decoration: underline;
}

/* --- Services Page --- */
.services-hero {
  background: var(--navy);
  padding: 10rem 0 6rem;
}

.services-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.services-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__content .label {
  margin-bottom: 1rem;
}

.service-detail__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.service-detail__content p {
  margin-bottom: 1.5rem;
}

.service-detail__content ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-detail__content ul li {
  font-size: 0.95rem;
  color: var(--gray-600);
  padding-left: 1.5rem;
  position: relative;
}

.service-detail__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.service-detail__visual {
  background: var(--gray-50);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.service-detail:nth-child(even) .service-detail__visual {
  order: -1;
}

/* --- HIPAA Section --- */
.hipaa-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.hipaa-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(45, 212, 140, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.hipaa-banner__content .label--green {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2dd48c;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hipaa-banner__content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hipaa-banner__content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hipaa-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hipaa-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hipaa-feature__icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(45, 212, 140, 0.1);
  border: 1px solid rgba(45, 212, 140, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd48c;
  font-size: 1rem;
}

.hipaa-feature p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.hipaa-feature strong {
  color: var(--white);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.hipaa-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.hipaa-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.hipaa-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(45, 212, 140, 0.2);
}

.hipaa-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.hipaa-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.hipaa-card .mono {
  color: #2dd48c;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* --- HIPAA Detail Page --- */
.hipaa-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 10rem 0 6rem;
}

.hipaa-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hipaa-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  max-width: 600px;
}

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

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

.compliance-card:hover {
  border-color: #2dd48c;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 15, 26, 0.08);
}

.compliance-card .mono {
  color: #2dd48c;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  display: block;
}

.compliance-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.compliance-card p {
  font-size: 0.92rem;
}

.infra-section {
  background: var(--gray-50);
}

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

.infra-detail h3 {
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.infra-detail h3:first-child {
  margin-top: 0;
}

.infra-detail p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.infra-visual {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.infra-visual__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.infra-visual__item:last-child {
  border-bottom: none;
}

.infra-visual__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(45, 212, 140, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2dd48c;
  font-size: 1.1rem;
}

.infra-visual__text strong {
  color: var(--white);
  display: block;
  font-size: 0.9rem;
}

.infra-visual__text span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .hipaa-banner__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .use-cases-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hipaa-features {
    grid-template-columns: 1fr;
  }

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

/* --- Tech Stack --- */
.tech-stack {
  background: var(--gray-50);
}

.tech-stack__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 3rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: all var(--transition);
}

.tech-pill:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 15, 26, 0.06);
}

.tech-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer__brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer__col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

/* --- Vertical/Solution Pages --- */
.vertical-hero {
  background: var(--navy);
  padding: 10rem 0 6rem;
}

.vertical-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.vertical-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  max-width: 640px;
}

.vertical-overview {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.vertical-overview__text .label {
  margin-bottom: 1rem;
}

.vertical-overview__text h2 {
  margin-bottom: 1.5rem;
}

.vertical-overview__text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.vertical-overview__stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.vertical-stat__number {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.vertical-stat p {
  font-size: 0.9rem;
}

.vertical-features {
  background: var(--gray-50);
}

.vertical-why {
  background: var(--navy);
}

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

.vertical-why__content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.vertical-why__content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.vertical-why__points {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vertical-why__point {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.vertical-why__point:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(224, 122, 95, 0.3);
}

.vertical-why__point strong {
  color: var(--white);
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.vertical-why__point span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

/* --- Solutions Section (Homepage) --- */
.solutions-section {
  background: var(--gray-50);
}

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

.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 15, 26, 0.08);
}

.solution-card .mono {
  color: var(--terracotta);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  display: block;
  text-transform: uppercase;
}

.solution-card h3 {
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-card .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

@media (max-width: 991px) {
  .vertical-overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */
@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .service-detail:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 767px) {
  section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__cta {
    margin-left: 0;
  }

  .nav__toggle {
    display: flex;
  }

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

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

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

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

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

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

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

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

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

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

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

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

  h1 {
    font-size: 2rem;
  }
}
