:root {
  --bg: #07090e;
  --bg-elevated: #0e1219;
  --surface: #141a24;
  --border: rgba(255, 255, 255, 0.09);
  --text: #e8edf3;
  --muted: #8f9dad;
  --accent: #4f8ee8;
  --accent-dim: #3a6bb0;
  --white: #f6f8fb;
  --max: 1120px;
  --nav-pad-x: clamp(1.25rem, 4vw, 3.75rem);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: "Barlow", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 1rem;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
  z-index: 2000;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem var(--nav-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.92) 0%, transparent 100%);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

nav.scrolled {
  background: rgba(7, 9, 14, 0.97);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.nav-logo-stack {
  position: relative;
  display: block;
  min-height: 3.15rem;
}

.nav-logo-compact {
  display: block;
  line-height: 1;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: left center;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-logo-img {
  display: block;
  height: clamp(2.45rem, 4.5vw, 3rem);
  width: auto;
  max-width: min(10rem, 44vw);
  object-fit: contain;
  object-position: left center;
}

.nav-logo:hover .nav-logo-mark {
  transform: translateY(-1px);
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(1.06);
}

.footer-logo-img {
  display: block;
  height: clamp(2.2rem, 3.5vw, 2.65rem);
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.footer-brand:hover .footer-logo-img {
  opacity: 0.92;
  filter: brightness(1.05);
}

@media (max-width: 640px) {
  .nav-logo-img {
    max-width: min(8.25rem, 48vw);
    height: clamp(2.15rem, 9vw, 2.65rem);
  }

  .nav-logo-stack {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo:hover .nav-logo-mark {
    transform: none;
  }

  .nav-cta:hover {
    transform: none;
    box-shadow: none;
  }

  .btn-primary:hover,
  .btn-outline:hover,
  .btn-white:hover {
    transform: none;
    box-shadow: none;
  }
}

.nav-logo-expanded {
  position: absolute;
  left: 0;
  top: 0;
  max-width: min(calc(100vw - 8rem), 24rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.88rem, 2.15vw, 1.2rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
  color: #f2f6fb;
  opacity: 0;
  transform: translateY(0.45rem);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(79, 142, 232, 0.18);
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

.nav-logo-expanded::after {
  content: "";
  display: block;
  height: 1px;
  max-width: 12rem;
  margin-top: 0.35rem;
  background: linear-gradient(
    90deg,
    rgba(79, 142, 232, 0.65) 0%,
    rgba(79, 142, 232, 0) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

nav.scrolled .nav-logo-expanded::after {
  transform: scaleX(1);
}

nav.scrolled .nav-logo-compact {
  opacity: 0;
  transform: translateY(-0.45rem);
}

nav.scrolled .nav-logo-expanded {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nav-logo-compact,
  .nav-logo-expanded {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .nav-logo-expanded::after {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  nav.scrolled .nav-logo-expanded {
    transform: translateY(0);
  }

  nav.scrolled .nav-logo-expanded::after {
    transform: scaleX(1);
  }
}

@media (max-width: 640px) {
  .nav-logo-expanded {
    max-width: calc(100vw - 5.5rem);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
  }

  .nav-logo-expanded::after {
    max-width: 8rem;
    margin-top: 0.28rem;
  }

  .nav-logo-stack {
    min-height: 2.75rem;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  color: var(--white);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-of-type {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-of-type {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.9;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--accent-dim) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 142, 232, 0.35);
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem var(--nav-pad-x) 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image: linear-gradient(
      105deg,
      rgba(7, 9, 14, 0.94) 0%,
      rgba(7, 9, 14, 0.82) 42%,
      rgba(7, 9, 14, 0.55) 100%
    ),
    url("Home.jpg");
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  will-change: transform;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.hero-main {
  display: block;
  max-width: 44rem;
}

.hero-copy {
  min-width: 0;
}

.hero-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(79, 142, 232, 0.38);
}

.btn-outline {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary,
  .btn-outline {
    transition: background 0.25s ease, transform 0.25s ease,
      border-color 0.25s ease, box-shadow 0.25s ease;
  }
}

.hero-trust {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 720px) {
  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero-trust-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-trust-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

@keyframes trustKickerPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-bg {
    animation: heroKenBurns 34s ease-in-out infinite alternate;
  }

  .hero-badge {
    animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .hero-title {
    animation: fadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
  }

  .hero-desc {
    animation: fadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
  }

  .hero-actions {
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s backwards;
  }

  .hero-trust {
    animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.38s backwards;
  }

  .hero-trust-item {
    animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  .hero-trust-item:nth-child(1) {
    animation-delay: 0.42s;
  }

  .hero-trust-item:nth-child(2) {
    animation-delay: 0.52s;
  }

  .hero-trust-item:nth-child(3) {
    animation-delay: 0.62s;
  }

  .hero-trust-item:nth-child(1) .hero-trust-kicker {
    animation: trustKickerPulse 4.5s ease-in-out 1.1s infinite;
  }

  .hero-trust-item:nth-child(2) .hero-trust-kicker {
    animation: trustKickerPulse 4.5s ease-in-out 1.35s infinite;
  }

  .hero-trust-item:nth-child(3) .hero-trust-kicker {
    animation: trustKickerPulse 4.5s ease-in-out 1.6s infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }

  .hero-trust-item .hero-trust-kicker {
    animation: none;
  }
}

/* ─── SCROLL FADE ─── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(10px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.fade-in .divider {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-delay, 0s) + 0.15s);
}

.fade-in.visible .divider {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .fade-in .divider,
  .fade-in.visible .divider {
    transform: scaleX(1);
    transition: none;
  }
}

/* ─── SECTIONS ─── */
section {
  padding: clamp(4rem, 10vw, 7rem) var(--nav-pad-x);
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  max-width: 42ch;
}

.section-title strong {
  font-weight: 600;
}

.divider {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin: 1.25rem 0 1.5rem;
  opacity: 0.85;
}

/* ─── ABOUT ─── */
#about {
  background: var(--bg-elevated);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.about-text p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.about-text p strong {
  color: var(--text);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.35rem 1.25rem;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.about-card:hover {
  border-color: rgba(79, 142, 232, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }
}

.about-card-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.about-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ─── SERVICES ─── */
#services {
  background: var(--bg);
}

.services-header {
  text-align: left;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.services-header .divider {
  margin: 1.25rem 0 1.25rem;
}

@media (min-width: 900px) {
  .services-header {
    text-align: center;
    max-width: 40rem;
  }
  .services-header .divider {
    margin: 1.25rem auto 1.25rem;
  }
}

.services-intro {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.65rem 1.35rem;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.service-card:hover {
  border-color: rgba(79, 142, 232, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

.service-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 0.85rem;
  opacity: 0.7;
}

.service-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.service-tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
}

/* ─── PRODUCTS ─── */
#products {
  background: var(--bg-elevated);
}

.products-header {
  text-align: left;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.products-header .divider {
  margin: 1.25rem 0 1.25rem;
}

@media (min-width: 900px) {
  .products-header {
    text-align: center;
    max-width: 40rem;
  }
  .products-header .divider {
    margin: 1.25rem auto 1.25rem;
  }
}

.products-intro {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.product-card:hover {
  border-color: rgba(79, 142, 232, 0.32);
}

@media (prefers-reduced-motion: no-preference) {
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
}

.product-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.55rem;
}

.product-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

/* ─── WHY ─── */
#why {
  background: var(--bg);
}

.why-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.why-header {
  text-align: left;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.why-header .divider {
  margin: 1.25rem 0 1.25rem;
}

@media (min-width: 900px) {
  .why-header {
    text-align: center;
    max-width: 40rem;
  }
  .why-header .divider {
    margin: 1.25rem auto 1.25rem;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem 1.15rem;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.why-item:hover {
  border-color: rgba(79, 142, 232, 0.32);
}

@media (prefers-reduced-motion: no-preference) {
  .why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  }
}

.why-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.why-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CTA ─── */
#cta {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding: clamp(3.5rem, 8vw, 5rem) var(--nav-pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    ellipse 55% 45% at 50% 50%,
    rgba(79, 142, 232, 0.14) 0%,
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  #cta::before {
    animation: ctaGlowShift 14s ease-in-out infinite alternate;
  }
}

@keyframes ctaGlowShift {
  0% {
    transform: translate(-4%, -3%) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate(5%, 4%) scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #cta::before {
    animation: none;
    transform: none;
    opacity: 0.9;
  }
}

#cta h2,
#cta p,
#cta .btn-white {
  position: relative;
  z-index: 1;
}

#cta h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin: 0 auto 1rem;
  max-width: 18ch;
  letter-spacing: -0.02em;
}

#cta h2 strong {
  font-weight: 600;
  color: var(--accent);
}

#cta p {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0 auto 1.75rem;
  max-width: 36ch;
  line-height: 1.65;
}

.btn-white {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--white);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-white:hover {
  background: #dce4ee;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(79, 142, 232, 0.22);
}

/* ─── CONTACT ─── */
#contact {
  background: var(--bg-elevated);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}

.contact-info > p:not(.section-label) {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  stroke: var(--accent);
}

.contact-item-text strong {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-item-text span,
.contact-item-text a {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-item-text a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-item-text a:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-form.visible:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 142, 232, 0.28);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(79, 142, 232, 0.5);
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s ease;
  margin-top: 0.25rem;
}

.btn-submit:hover {
  background: var(--accent-dim);
}

.btn-submit:disabled {
  opacity: 0.85;
  cursor: default;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  padding: 2.5rem var(--nav-pad-x) 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.footer-mark {
  display: inline-flex;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: var(--max);
  margin-inline: auto;
}

.footer-copy p {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.footer-copy .vision {
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  opacity: 0.9;
}

.footer-site {
  margin-top: 0.5rem !important;
}

.footer-site a {
  color: var(--muted);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-site a:hover {
  color: var(--accent);
}

.footer-credit {
  position: fixed;
  right: calc(0.75rem + env(safe-area-inset-right, 0px));
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  margin: 0;
  max-width: min(
    12rem,
    calc(
      100vw - 1.25rem - env(safe-area-inset-left, 0px) -
        env(safe-area-inset-right, 0px)
    )
  );
  font-size: clamp(0.5rem, 0.55rem + 0.2vw, 0.65rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.82;
  text-align: right;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 480px) {
  .footer-credit {
    right: calc(0.5rem + env(safe-area-inset-right, 0px));
    bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
    max-width: calc(
      100vw - 1rem - env(safe-area-inset-left, 0px) -
        env(safe-area-inset-right, 0px)
    );
    letter-spacing: 0.08em;
    font-size: clamp(0.48rem, 2.6vw, 0.56rem);
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .footer-credit {
    right: calc(0.85rem + env(safe-area-inset-right, 0px));
    bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    font-size: 0.6rem;
    letter-spacing: 0.11em;
  }
}

@media (max-height: 28rem) and (orientation: landscape) {
  .footer-credit {
    bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
    right: calc(0.45rem + env(safe-area-inset-right, 0px));
    font-size: clamp(0.45rem, 1.8vw, 0.54rem);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    grid-column: 2;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.75rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a.nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .services-grid,
  .products-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
