:root {
  --brand-cyan: #00b3f0;
  --brand-blue: #0c4e99;
  --brand-black: #000000;
  --bg-dark: #0c4e99;
  --bg-dark-soft: #083a75;
  --bg-surface: #ffffff;
  --bg-muted: #f0f6fb;
  --bg-page: #e8f2fa;
  --text: #10243f;
  --text-muted: #5e6b7a;
  --text-light: #c5dff0;
  --accent: #00b3f0;
  --accent-bright: #33c4f5;
  --accent-dark: #0c4e99;
  --accent-soft: #e6f7fd;
  --compliance: #107c10;
  --compliance-soft: #e8f5e9;
  --line: #d4e3f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow: 0 2px 8px rgba(12, 78, 153, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 78, 153, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --trust-bar-h: 36px;
  --header-h: 72px;
  --max-w: 1200px;
  --gutter: 24px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  box-sizing: border-box;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg-page);
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.icon { width: 24px; height: 24px; flex-shrink: 0; display: block; }

/* Trust bar */
.trust-bar {
  background: #062f5e;
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-light);
  font-size: 0.75rem;
  height: var(--trust-bar-h);
  display: flex;
  align-items: center;
}

.trust-bar-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-bar .icon { width: 14px; height: 14px; color: var(--brand-cyan); }

.trust-bar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 78, 153, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 179, 240, 0.2);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-desktop { grid-column: 2; justify-self: center; }
.header-cta { grid-column: 3; justify-self: end; }
.menu-toggle { grid-column: 3; justify-self: end; }

.logo-img {
  height: 38px;
  width: auto;
  max-width: min(230px, 54vw);
}

