/* ═══════════════════════════════════════
   ELEKTRO MODERNĚ – style.css  v2
   ═══════════════════════════════════════ */

/* ── Variables ── */
:root {
  --navy:        #071828;
  --navy-mid:    #0b2d4e;
  --blue:        #0f6fbd;
  --blue-d:      #0c5fa0;
  --blue-light:  #5bb8f5;
  --blue-pale:   #e8f4fd;
  --accent:      #1a8de8;
  --text:        #1a2332;
  --text-muted:  #6b7a8d;
  --bg:          #ffffff;
  --bg-alt:      #f4f7fb;
  --border:      #dde8f2;
  --radius:      10px;
  --radius-lg:   16px;
  --shadow:      0 2px 12px rgba(7,24,40,0.07);
  --shadow-md:   0 4px 24px rgba(7,24,40,0.10);
  --shadow-lg:   0 8px 40px rgba(7,24,40,0.14);
  --tr:          0.22s ease;
  --max-w:       1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
svg  { display: block; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Sections ── */
.section     { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-bg-apartment { position: relative; }
.section-bg-apartment::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/background-apartment-clean.webp') center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.section-bg-apartment .container { position: relative; z-index: 1; }

.section-bg-interiere { position: relative; }
.section-bg-interiere::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/interiere.webp') center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}
.section-bg-interiere .container { position: relative; z-index: 1; }

.section-bg-interiere-dim { position: relative; }
.section-bg-interiere-dim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/interiere.webp') center / cover no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.section-bg-interiere-dim .container { position: relative; z-index: 1; }

.section-bg-apartment-dark { position: relative; }
.section-bg-apartment-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/background-apartment-clean.webp') center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 0;
}
.section-bg-apartment-dark .container { position: relative; z-index: 1; }
.section-dark { background: var(--navy); color: #fff; }
.section-navy { background: var(--navy-mid); color: #fff; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  color: var(--navy);
}
.section-dark  .section-header h2,
.section-navy  .section-header h2  { color: #fff; }
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
}
.section-dark  .section-sub,
.section-navy  .section-sub  { color: rgba(255,255,255,0.62); }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-dark .eyebrow,
.section-navy .eyebrow { color: var(--blue-light); }

/* ── Accent ── */
.accent { color: var(--blue-light); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,111,189,0.32);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 0.76rem;
  padding: 7px 0;
  position: relative;
  z-index: 1001;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-right { display: flex; gap: 20px; }
.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  transition: color var(--tr);
}
.topbar-item svg { width: 12px; height: 12px; flex-shrink: 0; }
a.topbar-item:hover { color: #fff; }


/* ══════════════════════════════════════
   NAVIGACE
   ══════════════════════════════════════ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.0);
  transition: background var(--tr), box-shadow var(--tr);
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(7,24,40,0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.nav-logo-text strong { color: var(--blue); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 7px;
  transition: color var(--tr), background var(--tr);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link svg { width: 13px; height: 13px; }
.nav-link:hover  { color: var(--navy); background: var(--blue-pale); }
.nav-link.active { color: var(--blue); }

.nav-link-cta {
  background: var(--blue);
  color: #fff !important;
  font-weight: 700;
  margin-left: 8px;
}
.nav-link-cta:hover { background: var(--blue-d) !important; }

/* Dropdown */
.nav-has-sub { position: relative; }
.nav-has-sub::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--tr), transform var(--tr);
  z-index: 100;
}
.nav-has-sub:hover .nav-sub {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-sub li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.855rem;
  color: var(--text-muted);
  transition: color var(--tr), background var(--tr);
}
.nav-sub li a:hover { color: var(--navy); background: var(--bg-alt); }

/* Mobile CTA (visible only in hamburger mode) */
.nav-cta-mobile {
  display: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--tr);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, var(--navy) 0%, #0f3d6b 55%, #0f6fbd 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(26,141,232,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 5% 85%, rgba(7,24,40,0.6) 0%, transparent 55%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-content { color: #fff; }
.hero-content .eyebrow { color: var(--blue-light); margin-bottom: 20px; }
.hero-content h1 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.78;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Floating cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 310px;
  margin-left: auto;
}
.hero-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  animation: heroFloat 6s ease-in-out infinite;
}
.hero-card--offset { margin-left: 32px; animation-delay: 2s; }
.hero-card:last-child { animation-delay: 4s; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-card-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--blue-light); }
.hero-card-icon svg { width: 100%; height: 100%; }
.hero-card-text { display: flex; flex-direction: column; gap: 3px; }
.hero-card-text strong { font-size: 0.9rem; font-weight: 700; }
.hero-card-text span   { font-size: 0.76rem; color: rgba(255,255,255,0.55); }

