/* ============================================================
   DESA Group — Design System & Stylesheet
   style.css | Mobile-first
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@800&family=Inter:wght@300;400;500;700&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Barvy */
  --color-bg: #02141f;
  --color-bg-dark: #02141f;
  --color-primary: #177E89;
  --color-secondary: #177E89;
  --color-text: #f0f4f8;
  --color-muted: #a8bfcf;
  --color-accent: #C1EDCC;
  --color-glass: rgba(8, 126, 139, 0.07);
  --color-border: rgba(8, 126, 139, 0.18);
  --color-surface: rgba(22, 32, 42, 0.8);

  /* Spacing (8px grid) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Typografie */
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', system-ui, sans-serif;
  --lh-body: 1.65;
  --lh-head: 1.2;

  /* Layout */
  --container-w: 85%;
  --container-max: 1400px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Stíny */
  --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(8, 126, 139, 0.18);
}

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

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

#starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.druzice-fixed {
  position: fixed;
  top: 15vh;
  right: 7vw;
  width: clamp(100px, 14vw, 240px);
  z-index: 2;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease;
}

.druzice-fixed.visible {
  opacity: 0.65;
}

@media (max-width: 1024px) {
  .druzice-fixed {
    display: none;
  }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  background-color: var(--color-bg);
  background-image: none;
  color: var(--color-text);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
}

.section {
  padding-block: var(--sp-16);
  position: relative;
  z-index: 3;
}

.section--dark {
  background-color: transparent;
}

.section--alt {
  background-color: transparent;
}

/* ================================================================
   TYPOGRAFIE
   ================================================================ */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: var(--lh-head);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: var(--lh-head);
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 800;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
}

h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}

h6 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

p {
  line-height: var(--lh-body);
}

.text-muted {
  color: var(--color-muted);
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

.gradient-text {
  color: #C1EDCC;
}

/* Sekce label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--sp-3);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-heading {
  margin-bottom: var(--sp-12);
}

.section-desc {
  color: var(--color-muted);
  font-size: 1.0625rem;
  max-width: 60%;
  line-height: 1.7;
}

/* ================================================================
   TLAČÍTKA (komponenta)
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8, 126, 139, 0.45);
}

.btn-glass {
  background: rgba(23, 126, 137, 0.42);
  color: #fff;
  border: 1px solid rgba(23, 126, 137, 0.55);
  border-radius: 100px;
  padding: 10px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.btn-glass:hover {
  background: rgba(23, 126, 137, 0.62);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8, 126, 139, 0.35);
}

.btn-glass-green {
  background: rgba(193, 237, 204, 0.22);
  color: #fff;
  border: 1px solid rgba(193, 237, 204, 0.55);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-glass-green:hover {
  background: rgba(193, 237, 204, 0.18);
  border-color: rgba(193, 237, 204, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(193, 237, 204, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding-inline: 0;
  gap: var(--sp-2);
}

.btn-ghost i {
  transition: transform 0.2s ease;
}

.btn-ghost:hover i {
  transform: translateX(4px);
}

.link-accent {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.link-accent:hover {
  opacity: 0.75;
}

/* ================================================================
   NAVBAR (komponenta)
   ================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--sp-4);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(2, 24, 38, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
}

.navbar-logo img {
  height: 42px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.navbar-nav .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}


.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 24, 38, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-3);
  min-width: 280px;
  box-shadow: var(--shadow-card);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: all 0.2s ease;
}

.nav-dropdown-menu li a i {
  color: var(--color-primary);
  width: 18px;
}

.nav-dropdown-menu li a:hover {
  background: var(--color-glass);
  color: var(--color-text);
  padding-left: var(--sp-6);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(2, 24, 38, 0.99);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px var(--sp-8) var(--sp-12);
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav>a,
.mobile-nav-group>a {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-label {
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  padding: var(--sp-4) 0 var(--sp-2);
}

.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  padding-left: var(--sp-4);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--sp-3);
}

.mobile-nav-submenu a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-muted);
  padding: var(--sp-3) 0;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.mobile-nav-submenu a i {
  color: var(--color-primary);
  width: 18px;
}

.mobile-nav-cta {
  margin-top: var(--sp-8);
}

/* ================================================================
   HERO (komponenta)
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('Obrazky/hero.jpg');
  background-size: cover;
  background-position: right top;
  opacity: 0.62;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(2, 24, 38, 0.88) 0%,
      rgba(2, 24, 38, 0.55) 35%,
      rgba(2, 24, 38, 0.15) 60%,
      transparent 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent 0%, #02141f 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 126, 139, 0.07) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  pointer-events: none;
}

.hero-glow-2 {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--sp-16);
  padding-top: calc(var(--sp-16) + 80px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 6px var(--sp-4);
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: var(--sp-6);
  backdrop-filter: blur(8px);
}

.hero-title {
  margin-bottom: var(--sp-8);
  max-width: 70%;
}

.hero-desc {
  width: 60%;
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: var(--sp-6) var(--sp-3);
  margin-bottom: var(--sp-10);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(8, 126, 139, 0.14);
  border: 1px solid rgba(8, 126, 139, 0.32);
  border-radius: 100px;
  padding: 13px 28px;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  color: var(--color-text);
}

.hero-tag:hover {
  background: rgba(8, 126, 139, 0.22);
  border-color: var(--color-primary);
}

.hero-cta {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

/* ================================================================
   KARTA (komponenta – glass)
   ================================================================ */
.card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(8, 126, 139, 0.45);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: var(--sp-6);
}

