:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #dbe3ee;
  --brand: #0b5cab;
  --brand-deep: #074a8a;
  --cyan: #0891b2;
  --paper: #f4f8fc;
  --paper-warm: #eef4fa;
  --white: #ffffff;
  --ok: #0f766e;
  --soft-blue: #e8f1fb;
  --accent: #22d3ee;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --radius-lg: 24px;
  --grid-blue: rgba(11, 92, 171, 0.055);
  --grid-blue-strong: rgba(11, 92, 171, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(180deg, #eef4fb 0%, var(--paper) 120px, var(--paper) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.45;
  background:
    linear-gradient(var(--grid-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-blue) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, #000 0%, #000 40%, transparent 100%);
}

h1, h2, h3, h4 {
  font-family: Outfit, "IBM Plex Sans", sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  max-width: 18ch;
}

a { color: var(--brand-deep); transition: color 0.15s ease; }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
code {
  font: 650 0.88em ui-monospace, Consolas, monospace;
  background: #eef2ff;
  color: #3730a3;
  padding: 0.1em 0.45em;
  border-radius: 6px;
}

.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(4, 20, 40, 0.18), 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.brand strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.brand span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

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

.nav a,
.nav-dropdown > button {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding: 9px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.nav a:hover,
.nav-dropdown > button:hover {
  background: var(--soft-blue);
  color: var(--brand-deep);
}

.nav .cta {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #062033;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.nav .cta:hover {
  filter: brightness(1.04);
  color: #062033;
}

.nav-dropdown { position: relative; }

.nav-dropdown > button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 260px;
  max-height: min(70vh, 480px);
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 110;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 4px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
}

/* —— Sections & blueprint backgrounds —— */
.section {
  position: relative;
  padding: clamp(56px, 8vw, 88px) 0;
  overflow: hidden;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section > .wrap { position: relative; z-index: 1; }

.section--grid::before {
  inset: 0;
  background:
    linear-gradient(var(--grid-blue-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-blue-strong) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}

.section--plan::before {
  inset: -10% -5%;
  background:
    url("/assets/mimar-shot-grundriss.png") center / min(920px, 95%) no-repeat;
  opacity: 0.055;
  filter: saturate(0.2) contrast(1.1);
}

.section--plan::after {
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.92), rgba(244, 248, 252, 0.97));
}

.section--white {
  background: #fff;
  border-block: 1px solid var(--line);
}

.section--white::before {
  inset: 0;
  background:
    url("/assets/mimar-shot-elektro.png") right 8% center / min(480px, 42%) no-repeat;
  opacity: 0.04;
  filter: grayscale(0.3);
}

.section--features {
  background: linear-gradient(180deg, var(--paper-warm) 0%, #f8fbff 50%, var(--paper) 100%);
}

.section--features::before {
  inset: 0;
  background:
    url("/assets/mimar-shot-grundriss.png") left -8% top 12% / min(700px, 55%) no-repeat,
    url("/assets/mimar-shot-tga.png") right -6% bottom 8% / min(520px, 40%) no-repeat;
  opacity: 0.045;
  filter: saturate(0.15);
}

.section--features::after {
  inset: 0;
  background:
    linear-gradient(var(--grid-blue) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-blue) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.section--contact {
  background: linear-gradient(165deg, #0a1628 0%, #0f2744 45%, #0b5cab 100%);
  color: #e2e8f0;
}

.section--contact::before {
  inset: 0;
  background:
    url("/assets/mimar-shot-baustelle.png") center / min(1000px, 90%) no-repeat;
  opacity: 0.06;
  mix-blend-mode: luminosity;
}

.section--contact::after {
  inset: 0;
  background:
    linear-gradient(rgba(34, 211, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
}

.section-head { margin-bottom: clamp(28px, 4vw, 40px); }

.section-head .lead,
.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 62ch;
  font-weight: 500;
  margin: 14px 0 0;
  line-height: 1.55;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  padding: 6px 12px 6px 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 2px;
}

.eyebrow--light {
  color: #67e8f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.section--contact .eyebrow {
  color: #a5f3fc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

/* —— Hero —— */
.hero {
  color: #fff;
  position: relative;
  min-height: min(90vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(4, 18, 38, 0.55) 0%, rgba(7, 42, 78, 0.72) 45%, rgba(4, 20, 42, 0.92) 100%),
    url("/assets/mimar-brochure-hero.png") center / cover no-repeat;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(34, 211, 238, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
  padding: clamp(48px, 8vw, 72px) 0 0;
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy { padding-bottom: 48px; }

.hero-copy h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.45rem);
  color: #fff;
  margin: 16px 0 18px;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  max-width: 14ch;
}

.hero-copy p {
  max-width: 44ch;
  font-size: 1.14rem;
  color: #dbeafe;
  font-weight: 500;
  margin: 0 0 28px;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  font-size: 0.94rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #062033;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn--full { width: 100%; border: 0; }

.grid-2--tight { gap: 12px; }

.contact-email {
  margin-top: 18px;
  font-size: 0.9rem;
  opacity: 0.92;
}

.contact-email a { color: #67e8f8; font-weight: 700; }

.detail-block .module-table-wrap { margin-top: 18px; }

.detail-block > ul.mt-sm { margin-top: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.hero-stat {
  background: rgba(6, 24, 48, 0.82);
  padding: 20px 18px;
}

.hero-stat b {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  color: #67e8f8;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 0.86rem;
  color: #cbd5e1;
  font-weight: 500;
  line-height: 1.4;
}

/* —— Cards & grids —— */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 12px 0 12px 32px;
  color: var(--ink-soft);
  font-weight: 500;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  line-height: 1.45;
}

.checklist li:last-child { border-bottom: 0; }

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, var(--brand));
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.12);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  position: relative;
}

.flow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--cyan));
  opacity: 0.25;
  z-index: 0;
}

.flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 16px 12px;
}

.flow-step b {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--cyan));
  box-shadow: 0 6px 16px rgba(11, 92, 171, 0.3);
}