/* Stats strip */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong { font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.hero-stat span   { font-size: 0.76rem; color: rgba(255,255,255,0.5); text-align: center; }

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  z-index: 1;
  animation: scrollBounce 2.2s ease-in-out infinite;
  transition: color var(--tr);
}
.hero-scroll:hover { color: rgba(255,255,255,0.7); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}


/* ══════════════════════════════════════
   SERVICES – 3 cards
   ══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card--1 { background: var(--navy); color: #fff; }
.service-card--2 { background: var(--blue-pale); border: 1.5px solid var(--border); }
.service-card--3 { background: var(--bg); border: 1.5px solid var(--border); }
.service-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  transform: translate(30px, -30px);
  pointer-events: none;
}
.service-card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
.service-card--1 .service-card-icon { background: rgba(255,255,255,0.1); color: var(--blue-light); }
.service-card--2 .service-card-icon { background: rgba(15,111,189,0.12); color: var(--blue); }
.service-card--3 .service-card-icon { background: var(--blue-pale); color: var(--blue); }
.service-card-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.service-card--1 h3 { color: #fff; }
.service-card--2 h3,
.service-card--3 h3 { color: var(--navy); }
.service-card p {
  font-size: 0.875rem;
  line-height: 1.72;
  flex: 1;
}
.service-card--1 p { color: rgba(255,255,255,0.62); }
.service-card--2 p,
.service-card--3 p { color: var(--text-muted); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.855rem;
  font-weight: 600;
  margin-top: 4px;
  transition: gap var(--tr);
}
.service-link svg { width: 15px; height: 15px; }
.service-link:hover { gap: 11px; }
.service-card--1 .service-link { color: var(--blue-light); }
.service-card--2 .service-link,
.service-card--3 .service-link { color: var(--blue); }


/* ══════════════════════════════════════
   SYSTEMS GRID
   ══════════════════════════════════════ */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.systems-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.system-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.system-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.system-card-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  color: var(--blue);
}
.system-card-icon svg { width: 100%; height: 100%; }
.system-card h4 { font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.system-card p  { font-size: 0.73rem; color: var(--text-muted); line-height: 1.55; }


/* ══════════════════════════════════════
   TAPHOME PARTNER
   ══════════════════════════════════════ */
.partner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.partner-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  background: rgba(26,141,232,0.15);
  border: 1px solid rgba(91,184,245,0.3);
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.partner-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 18px;
}
.partner-content > p {
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 28px;
  font-size: 0.97rem;
}
.partner-features {
  margin-bottom: 32px;
}
.partner-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.89rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.partner-features li svg { width: 16px; height: 16px; color: var(--blue-light); flex-shrink: 0; }
.partner-visual { display: flex; justify-content: center; align-items: center; }
.partner-img { max-height: 500px; width: auto; }


/* ══════════════════════════════════════
   PROCESS
   ══════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(15,111,189,0.3);
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.68;
}


/* ══════════════════════════════════════
   O NÁS / ADVANTAGES
   ══════════════════════════════════════ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-content .eyebrow { display: block; }
.about-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 20px;
}
.about-lead {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 36px;
}
.about-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-stat { display: flex; flex-direction: column; gap: 3px; }
.about-stat strong { font-family: 'Manrope', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.about-stat span   { font-size: 0.76rem; color: var(--text-muted); }

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.advantage-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.advantage-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.advantage-icon {
  width: 40px; height: 40px;
  color: var(--blue);
  margin-bottom: 14px;
}
.advantage-icon svg { width: 100%; height: 100%; }
.advantage-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.advantage-card p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }


/* ══════════════════════════════════════
   APLIKACE
   ══════════════════════════════════════ */
.aplikace-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-end;
}
.aplikace-content .eyebrow { display: block; }
.aplikace-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 18px;
}
.aplikace-content > p {
  color: var(--text-muted);
  line-height: 1.78;
  margin-bottom: 28px;
}
.app-features { margin-bottom: 32px; }
.app-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.app-features li svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }
.app-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background var(--tr), transform var(--tr);
}
.app-badge:hover { background: var(--blue); transform: translateY(-2px); }
.aplikace-visual { display: flex; justify-content: center; align-items: flex-end; }
.aplikace-img { width: 100%; height: auto; max-height: none; display: block; }
#aplikace { overflow: hidden; padding-bottom: 0; }
#aplikace .aplikace-content { padding-bottom: 100px; }

