:root {
  --bg: #0b1220;
  --bg-alt: #111d2f;
  --panel: rgba(18, 31, 49, 0.82);
  --panel-strong: rgba(8, 18, 30, 0.92);
  --line: rgba(226, 232, 240, 0.16);
  --line-strong: rgba(148, 163, 184, 0.34);
  --text: #edf4ff;
  --muted: #afc3dc;
  --accent: #7ee0ff;
  --accent-strong: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.22);
  --success: #9effaf;
  --glow: 0 18px 48px rgba(0, 0, 0, 0.32);
  --hero-shadow: 0 24px 80px rgba(3, 7, 18, 0.58);
  --radius: 28px;
  --radius-sm: 18px;
  --header-height: 104px;
  --content-width: min(1480px, calc(100% - 40px));
  --steel-gradient:
    radial-gradient(circle at top left, rgba(126, 224, 255, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(148, 163, 184, 0.18), transparent 28%),
    linear-gradient(145deg, #0b1220 0%, #18273a 34%, #0f1b2b 60%, #2a3440 100%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(126, 224, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(126, 224, 255, 0.12), transparent 0 20%),
    radial-gradient(circle at 82% 16%, rgba(110, 231, 183, 0.08), transparent 0 18%),
    linear-gradient(180deg, #060b14 0%, #0d1522 42%, #101a27 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  color: var(--text);
  font-family: "Hanken Grotesk", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.52;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(126, 224, 255, 0.07) 48%, transparent 54%),
    repeating-linear-gradient(180deg, transparent 0 15px, rgba(237, 244, 255, 0.018) 16px, transparent 17px);
  background-size: 280% 100%, 100% 34px;
  animation: techSweep 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: -22%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  filter: blur(48px);
  background:
    radial-gradient(circle at 14% 20%, rgba(126, 224, 255, 0.28), transparent 0 30%),
    radial-gradient(circle at 76% 18%, rgba(181, 232, 255, 0.22), transparent 0 26%),
    radial-gradient(circle at 56% 76%, rgba(159, 255, 210, 0.17), transparent 0 28%),
    radial-gradient(circle at 24% 84%, rgba(226, 232, 240, 0.15), transparent 0 24%),
    radial-gradient(circle at 88% 68%, rgba(126, 224, 255, 0.14), transparent 0 22%);
  background-size: 120% 120%, 140% 130%, 130% 140%, 150% 120%, 135% 125%;
  mix-blend-mode: screen;
  animation: ambientMist 42s ease-in-out infinite alternate;
}

body > * {
  position: relative;
  z-index: 1;
}

body.page-contact {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img,
video {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 0;
  pointer-events: none;
}

.header-shell {
  position: relative;
  width: var(--content-width);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(7, 13, 24, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--glow);
  pointer-events: auto;
  overflow: visible;
}

.header-shell::after,
.footer-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 42%, rgba(126, 224, 255, 0.14) 48%, transparent 56%);
  transform: translateX(-130%);
  animation: panelGlint 9s ease-in-out infinite;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 360px;
  min-width: 260px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(126, 224, 255, 0.28));
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-overline {
  font-size: 0.73rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hamburger {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  cursor: pointer;
}

.hamburger i {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.52);
}

.site-nav a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.24s ease, background 0.24s ease, transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(126, 224, 255, 0.1);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.language-switcher {
  position: relative;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.76);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.language-toggle:hover,
.language-switcher.is-open .language-toggle {
  border-color: rgba(126, 224, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(126, 224, 255, 0.08);
  transform: translateY(-1px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  min-width: 180px;
  display: none;
  padding: 8px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(6, 12, 22, 0.96);
  box-shadow: var(--glow);
}

.language-switcher.is-open .language-menu {
  display: grid;
  gap: 6px;
}

.language-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-menu a:hover,
.language-menu a.is-current {
  background: rgba(126, 224, 255, 0.12);
  color: var(--text);
}

.cta-button,
.home-fab,
.payment-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(126, 224, 255, 0.16), rgba(56, 189, 248, 0.1)),
    rgba(10, 20, 36, 0.7);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(3, 7, 18, 0.38);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.cta-button::before,
.payment-action::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.16) 50%, transparent 82%);
  transform: translateX(-135%);
  opacity: 0;
  transition: transform 0.46s ease, opacity 0.34s ease;
  pointer-events: none;
}

