/* Bluivee — corporate landing */

:root {
  --bg: #eef1ef;
  --bg-elevated: #e4e8e6;
  --bg-card: #f4f6f5;
  --border: rgba(132, 204, 22, 0.18);
  --text: #0f1f14;
  --text-secondary: #4b6358;
  --text-muted: #6b8578;
  --accent: #65a30d;
  --accent-light: #84cc16;
  --accent-glow: rgba(132, 204, 22, 0.15);
  --green: #4d7c0f;
  --navy: #0f2847;
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Skip link & focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: inherit;
}

/* Brand lockups */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.brand-lockup--lg {
  gap: 0.85rem;
}

.brand-lockup--xl {
  gap: 1rem;
  align-items: flex-start;
}

.brand-lockup--contact {
  margin-bottom: 1rem;
}

.brand-icon {
  flex-shrink: 0;
  border-radius: 10px;
}

.brand-lockup-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.brand-lockup--lg .brand-name {
  font-size: 1.5rem;
}

.brand-lockup--xl .brand-name {
  font-size: 1.75rem;
}

.brand-name--navy {
  color: var(--navy);
}

.brand-tagline,
.brand-descriptor {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.product-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.15rem;
}

.brand-lockup--xl .product-subtitle {
  font-size: 0.9375rem;
  max-width: 22rem;
}