/* App gallery toggle */
.app-gallery-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}
.app-gallery-toggle:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-pale);
}
.app-gallery-toggle.is-open {
  color: var(--blue);
  border-color: var(--blue);
}
.app-gallery-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.app-gallery-toggle.is-open .app-gallery-chevron {
  transform: rotate(180deg);
}

/* App gallery */
.app-gallery {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.3s ease;
}
.app-gallery.is-open {
  max-height: 700px;
  opacity: 1;
}
.app-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
}
.app-gallery-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}


/* ══════════════════════════════════════
   REFERENCE
   ══════════════════════════════════════ */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.ref-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform var(--tr), box-shadow var(--tr);
}
.ref-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.ref-img {
  height: 230px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-size: cover;
  background-position: center;
}
.ref-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,24,40,0.75) 0%, rgba(7,24,40,0.15) 60%, transparent 100%);
  pointer-events: none;
}
.ref-tag {
  display: inline-block;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
}
.ref-body { padding: 22px 24px 24px; }
.ref-body h4 { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.ref-body p  { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 14px; }
.ref-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ref-items li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 3px 9px;
  border-radius: 4px;
}
.ref-items li svg { width: 11px; height: 11px; color: var(--blue-light); }
.ref-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-light);
  transition: gap var(--tr);
}
.ref-link svg { width: 14px; height: 14px; }
.ref-link:hover { gap: 10px; }
.reference-more {
  text-align: center;
  padding-top: 8px;
}
.reference-more p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-bottom: 20px; }


/* ══════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════ */
.cta-banner {
  background:
    linear-gradient(rgba(13,96,165,0.4), rgba(13,96,165,0.88)),
    url('../img/plosny-spoj-bcg.webp') center / cover no-repeat;
  padding: 120px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner .eyebrow { color: rgba(255,255,255,0.7); display: block; }
.cta-banner h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.cta-banner-btns { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--blue);
}
.cta-banner .btn-primary:hover {
  background: var(--blue-pale);
  box-shadow: none;
}


/* ══════════════════════════════════════
   KONTAKT
   ══════════════════════════════════════ */
.kontakt-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
.kontakt-form form {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
/* Area selector */
.form-area-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.area-card {
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  transition: border-color var(--tr), background var(--tr), box-shadow var(--tr);
  user-select: none;
}
.area-card:hover {
  border-color: var(--blue-light);
  background: var(--bg);
  box-shadow: var(--shadow);
}
.area-card input[type="radio"],
.area-card input[type="checkbox"] { display: none; }
.area-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 16px;
}
.area-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,111,189,0.1);
  color: var(--blue);
  margin-bottom: 4px;
}
.area-card-icon svg { width: 22px; height: 22px; }
.area-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.area-card span {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.area-card--elekt:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-pale);
  box-shadow: 0 0 0 3px rgba(15,111,189,0.12);
}
.area-card--elekt:has(input:checked) .area-card-icon {
  background: var(--blue);
  color: #fff;
}
.area-card--ajax:has(input:checked) {
  border-color: #1a9e6b;
  background: rgba(26,158,107,0.07);
  box-shadow: 0 0 0 3px rgba(26,158,107,0.12);
}
.area-card--ajax:has(input:checked) .area-card-icon {
  background: #1a9e6b;
  color: #fff;
}

/* Conditional sections */
.form-conditional {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.form-conditional.is-visible {
  max-height: 700px;
  opacity: 1;
  padding-top: 10px;
}

/* Form helpers */
.form-divider {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: 16px 0;
}
.form-label-block {
  display: block;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-req {
  color: var(--blue);
  margin-left: 2px;
}
.form-optional {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.form-group label {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(15,111,189,0.12);
}
.form-group textarea { min-height: 110px; }
.form-group select {
  padding: 11px 36px 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--tr), background var(--tr);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7a8d' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--bg);
  box-shadow: 0 0 0 3px rgba(15,111,189,0.12);
}
.form-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
  user-select: none;
}
.form-check:hover { border-color: var(--blue); background: var(--bg); }
.form-check input[type="checkbox"] { display: none; }
.form-check-box {
  width: 18px; height: 18px; min-width: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  transition: border-color var(--tr), background var(--tr);
  display: flex; align-items: center; justify-content: center;
}
.form-check input:checked ~ .form-check-box { background: var(--blue); border-color: var(--blue); }
.form-check input:checked ~ .form-check-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
}
.form-check:has(input:checked) { border-color: var(--blue); background: var(--blue-pale); }
.form-check-label { font-size: 0.81rem; font-weight: 500; color: var(--text); line-height: 1.2; }
.form-success {
  text-align: center;
  padding: 56px 36px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}