.cta-button:hover,
.home-fab:hover,
.payment-action:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 224, 255, 0.62);
  box-shadow: 0 18px 42px rgba(3, 7, 18, 0.5), 0 0 0 4px rgba(126, 224, 255, 0.08);
  background:
    linear-gradient(135deg, rgba(126, 224, 255, 0.24), rgba(56, 189, 248, 0.16)),
    rgba(10, 20, 36, 0.82);
}

.cta-button:hover::before,
.payment-action:hover::before {
  opacity: 1;
  transform: translateX(135%);
}

.cta-icon,
.home-fab i,
.payment-action i {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(237, 244, 255, 0.12);
  transition: transform 0.24s ease, background 0.24s ease;
}

.cta-button:hover .cta-icon,
.home-fab:hover i,
.payment-action:hover i {
  transform: translate(2px, -2px);
  background: rgba(237, 244, 255, 0.2);
}

.cta-button.compact {
  padding: 12px 18px;
  font-size: 0.92rem;
}

.cta-button.compact .cta-icon {
  width: 32px;
  height: 32px;
}

.header-cta {
  min-height: 48px;
  padding: 7px 8px 7px 16px;
  text-transform: none;
  letter-spacing: 0.01em;
}

.page-section {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + 28px) 0 40px;
}

.page-section.contact-section {
  min-height: calc(100vh - 260px);
}

body.page-contact .page-section.contact-section {
  min-height: calc(100vh - var(--header-height) - 170px);
  padding-bottom: 18px;
}

.section-shell {
  width: var(--content-width);
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.page-section:not(#home) .section-header {
  position: relative;
  max-width: 860px;
  margin-bottom: 38px;
}

.page-section:not(#home) .section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: min(180px, 24vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 224, 255, 0.92), rgba(126, 224, 255, 0));
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-kicker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 224, 255, 0.18), rgba(126, 224, 255, 0.92));
}

.section-title {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-copy {
  margin: 18px 0 0;
  max-width: 700px;
  font-size: 1.08rem;
  color: var(--muted);
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--glow);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

#home.page-section {
  overflow: clip;
}

#home .hero-grid {
  gap: 30px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#home .hero-panel {
  background:
    radial-gradient(circle at 14% 16%, rgba(126, 224, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(8, 15, 26, 0.32), rgba(5, 10, 18, 0.08)),
    var(--panel);
}

#home .hero-panel::before {
  content: "";
  position: absolute;
  inset: auto 10% -16% auto;
  width: min(420px, 44vw);
  height: min(420px, 44vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5, 10, 20, 0.5), rgba(5, 10, 20, 0.8)),
    linear-gradient(160deg, rgba(126, 224, 255, 0.12), transparent 36%);
}

#home .hero-media::after {
  background:
    linear-gradient(180deg, rgba(4, 9, 17, 0.14), rgba(4, 9, 17, 0.68) 54%, rgba(4, 9, 17, 0.9)),
    linear-gradient(135deg, rgba(126, 224, 255, 0.1), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.14), transparent 22%);
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-height) - 68px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(30px, 4vw, 56px);
  box-shadow: var(--hero-shadow);
}

#home .hero-panel-inner {
  padding: clamp(34px, 4.4vw, 64px);
}

.hero-panel .section-copy {
  max-width: 620px;
}

#home .section-kicker {
  margin-bottom: 18px;
}

