:root {
  --bg: #f5f7f4;
  --bg-soft: #eef3ef;
  --surface: #ffffff;
  --ink: #0f241d;
  --ink-soft: #33483f;
  --muted: #5c6d64;
  --brand: #0d3b2e;
  --brand-2: #134234;
  --accent: #2fd39a;
  --accent-strong: #19b981;
  --accent-soft: #d9f5e9;
  --line: #dde8e1;
  --line-strong: #c7d8cd;
  --shadow-sm: 0 1px 2px rgba(13, 59, 46, 0.06), 0 4px 14px rgba(13, 59, 46, 0.05);
  --shadow-md: 0 8px 30px rgba(13, 59, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 59, 46, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--brand);
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(245, 247, 244, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(13, 59, 46, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 76px;
  gap: 18px;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch select {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  background-color: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 30px 8px 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230d3b2e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}

.brand-footer .brand-logo {
  height: 34px;
}

.brand-mark {
  color: var(--brand);
  display: inline-flex;
}

.brand-text span {
  color: var(--accent-strong);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--brand);
  background: var(--accent-soft);
}

.main-nav a.nav-cta {
  margin-left: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.main-nav a.nav-cta:hover {
  background: var(--accent-strong);
  color: var(--brand);
}

/* Light text while the header sits over the dark hero (not yet scrolled). */
.site-header:not(.scrolled) .brand {
  color: #eaf7f0;
}

.site-header:not(.scrolled) .brand-text span {
  color: var(--accent);
}

.site-header:not(.scrolled) .main-nav a {
  color: #eaf7f0;
}

.site-header:not(.scrolled) .main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header:not(.scrolled) .main-nav a.nav-cta {
  background: var(--accent);
  color: var(--brand);
}

.site-header:not(.scrolled) .main-nav a.nav-cta:hover {
  background: #59e0b5;
  color: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header:not(.scrolled) .nav-toggle span {
  background: #eaf7f0;
}

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

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

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(245, 247, 244, 0.98);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  padding: 14px 28px 22px;
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.mobile-nav li:last-child a {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47, 211, 154, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(25, 185, 129, 0.18), transparent 55%),
    linear-gradient(180deg, #0c3a2d 0%, #0d4634 55%, #0b3328 100%);
  color: #eaf7f0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.orb-1 {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -60px;
  background: rgba(47, 211, 154, 0.5);
  animation: float1 12s ease-in-out infinite;
}

.orb-2 {
  width: 380px;
  height: 380px;
  bottom: -120px;
  left: -80px;
  background: rgba(64, 208, 188, 0.32);
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 25px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(35px, -20px); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero-lede {
  max-width: 780px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: #eaf7f0;
  margin-bottom: 36px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 42px;
}

.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(234, 247, 240, 0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 211, 154, 0.5);
  background: rgba(255, 255, 255, 0.09);
}

.pillar-visual {
  position: relative;
  height: 220px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  overflow: hidden;
  cursor: zoom-in;
}

.pillar-visual--svg {
  background: linear-gradient(160deg, rgba(47, 211, 154, 0.14), rgba(47, 211, 154, 0.03));
  padding: 12px;
}

.pillar-visual--svg svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.pillar-visual--photo {
  background: #d9f5e9;
  padding: 0;
}

.pillar-visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-visual--flowsheet {
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 12px;
}

.pillar-visual--flowsheet img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pillar-visual--product {
  background: radial-gradient(120% 120% at 50% 0%, #d9f5e9 0%, #0a2f25 100%);
  padding: 14px;
}

.pillar-visual--product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.38));
}

.pillar-visual--fit img {
  object-fit: contain;
}

.pillar-visual::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13, 59, 46, 0.8)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.pillar-visual:hover::after {
  opacity: 1;
}

/* Image lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 33, 28, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* VOx Assistant */
.assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1300;
}

.assistant-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2fd39a, #19b981);
  color: #0d3b2e;
  box-shadow: 0 12px 30px rgba(13, 59, 46, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assistant-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(13, 59, 46, 0.4);
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 340px;
  max-width: calc(100vw - 40px);
  height: 520px;
  max-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(13, 59, 46, 0.25);
  overflow: hidden;
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(160deg, #0d3b2e, #124c3a);
  color: #eaf7f0;
}

.assistant-head-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.assistant-head-info strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #fff;
}

.assistant-head-info span {
  font-size: 12px;
  color: #9fc8b3;
}

.assistant-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #eaf7f0;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.assistant-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
}

.assistant-msg {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
}

.assistant-msg--bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.assistant-msg--user {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.assistant-typing {
  align-self: flex-start;
  color: var(--muted);
  font-size: 13px;
  padding: 6px 12px;
}

.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.assistant-quick button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.assistant-quick button:hover {
  background: var(--accent-soft);
}

.assistant-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.assistant-input input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
}

.assistant-input input:focus {
  outline: none;
  border-color: var(--accent-strong);
}