.form-success-icon {
  width: 54px; height: 54px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success-icon svg { width: 24px; height: 24px; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.form-success p  { color: var(--text-muted); font-size: 0.9rem; }

/* Fullwidth form variant (subpages) */
.cta-form-wrap {
  max-width: 780px;
  margin: 0 auto;
}

/* Info panel */
.kontakt-person {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.kontakt-avatar {
  width: 46px; height: 46px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kontakt-person strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.kontakt-person span   { font-size: 0.78rem; color: var(--text-muted); }
.kontakt-details { margin-bottom: 20px; }
.kontakt-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.kontakt-row:last-child { border-bottom: none; }
.kontakt-row-icon { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.kontakt-row-icon svg { width: 100%; height: 100%; }
.kontakt-row > div { display: flex; flex-direction: column; gap: 2px; }
.kontakt-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.kontakt-row a, .kontakt-row span { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.kontakt-row a:hover { color: var(--blue); }
.kontakt-legal {
  background: var(--blue-pale);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.kontakt-legal strong { color: var(--navy); }


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  width: fit-content;
}
.footer-logo img    { height: 34px; width: 34px; object-fit: contain; border-radius: 5px; }
.footer-logo span   { font-size: 0.95rem; color: #fff; font-weight: 600; }
.footer-logo strong { color: var(--blue-light); }
.footer-brand p     { font-size: 0.84rem; line-height: 1.75; max-width: 240px; margin-bottom: 20px; }
.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-quick a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--tr);
}
.footer-contact-quick a svg { width: 14px; height: 14px; }
.footer-contact-quick a:hover { color: #fff; }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--tr);
}
.footer-col ul a:hover { color: var(--blue-light); }
.footer-legal-mini {
  margin-top: 24px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--tr); }
.footer-bottom a:hover { color: #fff; }


/* ══════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { --d: 0.12s; }
.d2 { --d: 0.24s; }


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
  .services-grid     { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:last-child { grid-column: span 2; max-width: 50%; margin: 0 auto; }
  .systems-grid--3col { grid-template-columns: repeat(3, 1fr); }
  .systems-grid      { grid-template-columns: repeat(4, 1fr); }
  .partner-inner     { gap: 48px; }
  .process-grid      { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .about-inner       { gap: 48px; }
  .footer-inner      { grid-template-columns: 1fr 1fr; gap: 36px; }
  .fibra-split      { grid-template-columns: 1fr; gap: 40px; }
  .fibra-topo-wrap  { grid-template-columns: 1fr; }
  .fibra-advantages { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════
   SPLIT HERO
══════════════════════════════════════════ */
:root {
  --ajax-red:   #e53935;
  --ajax-red-d: #c62828;
  --ajax-bg:    #0d0404;
}

.split-hero {
  display: flex;
  min-height: calc(100svh - 108px);
  position: relative;
  background: url('../img/bcg-home.webp') center 30% / cover no-repeat;
}


.split-panel {
  flex: 1;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  overflow: hidden;
  background: none;
}

/* Barevné pozadí přes pseudo-elementy na rodiči – umožňuje čistou diagonálu */
.split-hero::before,
.split-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.split-hero::before {
  background: linear-gradient(145deg, rgba(7,24,40,0.94) 0%, rgba(11,45,78,0.94) 15%, rgba(15,61,107,0.94) 100%);
  clip-path: polygon(0 0, calc(50% + 120px) 0, calc(50% - 120px) 100%, 0 100%);
  z-index: 0;
}
.split-hero::after {
  background: linear-gradient(145deg, rgba(13,13,13,0.86) 0%, rgba(26,4,4,0.86) 55%, rgba(42,6,6,0.86) 100%);
  clip-path: polygon(calc(50% + 120px) 0, 100% 0, 100% 100%, calc(50% - 120px) 100%);
  z-index: 0;
}


.split-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  color: #fff;
  transition: transform 0.4s ease;
}
.split-panel:hover .split-content {
  transform: translateY(-8px);
}

.split-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.split-icon svg { width: 26px; height: 26px; }

.split-panel--elekt .split-icon {
  background: rgba(15,111,189,0.2);
  border: 1px solid rgba(91,184,245,0.3);
  color: var(--blue-light);
}
.split-panel--ajax .split-icon {
  background: rgba(229,57,53,0.15);
  border: 1px solid rgba(229,57,53,0.3);
  color: #ef9a9a;
}

.split-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.split-panel--elekt .split-eyebrow { color: var(--blue-light); }
.split-panel--ajax  .split-eyebrow { color: #ef9a9a; }

.split-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.split-desc {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(255,255,255,0.68);
  margin-bottom: 32px;
}

.split-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}
.split-btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 0.2s; }
.split-btn:hover svg { transform: translateX(3px); }

.split-panel--elekt .split-btn         { background: var(--blue); }
.split-panel--elekt .split-btn:hover   { background: var(--blue-d); }
.split-btn--ajax                        { background: var(--ajax-red); }
.split-btn--ajax:hover                  { background: var(--ajax-red-d); }

/* ══════════════════════════════════════════
   AREA HEADERS (rozcestník sekce)
══════════════════════════════════════════ */
.area-header {
  padding: 52px 0;
  text-align: center;
}
.area-header--elekt {
  background: var(--bg-alt);
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--border);
}
.area-header--ajax {
  background: var(--navy);
  border-top: 3px solid var(--ajax-red);
  color: #fff;
}

.area-header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.area-header-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 4px;
}
.area-header-badge svg { width: 24px; height: 24px; }
.area-header--elekt .area-header-badge { background: var(--blue-pale); color: var(--blue); }
.area-header--ajax  .area-header-badge { background: rgba(229,57,53,0.15); color: #ef9a9a; }

.area-header h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 4px;
}
.area-header--elekt p { color: var(--text-muted); font-size: 1rem; }
.area-header--ajax  p { color: rgba(255,255,255,0.65); font-size: 1rem; }

/* ══════════════════════════════════════════
   AJAX LOGO BOX (placeholder visual)
══════════════════════════════════════════ */
.ajax-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(229,57,53,0.08);
  border: 1px solid rgba(229,57,53,0.18);
  border-radius: 20px;
  padding: 64px 48px;
  gap: 18px;
}
.ajax-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(229,57,53,0.15);
  border: 1px solid rgba(229,57,53,0.3);
  color: #ef9a9a;
}
.ajax-logo-icon svg { width: 36px; height: 36px; }
.ajax-logo-label {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.ajax-logo-label strong { color: var(--ajax-red); }

/* Certifikát */
.section-ajax-banner { padding: 48px 0; }
.ajax-banner-img {
  display: block;
  width: 100%;
  border-radius: 16px;
  /* box-shadow: 0 4px 32px rgba(0,0,0,0.10); */
}
.ajax-cams-img {
  width: 100%;
  max-width: 380px;
  border-radius: 16px;
  margin: 0 auto;
}
.ajax-bottom-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center;
  margin-top: 56px;
}
.ajax-cert-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ajax-cert-section .ajax-cert-wrap {
  max-width: 240px;
  width: 240px;
}
.ajax-cert-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── YouTube facade ── */
.yt-facade {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.yt-facade-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.yt-facade:hover .yt-facade-thumb { transform: scale(1.03); }
.yt-facade-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  transition: background var(--tr);
}
.yt-facade:hover .yt-facade-overlay { background: rgba(0,0,0,0.15); }
.yt-play-btn {
  transition: transform 0.2s ease, opacity 0.2s ease;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}
