/*
TemplateMo 621 Luminary
https://templatemo.com/tm-621-luminary
*/

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

:root {
  --base-deep: #0F1115;
  --base-mid: #161A20;
  --base-soft: #1C2128;
  --slate-warm: #6B7280;
  --slate-light: #9CA3AF;
  --graphite: #2A2E35;
  --graphite-soft: #3D424A;
  --ivory: #E5E7EB;
  --ivory-muted: #C9CDD4;
  --silver: #B0B8C4;
  --panel-bg: rgba(22, 26, 32, 0.55);
  --panel-border: rgba(156, 163, 175, 0.08);
  --silk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 76px; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--base-deep);
  color: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Page preloader ── */
html:has(#pagePreloader:not(.is-done)) {
  overflow: hidden;
}
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 90% 58% at 50% 36%, rgba(34, 40, 50, 0.97) 0%, rgba(15, 17, 21, 1) 52%, #080a0d 100%);
  transition:
    opacity 0.75s var(--silk-ease),
    visibility 0.75s step-end;
}
.page-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-preloader__inner {
  position: relative;
  width: clamp(104px, 24vw, 136px);
  height: clamp(104px, 24vw, 136px);
  display: grid;
  place-items: center;
  transition: transform 0.55s var(--silk-ease), opacity 0.5s ease;
}
.page-preloader__glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 184, 196, 0.22) 0%, rgba(176, 184, 196, 0.04) 45%, transparent 70%);
  animation: preloader-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}
.page-preloader__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.page-preloader__ring--outer {
  inset: 0;
  border: 2px solid rgba(156, 163, 175, 0.12);
  border-top-color: rgba(229, 231, 235, 0.85);
  border-right-color: rgba(176, 184, 196, 0.25);
  animation: preloader-spin 1.1s linear infinite;
}
.page-preloader__ring--inner {
  inset: 10px;
  border: 1.5px solid rgba(156, 163, 175, 0.08);
  border-bottom-color: rgba(176, 184, 196, 0.5);
  border-left-color: rgba(156, 163, 175, 0.2);
  animation: preloader-spin-reverse 1.55s linear infinite;
}
.page-preloader__icon {
  position: relative;
  z-index: 1;
  width: clamp(44px, 11vw, 58px);
  height: clamp(44px, 11vw, 58px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45);
  animation: preloader-icon 1.5s var(--silk-ease) infinite;
}
.page-preloader.is-done .page-preloader__inner {
  transform: scale(1.08);
  opacity: 0;
}
@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}
@keyframes preloader-spin-reverse {
  to { transform: rotate(-360deg); }
}
@keyframes preloader-glow {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes preloader-icon {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .page-preloader__ring--outer,
  .page-preloader__ring--inner,
  .page-preloader__glow,
  .page-preloader__icon {
    animation: none;
  }
  .page-preloader__ring--outer {
    border-top-color: rgba(229, 231, 235, 0.45);
  }
  .page-preloader__ring--inner {
    opacity: 0.5;
  }
  .page-preloader {
    transition-duration: 0.35s;
  }
}

/* ── Grain ── */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.028; mix-blend-mode: overlay;
}

/* ── BG ── */
.atmosphere {
  position: fixed; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #0F1115 0%, #161A20 35%, #1C2128 70%, #0D0F13 100%);
}

/* ── Nav ── */
.top-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px clamp(18px, 3vw, 32px);
  transition:
    background 0.55s var(--silk-ease),
    padding 0.55s var(--silk-ease),
    box-shadow 0.55s var(--silk-ease);
}
.top-nav.scrolled {
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  padding: 10px clamp(18px, 3vw, 32px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.25);
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 0;
}
.nav-brand-img {
  height: clamp(34px, 4.6vw, 46px);
  width: auto;
  max-width: min(320px, 52vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.35s var(--silk-ease), transform 0.4s var(--silk-ease);
}
.nav-brand:hover .nav-brand-img {
  opacity: 0.9;
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 3px;
  flex-shrink: 0;
  width: max-content;
  max-width: 100%;
  border-radius: 100px;
  border: 1px solid rgba(156, 163, 175, 0.14);
  background: rgba(22, 26, 32, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.45s var(--silk-ease), box-shadow 0.45s var(--silk-ease);
}
.top-nav.scrolled .nav-links {
  border-color: rgba(156, 163, 175, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links li + li {
  border-left: 1px solid rgba(156, 163, 175, 0.22);
}
.nav-links .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate-warm); text-decoration: none; position: relative;
  padding: 9px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition:
    color 0.4s var(--silk-ease),
    background 0.4s var(--silk-ease),
    transform 0.4s var(--silk-ease);
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  opacity: 0;
  transition: width 0.45s var(--silk-ease), opacity 0.35s ease;
  pointer-events: none;
}
.nav-links .nav-link:hover {
  color: var(--ivory);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}
.nav-links .nav-link:hover::after {
  width: calc(100% - 18px);
  opacity: 0.85;
}
.nav-links .nav-link[aria-current="page"] {
  color: var(--ivory);
  background: rgba(176, 184, 196, 0.12);
}
.nav-links .nav-link[aria-current="page"]::after {
  width: calc(100% - 18px);
  opacity: 0.45;
}

/* Desktop: Services mega-dropdown (hidden on mobile — .nav-links off) */
@media (min-width: 1025px) {
  .nav-links__item--dropdown {
    position: relative;
  }
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 700;
    min-width: min(300px, 34vw);
    max-width: min(360px, 90vw);
    padding-top: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.4s var(--silk-ease),
      visibility 0.4s step-end;
  }
  .nav-links__item--dropdown:hover .nav-dropdown,
  .nav-links__item--dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.4s var(--silk-ease),
      visibility 0s step-start;
  }
  .nav-dropdown__panel {
    border-radius: 22px;
    border: 1px solid rgba(156, 163, 175, 0.14);
    background: rgba(22, 26, 32, 0.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 24px 56px rgba(0, 0, 0, 0.45);
    padding: 8px;
  }
  .nav-dropdown__link {
    display: block;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    line-height: 1.45;
    color: var(--slate-light);
    text-decoration: none;
    transition:
      color 0.35s var(--silk-ease),
      background 0.35s var(--silk-ease);
  }
  .nav-dropdown__link + .nav-dropdown__link {
    margin-top: 2px;
  }
  .nav-dropdown__link:hover {
    color: var(--ivory);
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-dropdown__link[aria-current="page"] {
    color: var(--ivory);
    background: rgba(176, 184, 196, 0.12);
  }
}
@media (max-width: 1024px) {
  .nav-dropdown {
    display: none !important;
  }
}

/* ── Hamburger ── */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; padding: 0;
}
.toggle-bar {
  display: block; width: 100%; height: 1.5px; background: var(--ivory);
  position: absolute; left: 0;
  transition: transform 0.6s var(--silk-ease), top 0.6s var(--silk-ease);
}
.toggle-bar:nth-child(1) { top: 6px; }
.toggle-bar:nth-child(2) { top: 16px; }
.nav-toggle.active .toggle-bar:nth-child(1) { top: 11px; transform: rotate(45deg); }
.nav-toggle.active .toggle-bar:nth-child(2) { top: 11px; transform: rotate(-45deg); }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 550;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--silk-ease), visibility 0.6s var(--silk-ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-inner {
  position: absolute; inset: 0;
  background: rgba(15, 17, 21, 0.94);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 40px 60px; overflow-y: auto;
}
.mobile-menu-links { display: flex; flex-direction: column; flex: 1; justify-content: center; }
.mobile-menu-link {
  display: flex; align-items: baseline; gap: 16px;
  font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em;
  color: var(--ivory); text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid rgba(156,163,175,0.06); position: relative;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s var(--silk-ease), transform 0.5s var(--silk-ease), color 0.6s var(--silk-ease);
}
.mobile-menu.open .mobile-menu-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.open .mobile-menu-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-menu.open .mobile-menu-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.open .mobile-menu-link:nth-child(4) { transition-delay: 0.24s; }
.mobile-menu.open .mobile-menu-link:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open .mobile-menu-link:nth-child(6) { transition-delay: 0.36s; }
.mobile-menu.open .mobile-menu-link:nth-child(7) { transition-delay: 0.42s; }
.mobile-menu-link::before {
  content: attr(data-index); font-size: 10px; font-weight: 500;
  letter-spacing: 0.15em; color: var(--slate-warm); opacity: 0.4;
  min-width: 24px; font-variant-numeric: tabular-nums;
}
.mobile-menu-link[aria-current="page"] {
  color: var(--silver);
}
.mobile-menu-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(156,163,175,0.06);
  opacity: 0; transition: opacity 0.3s ease;
}
.mobile-menu.open .mobile-menu-footer {
  opacity: 1; transition: opacity 0.5s var(--silk-ease) 0.45s;
}
.mobile-menu-footer a {
  font-size: 10px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.4; text-decoration: none;
}
body.menu-open { overflow: hidden; }
body.menu-open .top-nav { background: rgba(15,17,21,0.95); backdrop-filter: blur(20px); }

