@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #0f5ca8;
  --color-primary-strong: #0a4279;
  --color-accent: #1aa2ff;
  --color-bg: #f6f8fb;
  --color-surface: #ffffff;
  --color-text: #0f172a;
  --color-muted: #475569;
  --color-border: #d5dbe5;
  --shadow-lg: 0 20px 50px rgba(15, 92, 168, 0.15);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.07);
  --radius: 14px;
  --max-width: 1160px;
  --header-height: 76px;
  --header-offset: 76px;
  --hero-poster: url('../assets/img/hero-poster.svg');
}

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

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
.btn {
  font-family: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 251, 0.8);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 42px;
}

.brand img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  font-weight: 600;
  color: var(--color-muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.nav a.is-active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 9px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 999px;
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.mobile-menu:not([hidden]) {
  display: block;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.mobile-menu__panel {
  position: absolute;
  top: var(--header-offset);
  right: 12px;
  left: 12px;
  background: var(--color-surface);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu a {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: #f0f5fb;
  color: var(--color-primary);
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__overlay,
  .mobile-menu__panel {
    transition: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: #e9eef5;
}

.btn--icon {
  padding: 10px 14px;
  min-width: 44px;
  min-height: 44px;
}

.btn--icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.fab-phone {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.fab-phone svg {
  width: 22px;
  height: 22px;
}

.fab-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  background: #f1f5fb;
}

@media (min-width: 901px) {
  .fab-phone {
    display: none;
  }
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-primary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-strong);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-poster);
  min-height: clamp(420px, 68vh, 620px);
  scroll-margin-top: var(--header-offset);
}

body.menu-open {
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(7, 15, 30, 0.68) 0%, rgba(10, 24, 48, 0.35) 48%, rgba(10, 24, 48, 0.12) 80%, rgba(10, 24, 48, 0) 100%);
  z-index: 1;
}

.hero__fog {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 110% at 0% 50%, rgba(12, 31, 63, 0.62) 0%, rgba(12, 31, 63, 0.35) 38%, rgba(12, 31, 63, 0.16) 62%, rgba(12, 31, 63, 0.02) 85%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

[data-video-enabled="false"] .hero video {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: clamp(60px, 6vw, 96px) 0;
}

.hero .container {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-panel {
  max-width: 560px;
  background: rgba(12, 26, 52, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 70px rgba(7, 15, 30, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #eaf2ff;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 30px) clamp(22px, 4vw, 36px);
}

.hero-content {
  max-width: 520px;
}

.eyebrow {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  color: #c4e2ff;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.25rem);
  line-height: 1.15;
}

.lead {
  font-size: 1.1rem;
  color: #dbe8f6;
  margin-bottom: 26px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e9f2fc;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.section {
  padding: 90px 0;
  scroll-margin-top: var(--header-offset);
}

.section--features {
  padding: 80px 0 86px;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.6), #ffffff);
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jump-nav a {
  --pill-accent: var(--color-primary);
  --pill-accent-strong: var(--color-primary-strong);
  --pill-bg: #f6f8fb;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #d5dbe5;
  color: #1f2937;
  font-weight: 700;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.jump-nav a:hover,
.jump-nav a:focus-visible {
  border-color: var(--pill-accent);
  color: var(--pill-accent-strong);
  background: var(--pill-bg);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.jump-nav a.is-active {
  border-color: var(--pill-accent);
  color: var(--pill-accent-strong);
  background: var(--pill-bg);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.jump-nav a[data-accent="elektro"] {
  --pill-accent: #0f5ca8;
  --pill-accent-strong: #0a4279;
  --pill-bg: #eef4fb;
}

.jump-nav a[data-accent="smarthome"] {
  --pill-accent: #0c8a86;
  --pill-accent-strong: #0b7c83;
  --pill-bg: #edf7f6;
}

.jump-nav a[data-accent="automation"] {
  --pill-accent: #5a4fcf;
  --pill-accent-strong: #4338a8;
  --pill-bg: #f1f0fb;
}

.jump-nav a[data-accent="netzwerk"] {
  --pill-accent: #1c6fb3;
  --pill-accent-strong: #0f4f82;
  --pill-bg: #eef6fb;
}

.jump-nav a[data-accent="service"] {
  --pill-accent: #d87a1c;
  --pill-accent-strong: #b35f0f;
  --pill-bg: #fff6ed;
}

.section--flow {
  padding: 70px 0;
  background: var(--section-bg, #ffffff);
}

.flow-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: center;
  background: var(--color-surface);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--section-border, rgba(15, 92, 168, 0.08));
  box-shadow: var(--shadow-md);
}

.flow-block--reverse {
  grid-auto-flow: dense;
}

.flow-block--reverse .flow-media {
  order: -1;
}

.section--flow-alt .flow-block {
  direction: rtl;
}

.section--flow-alt .flow-text,
.section--flow-alt .flow-media {
  direction: ltr;
}

.flow-text {
  display: grid;
  gap: 12px;
}

.flow-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--section-accent-strong, var(--color-primary));
  background: var(--section-accent-soft, rgba(15, 92, 168, 0.08));
  border: 1px solid var(--section-accent, #0f5ca8);
  width: fit-content;
}

.flow-text h2 {
  margin: 0;
}

.flow-text p {
  margin: 0;
  color: var(--color-muted);
}

.flow-text .list {
  margin-top: 4px;
}

.flow-text .list li::marker {
  color: var(--section-accent, var(--color-primary));
}

.flow-cta {
  margin-top: 4px;
}

.flow-media {
  width: 100%;
  min-height: 240px;
  border-radius: 16px;
  background: linear-gradient(135deg, #10264a, #0f5ca8);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.flow-media--photo {
  background: var(--section-accent-soft, #eef4fb);
}

.flow-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.flow-media--elektro {
  background: linear-gradient(135deg, #0f5ca8, #0a4279);
}

.flow-media--smarthome {
  background: linear-gradient(135deg, #0c8a86, #1aa2ff);
}

.flow-media--automation {
  background: linear-gradient(135deg, #4338a8, #5a4fcf);
}

.flow-media--netzwerk {
  background: linear-gradient(135deg, #0f4f82, #1c6fb3);
}

.flow-media--service {
  background: linear-gradient(135deg, #b35f0f, #d87a1c);
}

.section--elektro {
  --section-bg: #eef4fb;
  --section-accent: #0f5ca8;
  --section-accent-strong: #0a4279;
  --section-accent-soft: rgba(15, 92, 168, 0.08);
  --section-border: rgba(15, 92, 168, 0.12);
}

.section--smarthome {
  --section-bg: #edf7f6;
  --section-accent: #0c8a86;
  --section-accent-strong: #0b7c83;
  --section-accent-soft: rgba(12, 138, 134, 0.1);
  --section-border: rgba(12, 138, 134, 0.14);
}

.section--automation {
  --section-bg: #f1f0fb;
  --section-accent: #5a4fcf;
  --section-accent-strong: #4338a8;
  --section-accent-soft: rgba(90, 79, 207, 0.1);
  --section-border: rgba(90, 79, 207, 0.14);
}

.section--netzwerk {
  --section-bg: #eef6fb;
  --section-accent: #1c6fb3;
  --section-accent-strong: #0f4f82;
  --section-accent-soft: rgba(28, 111, 179, 0.1);
  --section-border: rgba(28, 111, 179, 0.14);
}

.section--service {
  --section-bg: #fff6ed;
  --section-accent: #d87a1c;
  --section-accent-strong: #b35f0f;
  --section-accent-soft: rgba(216, 122, 28, 0.12);
  --section-border: rgba(216, 122, 28, 0.16);
}

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

.section-title {
  margin: 0;
  font-size: 2rem;
}

.section-subtitle {
  color: var(--color-muted);
  margin-top: 10px;
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--color-surface);
  padding: 22px 22px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e7ecf3;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(15, 92, 168, 0.2);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.card p {
  margin: 0 0 12px;
  color: var(--color-muted);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 92, 168, 0.08);
  color: rgba(15, 92, 168, 0.85);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08px;
}

.card__cta {
  margin-top: 14px;
}

.list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.list strong {
  color: var(--color-text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 92, 168, 0.12);
  color: var(--color-primary-strong);
  font-weight: 700;
  font-size: 0.9rem;
}


.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
  align-items: start;
}

.muted-box {
  background: linear-gradient(135deg, #f0f5fb, #ffffff);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.page-hero--contact {
  position: relative;
  overflow: hidden;
  padding: 58px 0 32px;
}

.contact-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
  align-content: start;
  position: relative;
  z-index: 1;
}

.contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(1.05) brightness(0.9);
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 14, 30, 0.7) 0%, rgba(6, 14, 30, 0.7) 55%, rgba(6, 14, 30, 0) 100%);
  pointer-events: none;
}

.contact-hero--tight {
  row-gap: 18px;
}

.contact-hero__text {
  color: #f6f9ff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.contact-hero__text h1 {
  margin: 4px 0 10px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.contact-hero__text .eyebrow,
.contact-hero__text .contact-quick__note {
  color: #ffffff;
}

.page-hero--contact .page-hero__lead {
  color: #eef3fb;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.contact-quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.contact-quick__item {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d5dbe5;
  background: rgba(248, 249, 252, 0.9);
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-quick__item:hover,
.contact-quick__item:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.contact-quick__label {
  color: var(--color-muted);
  font-size: 0.94rem;
}

.contact-quick__value {
  color: var(--color-text);
}

.contact-quick__note {
  grid-column: 1 / -1;
  color: var(--color-muted);
  font-size: 0.95rem;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.contact-quick--compact {
  margin-top: 10px;
}

.contact {
  background: var(--color-surface);
}

.form-row--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-row--checkbox input[type="checkbox"] {
  width: clamp(20px, 3vw, 26px);
  height: clamp(20px, 3vw, 26px);
  accent-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 6px;
}

.form-row--checkbox input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(15, 92, 168, 0.35);
  outline-offset: 3px;
}

.form-row--checkbox label {
  cursor: pointer;
  display: block;
  padding-top: 2px;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.form-foot .btn {
  min-width: 180px;
}

.contact-form-section {
  padding: 40px 0 56px;
  background: #f8f9fc;
  border-top: 1px solid #e7ecf3;
}

.contact-form-shell {
  max-width: 820px;
  margin: 0 auto;
}

.card--form {
  padding: 20px 20px 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 700;
  color: var(--color-text);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #f9fbff;
  font-family: inherit;
  font-size: 1rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  border-color: var(--color-primary);
  background: #fff;
}

textarea {
  resize: vertical;
  min-height: 140px;
}


.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.helper {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  background: #f6f8fb;
  border: 1px solid #d5dbe5;
}

.status.success {
  background: #e5f8ed;
  color: #0f7b3c;
  border: 1px solid #b8e7cb;
}

.status.error {
  background: #ffecec;
  color: #a81818;
  border: 1px solid #ffc1c1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.footnotes {
  font-size: 0.92rem;
  color: var(--color-muted);
}

@media (max-width: 760px) {
  .contact-hero__overlay {
    background: linear-gradient(180deg, rgba(6, 14, 30, 0.8) 0%, rgba(6, 14, 30, 0.8) 55%, rgba(6, 14, 30, 0) 100%);
  }

  .contact-hero__video {
    object-position: center;
  }
}

.site-footer {
  margin-top: auto;
  background: #0b1c32;
  color: #dbe7ff;
  padding: 24px 0 14px;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
}

.footer__logo-wrap {
  background: #ffffff;
  padding: 8px 10px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__logo {
  height: 32px;
  width: auto;
  display: block;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #dbe7ff;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  color: #9ab5d4;
  font-size: 0.92rem;
}

.footer-top {
  padding-top: 26px;
  padding-bottom: 12px;
}

.footer-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #dbe7ff;
  font-weight: 700;
}

@media (max-width: 760px) {
  .footer__logo-wrap {
    padding: 6px 8px;
    border-radius: 10px;
  }

  .footer__logo {
    height: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-top {
    padding-top: 22px;
    padding-bottom: 12px;
  }

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

.consent-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 420px;
  width: calc(100% - 40px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  z-index: 1200;
  display: none;
}

.consent-banner.active {
  display: block;
}

.consent-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.consent-actions .btn {
  flex: 1;
  min-width: 140px;
}

.highlight {
  background: linear-gradient(135deg, #e9f3ff, #f6f8fb);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.highlight--kpis {
  box-shadow: var(--shadow-md);
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(15, 92, 168, 0.15);
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.highlight--kpis h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.highlight--kpis p {
  margin: 0 0 12px;
  max-width: 38ch;
  line-height: 1.6;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.metrics--balanced {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: auto;
}

.metric {
  background: #0f5ca8;
  color: #eef5ff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.metric--wide {
  grid-column: span 2;
}

.metric strong {
  display: block;
  font-size: 1.5rem;
}

.legal {
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(246, 248, 251, 0.8), #ffffff);
}

.legal h1 {
  margin-top: 0;
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.legal h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal p {
  margin-top: 8px;
  color: var(--color-muted);
}

.legal .container {
  max-width: 1020px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 26px 26px 24px;
}

.legal-lead {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--color-muted);
}

.legal-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 92, 168, 0.06), rgba(15, 92, 168, 0.02));
  border: 1px solid rgba(15, 92, 168, 0.15);
}

.legal-block h2::before {
  content: "";
  width: 6px;
  height: 18px;
  border-radius: 999px;
  background: rgba(15, 92, 168, 0.4);
  display: inline-block;
}

.legal a {
  color: var(--color-primary);
  font-weight: 700;
}

.legal a:hover,
.legal a:focus-visible {
  text-decoration: underline;
}

.legal-block + .legal-block {
  margin-top: 18px;
}

.legal-credit {
  margin-top: 22px;
}

.legal-credit__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-credit__content p {
  margin: 6px 0 0;
  font-size: 0.95rem;
}

.legal-credit__link {
  font-weight: 600;
}

.legal-credit__logo-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(15, 92, 168, 0.12);
  background: #f8fafc;
}

.legal-credit__logo {
  display: block;
  height: auto;
  width: min(240px, 100%);
  max-height: 56px;
  object-fit: contain;
}

.legal .legal-highlights .legal-block + .legal-block {
  margin-top: 0;
}

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

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

.legal [id] {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.legal-toc {
  margin: 16px 0 26px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 92, 168, 0.15);
  background: linear-gradient(135deg, rgba(15, 92, 168, 0.05), rgba(15, 92, 168, 0.02));
}

.legal-toc__title {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--color-primary);
}

.legal-toc ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.legal-toc a {
  font-weight: 600;
}

.legal-meta {
  margin-top: 24px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.legal-form {
  margin: 12px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #f8fafc;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.mobile-menu__section {
  border-top: 1px solid #e7ecf3;
  margin-top: 6px;
  padding-top: 8px;
  display: grid;
  gap: 4px;
}

.mobile-menu__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px 2px;
}

@media (max-width: 760px) {
  .legal-card {
    padding: 20px 18px;
  }

  .legal h1 {
    font-size: 1.9rem;
  }

  .legal h2 {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .legal-credit__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-credit__logo {
    height: 32px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .consent-banner,
  .fab-phone,
  .nav-toggle,
  .mobile-menu {
    display: none !important;
  }

  .legal {
    padding: 0;
    background: #ffffff;
  }

  .legal-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .legal a {
    color: #000000;
    text-decoration: underline;
  }
}

.section--process .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.process-left {
  display: grid;
  gap: 14px;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e4eaf3;
}

.step:last-child {
  border-bottom: none;
}

.step__badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(15, 92, 168, 0.12);
  color: var(--color-primary-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step__title {
  margin: 0;
  font-size: 1.05rem;
}

.step__desc {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.cta-group--stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-group--stack .btn {
  flex: 1 1 180px;
}

.cta-group--single {
  max-width: 240px;
}

.cta-group--single .btn {
  flex: 0 0 auto;
  width: 100%;
}

@media (max-width: 900px) {
  .section--process .container {
    grid-template-columns: 1fr;
  }

  .process-left {
    gap: 12px;
  }

  .cta-group--stack {
    flex-direction: column;
  }

  .cta-group--stack .btn {
    width: 100%;
  }

  .metrics--balanced {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .metric--wide {
    grid-column: span 1;
  }

  .page-hero--video {
    padding: 90px 0 70px;
  }

  .section--cta .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-block--reverse .flow-media {
    order: 0;
  }
}

@media (max-width: 760px) {
  .section--process-workflow {
    display: none;
  }

  .step {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 10px 0;
  }

  .step__badge {
    width: 32px;
    height: 32px;
  }

  .highlight--kpis {
    padding: 22px;
  }

  .metrics--balanced {
    grid-template-columns: 1fr;
  }

  .page-hero--video {
    padding: 70px 0 60px;
  }

  .jump-nav {
    flex-direction: row;
    gap: 8px;
  }

  .section--flow {
    padding: 58px 0;
  }

  .flow-block {
    grid-template-columns: 1fr;
  }

  .section--services .service-grid,
  .section--faq .faq-list {
    gap: 12px;
  }

  .section--cta .cta-band {
    padding: 16px;
  }
}

.page-hero {
  background: linear-gradient(135deg, rgba(15, 92, 168, 0.08), rgba(15, 92, 168, 0.02));
  padding: 90px 0 40px;
  border-bottom: 1px solid var(--color-border);
}

.page-hero--video {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1c32, #0f5ca8);
  padding: 120px 0 90px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.6);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(6, 14, 30, 0.8), rgba(10, 35, 70, 0.65), rgba(12, 50, 100, 0.4), rgba(12, 50, 100, 0.2));
  mix-blend-mode: multiply;
}

[data-video-enabled="false"] .page-hero__video {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__video {
    display: none;
  }

  .page-hero--video {
    background: linear-gradient(135deg, #0b1c32, #10264a);
  }
}

.page-hero__content {
  position: relative;
  z-index: 1;
  color: #eef3fb;
  max-width: var(--max-width);
}

.page-hero__content h1 {
  margin: 10px 0 16px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.page-hero__lead {
  max-width: 720px;
  color: #f7fbff;
  margin: 0 0 30px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.page-hero__panel {
  max-width: 720px;
  background: rgba(6, 14, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 22px 22px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.page-hero__cta {
  margin-top: 18px;
  margin-bottom: 0;
}

.btn-outline--hero {
  border-color: rgba(255, 255, 255, 0.55);
  color: #eef3fb;
}

.btn-outline--hero:hover,
.btn-outline--hero:focus-visible {
  border-color: #fff;
  color: #fff;
}

.section--services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section--services .list {
  margin-top: 4px;
}

.section--faq {
  background: #f8f9fc;
  border-top: 1px solid #e7ecf3;
}

.section--faq .container {
  max-width: 980px;
}

.section--faq .section-header {
  margin-bottom: 26px;
}

.section--faq .section-title {
  background: none;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e4eaf3;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(15, 92, 168, 0.25);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  text-align: left;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
  gap: 14px;
}

.faq-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #d5dbe5;
  background: #f6f8fb;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: rgba(15, 92, 168, 0.08);
  border-color: rgba(15, 92, 168, 0.35);
  color: var(--color-primary-strong);
}

.faq-panel {
  padding: 0 16px 14px;
  color: var(--color-muted);
}

.faq-panel p {
  margin: 0 0 8px;
}

.faq-panel ul {
  margin: 0 0 4px 18px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.faq-panel li::marker {
  color: var(--color-primary);
}

.faq-footnote {
  margin-top: 16px;
  color: var(--color-muted);
  text-align: center;
}

.faq-footnote a {
  color: var(--color-primary);
  font-weight: 700;
}

.section--cta .cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(15, 92, 168, 0.14), rgba(15, 92, 168, 0.05));
  border: 1px solid #d5dbe5;
  border-radius: 16px;
  padding: 18px 20px;
}

.cta-band__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section--cta h2 {
  margin: 0 0 6px;
}

.section--cta p {
  margin: 0;
  color: var(--color-muted);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 2.4rem;
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .nav {
    gap: 14px;
    display: none;
  }

  :root {
    --header-height: 68px;
    --header-offset: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .container {
    height: auto;
    padding: 10px clamp(16px, 4vw, 22px);
    gap: 10px;
  }

  .brand {
    height: 38px;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 6px 0;
    line-height: 1.2;
  }

  .nav--legal {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .fab-phone {
    display: inline-flex;
  }

  .hero {
    min-height: clamp(340px, 68vh, 480px);
  }

  .section--features {
    padding: 70px 0 74px;
  }

  .hero__content {
    padding: 40px 0 46px;
    align-items: flex-start;
  }

  .hero-panel {
    max-width: 540px;
  }
}

@media (max-width: 760px) {
  .site-header .container {
    gap: 14px;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .brand {
    height: 36px;
  }

  .hero {
    min-height: clamp(330px, 65vh, 460px);
  }

  .section--features {
    padding: 60px 0 64px;
  }

  .hero__content {
    padding: 32px 0 40px;
    align-items: flex-start;
  }

  .hero-panel {
    padding: 18px 18px 22px;
    border-radius: 14px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 6vw + 0.8rem, 2.4rem);
  }

  .cta-group {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero video {
    display: none !important;
  }
}