.yt-facade:hover .yt-play-btn { transform: scale(1.12); }
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Cert lightbox ── */
#certThumb {
  cursor: zoom-in;
  transition: transform var(--tr), box-shadow var(--tr);
}
#certThumb:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 64px rgba(0,0,0,0.6);
}
.cert-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}
.cert-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.cert-lightbox img {
  max-height: 90vh;
  max-width: min(480px, 100%);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  cursor: zoom-out;
}
.ajax-cert-wrap {
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
}
.ajax-cert-img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

/* Podnadpis v AJAX intro */
.ajax-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 8px;
}

/* ── Fibra advantages grid ── */
/* ══════════════════════════════════════
   AJAX FIBRA – redesign
   ══════════════════════════════════════ */

/* Shared subtitle / lead */
.fibra-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.fibra-block-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Block 1 – split vlastnosti + image */
.fibra-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 56px;
}
.fibra-feats { display: flex; flex-direction: column; }
.fibra-feat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}
.fibra-feat-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 2px;
}
.fibra-feat-check svg { width: 16px; height: 16px; }
.fibra-main-img { width: 100%; height: auto; border-radius: var(--radius-lg); }

/* Block 2 – Kdy zvolit */
.fibra-when { margin-bottom: 56px; }
.fibra-when-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.fibra-when-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: box-shadow var(--tr), transform var(--tr);
}
.fibra-when-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fibra-when-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.fibra-when-icon svg { width: 18px; height: 18px; }
.fibra-when-card h4 { font-size: 0.87rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.fibra-when-card p  { font-size: 0.79rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* Block 3 – Dostupné prvky */
.fibra-products { margin-bottom: 56px; }
.fibra-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.fibra-product-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.fibra-product-chip:hover { border-color: rgba(15,111,189,.35); box-shadow: var(--shadow); }
.fibra-product-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 9px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.fibra-product-icon svg { width: 17px; height: 17px; }
.fibra-product-name { display: block; font-size: 0.83rem; font-weight: 700; color: var(--navy); }
.fibra-product-desc { display: block; font-size: 0.73rem; color: var(--text-muted); margin-top: 1px; }

/* Block 4 – Topologie + Superior */
.fibra-topo-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}
.fibra-topo-text .partner-features { margin-bottom: 0; }
.fibra-superior-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.fibra-superior-img {
  width: 260px;
  height: auto;
  border-radius: var(--radius-lg);
}
.fibra-superior-cap {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 200px;
}

/* Block 5 – Výhody (gradient karty) */
.fibra-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fibra-adv-card {
  background: linear-gradient(145deg, #fff 0%, #edf3fb 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.fibra-adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fibra-adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--blue);
}
.fibra-adv-icon svg { width: 26px; height: 26px; }
.fibra-adv-card h4 { font-size: 0.97rem; font-weight: 700; color: var(--navy); }
.fibra-adv-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Závěrový blok */
.ajax-conclusion {
  padding: 40px 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.ajax-conclusion h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.ajax-conclusion p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.ajax-conclusion-quote {
  font-style: italic;
  color: var(--text-muted) !important;
  opacity: 0.8;
}
.ajax-conclusion .btn { margin-top: 10px; }

/* ══════════════════════════════════════
   NAV – hamburger breakpoint (960 px)
   ══════════════════════════════════════ */
@media (max-width: 1100px) {
  .topbar { display: none; }

  /* backdrop-filter vytváří nový containing block → blur vypnout na mobilech */
  .header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.99);
  }

  .nav-cta-mobile {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--blue);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 6px;
    white-space: nowrap;
    transition: background var(--tr);
    margin-left: auto;
  }
  .nav-cta-mobile:hover { background: var(--blue-d); color: #fff; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    border-top: 2px solid var(--blue);
    box-shadow: 0 12px 32px rgba(7,24,40,0.14);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.32s ease, opacity 0.22s ease;
    z-index: 999;
  }
  .nav-links.open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 13px 20px;
    color: var(--navy) !important;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-link:hover { background: var(--bg-alt); color: var(--navy) !important; }
  .nav-link svg { transition: transform 0.2s ease; }
  .nav-has-sub.sub-open > .nav-link svg { transform: rotate(180deg); }

  .nav-link-cta {
    margin: 10px 16px 14px;
    justify-content: center;
    border-bottom: none;
    border-radius: 6px;
    color: #fff !important;
  }
  .nav-link-cta:hover { color: #fff !important; }

  /* Dropdown – accordion mode: static position, hidden by max-height */
  .nav-has-sub { position: static; }
  .nav-has-sub::after { display: none; }

  .nav-sub {
    position: static;
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    background: var(--bg-alt);
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0;
    transition: max-height 0.25s ease;
  }
  /* Disable CSS-hover opening on touch/narrow screens */
  .nav-has-sub:hover .nav-sub { max-height: 0; pointer-events: none; }
  .nav-has-sub.sub-open .nav-sub { max-height: 300px; pointer-events: auto; }

  .nav-sub li a {
    display: block;
    padding: 10px 20px 10px 32px;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-sub li a:hover { background: var(--border); color: var(--navy); }
}

/* ══════════════════════════════════════
   CONTENT layout breakpoint (768 px)
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .hero-inner    { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-visual   { display: none; }
  .hero-btns     { flex-wrap: wrap; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child { grid-column: 1; max-width: 100%; margin: 0; }
  .systems-grid              { grid-template-columns: repeat(2, 1fr); }
  .systems-grid--3col        { grid-template-columns: repeat(2, 1fr); }
  .partner-inner { grid-template-columns: 1fr; gap: 48px; }
  .partner-visual { order: -1; }
  .process-grid  { grid-template-columns: 1fr; gap: 36px; }
  .about-inner   { grid-template-columns: 1fr; gap: 48px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .aplikace-inner  { grid-template-columns: 1fr; gap: 48px; }
  .aplikace-visual { order: -1; }
  .reference-grid  { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-btns  { justify-content: center; }
  .kontakt-inner   { grid-template-columns: 1fr; gap: 32px; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom   { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .nav-cta-mobile  { display: none; }
  .container       { padding: 0 16px; }
  .systems-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .about-stats     { flex-direction: column; gap: 16px; }
  .hero-btns       { flex-direction: column; }
  .btn             { justify-content: center; }
  .app-badges      { flex-direction: column; }
  .kontakt-form form { padding: 24px 18px; }
  .footer-inner    { grid-template-columns: 1fr; }

  .ajax-bottom-row      { grid-template-columns: 1fr; }
  .fibra-advantages    { grid-template-columns: 1fr; }
  .fibra-when-grid     { grid-template-columns: 1fr; }
  .fibra-products-grid { grid-template-columns: 1fr; }
  .fibra-topo-wrap     { grid-template-columns: 1fr; }
  .fibra-superior-img  { width: 100%; max-width: 320px; }
  .ajax-conclusion { padding: 28px 20px; text-align: center; }
  /* Split hero – mobile */
  .split-hero      { flex-direction: column; min-height: auto; }
  .split-panel     { padding: 60px 28px; min-height: 55vh; flex: none !important; width: 100%; transition: none; }
  .split-hero::before { clip-path: none; }
  .split-hero::after  { clip-path: none; display: none; }
  .split-heading   { font-size: clamp(1.6rem, 6vw, 2rem); }
  .area-header     { padding: 40px 0; }
  .area-header h2  { font-size: 1.4rem; }
}


/* ══════════════════════════════════════
   STATS BAR (homepage)
   ══════════════════════════════════════ */
.partners-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.partners-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partners-bar-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}
.partners-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}
.partner-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.45;
  transition: opacity 0.25s;
  color: var(--navy);
}
.partner-logo-wrap:hover { opacity: 0.8; }
.partner-wordmark {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1;
  white-space: nowrap;
}
.partner-wordmark--ajax { letter-spacing: 0.12em; font-size: 1.3rem; }
.partner-wordmark--spaced { letter-spacing: 0.06em; }
.pw-thin { font-weight: 300; }
.pw-accent { color: var(--blue); }
.partner-logo-img { height: 18px; width: auto; display: block; }
.partner-logo-img--ajax { height: 34px; }
.partner-logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.partners-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}