/* ── Side Panels ── */
.side-panel {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 56px; z-index: 100;
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; padding: 24px 0;
}
.side-panel.left { left: 20px; }
.side-panel.right { right: 20px; }
.side-label {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: 9px; font-weight: 500; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.5;
}
.side-track {
  width: 1px; height: 160px;
  background: rgba(156,163,175,0.06); position: relative; border-radius: 1px;
}
.side-track-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--silver), rgba(176,184,196,0.15));
  border-radius: 1px; transition: height 1.2s var(--silk-ease);
}
.side-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--slate-warm); opacity: 0.15;
  transition: opacity 0.8s var(--silk-ease), transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.side-dot.active {
  opacity: 0.8; background: var(--silver);
  box-shadow: 0 0 12px rgba(176,184,196,0.3); transform: scale(1.3);
}
.side-readout {
  font-size: 9px; font-weight: 400; letter-spacing: 0.1em;
  color: var(--slate-warm); opacity: 0.35;
  font-variant-numeric: tabular-nums;
}

/* ── Container ── */
.main { position: relative; z-index: 10; max-width: 1120px; margin: 0 auto; padding: 0 40px; min-width: 0; }
.inner-page { padding-top: 100px; }
.inner-page .section:first-of-type { padding-top: 40px; }

/* ── Shared ── */
.section { padding: 120px 0; position: relative; }
.section-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.6; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  letter-spacing: -0.04em; line-height: 1.15; color: var(--ivory); margin-bottom: 20px;
}
.section-title strong { font-weight: 600; }
.section-body {
  font-size: 0.95rem; font-weight: 300; line-height: 1.8; color: var(--slate-light); max-width: 540px;
}
.section-center { text-align: center; }
.section-center .section-body { margin: 0 auto; }

.silk-divider { width: 100px; height: 1px; background: linear-gradient(90deg, transparent, var(--panel-border), transparent); margin: 0 auto; }

.btn-primary {
  display: inline-block; padding: 16px 44px; border-radius: 100px;
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  color: var(--base-deep); font-family: inherit; font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; border: none; cursor: pointer;
  text-decoration: none;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: 0 8px 40px rgba(176,184,196,0.18); }
.btn-secondary {
  display: inline-block; padding: 16px 44px; border-radius: 100px; background: transparent;
  color: var(--ivory-muted); font-family: inherit; font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--panel-border); cursor: pointer; text-decoration: none;
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease), background 0.8s var(--silk-ease);
}
.btn-secondary:hover { transform: scale(1.02); border-color: rgba(156,163,175,0.2); background: rgba(156,163,175,0.04); }