.card-img-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-6);
  display: block;
}


.card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.card:hover .card-img {
  transform: scale(1.07);
}

.card-title {
  margin-bottom: var(--sp-3);
}

.card-desc {
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.card-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.service-highlights {
  list-style: none;
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.service-highlights li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--color-muted);
}

.service-highlights li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ================================================================
   BENTO GRID (komponenta)
   ================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-16);
}

.bento-grid.bento-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* ================================================================
   PROČ DESA – WHY GRID
   ================================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  padding: var(--sp-6) 0;
  transition: background 0.2s ease;
}

.why-item:hover {
  background: transparent;
}

.why-icon {
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 22px;
  padding-top: 3px;
}

.why-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--color-text);
}

.why-text p,
.why-text span {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ================================================================
   STATISTIKY / REFERENCE
   ================================================================ */
.stats-logos-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.stats-logos-inner .stats-grid {
  width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.stat-card {
  text-align: center;
  padding: var(--sp-4) var(--sp-4);
}

.stat-number {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Loga partnerů */
.logos-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-6);
  padding-top: var(--sp-8);
}

.logo-partner {
  height: 130px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 10px 18px;
  opacity: 0.75;
  transition: opacity 0.25s ease;
}

.logo-partner:hover {
  opacity: 1;
}

/* ================================================================
   REFERENCE sekce — left-aligned redesign
   ================================================================ */
.section--reference .section-label,
.section--reference .section-heading {
  text-align: left;
}

.section--reference .stats-logos-inner {
  width: 100%;
  margin: 0;
}

.section--reference .stats-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
}

.section--reference .stat-card {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(8, 126, 139, 0.06);
  border-radius: var(--radius-xs);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease;
}

.section--reference .stat-card:hover {
  background: rgba(8, 126, 139, 0.12);
}

.section--reference .stat-number {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.section--reference .logos-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-6);
  align-items: center;
  justify-content: initial;
}

.section--reference .logo-partner {
  width: 100%;
  height: auto;
  max-height: 170px;
  max-width: none;
}

/* ================================================================
   FORMULÁŘ (komponenta)
   ================================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.form-control {
  background: rgba(8, 126, 139, 0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(8, 126, 139, 0.15);
}

.form-control::placeholder {
  color: rgba(122, 147, 168, 0.55);
}

textarea.form-control {
  resize: vertical;
  min-height: 148px;
}

.service-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-option {
  cursor: pointer;
}

.service-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.service-option span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-muted);
  background: rgba(8, 126, 139, 0.06);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.service-option:hover span {
  border-color: rgba(23, 126, 137, 0.6);
  color: var(--color-text);
}

.service-option input:checked + span {
  border-color: var(--color-primary);
  background: rgba(23, 126, 137, 0.18);
  color: var(--color-text);
}

.service-option input:focus-visible + span {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.form-honeypot {
  display: none !important;
  visibility: hidden;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-8);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
}

.form-success[hidden] {
  display: none;
}

.form-success__icon {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.form-success__heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.form-success__text {
  color: var(--color-muted);
  margin: 0;
}

/* ================================================================
   PAGE HERO (vnitřní stránky)
   ================================================================ */
.page-hero {
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.page-hero-bg {
  display: none;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 24, 38, 0.5) 0%, rgba(2, 24, 38, 1) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 3;
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-bottom: var(--sp-12);
  padding-top: calc(var(--sp-12) + 80px);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: var(--sp-4);
}

.breadcrumb a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb i {
  font-size: 0.7rem;
}

/* ================================================================
   SERVISNÍ DETAIL
   ================================================================ */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-muted);
  transition: all 0.25s ease;
}

.service-list-item i {
  color: var(--color-primary);
  width: 18px;
  flex-shrink: 0;
}

.service-list-item:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
  transform: translateX(4px);
}

.service-sublabel {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
}

/* ================================================================
   KONTAKT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 128px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.contact-info-item i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-info-item p {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.contact-info-item a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.contact-info-item a:hover {
  color: var(--color-accent);
}

.ceo-quote {
  margin: var(--sp-8) 0 0;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--color-border);
}

.ceo-quote__person {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.ceo-quote__person img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.ceo-quote__person strong {
  display: block;
  font-size: 0.9375rem;
}

.ceo-quote__person span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.ceo-quote__text {
  margin: 0;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--color-primary);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
  font-style: italic;
}

/* ================================================================
   O NÁS PAGE
   ================================================================ */
.team-card {
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.team-card-body {
  padding: var(--sp-6);
}

/* ================================================================
   CTA SEKCE
   ================================================================ */
.cta-section {
  padding-block: var(--sp-16);
  position: relative;
  z-index: 3;
}

.cta-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  text-align: center;
}