/* ══════════════════════════════════════
   TEASER SECTION (homepage)
   ══════════════════════════════════════ */
.teaser-section { background: var(--bg); }

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.teaser-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.teaser-card--elekt {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}
.teaser-card--ajax {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--ajax-red, #e53935);
  box-shadow: var(--shadow-sm);
}

.teaser-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.teaser-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
}
.teaser-card-icon svg { width: 22px; height: 22px; }

.teaser-card--elekt .teaser-card-icon {
  background: rgba(91,184,245,.15);
  border: 1px solid rgba(91,184,245,.25);
  color: var(--blue-light);
}
.teaser-card--ajax .teaser-card-icon {
  background: rgba(229,57,53,.15);
  border: 1px solid rgba(229,57,53,.25);
  color: #ef9a9a;
}

.teaser-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.teaser-badge--elekt {
  background: var(--blue-pale);
  color: var(--blue);
  border: 1px solid rgba(13,96,165,.2);
}
.teaser-badge--ajax {
  background: rgba(229,57,53,.08);
  color: #c62828;
  border: 1px solid rgba(229,57,53,.25);
}

.teaser-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}

.teaser-card p {
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin: 0;
}

.teaser-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.teaser-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text);
}
.teaser-list li svg { width: 15px; height: 15px; flex-shrink: 0; }
.teaser-card--elekt .teaser-list li svg { color: var(--blue); }
.teaser-card--ajax  .teaser-list li svg { color: var(--ajax-red, #e53935); }

.btn-ajax {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
  background: var(--ajax-red);
  color: #fff;
}
.btn-ajax:hover {
  background: var(--ajax-red-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229,57,53,0.32);
}
.btn-ajax svg { width: 16px; height: 16px; }


/* ══════════════════════════════════════
   PAGE HERO (sub-pages)
   ══════════════════════════════════════ */
.page-hero {
  padding: 72px 0 64px;
  background:
    linear-gradient(150deg, rgba(7,24,40,0.72) 0%, rgba(11,45,78,0.62) 60%),
    url('../img/plosny-spoj-bcg.webp') center / cover no-repeat;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-hero--ajax {
  background: linear-gradient(150deg, #220a0a 0%, #4a1212 55%, #6b1c1c 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow { color: var(--blue-light); }
.page-hero--ajax .eyebrow { color: #ef9a9a; }
.page-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #fff;
}
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.62);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.78;
}
.area-header-badge--ajax {
  background: rgba(229,57,53,.15);
  color: #ef9a9a;
}


/* ══════════════════════════════════════
   CERT GRID (o-spolecnosti)
   ══════════════════════════════════════ */
.cert-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
}
.cert-about-img-wrap {
  display: flex;
  justify-content: center;
}
.cert-about-img {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
  display: block;
}
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cert-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.cert-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
}
.cert-icon svg { width: 24px; height: 24px; }
.cert-icon--elekt { background: var(--blue-pale); color: var(--blue); }
.cert-icon--ajax  { background: rgba(229,57,53,.1); color: var(--ajax-red); }
.cert-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}
.cert-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ══════════════════════════════════════
   FORM ERRORS
   ══════════════════════════════════════ */
