/* SystecPro Solutions — landing page
   Official color system: Primary Blue, Dark Navy, White, Light Gray, Dark Text, Blue Hover */

:root {
  --systec-blue: #144476;
  --systec-blue-hover: #10365e;
  --systec-navy: #071a3d;
  --systec-white: #ffffff;
  --systec-light-gray: #f3f5f8;
  --systec-text: #111827;

  --color-primary: var(--systec-navy);
  --color-on-primary: var(--systec-white);
  --color-secondary: var(--systec-navy);
  --color-accent: var(--systec-blue);
  --color-on-accent: var(--systec-white);
  --color-background: var(--systec-light-gray);
  --color-foreground: var(--systec-text);
  --color-card: var(--systec-white);
  --color-muted: var(--systec-light-gray);
  --color-muted-foreground: var(--systec-text);
  --color-border: rgba(7, 26, 61, 0.12);
  --color-destructive: #dc2626;
  --color-on-destructive: var(--systec-white);
  --color-ring: var(--systec-blue);
  --color-brand: var(--systec-blue);
  --color-brand-gray: var(--systec-navy);
  --color-footer: var(--systec-blue);
  --color-hero-overlay: rgba(7, 26, 61, 0.72);
  --color-surface: var(--systec-light-gray);
  --color-heading: var(--systec-text);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  --radius-sm: 2px;
  --header-h: 52px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 200ms;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --z-nav: 100;
  --z-menu: 200;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-foreground);
  background: var(--color-card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  touch-action: manipulation;
}

a,
.icon-btn,
.menu-toggle {
  touch-action: manipulation;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 400;
  background: var(--color-accent);
  color: var(--color-on-accent);
  padding: 10px 16px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .wrap {
    width: min(1200px, calc(100% - 4rem));
  }
}