/* ── Scroll to top ── */
.scroll-top {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 500;
  width: 52px;
  height: 52px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  background: rgba(22, 26, 32, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--ivory-muted);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.5s var(--silk-ease),
    transform 0.5s var(--silk-ease),
    bottom 0.5s var(--silk-ease),
    visibility 0.5s,
    border-color 0.6s var(--silk-ease),
    color 0.6s var(--silk-ease),
    background 0.6s var(--silk-ease),
    box-shadow 0.6s var(--silk-ease);
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover {
  border-color: rgba(156, 163, 175, 0.22);
  color: var(--ivory);
  background: rgba(28, 33, 40, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.scroll-top.visible:active {
  transform: translateY(2px);
}

.cookie-consent.is-visible ~ .scroll-top.visible {
  bottom: max(108px, calc(28px + env(safe-area-inset-bottom, 0px)));
}

/* ══════════════════════════════════
   COOKIE CONSENT
   ══════════════════════════════════ */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 5800;
  display: flex;
  justify-content: center;
  padding: 12px clamp(12px, 3vw, 24px) max(12px, env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}
.cookie-consent__panel {
  position: relative;
  width: min(920px, 100%);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(15, 17, 21, 0.94);
  border: 1px solid rgba(156, 163, 175, 0.16);
  box-shadow:
    0 -10px 50px rgba(0, 0, 0, 0.4),
    0 28px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translate3d(0, calc(100% + 40px), 0);
  opacity: 0;
  transition:
    transform 0.78s var(--silk-ease),
    opacity 0.55s ease;
  pointer-events: none;
}
.cookie-consent.is-visible {
  pointer-events: auto;
}
.cookie-consent.is-visible .cookie-consent__panel {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent__aurora {
  position: absolute;
  width: 120%;
  height: 180%;
  left: -10%;
  top: -75%;
  background: radial-gradient(ellipse 70% 55% at 50% 100%, rgba(176, 184, 196, 0.14) 0%, transparent 58%);
  animation: cookie-consent-aurora 4.5s ease-in-out infinite;
  pointer-events: none;
}
.cookie-consent__border-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: linear-gradient(
    125deg,
    rgba(176, 184, 196, 0.15) 0%,
    transparent 35%,
    transparent 65%,
    rgba(156, 163, 175, 0.08) 100%
  );
  opacity: 0.85;
  animation: cookie-consent-sheen 6s linear infinite;
  pointer-events: none;
}
.cookie-consent__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 22px 24px 24px;
}
.cookie-consent__eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin: 0 0 6px;
}
.cookie-consent__title {
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 8px;
  line-height: 1.25;
}
.cookie-consent__text {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate-light);
  margin: 0;
  max-width: 54ch;
}
.cookie-consent__text a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.35s ease;
}
.cookie-consent__text a:hover {
  color: var(--ivory-muted);
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:
    transform 0.45s var(--silk-ease),
    box-shadow 0.45s var(--silk-ease),
    background 0.45s ease,
    border-color 0.45s ease,
    color 0.45s ease;
}
.cookie-consent__btn--primary {
  border: none;
  color: var(--base-deep);
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  box-shadow: 0 4px 22px rgba(176, 184, 196, 0.18);
}
.cookie-consent__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(176, 184, 196, 0.28);
}
.cookie-consent__btn--ghost {
  border: 1px solid rgba(156, 163, 175, 0.22);
  color: var(--slate-light);
  background: rgba(255, 255, 255, 0.04);
}
.cookie-consent__btn--ghost:hover {
  color: var(--ivory);
  border-color: rgba(156, 163, 175, 0.38);
  background: rgba(255, 255, 255, 0.08);
}
@keyframes cookie-consent-aurora {
  0%, 100% { opacity: 0.7; transform: translateY(0) scale(1); }
  50% { opacity: 1; transform: translateY(8px) scale(1.04); }
}
@keyframes cookie-consent-sheen {
  0% { filter: hue-rotate(0deg); opacity: 0.75; }
  50% { filter: hue-rotate(-8deg); opacity: 0.95; }
  100% { filter: hue-rotate(0deg); opacity: 0.75; }
}

@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent__actions {
    justify-content: stretch;
  }
  .cookie-consent__btn {
    flex: 1;
    min-width: 0;
  }
  .cookie-consent.is-visible ~ .scroll-top.visible {
    bottom: max(148px, calc(28px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__panel {
    transition-duration: 0.3s;
  }
  .cookie-consent__aurora,
  .cookie-consent__border-glow {
    animation: none;
  }
  .cookie-consent__btn--primary:hover {
    transform: none;
  }
}

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1.2s var(--silk-ease), transform 1.2s var(--silk-ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 120px 0 80px; position: relative;
}
.hero-grid {
  position: absolute; bottom: 0; left: 50%; height: 80%;
  width: 100vw; transform: translateX(-50%);
  z-index: 0; pointer-events: none;
  --mx: 50%; --my: 50%;
  background-image:
    linear-gradient(to right, rgba(156,163,175,0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156,163,175,0.22) 1px, transparent 1px);
  background-size: 120px 120px;
  background-position: center bottom;
  -webkit-mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.4) 100%);
  mask-image:
    radial-gradient(circle 300px at var(--mx) var(--my), rgba(0,0,0,1) 0%, transparent 65%),
    linear-gradient(to bottom, transparent 0%, transparent 25%, rgba(0,0,0,0.1) 45%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.4) 100%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
}
.hero > *:not(.hero-grid) { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 24px; border-radius: 100px;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  backdrop-filter: blur(20px); margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.2s var(--silk-ease) 0.2s forwards;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--silver);
  box-shadow: 0 0 8px rgba(176,184,196,0.4); animation: pulse 3s ease-in-out infinite;
}
.hero-badge span { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-light); }

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 300;
  letter-spacing: -0.05em; line-height: 1;
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 1.4s var(--silk-ease) 0.4s forwards;
}
.hero h1 em {
  font-style: normal; font-weight: 600;
  background: linear-gradient(135deg, var(--ivory), var(--silver), var(--slate-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(0.85rem, 1.2vw, 1rem); font-weight: 300; line-height: 1.7;
  color: var(--slate-light); max-width: 520px; margin: 28px auto 48px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.6s forwards;
}
.hero-ctas {
  display: flex; gap: 14px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 0.8s forwards;
}
.hero-metrics {
  display: flex; justify-content: center; gap: 56px; margin-top: 72px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 1.4s var(--silk-ease) 1s forwards;
}
.metric { text-align: center; }
.metric-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -0.04em;
  color: var(--ivory); line-height: 1; font-variant-numeric: tabular-nums;
}
.metric-value span { font-size: 0.5em; font-weight: 400; color: var(--slate-warm); vertical-align: super; margin-left: 2px; }
.metric-label { font-size: 9px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-warm); margin-top: 8px; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ══════════════════════════════════
   LOGO TICKER
   ══════════════════════════════════ */
.logo-ticker {
  padding: 60px 0; border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  overflow: hidden; position: relative; z-index: 10;
}
.logo-ticker-label {
  text-align: center; font-size: 9px; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--slate-warm); opacity: 0.5; margin-bottom: 32px;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  flex-shrink: 0; padding: 0 40px; display: flex; align-items: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--slate-warm); opacity: 0.3;
  transition: opacity 0.6s var(--silk-ease);
}
.ticker-item:hover { opacity: 0.7; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-warm); opacity: 0.2; margin: 0 40px; flex-shrink: 0; }