#home .section-title {
  max-width: 10.5ch;
  font-size: clamp(3.2rem, 7vw, 6rem);
  text-wrap: balance;
}

#home .section-copy {
  max-width: 34rem;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

#home .hero-actions {
  gap: 16px;
  margin-top: 34px;
}

.hero-stats {
  display: grid;
  gap: 16px;
  align-content: stretch;
}

#home .hero-stats {
  gap: 18px;
}

.stat-card,
.quick-link,
.feature-card,
.service-card,
.portfolio-card,
.faq-item,
.blog-card,
.legal-card,
.contact-card,
.process-step,
.payment-card,
.pricing-shell,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--glow);
}

.stat-card {
  padding: 22px 24px;
}

.stat-card-media {
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(19, 31, 49, 0.96), rgba(11, 21, 34, 0.92)),
    rgba(8, 18, 30, 0.88);
}

#home .stat-card-media {
  min-height: 0;
  padding: 18px 18px 20px;
  border-color: rgba(126, 224, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(16, 29, 46, 0.98), rgba(10, 19, 31, 0.96)),
    rgba(8, 18, 30, 0.9);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

#home .stat-card-media:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 224, 255, 0.34);
  box-shadow: 0 18px 44px rgba(2, 8, 18, 0.44), 0 0 0 1px rgba(126, 224, 255, 0.08);
}

.stat-media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(126, 224, 255, 0.16);
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at top left, rgba(126, 224, 255, 0.22), transparent 36%),
    linear-gradient(145deg, rgba(7, 13, 24, 0.96), rgba(16, 27, 42, 0.94));
}

.stat-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 18, 0.06), rgba(4, 10, 18, 0.38)),
    linear-gradient(135deg, rgba(126, 224, 255, 0.12), transparent 42%);
  pointer-events: none;
}

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

#home .stat-media video {
  transform: scale(1.01);
}

.stat-copy {
  display: grid;
  gap: 6px;
}

#home .stat-copy {
  gap: 8px;
}

.stat-value {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.stat-title {
  display: block;
  font-size: 1.34rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  display: block;
  color: var(--muted);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

#home-links.quick-links {
  gap: 20px;
  margin-top: 34px;
}

.quick-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
  padding: 24px;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

#home-links .quick-link {
  background:
    linear-gradient(180deg, rgba(17, 28, 45, 0.86), rgba(11, 19, 32, 0.96)),
    rgba(10, 18, 31, 0.88);
}

.quick-link::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% 40%;
  height: 120px;
  background: radial-gradient(circle, rgba(126, 224, 255, 0.22), transparent 64%);
  pointer-events: none;
}

.quick-link:hover,
.feature-card:hover,
.service-card:hover,
.portfolio-card:hover,
.blog-card:hover,
.legal-card:hover,
.process-step:hover,
.payment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 224, 255, 0.34);
}

.quick-link strong,
.feature-card h3,
.service-card h3,
.portfolio-card h3,
.blog-card h3,
.legal-card h3,
.contact-card h3,
.process-step h3,
.payment-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
}

.quick-link p,
.feature-card p,
.service-card p,
.portfolio-card p,
.blog-card p,
.legal-card p,
.contact-card p,
.process-step p,
.payment-card p,
.pricing-shell p {
  margin: 0;
  color: var(--muted);
}

.feature-card p,
.service-card p,
.portfolio-card p,
.process-step p {
  line-height: 1.72;
}

.feature-card h3,
.service-card h3,
.portfolio-card h3,
.process-step h3 {
  max-width: 16ch;
}

.quick-link i,
.feature-icon,
.service-card i,
.contact-card i,
.process-step i,
.payment-card i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(126, 224, 255, 0.1);
  color: var(--accent);
  font-size: 1.2rem;
}

.service-card i,
.feature-icon,
.process-step i {
  box-shadow: inset 0 0 0 1px rgba(126, 224, 255, 0.08);
}

