/* Zenseo AI — company site */
:root {
  --bg: #f6f7fb;
  --bg-elevated: #ffffff;
  --ink: #0b1220;
  --ink-soft: #3d4a63;
  --muted: #6b7a94;
  --line: rgba(15, 23, 42, 0.08);
  --blue: #0066ff;
  --blue-deep: #0047b3;
  --blue-soft: #e8f1ff;
  --cyan: #22d3ee;
  --navy: #0a1628;
  --navy-2: #111f36;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 20px 50px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 30px 80px rgba(10, 22, 40, 0.14);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --max: 1180px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s, color 0.3s;
}

.nav.scrolled {
  background: rgba(246, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

/* Transparent nav over hero video */
.nav.nav-over-hero:not(.scrolled) {
  background: transparent;
  color: #fff;
}

.nav.nav-over-hero:not(.scrolled) .brand-name {
  color: #fff;
}

.nav.nav-over-hero:not(.scrolled) .brand-ai {
  color: #7db4ff;
}

.nav.nav-over-hero:not(.scrolled) .nav-links {
  color: rgba(255, 255, 255, 0.88);
}

.nav.nav-over-hero:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.nav.nav-over-hero:not(.scrolled) .nav-cta {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.nav.nav-over-hero:not(.scrolled) .nav-toggle span {
  background: #fff;
}

.nav-inner {
  height: 100%;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  flex-shrink: 0;
}

.brand-logo.sm {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px;
  max-height: 40px;
}

/* Default / scrolled (light nav): dark mark */
.brand-logo-light {
  display: none !important;
}

.brand-logo-dark {
  display: block !important;
}

/* Over dark hero: light mark (white circle, cyan corner unchanged) */
.nav.nav-over-hero:not(.scrolled) .brand-logo-dark {
  display: none !important;
}

.nav.nav-over-hero:not(.scrolled) .brand-logo-light {
  display: block !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.brand-ai {
  color: var(--blue);
}

.footer-logo {
  display: block;
  height: 19px !important;
  width: 120px !important;
  max-height: 19px;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin-inline: auto;
  transition: 0.25s;
}

/* ---------- Hero + background video ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding: calc(var(--nav-h) + 3.25rem) 0 5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #061018;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
  filter: saturate(0.95) contrast(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(4, 12, 24, 0.88) 0%,
      rgba(6, 18, 36, 0.72) 42%,
      rgba(8, 20, 40, 0.45) 70%,
      rgba(6, 16, 32, 0.55) 100%
    ),
    linear-gradient(to top, rgba(4, 10, 20, 0.75) 0%, transparent 40%);
  pointer-events: none;
}

.hero-video-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

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

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

.hero .eyebrow {
  color: #8ec0ff;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #fff;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: #7ec8ff;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(0, 102, 255, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-white {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  opacity: 0.8;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b1220;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-frame:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.hero-shot {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top left;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 22, 40, 0.78);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

/* Prefer reduced motion: freeze on poster */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-video-wrap {
    background: url("assets/hero-poster.jpg") center / cover no-repeat;
  }
  .hero-scroll span {
    animation: none;
  }
}

/* ---------- Stats ---------- */
.stats {
  padding: 0 0 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.stat {
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.text-muted {
  color: var(--muted);
  font-weight: 500;
}

.section-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 36rem;
}

/* ---------- Problem ---------- */
.problem {
  background: linear-gradient(180deg, transparent, rgba(0, 102, 255, 0.03));
}

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(10, 22, 40, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card-icon {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.problem-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ---------- Use cases (FM scope) ---------- */
.usecases {
  background: var(--bg-elevated);
  border-block: 1px solid var(--line);
}

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

.use-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.35rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.use-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow);
}

.use-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.use-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

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

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

/* ---------- Product features ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.pill {
  display: inline-block;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.feature-copy h3 {
  font-size: 1.65rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.feature-copy p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: inset 0 0 0 3px var(--blue);
}

.feature-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #0b1220;
}

.feature-media img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-media.dark-frame {
  background: #1a1a1a;
  padding: 0.5rem;
}

.feature-media.dark-frame img {
  border-radius: 16px;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--navy);
  color: #fff;
}

.gallery .eyebrow {
  color: var(--cyan);
}

.gallery .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.1rem;
}

.gallery-item {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.gallery-wide {
  grid-row: span 2;
}

.gallery-wide img {
  aspect-ratio: auto;
  min-height: 100%;
  object-position: top left;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cap-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}

.cap-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-3px);
}

.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue-soft), #f0f7ff);
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.cap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.cap-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Partners ---------- */
.partners {
  background: linear-gradient(160deg, #f0f5ff 0%, var(--bg) 50%, #eefcfb 100%);
}

.partners-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.partners-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.partners-copy > p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.partner-points {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.partner-point {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.partner-point strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.partner-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-card {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.panel-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.panel-card ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.panel-card li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.panel-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

.panel-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.panel-foot img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
}

.panel-foot p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

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

.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.meta-value {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.about-quote {
  background: linear-gradient(160deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-radius: 24px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25);
  align-self: stretch;
}

.about-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.about-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* ---------- Contact ---------- */
.contact {
  padding-bottom: 6rem;
}

.contact-box {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.35), transparent 70%);
  right: -40px;
  top: -60px;
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.contact-mark {
  display: block;
  width: 30px !important;
  height: 30px !important;
  max-width: 30px;
  max-height: 30px;
  object-fit: contain;
  filter: none;
}

.contact-box .eyebrow.light {
  color: #ffffff;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 1;
}

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 32rem;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}

.contact-honey {
  position: absolute;
  left: -10000px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.contact-field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.contact-field select option {
  color: #0b1220;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: rgba(125, 180, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.22);
}

.contact-success {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  align-content: center;
  min-height: 280px;
}

.contact-success h3 {
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.contact-success p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 28rem;
}

.contact-success .btn {
  justify-self: start;
  margin-top: 0.4rem;
}

.contact-error {
  color: #ffb4b4;
  font-size: 0.85rem;
}

.contact-retry {
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.contact-turnstile {
  min-height: 0;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-submit {
  width: 100%;
  margin-top: 0.25rem;
  cursor: pointer;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  padding: 2rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: #eef1f7;
}

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

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.88;
  transition: opacity 0.2s;
}

.footer-brand:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
}

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

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.footer-copy {
  font-size: 0.78rem;
  color: #8a97ad;
  margin-left: auto;
}

@media (max-width: 720px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-copy {
    margin-left: 0;
  }
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.26s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-content,
  .feature-row,
  .feature-row.reverse,
  .partners-layout,
  .about-layout,
  .contact-box,
  .gallery-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .gallery-wide {
    grid-row: auto;
  }

  .hero-frame {
    transform: none;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1rem;
  }

  .problem-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .about-meta {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(246, 247, 251, 0.96);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    color: var(--ink-soft) !important;
  }

  .nav.nav-over-hero:not(.scrolled) .nav-links {
    background: rgba(6, 14, 28, 0.94);
    color: rgba(255, 255, 255, 0.9) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 4rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

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

  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }
}