.cta-person {
  flex-shrink: 0;
  width: 150px;
}

.cta-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  display: block;
}

.cta-person-name {
  margin-top: var(--sp-4);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.cta-person-role {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: var(--sp-1);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content .section-heading {
  margin-bottom: var(--sp-6);
}

.cta-content .section-desc {
  max-width: 55ch;
}

.cta-content .hero-cta {
  justify-content: center;
}

.cta-content .section-desc {
  max-width: 72%;
}

/* ================================================================
   FOOTER (komponenta)
   ================================================================ */
.footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 270px;
}

.footer-col-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-contact-row i {
  color: var(--color-primary);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-row a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-contact-row a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--sp-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-bottom p a {
  color: var(--color-accent);
}

.footer-bottom-links {
  display: flex;
  gap: var(--sp-6);
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 720px);
  background: rgba(2, 24, 38, 0.97);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.cookie-banner.hidden {
  display: none;
}

/* ================================================================
   COOKIE POLICY – tabulka a prose text
   ================================================================ */
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: var(--sp-8);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.cookie-table th,
.cookie-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.55;
  vertical-align: top;
}

.cookie-table th {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text);
  background: rgba(8, 126, 139, 0.1);
  white-space: nowrap;
}

.cookie-table td {
  color: var(--color-muted);
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table td:first-child {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--color-accent);
}

.policy-text {
  max-width: 820px;
}

.policy-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-border);
}

.policy-text h2:first-child {
  margin-top: 0;
}

.policy-text h2 i {
  color: var(--color-primary);
  margin-right: var(--sp-2);
  font-size: 0.85em;
}

.policy-text p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.policy-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--sp-4);
}

.policy-text ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-2);
  font-size: 0.9375rem;
}

.policy-text ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.55em;
}

.policy-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  color: var(--color-muted);
  background: var(--color-glass);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-8);
}

@media (max-width: 768px) {
  .cookie-table {
    font-size: 0.8rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-table th,
  .cookie-table td {
    padding: var(--sp-2) var(--sp-3);
  }
}

/* ================================================================
   SCROLL ANIMACE
   ================================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

[data-animate][data-delay="1"] {
  transition-delay: 0.1s;
}

[data-animate][data-delay="2"] {
  transition-delay: 0.2s;
}

[data-animate][data-delay="3"] {
  transition-delay: 0.3s;
}

[data-animate][data-delay="4"] {
  transition-delay: 0.4s;
}

[data-animate][data-delay="5"] {
  transition-delay: 0.5s;
}

/* ================================================================
   404 PAGE
   ================================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-bg-dark);
}

.error-page-inner {
  padding: var(--sp-8);
}

/* ================================================================
   UTILITY
   ================================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-4 {
  margin-top: var(--sp-4);
}

.mt-6 {
  margin-top: var(--sp-6);
}

.mt-8 {
  margin-top: var(--sp-8);
}

.mt-12 {
  margin-top: var(--sp-12);
}

.mb-4 {
  margin-bottom: var(--sp-4);
}

.mb-6 {
  margin-bottom: var(--sp-6);
}

.mb-8 {
  margin-bottom: var(--sp-8);
}

/* ================================================================
   RESPONZIVNÍ DESIGN (mobile-first breakpointy)
   ================================================================ */

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet a dolů: max 1024px */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

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

  .bento-grid.bento-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    gap: var(--sp-12);
  }
}

/* Mobil a dolů: max 768px */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-desc {
    width: 100%;
  }

  .hero-tags {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

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

  .cookie-banner {
    flex-direction: column;
    bottom: 0;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    flex: 1;
  }

  .section-desc {
    max-width: 100%;
  }

  .cta-content .section-desc {
    max-width: 100%;
  }

  .contact-grid {
    gap: var(--sp-8);
  }

  .page-hero-content h1 {
    max-width: 100% !important;
  }

  /* 1. Zmenšení H1 v hero na mobilu */
  .hero-title {
    font-size: 1.9rem;
  }

  /* 2. Zmenšení hero-tags a CTA tlačítek */
  .hero-tag {
    padding: 9px var(--sp-4);
    font-size: 0.9rem;
  }

  .hero-cta .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
  }

  /* 3. Why-item blíž k sobě */
  .why-grid {
    gap: var(--sp-3);
  }

  .why-item {
    padding: var(--sp-3) 0;
  }

  /* 4. Loga na střed a menší */
  .logos-bar {
    justify-content: center;
  }

  .logo-partner {
    height: 80px;
    max-width: 160px;
  }

  /* 5b. Reference sekce — override vyšší specificity pro mobil */
  .section--reference .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section--reference .logos-bar {
    grid-template-columns: repeat(3, 1fr);
  }

  .section--reference .logo-partner {
    max-height: 95px;
  }

  /* 5. Menší padding u karet se službami */
  .card {
    padding: var(--sp-4);
  }
}

/* Malý mobil: max 480px */
@media (max-width: 480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid.bento-grid--4col {
    grid-template-columns: 1fr;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

}

/* 4K: min 2560px */
@media (min-width: 2560px) {
  :root {
    --container-w: 75%;
  }
}