.feature-grid,
.service-grid,
.process-grid,
.blog-grid,
.legal-grid,
.payments-grid {
  display: grid;
  gap: 22px;
  grid-auto-rows: 1fr;
}

.feature-grid,
.service-grid,
.portfolio-grid,
.process-grid {
  gap: 24px;
}

.feature-grid,
.service-grid,
.portfolio-grid,
.legal-grid,
.faq-layout,
.contact-layout,
.process-grid,
.payments-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.process-grid {
  content-visibility: visible;
  contain-intrinsic-size: auto 0px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.feature-card,
.service-card,
.process-step {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.96), rgba(11, 20, 33, 0.94)),
    rgba(8, 18, 30, 0.9);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.feature-card::before,
.service-card::before,
.process-step::before,
.portfolio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(126, 224, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

.feature-card,
.service-card,
.process-step,
.portfolio-card,
.blog-card,
.legal-card,
.contact-card,
.payment-card {
  isolation: isolate;
}

.feature-card > *,
.service-card > *,
.process-step > *,
.portfolio-card > *,
.blog-card > *,
.legal-card > *,
.contact-card > *,
.payment-card > * {
  position: relative;
  z-index: 1;
}

.feature-card::after,
.service-card::after,
.process-step::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 224, 255, 0.92), rgba(126, 224, 255, 0));
  opacity: 0.86;
  animation: circuitPulse 4.5s ease-in-out infinite;
}

.feature-card,
.service-card,
.portfolio-card,
.blog-card,
.legal-card,
.contact-card,
.process-step,
.payment-card {
  padding: 26px;
}

.feature-card,
.service-card,
.process-step,
.legal-card,
.payment-card,
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.service-grid,
.blog-grid,
.legal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  align-items: stretch;
}

.process-step {
  min-height: 220px;
}

.process-index {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card {
  min-height: 260px;
  background: var(--steel-gradient);
}

.feature-card:hover,
.service-card:hover,
.process-step:hover {
  box-shadow: 0 20px 48px rgba(2, 8, 18, 0.46), 0 0 0 1px rgba(126, 224, 255, 0.08);
}

.service-card p {
  margin-top: 14px;
}

.portfolio-page {
  background:
    radial-gradient(circle at top right, rgba(126, 224, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #07101b 0%, #0d1824 100%);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 300px));
  justify-content: center;
  gap: 18px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.98), rgba(10, 19, 31, 0.96)),
    rgba(8, 18, 30, 0.9);
}

.portfolio-card img {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  padding: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(126, 224, 255, 0.12), transparent 28%),
    rgba(4, 10, 18, 0.78);
  transform: scale(1.001);
  transition: transform 0.42s ease, filter 0.32s ease;
  filter: saturate(0.94) contrast(1.02);
}

.portfolio-card-body {
  position: relative;
  display: flex;
  min-height: 146px;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px;
}

.portfolio-card-body::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 224, 255, 0.18), rgba(126, 224, 255, 0));
}

.portfolio-card::after,
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0 62%, rgba(126, 224, 255, 0.08) 63%, transparent 66%);
  transform: translateY(-120%);
  opacity: 0;
}

.portfolio-card:hover::after,
.blog-card:hover::after {
  opacity: 1;
  animation: scanLine 1.25s ease-out;
}

.portfolio-card:hover img {
  transform: scale(1.015);
  filter: saturate(1.02) contrast(1.05);
}

.portfolio-card:hover .portfolio-card-body {
  background: linear-gradient(180deg, rgba(10, 19, 31, 0.78), rgba(10, 19, 31, 0.92));
}

.page-section:not(#home):not(.contact-section) {
  position: relative;
}

.page-section:not(#home):not(.contact-section)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: min(360px, 34vh);
  background:
    radial-gradient(circle at 18% 18%, rgba(126, 224, 255, 0.08), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(56, 189, 248, 0.08), transparent 20%);
  pointer-events: none;
}