@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ══════════════════════════════════
   FEATURE SHOWCASE
   ══════════════════════════════════ */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 72px 0;
}
.feature.reverse { direction: rtl; }
.feature.reverse > * { direction: ltr; }

.feature-visual {
  position: relative; height: 320px; border-radius: 32px; overflow: hidden;
  background: var(--panel-bg); border: 1px solid var(--panel-border);
}
.feature-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
}
.feature-content {}
.feature-number {
  font-size: 3rem; font-weight: 200; letter-spacing: -0.04em;
  color: rgba(176,184,196,0.08); line-height: 1; margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

/* ══════════════════════════════════
   PRICING
   ══════════════════════════════════ */
.pricing-toggle {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin: 40px 0 56px;
}
.pricing-toggle-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate-warm); transition: color 0.6s var(--silk-ease);
}
.pricing-toggle-label.active { color: var(--ivory); }
.toggle-switch {
  width: 48px; height: 26px; border-radius: 100px; background: var(--graphite);
  border: 1px solid var(--panel-border); position: relative; cursor: pointer;
  transition: background 0.6s var(--silk-ease);
}
.toggle-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--silver); transition: transform 0.6s var(--silk-ease);
}
.toggle-switch.annual::after { transform: translateX(22px); }
.save-badge {
  font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--silver); opacity: 0; transition: opacity 0.4s var(--silk-ease);
}
.save-badge.show { opacity: 1; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pricing-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border); border-radius: 36px;
  padding: 44px 36px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.8s var(--silk-ease), box-shadow 0.8s var(--silk-ease);
}
.pricing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(210,215,220,0.02) 0%, transparent 40%);
  pointer-events: none; transition: opacity 0.8s var(--silk-ease); opacity: 0;
}
.pricing-card.featured {
  border-color: rgba(176,184,196,0.15);
  box-shadow: 0 0 60px rgba(176,184,196,0.04);
  padding-top: 60px;
}
.pricing-card.featured::before { opacity: 1; }
.pricing-card.featured .pricing-badge { display: inline-block; }

.pricing-badge {
  display: none; position: absolute; top: 12px; right: 20px;
  font-size: 8px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  background: rgba(176,184,196,0.1); border: 1px solid rgba(176,184,196,0.12);
  color: var(--silver);
}

.pricing-tier {
  font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate-warm); margin-bottom: 24px;
}

.pricing-prices { margin-bottom: 24px; }

.price-option {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(156,163,175,0.05);
  transition: opacity 0.6s var(--silk-ease);
  opacity: 0.35;
}
.price-option.active { opacity: 1; }

.price-option-left { display: flex; align-items: baseline; gap: 3px; }
.price-currency {
  font-size: 0.9rem; font-weight: 300; color: var(--slate-warm);
  transition: color 0.6s var(--silk-ease);
}
.price-amount {
  font-size: 2rem; font-weight: 300; letter-spacing: -0.04em; color: var(--slate-light);
  font-variant-numeric: tabular-nums;
  transition: font-size 0.6s var(--silk-ease), color 0.6s var(--silk-ease);
}
.price-period {
  font-size: 0.75rem; font-weight: 300; color: var(--slate-warm); margin-left: 2px;
  transition: color 0.6s var(--silk-ease);
}
.price-yearly {
  font-size: 0.72rem; font-weight: 400; color: var(--slate-warm);
  font-variant-numeric: tabular-nums;
  transition: color 0.6s var(--silk-ease);
}

/* Active state — emphasized */
.price-option.active .price-currency { color: var(--slate-light); }
.price-option.active .price-amount { font-size: 2.6rem; color: var(--ivory); }
.price-option.active .price-period { color: var(--slate-light); }
.price-option.active .price-yearly { color: var(--slate-light); }

.price-label {
  font-size: 8px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--slate-warm); margin-bottom: 2px;
  transition: color 0.6s var(--silk-ease);
}
.price-option.active .price-label { color: var(--silver); }

.pricing-desc {
  font-size: 0.85rem; font-weight: 300; line-height: 1.6; color: var(--slate-light);
  margin-bottom: 28px; flex: 1;
}
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li {
  font-size: 0.82rem; font-weight: 400; color: var(--slate-light);
  padding: 8px 0; border-bottom: 1px solid rgba(156,163,175,0.05);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--silver); opacity: 0.5; flex-shrink: 0;
}
.pricing-card .btn-primary, .pricing-card .btn-secondary { width: 100%; text-align: center; padding: 14px; }

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-fullbleed,
.faq-fullbleed,
.cta-fullbleed {
  position: relative;
  width: 100vw;
  max-width: none;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--base-deep);
}
/* Blurred photo — feathered top/bottom via mask so it blends into page (no hard crop) */
.testimonials-fullbleed::before,
.faq-fullbleed::before,
.cta-fullbleed::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  bottom: -40px;
  left: -40px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transform: scale(1.07);
  transform-origin: center center;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 7%,
    #000 18%,
    #000 82%,
    rgba(0, 0, 0, 0.35) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 7%,
    #000 18%,
    #000 82%,
    rgba(0, 0, 0, 0.35) 93%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.testimonials-fullbleed::before {
  background-image: url('images/bg1.jpg');
}
.faq-fullbleed::before {
  background-image: url('images/bg2.jpg');
}
.cta-fullbleed::before {
  background-image: url('images/bg3.jpg');
}
/* Full-bleed darken at top & bottom (sits on whole strip, not only text column) */
.testimonials-fullbleed::after,
.faq-fullbleed::after,
.cta-fullbleed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(8, 10, 14, 0.98) 0%,
    rgba(15, 17, 21, 0.88) 7%,
    rgba(15, 17, 21, 0.45) 18%,
    rgba(15, 17, 21, 0.12) 32%,
    transparent 46%,
    transparent 54%,
    rgba(15, 17, 21, 0.12) 68%,
    rgba(15, 17, 21, 0.45) 82%,
    rgba(15, 17, 21, 0.88) 93%,
    rgba(8, 10, 14, 0.98) 100%
  );
}
#testimonials.section,
#faq.section {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: clamp(100px, 12vw, 150px);
  padding-bottom: clamp(100px, 12vw, 150px);
  box-sizing: border-box;
}
#cta.footer-cta {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: clamp(100px, 12vw, 150px);
  padding-bottom: clamp(72px, 9vw, 100px);
  box-sizing: border-box;
}
#testimonials.section > *,
#faq.section > *,
#cta.footer-cta > * {
  position: relative;
  z-index: 1;
}
#testimonials.section .section-tag,
#testimonials.section .section-title,
#faq.section .section-tag,
#faq.section .section-title,
#cta.footer-cta .section-tag,
#cta.footer-cta .section-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(0, 0, 0, 0.2);
}
#testimonials .testimonial-card {
  background: rgba(15, 17, 21, 0.78);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.25),
    0 24px 56px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