.brand-byline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.by-brand {
  color: var(--accent);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 246, 245, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.lang-switch:hover {
  color: var(--text);
  border-color: rgba(132, 204, 22, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1rem;
  background: rgba(244, 246, 245, 0.98);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a {
  padding: 0.75rem 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
}

.mobile-nav a:hover {
  color: var(--text);
  background: rgba(132, 204, 22, 0.08);
}

body.nav-open {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
}

.btn-portcontrol {
  background: var(--bg-card);
  color: var(--navy);
  border-color: rgba(15, 40, 71, 0.15);
}

.btn-portcontrol:hover {
  border-color: rgba(15, 40, 71, 0.3);
  background: #fff;
}

.btn-portcontrol-solid {
  background: var(--navy);
  color: #fff;
}

.btn-portcontrol-solid:hover {
  background: #1a3a5c;
  color: #fff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #fff;
  border-color: rgba(132, 204, 22, 0.35);
  color: var(--text);
}

.btn-card {
  margin-top: auto;
  width: 100%;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 4.5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  transform: scale(1.02);
  filter: saturate(0.95) contrast(1.02);
}

.hero-backdrop-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(238, 241, 239, 0.72) 0%,
      rgba(238, 241, 239, 0.42) 36%,
      rgba(232, 238, 245, 0.38) 64%,
      rgba(238, 241, 239, 0.55) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(238, 241, 239, 0.35) 0%,
      transparent 28%,
      transparent 72%,
      rgba(238, 241, 239, 0.55) 100%
    ),
    radial-gradient(ellipse 55% 50% at 14% 40%, rgba(101, 163, 13, 0.12), transparent 58%),
    radial-gradient(ellipse 50% 48% at 88% 58%, rgba(15, 40, 71, 0.14), transparent 55%);
}

.hero-backdrop-split {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  z-index: 1;
}

.hero-backdrop-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-backdrop-tag--finance {
  color: var(--green);
  background: rgba(244, 246, 245, 0.72);
  border: 1px solid rgba(101, 163, 13, 0.28);
}

.hero-backdrop-tag--ports {
  color: var(--navy);
  background: rgba(232, 238, 245, 0.75);
  border: 1px solid rgba(15, 40, 71, 0.2);
}

.hero::before {
  display: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-brand-panel {
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-content {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(238, 241, 239, 0.78);
  border: 1px solid rgba(15, 31, 20, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 36px rgba(15, 31, 20, 0.06);
}

.hero-brand-card {
  background: rgba(244, 246, 245, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 8px 32px rgba(15, 31, 20, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-brand-card--master {
  border-color: rgba(132, 204, 22, 0.28);
}

.hero-brand-card--product {
  border-color: rgba(15, 40, 71, 0.18);
  background: linear-gradient(145deg, #f0f4f8 0%, var(--bg-card) 100%);
}

.hero-brand-connector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
}

.connector-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-light), var(--navy));
  opacity: 0.45;
}

.connector-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-pill-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.hero-pill-list li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  background: rgba(132, 204, 22, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(132, 204, 22, 0.15);
}

.hero-product-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-verticals {
  margin-top: 0.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(244, 246, 245, 0.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-verticals-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-verticals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-verticals-list li {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.35;
}

.hero-more-note {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Anchor products */
.anchor-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.anchor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 8px 28px rgba(15, 31, 20, 0.05);
}

.anchor-card--portcontrol {
  border-color: rgba(15, 40, 71, 0.18);
  background: linear-gradient(145deg, #e8eef5 0%, var(--bg-card) 60%);
}

.anchor-card--consolida {
  border-color: rgba(101, 163, 13, 0.28);
  background: linear-gradient(145deg, rgba(132, 204, 22, 0.1) 0%, var(--bg-card) 55%);
}

.anchor-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.anchor-card h3 a {
  text-decoration: none;
  color: inherit;
}

.anchor-card h3 a:hover {
  color: var(--accent);
}

.anchor-card > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.anchor-card .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.more-solutions {
  margin-bottom: 2.75rem;
}

.more-solutions-lead {
  margin: -0.5rem 0 1.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

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

.more-solution {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.more-solution:hover {
  border-color: rgba(101, 163, 13, 0.45);
  background: var(--bg-card);
}

.more-solution-vertical {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.more-solution strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.more-solution span:last-child {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cases-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin: 0;
}

/* Mission / Vision */
.mission-vision {
  background: linear-gradient(180deg, #e2ebe6 0%, #eef1ef 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 31, 20, 0.04);
}

.mv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(132, 204, 22, 0.12);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.mv-icon img {
  border-radius: 8px;
}

.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.mv-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9875rem;
  line-height: 1.7;
}

.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.value-pill {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(132, 204, 22, 0.1);
  color: var(--green);
  border: 1px solid rgba(132, 204, 22, 0.22);
}

/* Products */
.saas-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

.saas-group {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
}

.saas-group-header {
  padding: 1.35rem 1.5rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), transparent 70%);
}

.saas-group-label {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.saas-group-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.saas-group-lead {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.saas-group-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.saas-group-products .saas-product:only-child {
  grid-column: 1 / -1;
}

.saas-product {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid transparent;
}

.saas-group-products .saas-product + .saas-product {
  border-left: 1px solid var(--border);
}

.saas-product h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.saas-product h4 a {
  text-decoration: none;
  color: inherit;
}

.saas-product h4 a:hover {
  color: var(--accent);
}

.saas-product-aka {
  margin: -0.35rem 0 0 !important;
  font-size: 0.8125rem !important;
  color: var(--text-muted) !important;
}

.saas-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.product-page-by {
  font-weight: 500;
  color: var(--accent);
}

.product-page-aka {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.product-page-back {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
}

.product-page-back a {
  color: var(--text-secondary);
  text-decoration: none;
}

.product-page-back a:hover {
  color: var(--accent);
}

.saas-product > p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.saas-product .product-features {
  margin-bottom: 0.25rem;
}

.saas-product .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

.saas-product--portcontrol .brand-lockup {
  margin-bottom: 0.25rem;
}

.product-spotlight {
  margin-bottom: 2.5rem;
  border: 1px solid rgba(15, 40, 71, 0.15);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #e8eef5 0%, #eef1ef 55%);
  box-shadow: 0 8px 32px rgba(15, 31, 20, 0.06);
}

.product-spotlight-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.product-spotlight-brand {
  padding: 0.5rem 0;
}

.services-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}

.compliance-note {
  margin: 0 0 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(101, 163, 13, 0.28);
  background: rgba(132, 204, 22, 0.08);
}

.compliance-note p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.compliance-note strong {
  color: var(--text);
  font-weight: 600;
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 31, 20, 0.04);
}

.service-header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.service-icon {
  flex-shrink: 0;
  border-radius: 8px;
}

.service-header h3 {
  margin: 0.35rem 0 0;
}

.product-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.badge-cyber { color: var(--accent); }
.badge-analytics { color: var(--accent-light); }
.badge-consulting { color: var(--green); }

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.product-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.product-spotlight .product-features li::before {
  background: var(--navy);
}

.product-card h3 a {
  text-decoration: none;
  color: inherit;
}

.product-card h3 a:hover {
  color: var(--accent);
}

.product-card--cyber { border-top: 3px solid var(--accent); }
.product-card--analytics { border-top: 3px solid var(--accent-light); }
.product-card--consulting { border-top: 3px solid var(--green); }

/* Cases */
.cases {
  background: var(--bg);
}

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

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 31, 20, 0.04);
}

.case-sector {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.case-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.case-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0 0 1rem;
  flex-grow: 1;
}

.case-metrics {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-metrics li {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.35rem 0.65rem;
  background: rgba(132, 204, 22, 0.08);
  border-radius: 8px;
}

.case-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.case-link:hover {
  color: var(--green);
}

.trust-bar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pills span {
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, #e2ebe6 0%, #eef1ef 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(15, 31, 20, 0.05);
}

.contact-intro h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.contact-intro p {
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  max-width: 28rem;
}

.contact-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
}

.contact-email {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.contact-email:hover {
  color: var(--green);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--accent);
}

.form-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  text-align: center;
}

.form-legal a {
  color: var(--accent);
}

/* Subpages */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #e2ebe6 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.page-hero-lead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0;
}

.page-content {
  padding: 3rem 0 5rem;
}

.content-narrow {
  max-width: 42rem;
}

.content-narrow h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.content-narrow p,
.content-narrow li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-narrow ul {
  padding-left: 1.25rem;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.resource-list li {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.resource-list a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.resource-list a:hover {
  color: var(--green);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.content-narrow a {
  color: var(--accent);
  font-weight: 500;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand-block {
  min-width: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
}

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

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .mv-grid,
  .product-spotlight-inner,
  .cases-grid,
  .cases-grid--two,
  .contact-layout,
  .saas-group-products,
  .anchor-products,
  .more-solutions-grid {
    grid-template-columns: 1fr;
  }

  .saas-group-products .saas-product + .saas-product {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .hero-verticals-list span {
    display: block;
    margin: 0 0 0.15rem;
  }

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

  .hero-visual {
    margin-top: 1rem;
  }

  .brand-lockup--contact {
    justify-content: flex-start;
  }
}

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

@media (max-width: 640px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.nav-open .mobile-nav {
    display: flex;
  }

  .hero {
    padding-top: 2.5rem;
  }

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

  .hero-backdrop-img {
    opacity: 0.65;
  }

  .hero-backdrop-split {
    bottom: 0.65rem;
  }

  .hero-content {
    background: rgba(238, 241, 239, 0.88);
  }
}