.logo-img--footer {
  height: 34px;
  max-width: 210px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.logo-mark .icon { width: 18px; height: 18px; }
.logo-dot { color: var(--accent-bright); font-weight: 400; }

.nav-desktop { display: flex; align-items: center; gap: 2px; }

.nav-desktop a {
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-desktop a.active { color: var(--brand-cyan); }

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  background: var(--brand-cyan);
  color: #fff;
  font-weight: 600;
  font-size: 0.8125rem;
  border-radius: 6px;
  transition: background 0.15s;
  white-space: nowrap;
}

.header-cta:hover { background: #0099d6; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: calc(var(--trust-bar-h) + var(--header-h)) 0 0 0;
  background: var(--bg-dark);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  z-index: 99;
}

.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--text-light); padding: 14px 16px; border-radius: 8px; font-size: 1rem; }
.nav-mobile a:hover, .nav-mobile a.active { background: rgba(255,255,255,0.06); color: #fff; }
.nav-mobile .header-cta { margin-top: 16px; justify-content: center; width: 100%; }

@media (max-width: 960px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-desktop { display: none; }
  .header-inner > .header-cta { display: none; }
  .menu-toggle { display: block; }
  .trust-bar-inner { justify-content: center; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-dark); border-color: #c5e4f7; }
.btn-secondary:hover { background: #d4ebfa; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.btn-dark { background: var(--bg-dark-soft); color: #fff; }
.btn-dark:hover { background: var(--bg-dark); }

/* Hero */
.hero {
  background: linear-gradient(180deg, #0c4e99 0%, #083a75 100%);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 179, 240, 0.22);
}

.hero--bg-flows {
  background: url("../assets/images/data-flows.png") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1024 / 692;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-network {
  background: url("../assets/images/network-shield.jpg") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1600 / 495;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--home {
  background: url("../assets/images/cyber-brand.jpg") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1600 / 773;
  padding: 0;
  display: flex;
  align-items: center;
  border-bottom: none;
}

.hero--home::before {
  display: none;
}

.hero--home .hero-inner {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--gutter);
  box-sizing: border-box;
}

.hero--home .hero-copy {
  max-width: 580px;
}

.hero--home .hero-copy h1,
.hero--home .hero-copy .lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

@media (max-width: 900px) {
  .hero--bg-flows {
    aspect-ratio: auto;
    min-height: calc(100vw * 692 / 1024);
  }

  .hero--bg-network {
    aspect-ratio: auto;
    min-height: calc(100vw * 495 / 1600);
  }

  .hero--bg-compliance {
    aspect-ratio: auto;
    min-height: calc(100vw * 551 / 1024);
  }

  .hero--bg-cloud {
    aspect-ratio: auto;
    min-height: calc(100vw * 768 / 1024);
  }

  .hero--bg-services {
    aspect-ratio: auto;
    min-height: calc(100vw * 495 / 1600);
  }

  .hero--bg-legislation {
    aspect-ratio: auto;
    min-height: calc(100vw * 495 / 1600);
  }

  .hero--bg-regulated {
    aspect-ratio: auto;
    min-height: calc(100vw * 319 / 1024);
  }

  .hero-compact.hero--bg-flows,
  .hero-compact.hero--bg-network,
  .hero-compact.hero--bg-compliance,
  .hero-compact.hero--bg-cloud,
  .hero-compact.hero--bg-services,
  .hero-compact.hero--bg-legislation,
  .hero-compact.hero--bg-regulated {
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero--home {
    aspect-ratio: auto;
    min-height: calc(100vw * 773 / 1600);
    display: block;
  }

  .hero--home .hero-inner {
    padding: clamp(40px, 8vw, 64px) var(--gutter);
  }
}

.hero-compact[class*="hero--bg-"] {
  aspect-ratio: auto;
  min-height: 0;
  padding: clamp(32px, 4vw, 44px) 0 clamp(36px, 4vw, 48px);
  background-size: cover;
  background-position: center center;
}

.hero--bg-compliance {
  background: url("../assets/images/nis2-eu-compliance.png") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1024 / 551;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-cloud {
  background: url("../assets/images/cloud-network.png") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1024 / 768;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-services {
  background: url("../assets/images/services-hero.jpg") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1600 / 495;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-legislation {
  background: url("../assets/images/legislation-hero.jpg") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1600 / 495;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-regulated {
  background: url("../assets/images/regulated-hero.png") center top / 100% auto no-repeat;
  background-color: transparent;
  aspect-ratio: 1024 / 319;
  padding: clamp(48px, 6vw, 72px) 0;
}

.hero--bg-flows::before,
.hero--bg-network::before,
.hero--bg-compliance::before,
.hero--bg-cloud::before,
.hero--bg-services::before,
.hero--bg-legislation::before,
.hero--bg-regulated::before {
  display: none;
}

.hero--bg-flows .hero-copy h1,
.hero--bg-network .hero-copy h1,
.hero--bg-compliance .hero-copy h1,
.hero--bg-cloud .hero-copy h1,
.hero--bg-services .hero-copy h1,
.hero--bg-legislation .hero-copy h1,
.hero--bg-regulated .hero-copy h1,
.hero--bg-flows .hero-copy .lead,
.hero--bg-network .hero-copy .lead,
.hero--bg-compliance .hero-copy .lead,
.hero--bg-cloud .hero-copy .lead,
.hero--bg-services .hero-copy .lead,
.hero--bg-legislation .hero-copy .lead,
.hero--bg-regulated .hero-copy .lead {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/svg/pattern-grid.svg");
  background-size: 64px 64px;
  opacity: 0.4;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 179, 240, 0.14);
  border: 1px solid rgba(0, 179, 240, 0.28);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-light);
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 0.8125rem;
  color: var(--text-light);
}

.hero-metric .icon { width: 16px; height: 16px; color: var(--accent-bright); }

.hero-visual {
  position: relative;
}

.hero-visual img,
.hero-visual svg {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.hero-visual--photo img {
  border: 1px solid rgba(0, 179, 240, 0.22);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-compact { padding: clamp(32px, 4vw, 44px) 0 clamp(36px, 4vw, 48px); }
.hero-compact .hero-inner { grid-template-columns: 1fr; max-width: 760px; }
.hero-compact .hero-visual { display: none; }
.hero-compact .hero-copy .lead { margin-bottom: 0; }
.hero-compact h1 { margin-bottom: 14px; }

@media (max-width: 900px) {
  .hero--bg-flows,
  .hero--bg-network,
  .hero--bg-compliance,
  .hero--bg-cloud {
    background-position: center top;
  }
}

/* Media panels & photo blocks */
.media-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: transparent;
}

.media-panel img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.media-panel--dark img {
  object-fit: contain;
  padding: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
  .hero-visual img { margin: 0 auto; }
}

/* Sections */
.section { padding: 80px 0; }
.section-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

.section-white { background: var(--bg-surface); }
.section-muted { background: var(--bg-muted); }

.section-header { margin-bottom: 40px; max-width: 640px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header--wide { max-width: none; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; margin: 0 0 16px; font-weight: 600; letter-spacing: -0.02em; }
h3 { font-size: 1.0625rem; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.text-muted { color: var(--text-muted); }

/* Compliance strip */
.compliance-strip {
  background: var(--bg-dark-soft);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 20px 0;
}

.compliance-strip-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.compliance-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 179, 240, 0.22);
  border-radius: 999px;
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 600;
}

.compliance-pill .icon { width: 16px; height: 16px; color: var(--accent-bright); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
  border-left: 3px solid transparent;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
  border-color: #c5d9ea;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.card-icon .icon { width: 22px; height: 22px; }

/* Dashboard panel */
.dashboard-panel {
  background: var(--bg-dark-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #1e3a5f;
  box-shadow: var(--shadow-lg);
}

.dashboard-panel img { width: 100%; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  opacity: 0.3;
}

.process-step {
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  background: var(--bg-surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-grid::before { display: none; }
}

/* Feature list */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-muted);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Stats */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-item {
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent);
}

.stat-item .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
}

.stat-item strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.stat-item span { font-size: 0.875rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .stats-strip { grid-template-columns: 1fr; }
}

/* Note box */
.note-box {
  background: var(--accent-soft);
  border: 1px solid #b3daf5;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9375rem;
  margin: 24px 0;
  color: var(--text);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, #0c4e99 0%, #083a75 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/svg/pattern-grid.svg");
  background-size: 64px 64px;
  opacity: 0.25;
  pointer-events: none;
}

.cta-band-inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-light); margin-bottom: 24px; }

/* Contact */
.section-contact { padding: 56px 0; }

.contact-block {
  background: var(--bg-muted);
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.contact-block-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  align-self: start;
}

.contact-details h2 {
  margin-bottom: 20px;
}

.contact-details .text-muted {
  margin-bottom: 20px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 0;
  align-items: flex-start;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.45;
}

.contact-info-body a {
  color: var(--text);
  text-decoration: none;
}

.contact-info-body a:hover {
  color: var(--accent);
}

.contact-info-item .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info-item strong { display: block; margin-bottom: 0; }

@media (max-width: 768px) {
  .contact-block-inner { grid-template-columns: 1fr; }
}

/* Forms */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.875rem; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--bg-surface);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 179, 240, 0.15);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.required { color: #c50f1f; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.form-status--success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
}

.form-status--error {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #8a1c1c;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.faq-item h3 { font-size: 0.9375rem; margin-bottom: 6px; }
.faq-item p { color: var(--text-muted); margin: 0; font-size: 0.9375rem; }

/* Quiz */
.quiz-progress { height: 3px; background: var(--line); border-radius: 2px; margin-bottom: 28px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 0.3s; }
.quiz-question { display: none; }
.quiz-question.active { display: block; }
.quiz-options { display: grid; gap: 10px; margin-top: 20px; }

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.quiz-option:hover { border-color: var(--accent); }
.quiz-option.selected { border-color: var(--accent); background: var(--accent-soft); }
.quiz-option input { margin: 0; accent-color: var(--accent); }

.quiz-result {
  display: none;
  text-align: center;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quiz-result.visible { display: block; }

.quiz-contact-fields {
  display: grid;
  gap: 0;
  margin-top: 8px;
}

.result-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Survey / dotazník */
.survey-form .card { margin: 18px 0; padding: 24px; }
.survey-form .card h2 { font-size: 1.125rem; margin: 0 0 14px; }
.survey-form textarea,
.survey-form input[type="text"],
.survey-form input[type="email"],
.survey-form input[type="tel"],
.survey-form input[type="number"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 0.9375rem;
  background: var(--bg-surface);
  font-family: inherit;
}

.survey-form textarea { min-height: 86px; resize: vertical; }
.survey-form label { font-weight: 600; display: block; margin-bottom: 6px; }
.survey-form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.question { border-top: 1px solid var(--line); padding: 14px 0; }
.question:first-of-type { border-top: 0; }
.qtext { font-weight: 600; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }

.choice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-surface);
  cursor: pointer;
}

.choice input { margin: 0; accent-color: var(--accent); }

.actions {
  position: sticky;
  bottom: 0;
  background: rgba(243, 246, 249, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 14px 0 4px;
  margin-top: 20px;
  z-index: 2;
}

.action-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.output {
  display: none;
  margin-top: 16px;
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 14px;
}

.output textarea {
  min-height: 230px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.small { font-size: 0.8125rem; color: var(--text-muted); font-weight: 400; }

/* Articles */
.article-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
}

.article-featured-image {
  background: transparent;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.article-card-image {
  height: auto;
  background: transparent;
  display: block;
  overflow: hidden;
  padding: 0;
}

.article-card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.article-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 12px; }

.article-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 4px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.article-card:hover { box-shadow: var(--shadow-lg); }

.article-featured-content { padding: 32px; }
.article-card-body { padding: 20px; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 36px; }
.prose p { margin-bottom: 18px; }

@media (max-width: 768px) {
  .article-featured { grid-template-columns: 1fr; }
  .survey-form .grid { grid-template-columns: 1fr; }
  .action-card { display: block; }
  .action-card .btn { width: 100%; margin-top: 8px; }
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 48px 0 24px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 40px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand .logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.6;
  color: rgba(197, 223, 240, 0.88);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-height: 34px;
  display: flex;
  align-items: center;
  margin: 0 0 12px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col li:last-child { margin-bottom: 0; }
.footer-col a { font-size: 0.9375rem; color: var(--text-light); transition: color 0.15s; }
.footer-col a:hover { color: var(--accent-bright); }

.footer-compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 0;
  border-top: none;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (min-width: 769px) {
  .footer-inner:has(.footer-grid) {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "grid grid"
      "compliance bottom";
    row-gap: 20px;
    column-gap: 24px;
  }

  .footer-grid { grid-area: grid; }
  .footer-compliance {
    grid-area: compliance;
    padding-top: 0;
    border-top: none;
    justify-content: flex-start;
  }
  .footer-bottom {
    grid-area: bottom;
    justify-self: end;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .footer-compliance { justify-content: flex-start; }
  .footer-bottom { padding-top: 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
}