#testimonials .testimonial-quote {
  color: var(--ivory-muted);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 28px; padding: 36px; backdrop-filter: blur(20px);
  transition: transform 0.8s var(--silk-ease);
}
.testimonial-quote {
  font-size: 0.9rem; font-weight: 300; line-height: 1.75; color: var(--slate-light);
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--slate-warm);
}
.testimonial-name { font-size: 0.8rem; font-weight: 500; color: var(--ivory); }
.testimonial-role { font-size: 0.72rem; font-weight: 300; color: var(--slate-warm); margin-top: 2px; }
.testimonial-card:nth-child(2) { transform: translateY(24px); }

/* ══════════════════════════════════
   INTEGRATIONS
   ══════════════════════════════════ */
.integrations-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px;
}
.integration-item {
  background: var(--panel-bg); border: 1px solid var(--panel-border);
  border-radius: 20px; padding: 28px 16px; text-align: center;
  backdrop-filter: blur(16px);
  transition: transform 0.8s var(--silk-ease), border-color 0.8s var(--silk-ease);
}
.integration-icon {
  width: 40px; height: 40px; margin: 0 auto 12px;
  border-radius: 10px; background: var(--graphite); border: 1px solid var(--panel-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--slate-light);
}
.integration-name {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--slate-light); text-transform: uppercase;
}

/* ══════════════════════════════════
   FAQ
   ══════════════════════════════════ */
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-controls {
  display: flex; justify-content: flex-end; margin-bottom: 8px;
}
.faq-toggle-all {
  background: none; border: 1px solid var(--panel-border); border-radius: 100px;
  padding: 8px 20px; font-family: inherit;
  font-size: 9px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--slate-warm); cursor: pointer;
  transition: color 0.6s var(--silk-ease), border-color 0.6s var(--silk-ease);
}
.faq-toggle-all:hover { color: var(--ivory); border-color: rgba(156,163,175,0.2); }
.faq-item {
  border-bottom: 1px solid var(--panel-border); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: inherit;
  font-size: 0.95rem; font-weight: 400; color: var(--ivory);
  text-align: left;
  transition: color 0.6s var(--silk-ease);
}
.faq-question:hover { color: var(--silver); }
.faq-icon {
  width: 20px; height: 20px; position: relative; flex-shrink: 0; margin-left: 20px;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--slate-warm);
  transition: transform 0.6s var(--silk-ease), opacity 0.4s ease;
}
.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1s var(--silk-ease);
}
.faq-answer-inner {
  overflow: hidden;
  padding: 0;
  font-size: 0.88rem; font-weight: 300; line-height: 1.8; color: var(--slate-light);
  transition: padding 0.8s var(--silk-ease);
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-item.open .faq-answer-inner { padding: 0 0 24px; }

/* ══════════════════════════════════
   FOOTER CTA
   ══════════════════════════════════ */
.footer-cta { text-align: center; }
.footer-ctas { display: flex; justify-content: center; gap: 14px; margin-top: 40px; }
.footer-legal {
  max-width: 640px; margin: 48px auto 0; padding: 0 16px;
  font-size: 10px; font-weight: 400; line-height: 1.65; letter-spacing: 0.04em;
  color: var(--slate-light); opacity: 0.45;
}
.footer-legal a {
  color: var(--slate-light); text-decoration: underline; text-underline-offset: 3px;
  transition: opacity 0.6s var(--silk-ease);
}
.footer-legal a:hover { opacity: 0.85; }

/* ══════════════════════════════════
   SITE FOOTER
   ══════════════════════════════════ */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(156, 163, 175, 0.1);
  background: linear-gradient(180deg, #0c0e12 0%, #080a0d 100%);
}
.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 72px) clamp(20px, 4vw, 40px) clamp(40px, 6vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 48px) clamp(28px, 4vw, 40px);
  align-items: start;
}
.site-footer__col--brand {
  max-width: 320px;
}
.site-footer__logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 18px;
  border-radius: 8px;
}
.site-footer__logo-link:hover .site-footer__logo {
  animation: site-footer-logo-hover 1.25s ease-in-out infinite;
}
.site-footer__logo-link:active .site-footer__logo {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.08) drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}
.site-footer__logo {
  height: clamp(30px, 3.8vw, 40px);
  width: auto;
  max-width: min(240px, 72vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  will-change: transform, filter;
  transition: transform 0.45s var(--silk-ease), filter 0.45s ease;
}
@keyframes site-footer-logo-hover {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
  }
  45% {
    transform: translateY(-9px) scale(1.07);
    filter: brightness(1.16) drop-shadow(0 16px 34px rgba(0, 0, 0, 0.48));
  }
  70% {
    transform: translateY(-4px) scale(1.035);
    filter: brightness(1.08) drop-shadow(0 10px 22px rgba(0, 0, 0, 0.36));
  }
}
.site-footer__desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate-light);
  margin: 0;
}
.site-footer__heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin: 0 0 16px;
}
.site-footer__address {
  font-size: 0.82rem;
  font-weight: 300;
  font-style: normal;
  line-height: 1.65;
  color: var(--slate-light);
  margin: 0 0 14px;
}
.site-footer__company {
  display: block;
  font-weight: 500;
  color: var(--ivory-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.site-footer__lines {
  display: block;
  opacity: 0.92;
}
.site-footer__mail {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--silver);
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 184, 196, 0.25);
  padding-bottom: 1px;
  transition: color 0.45s var(--silk-ease), border-color 0.45s var(--silk-ease);
}
.site-footer__mail:hover {
  color: var(--ivory);
  border-color: rgba(229, 231, 235, 0.45);
}
.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--slate-light);
}
.site-footer__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--silver);
  opacity: 0.45;
}

.site-footer__bottom {
  border-top: 1px solid rgba(156, 163, 175, 0.1);
  padding: clamp(22px, 3.5vw, 32px) clamp(20px, 4vw, 40px) clamp(28px, 4vw, 44px);
  text-align: center;
}
.site-footer__copyright {
  margin: 0 auto 16px;
  max-width: 40rem;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--slate-warm);
  opacity: 0.82;
}
.site-footer__legal-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__legal-nav a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.35s ease, color 0.35s ease;
}
.site-footer__legal-nav a:hover {
  opacity: 1;
  color: var(--ivory-muted);
}
.site-footer__legal-sep {
  color: var(--slate-warm);
  opacity: 0.4;
  font-size: 10px;
  user-select: none;
}

