@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

/* ============================================
   SUSTAINNOVATE HUB - HYBRID BRAND THEME (LIGHT + DARK)
   ============================================ */

/* --------------------------------------------
   1. BRAND TOKENS
-------------------------------------------- */
:root {
  /* Brand Colors */
  --brand-primary: #0b6f5c;          /* Emerald */
  --brand-primary-light: #12a389;    /* Light Emerald */
  --brand-accent: #1f7ae0;           /* Ocean Blue */
  --brand-highlight: #f1b93a;        /* Solar Gold (sparingly) */

  /* Neutral Palette */
  --neutral-50: #ffffff;
  --neutral-100: #f4f6f3;
  --neutral-300: #95a59f;
  --neutral-900: #0b1412;            /* Dark background */

  /* Surface Shades */
  --surface-dark: #0f1b19;           /* Card background (dark mode) */
  --surface-light: #ffffff;          /* Card background (light mode) */

  /* Shadows & Radius */
  --shadow-soft: 0 8px 26px rgba(11, 20, 18, 0.08);
  --shadow-medium: 0 14px 34px rgba(11, 20, 18, 0.12);
  --shadow-strong: 0 18px 44px rgba(11, 20, 18, 0.16);
  --radius: 20px;

  /* Typography */
  --font-body: "Manrope", "Trebuchet MS", Verdana, sans-serif;
  --font-display: "Fraunces", "Palatino Linotype", "Book Antiqua", serif;

  /* Buttons */
  --btn-bg: var(--brand-primary);
  --btn-bg-hover: var(--brand-primary-light);
  --btn-text: #fff;

  /* Borders */
  --border-light: rgba(11, 20, 18, 0.08);
  --border-dark: rgba(255, 255, 255, 0.12);

  --bg-page: #f6f3ee;
  --bg-hero: #eef8f4;
  --header: rgba(246, 250, 248, 0.86);
  --page-grad-start: #edf5f1;
  --page-grad-mid: #f3f1eb;
  --page-grad-end: #f8f5f0;
  --hero-grad-start: rgba(11, 111, 92, 0.12);
  --hero-grad-mid: rgba(11, 111, 92, 0.02);
  --hero-grad-end: rgba(248, 245, 240, 0);
  --hero-glow-blue: rgba(31, 122, 224, 0.22);
  --hero-glow-green: rgba(11, 111, 92, 0.16);
  --hero-glow-warm: rgba(241, 185, 58, 0.3);
  --header-height: 76px;
  --menu-bg: rgba(248, 251, 249, 0.98);
  --menu-border: rgba(11, 20, 18, 0.12);
  --menu-text: #0b1412;
  --menu-sub-bg: rgba(11, 20, 18, 0.04);

}