.page-section:not(#home):not(.contact-section) .section-shell {
  position: relative;
  z-index: 1;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.faq-summary {
  padding: 28px;
  background: var(--steel-gradient);
}

.faq-summary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 31, 49, 0.98), rgba(11, 21, 34, 0.96)),
    var(--steel-gradient);
}

.faq-summary::before,
.legal-card::before,
.contact-card::before,
.form-card::before,
.payment-card::before,
.pricing-shell::before,
.policy-note::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(126, 224, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%);
  pointer-events: none;
}

.faq-summary p + p {
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.96), rgba(11, 20, 33, 0.94)),
    rgba(8, 18, 30, 0.9);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 224, 255, 0.28);
  box-shadow: 0 18px 42px rgba(2, 8, 18, 0.42);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-question i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(126, 224, 255, 0.08);
  color: var(--accent);
  transition: transform 0.24s ease, background 0.24s ease;
}

.faq-question:hover i {
  background: rgba(126, 224, 255, 0.14);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.is-open .faq-answer {
  max-height: 520px;
  padding: 0 24px 24px;
}

.faq-item.is-open .faq-question i {
  transform: rotate(45deg);
  background: rgba(126, 224, 255, 0.16);
}

.blog-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.98), rgba(10, 19, 31, 0.96)),
    rgba(8, 18, 30, 0.9);
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.42s ease, filter 0.32s ease;
  filter: saturate(0.96) contrast(1.02);
}

.blog-card-body {
  position: relative;
  padding: 24px;
}

.blog-card-body::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(126, 224, 255, 0.18), rgba(126, 224, 255, 0));
}

.blog-card p {
  margin-top: 14px;
}

.blog-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.05);
}

.legal-grid .legal-card {
  min-height: 280px;
}

.legal-card,
.policy-note {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.96), rgba(11, 20, 33, 0.94)),
    rgba(8, 18, 30, 0.9);
}

.legal-card h3 {
  margin-bottom: 14px;
}

.legal-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 10px;
}

.policy-note {
  margin-top: 24px;
  padding: 24px 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.contact-stack {
  display: grid;
  gap: 18px;
}

.contact-card,
.form-card,
.payment-card,
.pricing-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(18, 30, 47, 0.98), rgba(10, 19, 31, 0.96)),
    rgba(8, 18, 30, 0.9);
}

.contact-card p {
  margin-top: 10px;
}

.form-card {
  padding: 28px;
}

.contact-card:hover,
.payment-card:hover,
.legal-card:hover,
.policy-note:hover,
.pricing-shell:hover {
  border-color: rgba(126, 224, 255, 0.3);
  box-shadow: 0 18px 44px rgba(2, 8, 18, 0.42), 0 0 0 1px rgba(126, 224, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.input-control,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(8, 14, 24, 0.82);
  color: var(--text);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.input-control:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(126, 224, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(126, 224, 255, 0.08);
}

.form-status {
  min-height: 24px;
  color: var(--success);
}

.form-status.is-warning {
  color: #ffd690;
}

.payments-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.payment-card .payment-action {
  margin-top: auto;
  align-self: flex-start;
}

.pricing-shell {
  margin-top: 22px;
  padding: 28px;
}

.pricing-placeholder {
  margin-top: 18px;
  padding: 22px;
  border: 1px dashed rgba(126, 224, 255, 0.3);
  border-radius: var(--radius-sm);
  color: var(--muted);
}

.site-footer {
  padding: 22px 0 26px;
  flex-shrink: 0;
}

.footer-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 26px;
  display: grid;
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 13, 24, 0.88);
  box-shadow: var(--glow);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand-copy strong {
  display: block;
  font-size: 1.04rem;
}

.footer-brand-copy span,
.footer-brand-copy small {
  display: block;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.34);
  background: rgba(17, 29, 47, 0.84);
  color: var(--text);
  font-weight: 700;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.footer-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 224, 255, 0.54);
  box-shadow: 0 12px 28px rgba(3, 7, 18, 0.4);
}