@media (min-width: 1280px) {
  .wrap {
    width: min(1200px, calc(100% - 6rem));
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 150ms var(--ease);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover:not([disabled]),
.btn-primary:active:not([disabled]) {
  background: var(--systec-blue-hover);
  border-color: var(--systec-blue-hover);
}

.btn-light {
  background: var(--systec-white);
  color: var(--systec-text);
  border: 1px solid var(--systec-white);
}

.btn-light:hover:not([disabled]) {
  background: var(--systec-light-gray);
  border-color: var(--systec-light-gray);
}

.btn-ghost {
  background: transparent;
  color: var(--systec-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover:not([disabled]) {
  background: var(--systec-blue);
  border-color: var(--systec-blue);
  color: var(--systec-white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--systec-blue);
  border: 1px solid var(--systec-blue);
}

.btn-ghost-dark:hover:not([disabled]) {
  background: var(--systec-blue);
  color: var(--systec-white);
  border-color: var(--systec-blue);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  height: var(--header-h);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: var(--systec-blue);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(7, 26, 61, 0.22);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand-logo--color {
  display: none;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #ffffff;
}

.site-header.is-solid .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.is-solid .nav-links a:hover,
.site-header.is-solid .nav-links a[aria-current="page"] {
  color: #ffffff;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-phone,
.nav-wa {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.nav-phone:hover,
.nav-wa:hover {
  color: #ffffff;
}

.site-header.is-solid .nav-phone,
.site-header.is-solid .nav-wa {
  color: #ffffff;
}

.site-header.is-solid .nav-phone:hover,
.site-header.is-solid .nav-wa:hover {
  color: #ffffff;
}

.nav-cta {
  display: none;
  min-height: 36px;
  padding: 8px 16px;
  background: var(--systec-blue);
  color: var(--systec-white);
  border-color: var(--systec-blue);
}

.site-header.is-solid .nav-cta {
  background: var(--systec-white);
  color: var(--systec-blue);
  border-color: var(--systec-white);
}

.nav-cta:hover {
  background: var(--systec-blue-hover);
  color: var(--systec-white);
  border-color: var(--systec-blue-hover);
}

.site-header.is-solid .nav-cta:hover {
  background: var(--systec-light-gray);
  color: var(--systec-blue-hover);
  border-color: var(--systec-light-gray);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
}

.site-header.is-solid .menu-toggle {
  color: #ffffff;
}

@media (min-width: 1100px) {
  .nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .nav-phone,
  .nav-wa,
  .nav-cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--color-footer);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding: 20px 24px 40px;
  transform: translateX(100%);
  transition: transform 280ms var(--ease);
  visibility: hidden;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.mobile-nav .brand img {
  height: 28px;
}

.mobile-close {
  width: 44px;
  height: 44px;
  color: #ffffff;
  cursor: pointer;
}

.mobile-links {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.mobile-links a {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.mobile-links a:hover,
.mobile-links a:focus-visible {
  color: #ffffff;
}

.mobile-actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.mobile-actions a {
  justify-content: center;
}

.mobile-nav .btn-ghost:hover:not([disabled]) {
  background: var(--systec-white);
  color: var(--systec-blue);
  border-color: var(--systec-white);
}

.mobile-nav .btn-light {
  color: var(--systec-blue);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background: var(--systec-navy);
  color: var(--systec-white);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-slide .hero-media,
.hero-slide .hero-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.hero-slide.is-active .hero-media,
.hero-slide.is-active .hero-overlay {
  opacity: 1;
  visibility: visible;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.hero-slide.is-active .hero-media {
  animation: kenburns 7s ease-out forwards;
}

.hero-media--voip {
  object-position: 62% 48%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
  background:
    linear-gradient(90deg, rgba(7, 26, 61, 0.86) 0%, rgba(7, 26, 61, 0.58) 46%, rgba(7, 26, 61, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 26, 61, 0.35) 0%, transparent 28%, rgba(7, 26, 61, 0.55) 100%);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) 0 120px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.hero-slide.is-active .hero-copy {
  opacity: 1;
  visibility: visible;
}

.hero-copy .wrap {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  width: min(1200px, calc(100% - 2.5rem));
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-copy .wrap {
    width: min(1200px, calc(100% - 4rem));
    margin-left: max(2rem, calc((100% - 1200px) / 2));
  }
}

@media (min-width: 900px) {
  .hero-copy {
    justify-content: center;
    padding-top: var(--header-h);
    padding-bottom: 80px;
  }
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--systec-white);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  text-wrap: balance;
}

.hero-lede {
  margin: 0 0 28px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 28px;
}

#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

#hero-particles canvas,
.scene-particles canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-pager {
  display: flex;
  align-items: center;
  gap: 14px;
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}

.hero-progress {
  width: min(180px, 28vw);
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.hero-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--systec-white);
  transform-origin: left center;
}

.hero-progress.is-running > span {
  animation: progress 7s linear forwards;
}

.hero-nav-btns {
  display: flex;
  gap: 8px;
}

.hero-nav-btns button,
.hero-dots button {
  cursor: pointer;
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.hero-dots {
  display: none;
  gap: 6px;
}

.hero-dots button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.hero-dots button span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.hero-dots button[aria-current="true"] span {
  background: var(--systec-white);
  transform: scale(1.2);
}

@media (min-width: 700px) {
  .hero-dots {
    display: flex;
  }
}

@keyframes kenburns {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes progress {
  from { width: 0; }
  to { width: 100%; }
}

/* Intro */
.intro {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--systec-white);
}

.intro-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .intro-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
    align-items: center;
  }
}

.section-eyebrow {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-heading);
  text-wrap: balance;
}

.intro p {
  margin: 0 0 16px;
  color: var(--color-muted-foreground);
  max-width: 38rem;
}

.intro-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-muted);
}

@media (min-width: 960px) {
  .intro-photo {
    aspect-ratio: 4 / 5;
    margin-top: 24px;
  }
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Chapters */
.chapters {
  --split-h: clamp(8rem, 20vw, 13rem);
  position: relative;
  background: transparent;
}

.chapter {
  position: relative;
  min-height: 85vh;
  color: #ffffff;
  display: flex;
  align-items: flex-end;
}

.has-fixed-bg {
  background-color: var(--systec-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (hover: hover) and (min-width: 900px) {
  .has-fixed-bg {
    background-attachment: fixed;
  }
}

.chapter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 61, 0.82) 0%, rgba(7, 26, 61, 0.42) 55%, rgba(7, 26, 61, 0.2) 100%);
}

.chapter-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: var(--split-h);
  overflow: hidden;
}

.chapter-split-pane {
  background-color: var(--systec-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.chapter-split-pane--business {
  background-image: url("../images/business.jpg");
}

.chapter-split-pane--home {
  background-image: url("../images/personal.jpg");
}

@media (hover: hover) and (min-width: 900px) {
  .chapter-split-pane {
    background-attachment: fixed;
  }
}

.chapter-split::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  pointer-events: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chapter-split::after {
    background: rgba(255, 255, 255, 0.38);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .chapter-split::after {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.chapter-copy {
  position: relative;
  z-index: 2;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  max-width: 36rem;
}

.chapter-copy h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.service-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 0;
}

@media (min-width: 700px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    max-width: 38rem;
  }
}

.service-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  font-weight: 500;
}

/* Services */
.services {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--color-surface);
}

.services-head {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-head p {
  margin: 0;
  color: var(--color-muted-foreground);
}

.service-groups {
  display: grid;
  gap: 16px;
}

@media (min-width: 800px) {
  .service-groups {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.service-index {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.service-group h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--color-heading);
}

.service-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--color-muted-foreground);
  font-size: 1rem;
}

.service-group li {
  padding: 4px 0;
}

/* Parallax feature */
.feature {
  position: relative;
  min-height: 88vh;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 61, 0.45) 0%, rgba(7, 26, 61, 0.72) 100%);
}

.feature-copy {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: 80px 0;
}

.feature-copy h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.feature-copy .feature-sub {
  margin: 10px 0 0;
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: balance;
}

/* Why */
.why {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--systec-white);
}

.why-head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.why-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.why-item,
.service-group {
  padding: 28px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-background);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform 220ms var(--ease);
}