/* ══════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════ */
.legal-doc {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.legal-doc .section-tag,
.legal-doc .section-title {
  text-align: center;
}
.legal-doc__text {
  margin-top: 32px;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--slate-light);
}
.legal-doc__text p + p {
  margin-top: 1.05rem;
}
.legal-doc__h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}
.legal-doc__h2:first-of-type {
  margin-top: 1.5rem;
}
.legal-doc__list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--slate-light);
}
.legal-doc__list li {
  margin-top: 0.45rem;
}
.legal-doc__list li::marker {
  color: var(--silver);
  opacity: 0.55;
}
.legal-doc__text a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.35s ease;
}
.legal-doc__text a:hover {
  color: var(--ivory-muted);
}
.legal-doc__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(156, 163, 175, 0.12);
  font-size: 0.78rem;
  color: var(--slate-warm);
}

/* ══════════════════════════════════
   SERVICES PAGE
   ══════════════════════════════════ */
#servicesPage {
  min-width: 0;
  overflow-x: hidden;
}
#servicesPage #services-hero .section-body {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 22px);
  max-width: 1080px;
  margin: clamp(36px, 5vw, 52px) auto 0;
  text-align: left;
}
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.55s var(--silk-ease), border-color 0.45s ease, box-shadow 0.55s ease;
}
.service-card__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--graphite);
  border-bottom: 1px solid rgba(156, 163, 175, 0.08);
}
.service-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: clamp(22px, 2.8vw, 28px) clamp(22px, 2.8vw, 28px) clamp(26px, 3.2vw, 32px);
  text-align: left;
}
.service-card:hover {
  border-color: rgba(176, 184, 196, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}
.service-card__index {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin-bottom: 10px;
}
.service-card__title {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ivory);
  margin-bottom: 14px;
}
.service-card__text {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.72;
  color: var(--slate-light);
  flex: 1;
  margin-bottom: 22px;
}
.service-card__cta {
  align-self: flex-start;
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
}

/* ══════════════════════════════════
   SERVICE DETAIL PAGES
   ══════════════════════════════════ */
#serviceDetailPage {
  min-width: 0;
  overflow-x: hidden;
}
#serviceDetailPage .service-detail {
  padding-bottom: max(
    clamp(5rem, 11vw, 8.75rem),
    calc(env(safe-area-inset-bottom, 0px) + 3.5rem)
  );
}
#serviceDetailPage .service-detail__intro .section-body {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
#serviceDetailPage .service-detail__intro .section-body + .section-body {
  margin-top: 1.05rem;
}
.service-detail__figure {
  max-width: 920px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  background: var(--graphite);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.service-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.service-detail__panel {
  margin-top: clamp(32px, 5vw, 52px);
}

/* ══════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════ */
#aboutPage {
  min-width: 0;
  overflow-x: hidden;
}
#aboutPage #about-hero .section-body {
  max-width: 640px;
}
#aboutPage .feature-content > .section-body + .section-body {
  margin-top: 1.05rem;
}

/* ══════════════════════════════════
   PROCESS PAGE
   ══════════════════════════════════ */