.footer-chip i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.home-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
}

.home-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes techSweep {
  0% {
    background-position: -160% 0, 0 0;
  }
  100% {
    background-position: 160% 0, 0 34px;
  }
}

@keyframes ambientMist {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
    background-position: 0% 20%, 90% 10%, 45% 100%, 10% 80%, 100% 64%;
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.06);
    background-position: 18% 12%, 72% 26%, 58% 84%, 20% 68%, 86% 76%;
  }
  100% {
    transform: translate3d(1%, -2%, 0) scale(1.03);
    background-position: 34% 30%, 60% 14%, 70% 92%, 4% 72%, 94% 58%;
  }
}

@keyframes panelGlint {
  0%, 58% {
    transform: translateX(-130%);
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  82%, 100% {
    transform: translateX(130%);
    opacity: 0;
  }
}

@keyframes circuitPulse {
  0%, 100% {
    opacity: 0.48;
    width: 64px;
  }
  50% {
    opacity: 1;
    width: 118px;
  }
}

@keyframes scanLine {
  0% {
    transform: translateY(-120%);
  }
  100% {
    transform: translateY(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1200px) {
  .site-nav a {
    padding-inline: 12px;
  }

  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .blog-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-link {
    flex-basis: 310px;
    min-width: 230px;
  }

  .brand-overline {
    letter-spacing: 0.16em;
  }

  .brand-name {
    font-size: 0.98rem;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-shell,
  .surface {
    backdrop-filter: none;
  }

  .header-shell {
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand-link {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hamburger {
    display: inline-flex;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-left: 0;
    border-radius: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero-grid,
  .faq-layout,
  .contact-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: calc(100% - 28px);
  }

  body::after {
    inset: -10%;
    opacity: 0.26;
    filter: blur(30px);
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    padding-inline: 0;
  }

  .header-shell {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    padding: 12px 14px;
    padding-right: 74px;
    position: relative;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-name {
    white-space: normal;
  }

  .page-section {
    padding-left: 0;
    padding-right: 0;
  }

  .section-header {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .page-section:not(#home) .section-header::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .section-kicker {
    justify-content: center;
  }

  .section-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .hamburger {
    position: absolute;
    top: 12px;
    right: 14px;
    justify-self: end;
    align-self: auto;
  }

  .header-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .header-actions .cta-button.compact,
  .language-toggle {
    min-height: 48px;
    padding: 12px 16px;
  }

  .header-actions .cta-button.compact {
    font-size: 0.84rem;
    letter-spacing: 0.01em;
  }

  .hero-panel {
    min-height: auto;
  }

  .language-menu {
    left: 0;
    right: auto;
  }

  .hero-panel-inner {
    min-height: clamp(540px, calc(100svh - var(--header-height) - 36px), 760px);
    padding: 24px;
  }

  #home .section-title {
    max-width: 11ch;
    font-size: clamp(2.75rem, 11vw, 4.5rem);
  }

  #home .section-copy {
    font-size: 1.02rem;
    line-height: 1.66;
  }

  .quick-links,
  .feature-grid,
  .service-grid,
  .portfolio-grid,
  .blog-grid,
  .legal-grid,
  .payments-grid,
  .field-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .service-card,
  .portfolio-card-body,
  .blog-card-body,
  .legal-card,
  .contact-card,
  .process-step,
  .payment-card,
  .faq-summary,
  .form-card,
  .pricing-shell {
    padding: 22px;
  }

  .section-title {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .page-section:not(#home) .section-header {
    margin-bottom: 30px;
  }

  .page-section:not(#home) .section-header::after {
    bottom: -14px;
    width: 120px;
  }

  .footer-shell {
    padding: 20px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
  }

  .home-fab {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .home-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .home-fab i {
    width: 34px;
    height: 34px;
  }
}