/* --------------------------------------------
   2. GLOBAL BASE
-------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: linear-gradient(180deg, var(--page-grad-start) 0%, var(--page-grad-mid) 55%, var(--page-grad-end) 100%);
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, var(--page-grad-start) 0%, var(--page-grad-mid) 55%, var(--page-grad-end) 100%);
  color: var(--neutral-900);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
}

body {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top));
}

body.menu-open {
  overflow: hidden;
  height: 100dvh;
  touch-action: none;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #1359a8;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}

@media (max-width: 560px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

main > section {
  padding: clamp(72px, 8vw, 96px) 0;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 10px;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

li + li {
  margin-top: 6px;
}

.sub {
  color: #4f6b62;
  font-size: 1.1rem;
  margin: 8px 0 16px;
  max-width: 64ch;
  line-height: 1.7;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: #4f6b62;
}

.breadcrumbs a {
  color: #2f6156;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: #1f4f46;
}

.list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.list .li {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 20, 18, 0.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list .li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* --------------------------------------------
   3. NAVIGATION
-------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(12px);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid rgba(11, 20, 18, 0.08);
  box-shadow: 0 6px 22px rgba(11, 20, 18, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

header.header-hidden {
  transform: translateY(-110%);
  box-shadow: none;
}


.nav {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--neutral-900);
  text-decoration: none !important;
}
.brand:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b6f5c, #1c8f79);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(11, 20, 18, 0.18);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.menu {
  display: flex;
  gap: 1rem;
  margin-left: 16px;
  flex: 1;
  justify-content: center;
  min-width: 0;
}
.menu > .nav-item > a {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--neutral-900);
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.menu > .nav-item > a:hover {
  background: rgba(11, 20, 18, 0.06);
}

.menu > .nav-item > a.is-active {
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.2);
  color: #0b4f41;
  font-weight: 600;
}

.menu > .nav-item > a.is-active:hover {
  background: rgba(11, 111, 92, 0.18);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--neutral-900);
  font-weight: 500;
  white-space: nowrap;
}

.dropdown a:hover {
  background: rgba(11, 20, 18, 0.06);
}

.dropdown-item {
  position: relative;
}

.dropdown-item.has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-item.has-submenu > a::after {
  content: ">";
  opacity: 0.6;
  margin-left: 12px;
}

.submenu-right {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 260px;
  padding: 8px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 70;
}

.dropdown-item.has-submenu:hover .submenu-right,
.dropdown-item.has-submenu:focus-within .submenu-right {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-right a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--neutral-900);
  font-weight: 500;
  white-space: nowrap;
}

.submenu-right a:hover {
  background: rgba(11, 20, 18, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
}

.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;
}

.site-search {
  position: relative;
  width: min(280px, 27vw);
}

.site-search-input {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(11, 20, 18, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--neutral-900);
  padding: 0 12px;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-search-input::placeholder {
  color: #587068;
}

.site-search-input:focus {
  outline: none;
  border-color: rgba(11, 111, 92, 0.45);
  box-shadow: 0 0 0 3px rgba(11, 111, 92, 0.14);
  background: rgba(255, 255, 255, 0.95);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(11, 20, 18, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-medium);
  padding: 6px;
  display: none;
  z-index: 70;
}

.site-search.is-open .site-search-results {
  display: grid;
  gap: 4px;
}

.search-hit {
  text-align: left;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  padding: 8px 10px;
  color: inherit;
  cursor: pointer;
  display: grid;
  gap: 2px;
  box-shadow: none;
}

.search-hit:hover,
.search-hit.is-active {
  background: rgba(11, 111, 92, 0.1);
  border-color: rgba(11, 111, 92, 0.18);
  transform: none;
}

.search-hit-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.search-hit-meta {
  font-size: 0.75rem;
  color: #567067;
  line-height: 1.2;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(11, 111, 92, 0.16), rgba(31, 122, 224, 0.12));
  border: 1px solid rgba(11, 111, 92, 0.26);
  color: #0b4f41;
  padding: 0;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 10px 22px rgba(11, 20, 18, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  background: linear-gradient(135deg, rgba(11, 111, 92, 0.22), rgba(31, 122, 224, 0.16));
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), 0 14px 28px rgba(11, 20, 18, 0.16);
}

.theme-toggle .icon-moon,
.theme-toggle .icon-sun {
  width: 19px;
  height: 19px;
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.theme-toggle .icon-moon {
  opacity: 1;
  z-index: 1;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'><path d='M21%2014.5A8.5%208.5%200%201%201%209.5%203a7%207%200%200%200%2011.5%2011.5Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'><path d='M21%2014.5A8.5%208.5%200%201%201%209.5%203a7%207%200%200%200%2011.5%2011.5Z' fill='black'/></svg>");
}

.theme-toggle .icon-sun {
  opacity: 0;
  z-index: 2;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'><circle cx='12' cy='12' r='4.5' fill='black'/><path d='M12%202v2M12%2020v2M4.9%204.9l1.4%201.4M17.7%2017.7l1.4%201.4M2%2012h2M20%2012h2M4.9%2019.1l1.4-1.4M17.7%206.3l1.4-1.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0%200%2024%2024'><circle cx='12' cy='12' r='4.5' fill='black'/><path d='M12%202v2M12%2020v2M4.9%204.9l1.4%201.4M17.7%2017.7l1.4%201.4M2%2012h2M20%2012h2M4.9%2019.1l1.4-1.4M17.7%206.3l1.4-1.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/></svg>");
}

.nav-pill {
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.2);
  color: #0b4f41;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-pill:hover {
  background: rgba(11, 111, 92, 0.18);
}

.cta {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-medium);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  background: linear-gradient(135deg, #0a5c4c, #0f907a);
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
  color: #fff !important;
}
.menu .cta {
  color: #fff !important;
}

.menu .cta:hover {
  background: linear-gradient(135deg, #0a5c4c, #0f907a);
}
.cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 111, 92, 0.28), var(--shadow-strong);
}

.header-cta {
  margin-left: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  background: rgba(11, 111, 92, 0.08);
  border: 1px solid rgba(11, 111, 92, 0.2);
  color: var(--neutral-900);
  padding: 0;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.burger:hover {
  background: rgba(11, 20, 18, 0.06);
  transform: translateY(-1px);
}
.burger:focus {
  outline: none;
  box-shadow: none;
}
.burger:focus-visible {
  box-shadow: none;
}

.burger svg {
  width: 20px;
  height: 20px;
  display: block;
}

#m {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(360px, 90vw);
  height: 100dvh;
  background: var(--menu-bg);
  color: var(--menu-text);
  border-left: 1px solid var(--menu-border);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  z-index: 60;
  transform: translateX(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

#m.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#m a {
  color: inherit;
  white-space: nowrap;
}

#m .submenu[hidden] {
  display: none;
}

#m .mobile-menu {
  padding: calc(14px + var(--header-height) + env(safe-area-inset-top)) 20px calc(20px + env(safe-area-inset-bottom));
  display: grid;
  gap: 10px;
  --menu-row-h: clamp(40px, 9vw, 48px);
}

#m .site-search {
  width: 100%;
}

#m .site-search-results {
  position: static;
  margin-top: 8px;
}

#m .menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 2px 6px;
}

#m .menu-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--menu-border);
  background: rgba(11, 111, 92, 0.08);
  color: var(--menu-text);
  padding: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#m .menu-close svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
}

#m .menu-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--menu-sub-bg);
  border: 1px solid var(--menu-border);
  border-radius: 12px;
  padding: 0 12px;
  width: 100%;
  height: var(--menu-row-h);
  min-height: var(--menu-row-h);
}

#m .menu-link {
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  display: block;
  width: 100%;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

#m .submenu-toggle {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 700;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#m .submenu-toggle[aria-expanded="true"] {
  color: var(--brand-primary);
}

#m .submenu {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 6px 8px 10px;
}

#m .submenu a {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--menu-sub-bg);
  white-space: nowrap;
  border: 1px solid var(--menu-border);
  width: 100%;
  height: var(--menu-row-h);
  min-height: var(--menu-row-h);
  line-height: 1.2;
}

#m .submenu .menu-group {
  padding: 9px 12px;
}

#m .submenu .menu-link {
  font-weight: inherit;
}

#m .submenu .menu-group > .menu-link {
  background: transparent;
  border: 0;
  padding: 0;
}

#m .submenu-label {
  margin: 10px 0 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(11, 20, 18, 0.6);
}

#m .menu-group--nested {
  margin-top: 0;
}

#m .submenu .submenu {
  padding-left: 0;
}

#m .menu-group--nested .submenu-toggle {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

#m .container {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}


#m > .mobile-menu > a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--menu-sub-bg);
  border: 1px solid var(--menu-border);
  font-weight: 600;
  height: var(--menu-row-h);
  min-height: var(--menu-row-h);
  display: flex;
  align-items: center;
}

#m > .mobile-menu > a.is-active {
  border-color: var(--menu-border);
  background: var(--menu-sub-bg);
  color: inherit;
}

#m .theme-toggle {
  justify-self: start;
}

#m .cta--menu {
  width: max-content;
}

#m > .mobile-menu > a.cta--menu {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border: 0;
  color: #fff;
  box-shadow: var(--shadow-medium);
}

#m > .mobile-menu > a.cta--menu:hover {
  background: linear-gradient(135deg, #0a5c4c, #0f907a);
  box-shadow: var(--shadow-strong);
}

#m .nav-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f7f4;
}

/* --------------------------------------------
   4. HERO (LIGHT SECTION)
-------------------------------------------- */
.hero {
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, var(--hero-grad-start) 0%, var(--hero-grad-mid) 55%, var(--hero-grad-end) 100%),
              radial-gradient(520px circle at 14% 18%, var(--hero-glow-blue), transparent 60%),
              radial-gradient(560px circle at 86% 10%, var(--hero-glow-green), transparent 62%);
  padding: 130px 0 90px;
}