.form-errors {
  background: #fdecea;
  border-left: 4px solid #c62828;
  color: #b71c1c;
  padding: 12px 16px 12px 36px;
  margin-bottom: 20px;
  font-size: 13.5px;
  border-radius: 0 4px 4px 0;
}
.form-errors li { margin-bottom: 3px; }


/* ══════════════════════════════════════
   PROMO SECTION — StarterKit
   ══════════════════════════════════════ */
.promo-eyebrow-badge {
  display: inline-block;
  background: rgba(229,57,53,.18);
  color: #ef9a9a;
  border: 1px solid rgba(229,57,53,.35);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 4px;
}
.promo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.promo-img-frame {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.promo-category {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.promo-name {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.promo-desc {
  color: rgba(255,255,255,.62);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}
.promo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.promo-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
  line-height: 1.5;
}
.promo-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.promo-deadline {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.promo-deadline svg { width: 14px; height: 14px; flex-shrink: 0; }
.promo-deadline strong { color: rgba(255,255,255,.8); font-weight: 600; }
.promo-price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}
.promo-price { display: flex; flex-direction: column; gap: 2px; }
.promo-price-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.promo-price-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

@media (max-width: 900px) {
  .promo-inner { grid-template-columns: 1fr; gap: 40px; }
  .promo-features { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .promo-img-frame { padding: 24px; }
  .promo-price-row { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════
   COOKIE CONSENT BAR
   ══════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.06);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(.34,1.36,.64,1), opacity 0.3s ease;
  pointer-events: none;
}
.cookie-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-bar.is-hiding {
  transform: translateY(calc(100% + 32px));
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.25s ease;
  pointer-events: none;
}
.cookie-bar-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cookie-bar-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
.cookie-bar-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 5px;
}
.cookie-bar-text {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.cookie-bar-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: 1.5px solid transparent;
  line-height: 1;
}
.cookie-btn--accept {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.cookie-btn--accept:hover { background: var(--blue-d); border-color: var(--blue-d); }
.cookie-btn--reject {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.cookie-btn--reject:hover { border-color: var(--navy); color: var(--navy); }

/* Footer cookies link */
.footer-sep { margin: 0 8px; opacity: .4; }
.footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: .7;
  transition: opacity 0.2s;
}
.footer-cookie-btn:hover { opacity: 1; }

@media (max-width: 520px) {
  .cookie-bar {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .cookie-bar.is-hiding { transform: translateY(100%); }
}

/* ══════════════════════════════════════
   RESPONSIVE — new elements
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .partners-bar-inner { gap: 24px; }
  .partners-logos { gap: 24px; }
  .teaser-grid    { grid-template-columns: 1fr; }
  .cert-grid      { grid-template-columns: 1fr; }
  .cert-about-inner { grid-template-columns: 1fr; }
  .cert-about-img   { max-width: 280px; }
  .page-hero      { padding: 56px 0 48px; }
  .page-hero h1   { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

@media (max-width: 480px) {
  .partners-bar-label  { display: none; }
  .teaser-card         { padding: 32px 24px; }
  .form-area-selector  { grid-template-columns: 1fr; }
  .app-gallery-grid    { grid-template-columns: 1fr 1fr; }
}