#processPage {
  min-width: 0;
  overflow-x: hidden;
}
.process-hero__body {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.process-rail {
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.process-rail__track {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 20px);
  position: relative;
  flex-wrap: nowrap;
}
.process-rail__track::before {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(176, 184, 196, 0.08),
    rgba(176, 184, 196, 0.35) 45%,
    rgba(176, 184, 196, 0.35) 55%,
    rgba(176, 184, 196, 0.08)
  );
  pointer-events: none;
  transform: scaleX(0.35);
  transform-origin: left center;
  opacity: 0.35;
  transition:
    transform 1.1s var(--silk-ease),
    opacity 0.9s ease;
}
.process-rail.is-animated .process-rail__track::before {
  transform: scaleX(1);
  opacity: 1;
}
.process-rail__stop {
  position: relative;
  flex: 1;
  min-width: 0;
  text-align: center;
  padding-top: 8px;
}
.process-rail__node {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--base-deep);
  background: linear-gradient(145deg, var(--silver), var(--slate-light));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.35);
  transform: scale(0.65) translateY(10px);
  opacity: 0;
  transition:
    transform 0.75s var(--silk-ease),
    opacity 0.65s ease,
    box-shadow 0.5s ease;
}
.process-rail.is-animated .process-rail__node {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.process-rail__stop:nth-child(1) .process-rail__node { transition-delay: 0.05s; }
.process-rail__stop:nth-child(2) .process-rail__node { transition-delay: 0.14s; }
.process-rail__stop:nth-child(3) .process-rail__node { transition-delay: 0.23s; }
.process-rail__stop:nth-child(4) .process-rail__node { transition-delay: 0.32s; }
.process-rail__stop:nth-child(5) .process-rail__node { transition-delay: 0.41s; }
.process-rail__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  line-height: 1.35;
}
.process-rail__hint {
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--slate-warm);
  line-height: 1.45;
  padding: 0 2px;
}
.process-deep {
  margin-top: clamp(48px, 7vw, 88px);
  text-align: left;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.process-deep__intro {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.process-deep__intro .section-body {
  margin-left: auto;
  margin-right: auto;
}
.process-phase {
  border: 1px solid rgba(156, 163, 175, 0.12);
  border-radius: 18px;
  background: rgba(15, 17, 21, 0.45);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.45s ease, box-shadow 0.45s ease;
}
.process-phase:hover {
  border-color: rgba(176, 184, 196, 0.22);
}
.process-phase[open] {
  border-color: rgba(176, 184, 196, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
.process-phase summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.process-phase summary::-webkit-details-marker {
  display: none;
}
.process-phase__index {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ivory-muted);
  background: rgba(176, 184, 196, 0.08);
  border: 1px solid rgba(156, 163, 175, 0.14);
  transition: background 0.35s ease, color 0.35s ease;
}
.process-phase[open] .process-phase__index {
  background: rgba(176, 184, 196, 0.18);
  color: var(--ivory);
}
.process-phase__title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1.35;
}
.process-phase__chev {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(156, 163, 175, 0.2);
  position: relative;
  transition: transform 0.45s var(--silk-ease), border-color 0.35s ease;
}
.process-phase__chev::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--slate-light);
  border-bottom: 1.5px solid var(--slate-light);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.35s ease;
}
.process-phase[open] .process-phase__chev {
  transform: rotate(180deg);
}
.process-phase__body {
  padding: 0 20px 20px 72px;
  border-top: 1px solid rgba(156, 163, 175, 0.08);
}
.process-phase__body p {
  font-size: 0.86rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate-light);
  margin-top: 14px;
}
.process-phase__body p:first-child {
  margin-top: 16px;
}
.process-lab {
  margin-top: clamp(52px, 8vw, 96px);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.process-lab__intro {
  text-align: center;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}
.process-lab__intro .section-body {
  margin-left: auto;
  margin-right: auto;
}
.process-chipbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
}
.process-chip {
  font-family: inherit;
  cursor: pointer;
  border-radius: 100px;
  padding: 11px 20px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-warm);
  background: rgba(22, 26, 32, 0.65);
  border: 1px solid rgba(156, 163, 175, 0.14);
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    transform 0.45s var(--silk-ease),
    box-shadow 0.45s ease;
}
.process-chip:hover {
  color: var(--ivory-muted);
  border-color: rgba(176, 184, 196, 0.25);
}
.process-chip.is-active {
  color: var(--base-deep);
  background: linear-gradient(135deg, var(--silver), var(--slate-light));
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(176, 184, 196, 0.15);
  transform: translateY(-1px);
}
.process-chip-panel {
  display: none;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(156, 163, 175, 0.12);
  background: rgba(15, 17, 21, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: processPanelIn 0.55s var(--silk-ease);
}
.process-chip-panel.is-active {
  display: block;
}
@keyframes processPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.process-chip-panel p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate-light);
  margin-bottom: 12px;
}
.process-chip-panel p:last-child {
  margin-bottom: 0;
}
.process-insights {
  margin-top: clamp(52px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 22px);
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.process-insight {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(156, 163, 175, 0.12);
  background: linear-gradient(165deg, rgba(28, 33, 40, 0.85), rgba(15, 17, 21, 0.65));
  padding: 22px 20px 20px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.45s ease,
    box-shadow 0.55s var(--silk-ease),
    transform 0.55s var(--silk-ease);
  overflow: hidden;
}
.process-insight::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 30% 0%, rgba(176, 184, 196, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.process-insight:hover {
  border-color: rgba(176, 184, 196, 0.22);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.process-insight:hover::before {
  opacity: 1;
}
.process-insight__tag {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin-bottom: 10px;
}
.process-insight__title {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ivory);
  line-height: 1.35;
  margin-bottom: 10px;
}
.process-insight__lede {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.process-insight__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--silk-ease);
}
.process-insight--open .process-insight__more {
  grid-template-rows: 1fr;
}
.process-insight__more-inner {
  overflow: hidden;
  min-height: 0;
}
.process-insight__more-inner p {
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--slate-warm);
  padding-top: 2px;
}
.process-insight__toggle {
  margin-top: auto;
  align-self: flex-start;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.35s ease;
}
.process-insight__toggle:hover {
  color: var(--ivory-muted);
}
.process-cta {
  margin-top: clamp(56px, 9vw, 100px);
  text-align: center;
}
.process-cta .section-body {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .process-rail {
    padding: 1.35rem 1.25rem;
  }
  .process-rail__track {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .process-rail__track::before {
    left: 22px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 2px;
    height: auto;
    transform: scaleY(0.35);
    transform-origin: center top;
  }
  .process-rail.is-animated .process-rail__track::before {
    transform: scaleY(1);
  }
  .process-rail__stop {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px 18px;
    text-align: left;
    padding-top: 0;
  }
  .process-rail__node {
    margin: 0;
    grid-row: 1 / span 2;
  }
  .process-rail__label {
    align-self: end;
  }
  .process-rail__hint {
    grid-column: 2;
    margin-top: 0;
    padding: 0 4px 0 0;
    min-width: 0;
  }
  .process-phase__body {
    padding: 0 18px 20px;
  }
  .process-insights {
    grid-template-columns: 1fr;
  }
  .process-insight {
    padding: 22px 18px 20px;
  }
  .process-chip-panel {
    padding: 1.35rem 1.15rem;
  }
}

@media (max-width: 768px) {
  #processPage.main {
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
  #processPage .section-title {
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
  #processPage .section-body {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .process-phase summary {
    padding: 16px 16px;
    gap: 12px;
  }
  .process-phase__chev {
    align-self: flex-start;
    margin-top: 2px;
  }
  .process-chipbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .process-chip {
    text-align: center;
    padding: 12px 18px;
  }
  .process-chip-panel {
    padding: 1.25rem 1.1rem;
  }
  .process-cta .footer-ctas {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-rail__track::before,
  .process-rail__node,
  .process-chip-panel,
  .process-insight,
  .process-insight__more {
    transition: none !important;
    animation: none !important;
  }
  .process-rail.is-animated .process-rail__track::before,
  .process-rail.is-animated .process-rail__node {
    transform: none;
    opacity: 1;
  }
}

/* ══════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════ */
#contact {
  min-width: 0;
  overflow-x: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(36px, 5vw, 52px);
  text-align: left;
  max-width: 1040px;
  width: 100%;
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}
.contact-form-panel,
.contact-map-panel {
  min-width: 0;
  max-width: 100%;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 28px) clamp(20px, 3vw, 28px);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.contact-form__title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin: 0 0 18px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 8px;
}
.contact-field {
  min-width: 0;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(156, 163, 175, 0.14);
  background: rgba(15, 17, 21, 0.65);
  color: var(--ivory);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.contact-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--slate-warm);
  opacity: 0.75;
}
.contact-field input:hover,
.contact-field textarea:hover {
  border-color: rgba(156, 163, 175, 0.22);
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(176, 184, 196, 0.45);
  box-shadow: 0 0 0 3px rgba(176, 184, 196, 0.12);
}
.contact-form__submit {
  margin-top: 4px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.contact-form__hint {
  margin: 4px 0 0;
  font-size: 0.72rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--slate-warm);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.contact-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(156, 163, 175, 0.12);
  background: rgba(15, 17, 21, 0.5);
  min-height: 280px;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}