.contact-hero {
  position: relative;
  padding: clamp(84px, 9vw, 108px) 0 clamp(54px, 6vw, 68px);
  background: linear-gradient(180deg, rgba(11, 111, 92, 0.12), rgba(11, 111, 92, 0));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.8;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--hero-glow-warm), transparent 65%);
  top: -130px;
  right: 10%;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--hero-glow-blue), transparent 70%);
  bottom: -130px;
  left: 6%;
}


.grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.25);
  color: var(--brand-primary);
  font-weight: 600;
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  margin: 1rem 0;
  color: var(--neutral-900);
  font-weight: 700;
}

.lead {
  color: #4e665f;
  max-width: 60ch;
  font-size: 1.2rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.metric {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--neutral-900);
}

.metric-label {
  display: block;
  font-size: 0.92rem;
  color: #5a7068;
  margin-top: 6px;
}

.hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(11, 20, 18, 0.08);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(8px);
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2f5f54;
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.hero-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.2);
  color: #0b4f41;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* --------------------------------------------
   5. DARK SECTIONS - Services / Why Us / CTA / Footer
-------------------------------------------- */

section.dark {
  background: var(--neutral-900);
  color: var(--neutral-100);
  padding: 80px 0;
}

.dark h2 {
  color: var(--neutral-100);
}