.services .service-group {
  background: var(--color-card);
}

@media (hover: hover) {
  .why-item:hover,
  .service-group:hover,
  .services .service-group:hover {
    background: var(--systec-white);
    border-color: var(--systec-blue);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      6px 10px 22px rgba(7, 26, 61, 0.1);
  }

  .js .why-item.reveal.is-visible:hover,
  .js .service-group.reveal.is-visible:hover {
    transform: translateY(-5px);
  }

  .why-item:hover h3,
  .service-group:hover h3 {
    color: var(--systec-blue);
  }

  .why-item:hover .service-index,
  .service-group:hover .service-index {
    color: var(--systec-blue-hover);
  }
}

.why-item:focus-visible,
.service-group:focus-visible {
  background: var(--systec-white);
  border-color: var(--color-ring);
}

.why-item h3 {
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-heading);
}

.why-item p {
  margin: 0;
  color: var(--color-muted-foreground);
  max-width: 32rem;
}

/* Contact */
.contact {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
  }
}

.contact-copy p {
  margin: 0 0 28px;
  color: var(--color-muted-foreground);
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--color-heading);
  font-weight: 500;
  cursor: pointer;
}

.contact-details .icon {
  color: var(--systec-blue);
}

.contact-details span {
  cursor: default;
}

.contact-details a:hover {
  color: var(--color-accent);
}

.form {
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 28px 24px;
}

@media (min-width: 700px) {
  .form {
    padding: 36px 36px 32px;
  }
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading);
}

.req {
  color: var(--color-destructive);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-foreground);
  font-size: 16px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(20, 68, 118, 0.25);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-destructive);
}

.field-error {
  min-height: 1.1em;
  font-size: 0.8125rem;
  color: var(--color-destructive);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
}

.form-status[hidden] {
  display: none;
}

.form-status.is-error {
  border-color: var(--color-destructive);
  color: #9f1239;
  background: #fff1f2;
}

.form-status.is-success {
  border-color: var(--systec-blue);
  color: var(--systec-text);
  background: var(--systec-light-gray);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

/* Footer */
.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.82);
  padding: 36px 0 18px;
}

@media (min-width: 900px) {
  .site-footer {
    padding: 60px 0 24px;
  }
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.15fr 0.75fr 1fr 1.05fr;
    gap: 32px;
    align-items: start;
  }
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 18rem;
  font-size: 0.9375rem;
  color: var(--systec-light-gray);
}

.footer-brand img {
  height: 36px;
  width: auto;
}

.footer-col h2 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--systec-light-gray);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.footer-col a,
.footer-col span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  font-size: 0.9375rem;
  color: var(--systec-white);
}

.footer-col a {
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.footer-col a:hover {
  color: var(--systec-navy);
}

.footer-qr {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qr-frame {
  width: 140px;
  height: 140px;
  padding: 8px;
  background: var(--color-footer);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.qr-frame svg,
.qr-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-qr h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #ffffff;
  text-transform: none;
}

.footer-qr p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--systec-light-gray);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: var(--systec-light-gray);
}

@media (min-width: 900px) {
  .footer-bottom {
    margin-top: 36px;
  }
}

body.is-locked {
  overflow: hidden;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 380ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide.is-active .hero-media,
  .hero-media {
    animation: none !important;
    transform: none !important;
  }

  .has-fixed-bg {
    background-attachment: scroll !important;
  }

  #hero-particles,
  .scene-particles {
    display: none;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    transform: none !important;
  }

  .hero-progress > span {
    animation: none !important;
    width: 100%;
  }
}