.contact-map-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 280px;
  border: 0;
  vertical-align: top;
}
.contact-map__address {
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate-light);
  overflow-wrap: anywhere;
}
.contact-map__link {
  margin-top: 14px;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.contact-page__label {
  color: var(--ivory-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.contact-modal {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: 100%;
  height: fit-content;
  max-height: min(90dvh, calc(100vh - 32px));
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  z-index: 9000;
  overflow: visible;
}
.contact-modal::backdrop {
  background: rgba(5, 7, 10, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.contact-modal__panel {
  background: rgba(15, 17, 21, 0.97);
  border: 1px solid rgba(156, 163, 175, 0.18);
  border-radius: 22px;
  padding: 26px 24px 22px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.contact-modal--error .contact-modal__panel {
  border-color: rgba(248, 113, 113, 0.28);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(248, 113, 113, 0.06);
}
.contact-modal__eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-warm);
  margin: 0 0 8px;
}
.contact-modal__eyebrow--error {
  color: rgba(252, 165, 165, 0.85);
}
.contact-modal__title {
  font-size: clamp(1.05rem, 2.8vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ivory);
  margin: 0 0 12px;
  line-height: 1.25;
}
.contact-modal__text {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--slate-light);
  margin: 0 0 10px;
}
.contact-modal__text--muted {
  font-size: 0.78rem;
  color: var(--slate-warm);
  margin-bottom: 0;
}
.contact-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.contact-modal__actions--single {
  flex-direction: column;
  align-items: center;
}
.contact-modal__btn {
  flex: 1;
  min-width: 0;
  text-align: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-map-wrap {
    aspect-ratio: 16 / 10;
    min-height: 240px;
  }
  .contact-map-wrap iframe {
    min-height: 240px;
  }
  .contact-modal__actions:not(.contact-modal__actions--single) {
    flex-direction: column;
  }
  .contact-modal__btn {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .site-footer__col--brand {
    max-width: none;
  }
  .site-footer__logo-link {
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer__logo {
    object-position: center center;
    transform-origin: center center;
    margin-left: auto;
    margin-right: auto;
  }
  .site-footer__heading {
    text-align: center;
  }
  .site-footer__address {
    text-align: center;
  }
  .site-footer__mail {
    display: inline-block;
  }
  .site-footer__list {
    align-items: center;
  }
  .site-footer__list li {
    padding-left: 0;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .site-footer__list li::before {
    position: static;
    display: inline-block;
    vertical-align: 0.15em;
    margin-right: 8px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__logo-link:hover .site-footer__logo {
    animation: none;
  }
  .site-footer__logo-link:active .site-footer__logo {
    transform: none;
    filter: none;
  }
  .nav-dropdown {
    transition: none;
  }
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .main {
    padding-left: 32px;
    padding-right: 32px;
  }
  .inner-page {
    padding-top: max(6.25rem, calc(env(safe-area-inset-top, 0px) + 3.75rem));
  }
  .top-nav {
    justify-content: space-between;
    gap: 12px;
  }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .side-panel { display: none; }
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse { direction: ltr; }
  .feature-visual { height: 260px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 48px auto 0; }
  .testimonial-card:nth-child(2) { transform: none; }
  #testimonials.section,
  #faq.section,
  #cta.footer-cta { padding-left: 32px; padding-right: 32px; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .scroll-top {
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
  }
  .main {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .inner-page {
    padding-top: max(5.75rem, calc(env(safe-area-inset-top, 0px) + 3.5rem));
  }
  .top-nav { padding: 12px 18px; }
  .top-nav.scrolled { padding: 10px 18px; }
  .hero { min-height: 100svh; padding: 100px 0 60px; }
  .hero-metrics { flex-direction: column; gap: 28px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 280px; text-align: center; }
  #servicesPage .service-card__body .service-card__cta {
    align-self: center;
    width: min(100%, 280px);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
  .contact-form__submit.btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
  .contact-map__link.btn-secondary {
    display: flex;
    width: fit-content;
    max-width: min(280px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .section { padding: 80px 0; }
  .feature-visual { height: 240px; border-radius: 24px; }
  .pricing-card { padding: 32px 24px; border-radius: 28px; }
  .pricing-card.featured { padding-top: 52px; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  #testimonials.section,
  #faq.section,
  #cta.footer-cta { padding-left: 20px; padding-right: 20px; }
  .footer-ctas { flex-direction: column; align-items: center; }
  #cta.footer-cta .footer-ctas > .btn-primary,
  #cta.footer-cta .footer-ctas > .btn-secondary {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    text-align: center;
    line-height: 1.45;
    padding-left: 18px;
    padding-right: 18px;
  }
  .mobile-menu-inner { padding: 90px 20px 40px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 1.7rem; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .mobile-menu-link { font-size: 1.4rem; }
}

@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-metrics { flex-direction: row; gap: 36px; margin-top: 40px; }
  .section { padding: 60px 0; }
  .mobile-menu-inner { padding: 64px 32px 24px; justify-content: flex-start; }
  .mobile-menu-link { font-size: 1.2rem; padding: 8px 0; }
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover { transform: scale(1.01); box-shadow: 0 12px 60px rgba(0,0,0,0.15); }
  .pricing-card:hover::before { opacity: 1; }
  .testimonial-card:hover { transform: scale(1.01); }
  .testimonial-card:nth-child(2):hover { transform: translateY(24px) scale(1.01); }
  .integration-item:hover { transform: scale(1.04); border-color: rgba(156,163,175,0.15); }
}
@media (hover: none) {
  .pricing-card:hover, .testimonial-card:hover, .integration-item:hover { transform: none; }
}

/* Focus */
.btn-primary:focus-visible, .btn-secondary:focus-visible,
.nav-links .nav-link:focus-visible, .nav-toggle:focus-visible,
.mobile-menu-link:focus-visible, .faq-question:focus-visible,
.toggle-switch:focus-visible, .faq-toggle-all:focus-visible,
.scroll-top:focus-visible, .site-footer__logo-link:focus-visible,
.site-footer__mail:focus-visible, .site-footer__legal-nav a:focus-visible,
.legal-doc__text a:focus-visible, .cookie-consent__btn:focus-visible,
.cookie-consent__text a:focus-visible, .contact-field input:focus-visible,
.contact-field textarea:focus-visible, .process-chip:focus-visible,
.process-phase summary:focus-visible, .process-insight__toggle:focus-visible,
.nav-dropdown__link:focus-visible {
  outline: 2px solid var(--silver); outline-offset: 3px;
}