.dark .sub {
  color: var(--neutral-300);
}

.dark .card {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  color: var(--neutral-100);
  box-shadow: var(--shadow-strong);
}

.dark .list .li {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  color: var(--neutral-100);
}

/* --------------------------------------------
   6. CARDS & SERVICES
-------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid rgba(11, 20, 18, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  z-index: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card h3 {
  margin-top: 0;
}

.card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(11, 111, 92, 0.12), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(11, 20, 18, 0.16);
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.card-head h3 {
  margin: 0;
  line-height: 1.2;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(11, 111, 92, 0.12);
  border: 1px solid rgba(11, 111, 92, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0b4f41;
  margin-top: 2px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Sector grid: equal-height cards with aligned CTAs */
#sectors .cards {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  align-items: stretch;
}

#sectors .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

#sectors .card p {
  margin: 0 0 14px;
}

#sectors .card .cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.1;
  padding: 8px 12px;
  border-radius: 999px;
}

.usecase-cards .card {
  position: relative;
  overflow: hidden;
}

.usecase-cards .card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(31, 122, 224, 0.15), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.usecase-cards .card:nth-child(2n)::after {
  background: radial-gradient(circle, rgba(11, 111, 92, 0.15), transparent 70%);
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-nav a {
  background: rgba(11, 111, 92, 0.1);
  border: 1px solid rgba(11, 111, 92, 0.2);
  color: #0b4f41;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.service-nav a:hover {
  background: rgba(11, 111, 92, 0.18);
}

.process {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(31, 122, 224, 0.12);
  color: #174f90;
  font-weight: 700;
  font-family: var(--font-display);
  transition: transform 0.25s ease;
}

.process-step h3 {
  margin: 0 0 6px;
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(11, 20, 18, 0.08);
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2c5c52;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-icon svg {
  width: 26px;
  height: 26px;
  display: block;
  transition: transform 0.25s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.process-step:hover .step-num {
  transform: translateY(-1px);
}

.process-step:hover .step-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(11, 20, 18, 0.12);
}

.process-step:hover .step-icon svg {
  transform: scale(1.05);
}

.step-icon {
  animation: iconFloat 4s ease-in-out infinite;
}

.process-step:nth-child(2) .step-icon {
  animation-delay: 0.2s;
}

.process-step:nth-child(3) .step-icon {
  animation-delay: 0.4s;
}

.process-step:nth-child(4) .step-icon {
  animation-delay: 0.6s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.case-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.case-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a7068;
  margin-bottom: 10px;
}

.case-outcome {
  margin-top: 12px;
  color: #2f3f3b;
}

.poc-callout {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(11, 111, 92, 0.18), rgba(31, 122, 224, 0.12));
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.poc-callout h3 {
  margin: 0 0 6px;
}

.poc-callout p {
  margin: 0;
  color: #2f4e46;
}

.usecase-highlight {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.usecase-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.usecase-cta {
  background: rgba(11, 111, 92, 0.08);
  border: 1px solid rgba(11, 111, 92, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.usecase-cta p {
  margin: 0;
  color: #2f4e46;
}

/* --------------------------------------------
   7. CTA STRIP
-------------------------------------------- */
.strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 26px 30px;
  margin-top: 30px;
  background: linear-gradient(90deg, rgba(11, 111, 92, 0.16), rgba(31, 122, 224, 0.14));
  border: 1px solid rgba(11, 20, 18, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.strip::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(241, 185, 58, 0.35), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.strip > * {
  position: relative;
  z-index: 1;
}

.strip strong {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  line-height: 1.35;
  max-width: 40ch;
}

.strip .cta {
  flex-shrink: 0;
}

.fade {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade {
    animation: none;
    opacity: 1;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .step-icon {
    animation: none;
  }
  .process-step,
  .process-step .step-num,
  .process-step .step-icon,
  .process-step .step-icon svg {
    transition: none;
  }
  header {
    transition: none;
  }
}

@media (max-width: 1150px) {
  .nav {
    height: var(--header-height);
    padding: 0 16px;
  }
  .brand span {
    font-size: 1rem;
  }
  .menu {
    gap: 0.6rem;
    justify-content: flex-end;
  }
  .menu a {
    padding: 8px 12px;
  }
  .cta {
    padding: 8px 14px;
  }
  .theme-toggle {
    width: 34px;
    height: 34px;
  }
  .site-search {
    width: min(220px, 24vw);
  }
  .header-cta {
    margin-left: 0;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --brand-accent: #7bb5ff;
  --neutral-50: #0b1412;
  --neutral-100: #111d1a;
  --neutral-300: #9aa6a1;
  --neutral-900: #f5f7f4;
  --surface-light: #111d1a;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-dark: rgba(255, 255, 255, 0.14);
  --header: rgba(12, 20, 18, 0.9);
  --menu-bg: rgba(9, 17, 16, 0.98);
  --menu-border: rgba(255, 255, 255, 0.12);
  --menu-text: #f5f7f4;
  --menu-sub-bg: rgba(255, 255, 255, 0.06);
  --page-grad-start: #0b1412;
  --page-grad-mid: #0f1c18;
  --page-grad-end: #0b1412;
  --hero-grad-start: rgba(12, 28, 22, 0.9);
  --hero-grad-mid: rgba(12, 28, 22, 0.5);
  --hero-grad-end: rgba(12, 28, 22, 0);
  --hero-glow-blue: rgba(68, 132, 255, 0.18);
  --hero-glow-green: rgba(18, 160, 136, 0.16);
  --hero-glow-warm: rgba(241, 185, 58, 0.18);
}

html[data-theme="dark"] a:hover {
  color: #9ac7ff;
}

html[data-theme="dark"] .sub,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .metric-label {
  color: #c8d2ce;
}

html[data-theme="dark"] .breadcrumbs {
  color: #b8c5c0;
}

html[data-theme="dark"] .breadcrumbs a {
  color: #cfe0db;
}

html[data-theme="dark"] .breadcrumbs a:hover {
  color: #e6f0ec;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .list .li,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .metric,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .case-card {
  background: rgba(17, 29, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .usecase-highlight {
  background: rgba(17, 29, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .usecase-cta {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .usecase-cta p {
  color: #d3ddd9;
}

html[data-theme="dark"] .card-icon {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d9e6e1;
}

html[data-theme="dark"] .usecase-cards .card::after {
  background: radial-gradient(circle, rgba(123, 181, 255, 0.16), transparent 70%);
}

html[data-theme="dark"] .usecase-cards .card:nth-child(2n)::after {
  background: radial-gradient(circle, rgba(18, 160, 136, 0.16), transparent 70%);
}

html[data-theme="dark"] .poc-callout {
  background: linear-gradient(90deg, rgba(18, 160, 136, 0.22), rgba(68, 132, 255, 0.16));
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .poc-callout p {
  color: #d3ddd9;
}

html[data-theme="dark"] .step-icon {
  background: rgba(17, 29, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cfe0db;
}

html[data-theme="dark"] .strip {
  background: linear-gradient(90deg, rgba(18, 160, 136, 0.2), rgba(68, 132, 255, 0.16));
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .menu > .nav-item > a:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .nav-pill,
html[data-theme="dark"] .menu > .nav-item > a.is-active,
html[data-theme="dark"] .service-nav a,
html[data-theme="dark"] .pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f2f6f3;
}

html[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, rgba(18, 160, 136, 0.24), rgba(68, 132, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.22);
  color: #f5f7f4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 22px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .site-search-input {
  background: rgba(17, 29, 26, 0.9);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f7f4;
}

html[data-theme="dark"] .site-search-input::placeholder {
  color: #b8c5c0;
}

html[data-theme="dark"] .site-search-results {
  background: rgba(12, 20, 18, 0.98);
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .search-hit {
  color: #f5f7f4;
}

html[data-theme="dark"] .search-hit-meta {
  color: #b8c5c0;
}

html[data-theme="dark"] .search-hit:hover,
html[data-theme="dark"] .search-hit.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
}

html[data-theme="dark"] .nav-pill:hover,
html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .service-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .dropdown {
  background: rgba(12, 20, 18, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .dropdown a {
  color: #f5f7f4;
}

html[data-theme="dark"] .dropdown a:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .submenu-right {
  background: rgba(12, 20, 18, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .submenu-right a {
  color: #f5f7f4;
}

html[data-theme="dark"] .submenu-right a:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .burger {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f7f4;
}

html[data-theme="dark"] .tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #d4ddd9;
}

html[data-theme="dark"] .step-num {
  background: rgba(68, 132, 255, 0.18);
  color: #cfe0ff;
  border: 1px solid rgba(110, 165, 255, 0.35);
}

html[data-theme="dark"] input:not([type="checkbox"]),
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: rgba(17, 29, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f5f7f4;
}

html[data-theme="dark"] label {
  color: #d4ddd9;
}

html[data-theme="dark"] .case-tag {
  color: #b8c5c0;
}

html[data-theme="dark"] .case-outcome {
  color: #d5dfdb;
}

html[data-theme="dark"] .contact-social {
  color: #c8d2ce;
}

html[data-theme="dark"] footer {
  background: linear-gradient(180deg, rgba(10, 18, 16, 0.98), rgba(8, 14, 13, 0.96));
}

html[data-theme="dark"] #sectors .card {
  background: linear-gradient(180deg, rgba(14, 29, 25, 0.96), rgba(11, 24, 21, 0.94));
  border-color: rgba(182, 214, 203, 0.18);
}

html[data-theme="dark"] #sectors .card p {
  color: #d2ddd8;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(11, 20, 18, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #0b4f41;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-medium);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 60;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  box-shadow: var(--shadow-strong);
}

.to-top svg {
  width: 34px;
  height: 34px;
}

html[data-theme="dark"] .to-top {
  background: rgba(17, 29, 26, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #d9e6e1;
}

/* --------------------------------------------
   8. FORMS
-------------------------------------------- */
form {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
}
label {
  font-size: 0.9rem;
  color: var(--neutral-900);
}

label input[type="checkbox"] {
  margin-right: 8px;
}

.contact-social {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: #4f6b62;
}

.contact-social a {
  font-weight: 600;
}

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

.container-form {
  max-width: 700px;
}

.section-contact {
  padding-bottom: 100px;
}

.form-actions-row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.form-status {
  display: none;
  background: rgba(18, 163, 137, 0.15);
  border: 1px solid rgba(18, 163, 137, 0.35);
  padding: 12px 14px;
  border-radius: 12px;
}

.form-status.is-visible {
  display: block;
}

input:not([type="checkbox"]), textarea, select {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 20, 18, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--neutral-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.full {
  grid-column: 1/-1;
}

input:not([type="checkbox"]):focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(11, 111, 92, 0.5);
  box-shadow: 0 0 0 3px rgba(11, 111, 92, 0.15);
}

button {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-strong);
}

/* --------------------------------------------
   9. FOOTER (Dark)
-------------------------------------------- */
footer {
  background: linear-gradient(180deg, rgba(11, 20, 18, 0.98), rgba(11, 20, 18, 0.92));
  padding: 50px 0;
  color: var(--neutral-300);
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer a,
footer a:visited {
  color: #dfe9e5;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html[data-theme="dark"] footer a,
html[data-theme="dark"] footer a:visited {
  color: #dfe9e5;
}

html[data-theme="dark"] footer a:hover,
html[data-theme="dark"] footer a:focus-visible {
  color: #ffffff;
}

/* --------------------------------------------
   10. UX V2 REFINEMENTS (Global + Navigation)
-------------------------------------------- */
p {
  margin: 0 0 1rem;
}

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

h1, h2, h3 {
  line-height: 1.15;
}

.sub,
.lead {
  max-width: 62ch;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.submenu-toggle:focus-visible,
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 122, 224, 0.32);
  border-radius: 12px;
}

header {
  backdrop-filter: blur(14px);
}

header.is-scrolled {
  background: rgba(244, 250, 247, 0.94);
  border-bottom-color: rgba(11, 20, 18, 0.14);
  box-shadow: 0 8px 24px rgba(11, 20, 18, 0.1);
}

.menu > .nav-item > a {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.menu > .nav-item > a:hover {
  border-color: rgba(11, 20, 18, 0.12);
}

.dropdown,
.submenu-right {
  border-radius: 16px;
  padding: 10px;
}

.dropdown a,
.submenu-right a {
  line-height: 1.3;
}

.site-search-input {
  height: 42px;
}

.search-hit {
  padding: 9px 10px;
}

.cta {
  min-height: 40px;
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.cards {
  align-items: stretch;
}

.card {
  display: flex;
  flex-direction: column;
}

.card p {
  color: #355149;
  line-height: 1.68;
}

.card .cta {
  margin-top: auto;
}

main > section > .container > h2 {
  max-width: 20ch;
}

#m > .mobile-menu > a,
#m .submenu a {
  white-space: normal;
  height: auto;
  min-height: var(--menu-row-h);
  align-items: flex-start;
  padding-top: 10px;
  padding-bottom: 10px;
}

html[data-theme="dark"] header.is-scrolled {
  background: rgba(10, 18, 16, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .card p,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .sub {
  color: #d2ddd8;
}

html[data-theme="dark"] .form-status {
  background: rgba(18, 163, 137, 0.22);
  border-color: rgba(93, 214, 188, 0.4);
  color: #e6f5f0;
}

html[data-theme="dark"] .menu > .nav-item > a:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .dropdown,
html[data-theme="dark"] .submenu-right {
  border-color: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------
   11. RESPONSIVE
-------------------------------------------- */
@media (max-width: 900px) {
  :root {
    --header-height: 64px;
    --header: rgba(248, 251, 249, 0.95);
  }
  html[data-theme="dark"] {
    --header: rgba(10, 18, 16, 0.92);
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .usecase-highlight {
    grid-template-columns: 1fr;
  }
  .poc-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-actions-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 110px 0 70px;
  }
  .contact-hero {
    padding: 80px 0 50px;
  }
  .menu {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .nav-actions .theme-toggle {
    display: none;
  }
  .burger {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(11, 111, 92, 0.14);
    border-color: rgba(11, 111, 92, 0.35);
    box-shadow: 0 6px 16px rgba(11, 20, 18, 0.12);
    color: #0b4f41;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .burger svg {
    width: 22px;
    height: 22px;
  }
  header {
    box-shadow: 0 4px 16px rgba(11, 20, 18, 0.08);
  }
  .nav {
    height: var(--header-height);
    gap: 10px;
    justify-content: space-between;
    position: relative;
    padding-right: 56px;
  }
  .brand {
    gap: 0.5rem;
    padding-right: 56px;
  }
  .brand span {
    font-size: 0.95rem;
    line-height: 1.1;
  }
  .badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.65rem;
  }
}