.assistant-input button {
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.assistant-input button:hover {
  background: var(--accent-strong);
  color: var(--brand);
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: #b7d8c8;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: #59e0b5;
}

.btn-ghost {
  background: transparent;
  color: #eaf7f0;
  border-color: rgba(234, 247, 240, 0.35);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head .eyebrow {
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.section-sub--nowrap {
  white-space: nowrap;
}

@media (max-width: 820px) {
  .section-sub--nowrap {
    white-space: normal;
  }
}

/* ---------- About ---------- */
.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.about-copy .intro {
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 20px;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.about-copy .mission {
  margin-top: 26px;
  padding: 22px 24px;
  background: var(--surface);
  border-left: 4px solid var(--accent-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 0;
}

.about-card {
  background: linear-gradient(160deg, #0d3b2e 0%, #124c3a 100%);
  color: #eaf7f0;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.value-pillars {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 211, 154, 0.16);
  color: var(--accent);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #fff;
}

.pillar p {
  font-size: 0.95rem;
  color: #b7d8c8;
}

/* ---------- Solutions / Products cards ---------- */
.solutions {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.solution-download {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.solution-download:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--brand);
}

.card-top h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 18px;
  position: relative;
}

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

.feature-list strong {
  font-size: 0.99rem;
  font-weight: 600;
  color: var(--ink);
}

.feature-list span {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Technologies ---------- */
.technologies {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tech-list {
  display: flex;
  flex-direction: column;
}

.tech-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
}

.tech-item:first-child {
  border-top: 1px solid var(--line);
}

.tech-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-strong);
  padding-top: 2px;
}

.tech-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tech-body p {
  color: var(--muted);
  max-width: 820px;
}

/* ---------- Products ---------- */
.products {
  background: var(--bg);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, rgba(47, 211, 154, 0.16), transparent 70%);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.product-name {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.product-card p:not(.product-name) {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-soft);
  margin-bottom: 22px;
}

.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media--placeholder {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line-strong);
  background: var(--bg-soft);
}

.product-media--placeholder span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Brochure / case-study request button */
.brochure-btn,
.case-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border: 1.5px solid var(--accent-strong);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.brochure-btn {
  margin-top: auto;
}

.case-btn {
  margin-top: 0;
}

.brochure-btn::after,
.case-btn::after {
  content: "→";
  transition: transform 0.2s ease;
}

.brochure-btn:hover,
.case-btn:hover {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
  transform: translateY(-2px);
}

.brochure-btn:hover::after,
.case-btn:hover::after {
  transform: translateX(3px);
}

/* Brochure request modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 33, 28, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 32px 30px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.28s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--brand);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  padding-right: 30px;
}

.modal-sub {
  color: var(--muted);
  margin-bottom: 24px;
}

.brochure-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.field em {
  color: #d64545;
  font-style: normal;
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 13px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-strong);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(47, 211, 154, 0.22);
}

.field select {
  cursor: pointer;
  padding-right: 34px;
}

.field input[readonly] {
  background: var(--accent-soft);
  color: var(--brand);
  font-weight: 600;
  cursor: default;
}

.field textarea {
  resize: vertical;
  min-height: 74px;
}

.modal-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.modal-help {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.modal-help a {
  color: var(--accent-strong);
  font-weight: 600;
}

.modal-help a:hover {
  text-decoration: underline;
}

.modal-success {
  text-align: center;
  padding: 18px 0 8px;
}

.modal-success p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ---------- Projects ---------- */
.projects {
  background: var(--bg);
}

.case-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.case-group:last-child {
  margin-bottom: 0;
}

.case-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.case-group-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.case-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.case-row {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.case-row:last-child {
  border-bottom: 0;
}

.case-thumb {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
}

.case-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.case-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand);
}

.case-text p {
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Partnerships ---------- */
.partnerships {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.partner-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.partner-col h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.partner-region {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.partner-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 1.05rem;
}

.partner-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.partners-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(47, 211, 154, 0.12), transparent 60%),
    var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-offices .contact-card {
  flex: 1;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-form-sub {
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-success {
  text-align: center;
  padding: 20px 0 4px;
}

.contact-success p {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}

.contact-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-strong);
}

.contact-pin {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-person {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-email {
  color: var(--accent-strong);
  font-weight: 500;
  margin-bottom: 6px;
  word-break: break-all;
}

.contact-phone {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 4px;
}

.contact-phone:last-of-type {
  margin-bottom: 22px;
}

.contact-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--brand);
}

.contact-action::after {
  content: "→";
  transition: transform 0.2s ease;
}

.contact-card:hover .contact-action::after {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand);
  color: #bcd8ca;
  padding: 60px 0 40px;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-footer {
  color: #fff;
}

.brand-footer .brand-mark {
  color: var(--accent);
}

.brand-footer .brand-text span {
  color: var(--accent);
}

.footer-wrap p {
  font-size: 0.95rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #e8f5ee;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.footer-wrap .copyright {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fb4a3;
  font-size: 0.88rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Content is visible by default when JavaScript is unavailable. */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .partners-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 76px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-lede {
    font-size: 1.5rem;
  }

  .pillar-visual {
    height: 200px;
  }

  .modal {
    padding: 26px 20px 24px;
  }

  .case-group {
    padding: 24px 20px;
  }

  .case-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .case-thumb {
    width: 100%;
    height: 220px;
  }

  .case-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .tech-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .tech-num {
    font-size: 1.1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