.flow-step span {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--ink);
}

.flow-step small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.feature {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #fff 0%, #f8fbff 100%);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature .tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}

.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p, .feature li { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.shot {
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eef2f7;
  box-shadow: var(--shadow-lg);
}

.shot img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center top;
  background: linear-gradient(180deg, #f1f5f9, #e8eef5);
}

.shot-cap {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-top: 1px solid var(--line);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.shot-cap strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 6px;
}

.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ok);
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* —— Feature catalog —— */
.detail-nav-wrap {
  position: sticky;
  top: 76px;
  z-index: 40;
  margin: 8px 0 28px;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(244, 248, 252, 0.97) 70%, rgba(244, 248, 252, 0));
  backdrop-filter: blur(10px);
}

.detail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.detail-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-deep);
  background: var(--soft-blue);
  border: 1px solid rgba(11, 92, 171, 0.12);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.detail-nav a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.detail-block {
  position: relative;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px 32px;
  background: rgba(255, 255, 255, 0.94);
  margin-top: 22px;
  scroll-margin-top: 120px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.detail-block::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.detail-block::after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  background:
    linear-gradient(var(--grid-blue-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-blue-strong) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: 0.6;
  border-radius: 50%;
  pointer-events: none;
}

.detail-block.alt-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 249, 255, 0.92) 100%);
}

.detail-block h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-right: 40px;
}

.detail-block > p {
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 75ch;
  font-size: 1.02rem;
  line-height: 1.55;
}

.detail-block > ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.detail-block > ul > li {
  position: relative;
  padding: 10px 14px 10px 38px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.94rem;
}

.detail-block > ul > li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--ok), #14b8a6);
  border-radius: 50%;
}

.detail-block ul ul {
  margin-top: 8px;
  padding-left: 1em;
  list-style: disc;
}

.detail-block ul ul li {
  background: none;
  border: 0;
  padding: 4px 0 4px 0;
  font-size: 0.9rem;
}

.detail-block ul ul li::before { display: none; }

.detail-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.detail-sub {
  border: 1px solid rgba(191, 212, 234, 0.8);
  border-radius: 14px;
  padding: 18px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(241, 248, 255, 0.9));
  box-shadow: var(--shadow-sm);
}

.detail-sub h4 {
  margin: 0 0 12px;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  color: var(--brand-deep);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(11, 92, 171, 0.12);
}

.detail-sub ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.detail-sub li { margin: 7px 0; line-height: 1.4; }

.note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  border: 1px solid #bae6fd;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e0effc;
  color: var(--brand-deep);
  border: 1px solid rgba(11, 92, 171, 0.15);
}

.pill.ok {
  background: #d1fae5;
  color: var(--ok);
  border-color: rgba(15, 118, 110, 0.2);
}

.module-table-wrap {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.module-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.module-table thead {
  background: linear-gradient(180deg, #f1f5f9, #e8eef5);
}

.module-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
  font-weight: 800;
}

.module-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  color: var(--ink-soft);
  line-height: 1.45;
}

.module-table tbody tr:hover { background: #f8fbff; }
.module-table tbody tr:last-child td { border-bottom: 0; }
.module-table td:first-child {
  font-weight: 800;
  color: var(--ink);
  width: 22%;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.82rem;
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.contact-card h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin-bottom: 14px;
  max-width: none;
}

.contact-card p,
.contact-card li {
  color: #cbd5e1;
  line-height: 1.55;
}

.contact-card p { margin: 0 0 16px; }
.contact-card ul { margin: 0; padding-left: 1.15em; }
.contact-card li { margin: 8px 0; }

.contact-card a { color: #67e8f8; font-weight: 700; }

form.contact-form {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

form.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.02em;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 92, 171, 0.15);
}

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

form.contact-form small {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.4;
}

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

.form-msg {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  display: none;
}

.form-msg.ok {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-msg.err {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.mt-lg { margin-top: 28px; }
.mt-md { margin-top: 20px; }
.mt-sm { margin-top: 14px; }

/* —— Footer —— */
.site-footer {
  background: #060d18;
  color: #94a3b8;
  padding: 36px 0 44px;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 700;
}

.site-footer a:hover { color: #67e8f8; }
.site-footer strong { color: #e2e8f0; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; border-radius: 0; }
  .grid-2, .grid-3, .contact-grid, .detail-subgrid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow::before { display: none; }
  .nav-dropdown { display: none; }
  .nav a:not(.cta):not(.nav-mobile) { display: none; }
  .detail-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .detail-block { padding: 22px 20px 20px 26px; }
  h2 { max-width: none; }
}

@media (max-width: 540px) {
  .flow { grid-template-columns: 1fr; }
  .wrap { width: min(1140px, calc(100% - 24px)); }
}
