﻿/* ============================================================
   Elys – Custom Design System
   Gradient fluid pastel visuals + Font normalization
   v2.0 – UI/UX polish pass
============================================================ */

/* ============================================================
   PROMO CARD — floating bottom-right, dismissable
============================================================ */
@keyframes elys-promo-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.elys-promo {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.08);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: elys-promo-in .4s cubic-bezier(.22,1,.36,1) both;
  border: 1px solid #f0f0f0;
}
.elys-promo.hidden { display: none !important; }
.elys-promo__close {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  cursor: pointer;
  font-size: .75rem;
  color: #6b7280;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  line-height: 1;
}
.elys-promo__close:hover { background: #e5e7eb; color: #111; }
.elys-promo__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.elys-promo__title {
  font-size: .92rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
  line-height: 1.3;
  padding-right: 20px;
}
.elys-promo__desc {
  font-size: .8rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
}
.elys-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: gap .2s;
}
.elys-promo__link:hover { gap: 9px; color: #1d4ed8; text-decoration: none; }
.elys-promo__badge {
  display: inline-block;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #2563eb;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  padding: 2px 7px;
  border-radius: 20px;
  margin-bottom: 10px;
}
@media (max-width: 575px) {
  .elys-promo { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
}

/* ============================================================
   LOGO SIZE — compact, OpenAI-style restraint
============================================================ */
.header-area-2 .header__logo img {
  max-width: 92px !important;
  width: 92px !important;
  height: auto !important;
}

.sc-footer__brand img {
  height: auto !important;
  max-width: 100px !important;
  width: auto !important;
}

/* ============================================================
   FLAT NAVBAR — full-width, always visible, border-bottom only
   Inspired by: claude.com/platform/api
============================================================ */

/* Page background — warm off-white */
body { background-color: #FAF9F5 !important; }


/* Header wrapper — full width flat bar, always fixed at top */
header.header-area-2,
header.header-area-2.header-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
  background: #FAF9F5 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07) !important;
  border-bottom: none !important;
  padding: 0 !important;
  z-index: 999 !important;
}

/* Inner container — transparent, no pill */
header.header-area-2 .header-main {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none;
}

/* Inner row — padding handled by .container wrapper */
header.header-area-2 .header-area-2__inner {
  padding: 8px 0 !important;
  border-bottom: none !important;
}

/* Desktop: grid layout for logo | nav | buttons — avoids flex/overflow sizing issues */
@media (min-width: 1101px) {
  header.header-area-2 .header-area-2__inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-area-2 .header__nav.pos-center {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    min-width: 0;
    width: 100% !important;
  }

  .header-area-2 .header__nav.pos-center .main-menu > ul {
    justify-content: flex-end;
  }
}

/* Sticky state — identical to default, no change */
.header-sticky.sticky .header-main,
.header-sticky.transformed .header-main {
  background: transparent !important;
  box-shadow: none !important;
}

.header-sticky.sticky,
.header-sticky.transformed {
  background: #FAF9F5 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07) !important;
  border-bottom: none !important;
}

/* ============================================================
   NAVIGATION — animated underline + active state
============================================================ */
.menu ul li a,
.main-menu ul li a {
  position: relative;
}
.menu ul li a::after,
.main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 17px;
  right: 17px;
  height: 1.5px;
  background: var(--theme);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.25, .46, .45, .94);
}
.menu ul li a:hover::after,
.menu ul li a.is-active::after,
.main-menu ul li a:hover::after,
.main-menu ul li a.is-active::after {
  transform: scaleX(1);
}
.menu ul li a.is-active,
.main-menu ul li a.is-active {
  color: var(--theme) !important;
}

/* ============================================================
   SERVICE CARDS — image zoom + lift on hover
============================================================ */
.service-box {
  transition: transform .38s cubic-bezier(.25, .46, .45, .94),
              box-shadow .38s cubic-bezier(.25, .46, .45, .94);
}
.service-box:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.10);
}
.service-box .thumb {
  overflow: hidden;
}
.service-box .thumb img {
  transition: transform .65s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}
.service-box:hover .thumb img {
  transform: scale(1.07);
}
.service-box .rr-btn-underline {
  transition: color .22s, letter-spacing .22s;
}
.service-box:hover .rr-btn-underline {
  color: var(--theme);
}

/* ============================================================
   BLOG CARDS — image zoom + SVG arrow fix
============================================================ */
.blog .thumb {
  overflow: hidden;
}
.blog .thumb {
  border-radius: 14px;
  overflow: hidden;
}
.blog .thumb img {
  transition: transform .65s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}
.blogs-wrapper a:hover .blog .thumb img {
  transform: scale(1.06);
}

/* Fix hardcoded SVG arrow — now inherits text color */
.blog .title .arrow svg path {
  fill: currentColor !important;
  transition: opacity .22s;
}
.blogs-wrapper a:hover .blog .title .arrow svg path {
  opacity: 0.65;
}

/* ============================================================
   APPROACH BOXES — number highlight on hover
============================================================ */
.approach-box {
  border-radius: 12px;
  padding: 24px;
  transition: background .28s ease;
}
.approach-box:hover {
  background: rgba(5, 150, 105, 0.035);
}
.approach-box .number {
  transition: color .28s ease;
}
.approach-box:hover .number {
  color: var(--theme);
}

/* ============================================================
   BUTTONS — border-radius + micro-interactions
   Přepisuje template default (100px pilulka) → moderní zaoblení
============================================================ */

/* ── Primární tlačítko ── */
/* ── Výchozí .rr-btn: zelené Elys barvy (override tmpl --primary:#000) ── */
.rr-btn {
  border-radius: 10px !important;
  background-color: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
  transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}
.rr-btn:hover {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}
/* Opravit ::before hover fill — template používá bílou, která způsobuje
   neviditelný bílý text na bílém pozadí. Přepíšeme na tmavě zelenou. */
.rr-btn::before {
  background-color: #1d4ed8 !important;
}
/* rr-btn-group má vlastní hover mechanismus (background přechod) — ::before vypnout */
.rr-btn.rr-btn-group::before {
  display: none !important;
}
/* text-one i text-two musí zůstat bílé na tmavém pozadí ::before */
.rr-btn .btn-wrap .text-one,
.rr-btn .btn-wrap .text-two {
  color: #fff !important;
}
/* Přepsat hover text-two barvu (template ji nastavuje na černou) */
.rr-btn:hover .btn-wrap .text-two,
.rr-btn:focus .btn-wrap .text-two {
  color: #fff !important;
}

/* ── Skupinové tlačítko (b = ikona část, c = text část) ── */
.rr-btn-group .b,
.rr-btn-group .c {
  border-radius: 10px !important;
}
.rr-btn-group .c {
  transition: transform .28s cubic-bezier(.25, .46, .45, .94);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rr-btn-group:hover .c {
  transform: translateX(5px);
}

/* ── rr-btn-group: fix neviditelného textu (--primary = #000 na tmavém bg) ──
   Platí pro všechna rr-btn-group tlačítka — světlé stránky i tmavé CTA sekce */
.rr-btn.rr-btn-group {
  background: transparent !important;
  border: 1.5px solid #2563eb !important;
  color: #f9fafb !important;
  padding: 10px 10px 10px 6px !important;
  gap: 0 !important;
}
.rr-btn.rr-btn-group .b {
  background: #2563eb !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: .9rem !important;
  padding: 0 !important;
}
.rr-btn.rr-btn-group .c {
  color: #f9fafb !important;
  background: transparent !important;
  border: none !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  padding: 0 14px !important;
  letter-spacing: .01em !important;
}
.rr-btn.rr-btn-group:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
.rr-btn.rr-btn-group:hover .c {
  color: #fff !important;
  transform: none !important;
}
/* Na bílém pozadí — tmavší text pro lepší kontrast */
.rr-btn.rr-btn-group.btn-dark-text .c {
  color: #111 !important;
}
.rr-btn.rr-btn-group.btn-dark-text:hover .c {
  color: #fff !important;
}

/* ── Ghost / bílé sekundární tlačítko (hero sekce, světlé pozadí) ──────── */
/* Tlačítka s inline background:#fff — obnovit bílý vzhled s tmavým textem */
.rr-btn[style*="background:#fff"] {
  background-color: #fff !important;
  border-color: #e5e7eb !important;
  color: #111 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
}
.rr-btn[style*="background:#fff"] .btn-wrap .text-one,
.rr-btn[style*="background:#fff"] .btn-wrap .text-two {
  color: #111 !important;
}
.rr-btn[style*="background:#fff"]::before {
  background-color: #f0fdf4 !important; /* světle zelený nádech při hoveru */
}
.rr-btn[style*="background:#fff"]:hover {
  background-color: #f0fdf4 !important;
  border-color: #2563eb !important;
  color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(5,150,105,.12) !important;
}
.rr-btn[style*="background:#fff"]:hover .btn-wrap .text-one,
.rr-btn[style*="background:#fff"]:hover .btn-wrap .text-two {
  color: #2563eb !important;
}

/* ── Průhledné ghost tlačítko na tmavém pozadí ─────────────────────────── */
/* style="background:transparent;" nebo style="background:rgba(...)" — zachovat bílý text */
.rr-btn[style*="background:transparent"],
.rr-btn[style*="background:rgba"] {
  background-color: transparent !important;
  color: #f9fafb !important;
}
.rr-btn[style*="background:transparent"] .btn-wrap .text-one,
.rr-btn[style*="background:transparent"] .btn-wrap .text-two,
.rr-btn[style*="background:rgba"] .btn-wrap .text-one,
.rr-btn[style*="background:rgba"] .btn-wrap .text-two {
  color: #f9fafb !important;
}
.rr-btn[style*="background:transparent"]::before,
.rr-btn[style*="background:rgba"]::before {
  background-color: rgba(255,255,255,.12) !important;
}
.rr-btn[style*="background:transparent"]:hover,
.rr-btn[style*="background:rgba"]:hover {
  background-color: rgba(255,255,255,.12) !important;
  color: #fff !important;
}
.rr-btn[style*="background:transparent"]:hover .btn-wrap .text-one,
.rr-btn[style*="background:transparent"]:hover .btn-wrap .text-two,
.rr-btn[style*="background:rgba"]:hover .btn-wrap .text-one,
.rr-btn[style*="background:rgba"]:hover .btn-wrap .text-two {
  color: #fff !important;
}

/* ============================================================
   FOOTER NAV — slide-in hover
============================================================ */
.footer-nav-list li a {
  transition: color .22s ease, padding-left .22s ease;
  display: inline-block;
}
.footer-nav-list li a:hover {
  color: var(--theme) !important;
  padding-left: 6px;
}

/* ============================================================
   PAGE TITLE AREA — subtle gradient rule under title
============================================================ */
.page-title-area-inner {
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
  margin-bottom: 0;
}

/* ============================================================
   BREADCRUMB — hover color
============================================================ */
.breadcrumb-item a {
  transition: color .2s ease;
}
.breadcrumb-item a:hover {
  color: var(--theme) !important;
}

/* ============================================================
   SCROLL PROGRESS — branded orange stroke
============================================================ */
.progress-wrap svg.progress-circle path {
  stroke: var(--theme);
}

/* ============================================================
   FUNFACT — orange accent on the big number
============================================================ */
.funfact-area-2 .section-content .year {
  color: var(--theme);
}

/* ============================================================
   VALUE CARDS — hover lift with orange glow
============================================================ */
.elys-value-card {
  transition: border-color .32s ease, box-shadow .32s ease, transform .32s ease;
}
.elys-value-card:hover {
  border-color: rgba(5, 150, 105, 0.38) !important;
  box-shadow: 0 14px 44px rgba(5, 150, 105, 0.08) !important;
  transform: translateY(-5px);
}

/* ============================================================
   STAT CARDS — consistent hover with lift
============================================================ */
.elys-stat-card {
  transition: transform .32s cubic-bezier(.25, .46, .45, .94),
              box-shadow .32s cubic-bezier(.25, .46, .45, .94);
}

/* ============================================================
   ACTIVE NAV JS — auto-detect helper script injected per page
   (script tags in each HTML call elysMarkActiveNav())
============================================================ */

/* Disable preloader a back-to-top šipka */
#preloader { display: none !important; }
.loader-section { display: none !important; }
.progress-wrap { display: none !important; }

/* CSS tokens — Emerald Green + Grey palette
   #2563eb = Tailwind Emerald 600  →  4.54:1 kontrast na bílé (WCAG AA ✓) */
:root {
  --elys-green:        #2563eb;   /* primary — Emerald 600 */
  --elys-green-dark:   #1d4ed8;   /* hover   — Emerald 700 */
  --elys-green-soft:   #60a5fa;   /* dekorativní — Emerald 400 */
  --elys-green-tint:   #ECFDF5;   /* light tint — Emerald 50 */
  --elys-charcoal:     #111827;   /* rich dark text */
  --elys-grey-700:     #374151;   /* secondary text */
  --elys-grey-500:     #6B7280;   /* muted text */
  --elys-grey-200:     #E5E7EB;   /* border */
  --elys-grey-50:      #F9FAFB;   /* surface */
  /* backward compat aliases */
  --elys-orange:       #2563eb;
  --elys-orange-soft:  #60a5fa;
  --elys-peach:        #ECFDF5;
  --elys-lavender:     #EDE9FE;
  --elys-mint:         #DCFCE7;
  --elys-sky:          #DBEAFE;
}

/* ============================================================
   INTER VARIABLE — self-hosted, žádné Google Fonts
   Staženo z rsms.me/inter (v4.0)
============================================================ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   FONT SYSTEM — IBM Plex Serif (display headings) + Inter Variable (body/UI)
   IBM Plex Serif: Google Fonts (loaded in HTML head)
   Inter Variable: self-hosted, 0 extra external requests
============================================================ */

/* Body + UI — Inter Variable */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Display headings — IBM Plex Serif (editorial, serif feel) */
h1, h2, h3,
.font-heading-sequelsans-romanbody h1,
.font-heading-sequelsans-romanbody h2,
.font-heading-sequelsans-romanbody h3,
.font-sequelsans-romanbody,
.section-title,
.section-title.font-sequelsans-romanbody,
.page-title,
.hero-area-3 .section-title,
.title {
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Sub-headings + UI — Inter Variable (clean, functional) */
h4, h5, h6,
.font-heading-sequelsans-romanbody h4,
.font-heading-sequelsans-romanbody h5,
.font-heading-sequelsans-romanbody h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

/* ============================================================
   TYPOGRAFICKÝ SYSTÉM — fluid clamp() škála
   Původní template měl 100–920px pro kondenzovaný Thunder font.
   Inter Variable je normální šíře → potřebuje jinou škálu.
============================================================ */

/* ── 1. Page title banner (inner pages: "O nás", "Kontakt"…)
        Původně 495px Thunder — nyní IBM Plex Serif display heading */
.page-title-wrapper .page-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem) !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
}

/* ── 2. Hlavní nadpisy sekcí (.section-title) — původně 100px */
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

/* Varianta s modifikátorem .font-sequelsans-romanbody */
.section-title.font-sequelsans-romanbody {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

/* ── 3. Hero homepage (hero-area-3) — velký impact titulek */
.hero-area-3 .section-title,
.hero-area-3-inner .section-title {
  font-size: clamp(2.4rem, 5.5vw, 5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
}

/* ── 4. Service detail hero (ai.html, automation.html…) */
.hero-area-service-details .section-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

/* ── 5. Dekorativní "100%" číslo ve funfact sekci — původně 580px
        Necháme velké pro efekt, ale rozumné */
.funfact-area-2 .section-content .year {
  font-size: clamp(5rem, 16vw, 14rem) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em !important;
  line-height: 0.9 !important;
}

/* ── 6. Approach sekce — nadpisy kroků */
.approach-box .title,
.approach-area-about-page .approach-box .title {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}

/* ── 7. Feature box nadpisy */
.feature-box .title {
  font-size: clamp(1rem, 1.4vw, 1.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* ── 8. Service boxy (homepage) */
.service-box .title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

/* ── 9. Blog nadpisy */
.blog .title,
.blogs-wrapper .blog .title {
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
}

/* ── 10. Tým — jméno člena */
.team-box .name, .team-box .name a {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

/* ── 11. Headings podle hierarchie (ostatní h1–h6) */
h1 { font-size: clamp(2rem, 4.5vw, 4rem) !important;   font-weight: 800 !important; }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem) !important;  font-weight: 700 !important; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important; font-weight: 700 !important; }
h4 { font-size: clamp(1rem, 1.3vw, 1.15rem) !important; font-weight: 600 !important; }
h5, h6 { font-size: 1rem !important; font-weight: 600 !important; }

/* ── 12. Body text — přesná velikost pro čitelnost */
p, .text, li {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

/* Malé popisné texty */
.section-subtitle {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
}

/* ── 13. Navigace */
.main-menu ul li a, .menu ul li a,
nav a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

/* ── 14. Tlačítka */
.rr-btn .text-one, .rr-btn .text-two,
.rr-btn-group .b,
.rr-btn-underline {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

/* ── 15. Formuláře — Inter Variable */
input, textarea, select {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
}

/* ── 16. Footer */
footer, .footer-area-2, .footer-area-inner-page {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
}
.footer-widget-box .title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* ── 17. Číselné statistiky */
.elys-stat-card .stat-number,
.value-box .number {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* ── FAQ / Accordion — oprava čitelnosti */
.accordion-button,
.faq-area .accordion-button,
.faq-area-faq-page .accordion-button,
.faq-area-service-details-page .accordion-button {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
}
.accordion-body {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

/* Skryj decorative big-text elementy z template které nechceme */
.hero-area .big-text,
.footer__main-title,
.about-area-2 .year-since {
  display: none !important;
}

/* ── Logo v patičce — původně max-width 657px, zmenšeno na rozumnou velikost */
.footer-area .footer-logo,
.footer-area-inner-page .footer-logo,
.footer-top-inner .footer-logo {
  max-width: 110px !important;
}
.footer-area .footer-logo img,
.footer-area-inner-page .footer-logo img,
.footer-top-inner .footer-logo img {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
}

/* ---- Gradient blob backgrounds for sections missing images ---- */
.elys-gradient-visual {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  position: relative;
  background: linear-gradient(135deg, #D1FAE5 0%, #ECFDF5 25%, #d8f0ff 60%, #c8e8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.elys-gradient-visual::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(5, 150, 105,0.35) 0%, transparent 65%);
  border-radius: 50%;
  animation: elys-float 8s ease-in-out infinite;
}

.elys-gradient-visual::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 55%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(168,139,250,0.3) 0%, transparent 65%);
  border-radius: 50%;
  animation: elys-float 10s ease-in-out infinite reverse;
}

@keyframes elys-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}

/* Different gradient variants */
.elys-gradient-visual--orange {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 40%, #D1FAE5 100%);
}
.elys-gradient-visual--purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #ddd6fe 100%);
}
.elys-gradient-visual--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #bfdbfe 100%);
}
.elys-gradient-visual--mint {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
}

/* Gradient icon dots */
.elys-icon-dot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.elys-icon-dot--orange { background: linear-gradient(135deg, #2563eb, #FF9A6A); }
.elys-icon-dot--dark   { background: linear-gradient(135deg, #1a1a1a, #444); }
.elys-icon-dot--purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.elys-icon-dot--blue   { background: linear-gradient(135deg, #2563EB, #60A5FA); }

/* Value/stat cards */
.elys-stat-card {
  background: linear-gradient(145deg, #ffffff, #ECFDF5);
  border: 1px solid rgba(5, 150, 105,0.14);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.elys-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(5, 150, 105,0.12);
}
.elys-stat-card .stat-number {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--elys-orange);
  margin-bottom: 12px;
  font-family: inherit;
}
.elys-stat-card .stat-label {
  font-size: .9rem;
  color: #555;
  line-height: 1.55;
}

/* Value card */
.elys-value-card {
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #eee;
  height: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.elys-value-card:hover {
  border-color: rgba(5, 150, 105,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Team bio card */
.elys-team-card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s;
}
.elys-team-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.elys-team-card .card-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d8);
}
.elys-team-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.elys-team-card:hover .card-photo img {
  transform: scale(1.04);
}
.elys-team-card .card-body-custom {
  padding: 28px 24px 26px;
}
.elys-team-card .card-tag {
  display: inline-flex;
  background: #f3f3f3;
  border-radius: 4px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: #555;
  padding: 3px 8px;
  margin-bottom: 6px;
  margin-right: 4px;
  text-transform: uppercase;
}

/* Testimonial card */
.elys-testimonial-card {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
}
.elys-testimonial-card .quote-text {
  font-size: .97rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 24px;
  font-style: italic;
}
.elys-testimonial-card .quote-author {
  font-weight: 700;
  font-size: .9rem;
  color: #111;
}
.elys-testimonial-card .quote-role {
  font-size: .82rem;
  color: #888;
}

/* Section label */
.elys-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--elys-orange);
  margin-bottom: 16px;
  display: block;
}

/* Divider line */
.elys-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 64px 0;
}

/* CTA strip */
.elys-cta-strip {
  background: #000;
  border-radius: 14px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Reduce heading weight for subheadings to create hierarchy */
.elys-body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}
.elys-body-text + .elys-body-text {
  margin-top: 16px;
}

/* Floating gradient orb — decorative */
.elys-orb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.elys-orb--orange {
  background: radial-gradient(circle, #2563eb 0%, transparent 70%);
  width: 320px;
  height: 320px;
}
.elys-orb--purple {
  background: radial-gradient(circle, #A78BFA 0%, transparent 70%);
  width: 260px;
  height: 260px;
}

/* ============================================================
   CONTACT SECTION — one-pager dark form
============================================================ */

.elys-contact-section {
  padding-bottom: 0;
}

.elys-contact-inner {
  padding-bottom: 100px;
}

/* Levý sloupec — info text */
.elys-contact-info {
  position: sticky;
  top: 120px;
}

.elys-contact-lead {
  font-size: 1rem !important;
  line-height: 1.75 !important;
  color: var(--secondary);
  margin-bottom: 40px;
}

.elys-contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.elys-contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .22s;
}

.elys-contact-link:hover {
  color: var(--theme);
}

.elys-contact-link--static {
  align-items: flex-start;
  color: var(--secondary);
  cursor: default;
}

.elys-contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .78rem;
  color: var(--theme);
  transition: background .22s, border-color .22s;
}

.elys-contact-link:hover .elys-contact-icon {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.3);
}

/* Formulář — dark inputs */
.elys-form {
  width: 100%;
}

.elys-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color .22s, background .22s;
  display: block;
}

.elys-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.elys-input:focus {
  border-color: var(--theme);
  background: rgba(5, 150, 105, 0.04);
}

.elys-select {
  appearance: auto;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.elys-select option {
  background: #1a1a1a;
  color: #fff;
}

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

/* GDPR checkbox */
.elys-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: .87rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.elys-gdpr input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--theme);
  cursor: pointer;
}

.elys-gdpr-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s;
}

.elys-gdpr-link:hover {
  color: var(--theme);
}

/* Světlá varianta formuláře (light background pages) */
.elys-form--light .elys-input {
  background: #fff !important;
  border: 1.5px solid #d1d5db !important;
  color: #111 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07) !important;
}

.elys-form--light .elys-input::placeholder {
  color: #9ca3af !important;
}

.elys-form--light .elys-input:focus {
  border-color: var(--elys-green) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(5,150,105,0.10) !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.08);
}

.elys-form--light .elys-textarea {
  min-height: 130px;
}

.elys-form--light .elys-gdpr {
  color: #555 !important;
}

.elys-form--light .elys-gdpr-link {
  color: #333;
}

.elys-form--light .elys-gdpr-link:hover {
  color: var(--elys-green);
}

.elys-form--light .elys-chips-label {
  color: #999;
}

.elys-form--light .elys-chip {
  border-color: #e0e0e0;
  color: #555;
  background: #fff;
}

.elys-form--light .elys-chip:hover {
  border-color: var(--elys-green);
  color: var(--elys-green);
  background: rgba(5,150,105,0.05);
}

.elys-form--light .elys-chip--active {
  background: rgba(5,150,105,0.08);
  border-color: var(--elys-green);
  color: var(--elys-green);
  font-weight: 600;
}

/* Chipy — výběr služby */
.elys-chips-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 4px;
}

.elys-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.elys-chip {
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font-size: .875rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  line-height: 1.4;
}

.elys-chip:hover {
  border-color: var(--elys-green);
  color: #fff;
}

.elys-chip--active {
  background: var(--elys-green);
  border-color: var(--elys-green);
  color: #fff;
}

/* Submit button — compact, green, light-page variant */
.elys-submit-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--elys-green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .22s, box-shadow .22s, transform .22s;
}
.elys-submit-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 8px 24px rgba(5,150,105,0.25);
  transform: translateY(-2px);
}
/* Kontaktní stránka — černé tlačítko */
.elys-submit-btn[style*="background:#111"]:hover {
  background: #222 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.20) !important;
  transform: translateY(-2px);
}

/* Kontakt — mobil: menší padding formuláře */
@media (max-width: 991px) {
  .contact-form-card { padding: 24px 20px !important; }
}

/* Zpráva o odeslání */
.elys-form-msg {
  font-size: .9rem;
  margin-top: 4px;
  min-height: 20px;
}

/* ============================================================
   MODÁLY — FAQ / GDPR / PODPORA
============================================================ */
.elys-modal-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .24s;
}
.elys-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.elys-modal {
  background: #fff;
  border-radius: 18px;
  max-width: 720px; width: 100%;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  transform: translateY(18px) scale(0.97);
  transition: transform .28s cubic-bezier(.25,.46,.45,.94);
}
.elys-modal-overlay.open .elys-modal {
  transform: translateY(0) scale(1);
}
.elys-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.elys-modal__title {
  font-size: 1.1rem; font-weight: 700; color: #111;
  font-family: 'Inter', sans-serif;
}
.elys-modal__close {
  width: 32px; height: 32px; border: none;
  background: #f4f4f5; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: #666; transition: background .2s, color .2s; flex-shrink: 0;
}
.elys-modal__close:hover { background: #111; color: #fff; }
.elys-modal__body {
  overflow-y: auto; padding: 24px 28px 28px;
  font-size: .93rem; line-height: 1.78; color: #374151;
}
.elys-modal__body h2 {
  font-size: .95rem; font-weight: 700; color: #111;
  margin: 22px 0 6px;
  font-family: 'Inter', sans-serif;
}
.elys-modal__body h2:first-child { margin-top: 0; }
.elys-modal__body ul { padding-left: 18px; margin-bottom: 10px; }
.elys-modal__body li { margin-bottom: 3px; }
.elys-modal__body a { color: #2563eb; text-decoration: underline; text-underline-offset: 2px; }
.elys-modal__body p { margin-bottom: 10px; }
.elys-modal__body strong { color: #111; }
/* FAQ accordion uvnitř modálu */
.elys-modal .accordion-button {
  font-size: .92rem; font-weight: 600; padding: 14px 20px;
}
.elys-modal .accordion-button:not(.collapsed) {
  color: #2563eb; background: rgba(5,150,105,0.04); box-shadow: none;
}
.elys-modal .accordion-button:focus { box-shadow: none; }
.elys-modal .accordion-button::after { background-size: 14px; }
.elys-modal .accordion-item { border: none; border-bottom: 1px solid #f0f2f5; }
.elys-modal .accordion-item:last-child { border-bottom: none; }
.elys-modal .accordion-body { font-size: .88rem; color: #555; padding: 4px 20px 18px; }
/* Podpora kontakty */
.elys-modal__support-item {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid #f5f5f5;
  color: #111; text-decoration: none !important; font-weight: 500;
  font-size: .93rem; transition: color .2s;
}
.elys-modal__support-item:last-child { border-bottom: none; }
.elys-modal__support-item:hover { color: #2563eb; }
.elys-modal__support-icon {
  width: 42px; height: 42px; background: #f3f4f6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #2563eb; flex-shrink: 0; font-size: .85rem;
}

/* ============================================================
   CHATBOT WIDGET — glass, minimal, premium
============================================================ */
.elys-chat {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

/* ── Footer chips — removed ── */
.sc-footer__ai-chips { display: none; }

/* ── Trigger bar ── */
.elys-chat__bar {
  display: flex;
  align-items: center;
  background: rgba(14, 14, 20, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255,255,255,0.06);
  width: 48px;
  height: 48px;
  overflow: hidden;
  cursor: pointer;
  transition: width .32s cubic-bezier(.4,0,.2,1), border-color .22s;
}

.elys-chat__bar.expanded {
  width: 280px;
  height: auto;
  cursor: default;
  border-color: rgba(5, 150, 105, 0.35);
}

.elys-chat__bar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.elys-chat__ai-icon {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}

.elys-chat__bar-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  min-width: 0;
  width: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s .08s;
}

.elys-chat__bar.expanded .elys-chat__bar-input {
  opacity: 1;
  pointer-events: all;
  padding: 0 10px;
}

.elys-chat__bar-input::placeholder { color: rgba(255,255,255,0.28); }

.elys-chat__bar-send {
  width: 0;
  height: 30px;
  border-radius: 8px;
  background: var(--elys-green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 0;
  transition: width .28s, opacity .18s, background .2s;
}

.elys-chat__bar.expanded .elys-chat__bar-send { width: 32px; opacity: 1; }
.elys-chat__bar-send:hover { background: var(--elys-green-dark); }
.elys-chat__bar-send:disabled { opacity: 0.5 !important; cursor: default; }
.elys-chat__bar-send svg { width: 13px; height: 13px; fill: #fff; flex-shrink: 0; }

.elys-chat.chat-open .elys-chat__bar { display: none; }

/* ── Chat panel — glass ── */
.elys-chat__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340px;
  background: rgba(11, 11, 17, 0.80);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.50), inset 0 1px 0 rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .26s cubic-bezier(.34,1.56,.64,1), opacity .2s;
  transform-origin: bottom left;
}

.elys-chat.chat-open .elys-chat__panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* Hlavička — bez ikonky */
.elys-chat__head-avatar { display: none; }

.elys-chat__head {
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.elys-chat__head-info { flex: 1; }

.elys-chat__head-info strong {
  display: block;
  font-size: .84rem;
  color: rgba(255,255,255,0.90);
  font-weight: 600;
  line-height: 1.3;
}

.elys-chat__head-info span {
  font-size: .7rem;
  color: rgba(255,255,255,0.32);
}

.elys-chat__close {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.40);
  transition: background .2s, color .2s;
}

.elys-chat__close:hover { background: rgba(255,255,255,0.10); color: #fff; }
.elys-chat__close svg { width: 12px; height: 12px; }

/* Zprávy */
.elys-chat__messages {
  overflow-y: auto;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  max-height: 300px;
}

.elys-chat__messages::-webkit-scrollbar { width: 2px; }
.elys-chat__messages::-webkit-scrollbar-track { background: transparent; }
.elys-chat__messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.elys-msg {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: .84rem;
  line-height: 1.55;
  word-break: break-word;
}

.elys-msg--bot {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}

.elys-msg--user {
  background: var(--elys-green);
  color: #fff;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}

.elys-msg--typing {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.35);
  font-style: italic;
  font-size: .8rem;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

/* Input */
.elys-chat__foot {
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.elys-chat__foot-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 9px 13px;
  color: #fff;
  font-size: .84rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s, background .2s;
}

.elys-chat__foot-input::placeholder { color: rgba(255,255,255,0.25); }
.elys-chat__foot-input:focus { border-color: rgba(5,150,105,0.5); background: rgba(255,255,255,0.08); }

.elys-chat__foot-send {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--elys-green);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, opacity .15s;
}

.elys-chat__foot-send:hover { background: var(--elys-green-dark); }
.elys-chat__foot-send:disabled { opacity: 0.4; cursor: default; }
.elys-chat__foot-send svg { width: 14px; height: 14px; fill: #fff; }

@media (max-width: 480px) {
  .elys-chat { bottom: 16px; left: 16px; }
  .elys-chat__bar.expanded { width: calc(100vw - 32px); }
  .elys-chat__panel { width: calc(100vw - 32px); }
}

/* ============================================================
   STARTUP-AGENCY HOMEPAGE — dark theme overrides
   Obnoví BDO Grotesk font (template původní font),
   opraví sticky header pro tmavé pozadí a laděné dark sekce
============================================================ */

/* BDO Grotesk zpět pro homepage (přepisuje Inter !important výše) */
.body-startup-agency h1,
.body-startup-agency h2,
.body-startup-agency h3,
.body-startup-agency h4,
.body-startup-agency h5,
.body-startup-agency h6,
.body-startup-agency .section-title,
.body-startup-agency .font-bdogrotesk-regular,
.body-startup-agency .char-anim,
.body-startup-agency .title {
  font-family: 'BDOGrotesk-Regular', 'Inter', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
}

/* Sticky header — dark mode handled by pill rules above */

/* Nav links barva v dark header */
.body-startup-agency .header-area-5 .main-menu li a {
  color: var(--primary);
  transition: color .22s;
}
.body-startup-agency .header-area-5 .main-menu li a:hover,
.body-startup-agency .header-area-5 .main-menu li a.is-active {
  color: var(--theme) !important;
}

/* Nav underline pro header-area-5 (jiný padding než area-2) */
.header-area-5 .main-menu li a::after {
  bottom: 20px;
  left: 15px;
  right: 15px;
}

/* Scroll progress — oranžová i na dark verzi */
.dark .progress-wrap svg.progress-circle path {
  stroke: var(--theme);
}

/* Approach sekce — dark kompatibilita */
.dark .approach-box {
  border-color: rgba(255, 255, 255, 0.06);
}
.dark .approach-box:hover {
  background: rgba(5, 150, 105, 0.06) !important;
}
.dark .approach-box .number {
  color: rgba(255, 255, 255, 0.2);
}
.dark .approach-box:hover .number {
  color: var(--theme) !important;
}
.dark .approach-box .title {
  color: var(--primary);
}
.dark .approach-box .text {
  color: var(--secondary);
}

/* Subscribe form dark styling */
.dark .subscribe-form .input-field input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.dark .subscribe-form .input-field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Footer nav v dark modu */
.dark .footer-nav-list li a {
  color: var(--secondary) !important;
}
.dark .footer-nav-list li a:hover {
  color: var(--theme) !important;
}

/* Service box dark hover */
.dark .service-area-5 .service-box {
  border-color: rgba(255, 255, 255, 0.07);
}
.dark .service-area-5 .service-box:hover {
  border-color: rgba(5, 150, 105, 0.25);
  background: rgba(255, 255, 255, 0.02);
}

/* Work-box dark hover */
.dark .work-box {
  border-color: rgba(255, 255, 255, 0.06);
}
.dark .work-box:hover .title a {
  color: var(--theme);
}

/* Marquee text — oranžový akcent na hover */
.marquee-text-area .section-title {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  color: transparent;
  transition: color .3s, -webkit-text-stroke .3s;
}
.dark .marquee-text-area .section-title {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
}
.marquee-text-area:hover .section-title {
  color: var(--primary);
  -webkit-text-stroke: 1px transparent;
}

/* CTA sekce — zvýraznění odkazu */
.dark .cta-area-4 .section-title a {
  color: var(--primary);
  transition: color .3s;
}
.dark .cta-area-4 .section-title a:hover {
  color: var(--theme);
}

/* Hero video — zaoblené rohy */
.hero-area-5 .hero-video video {
  border-radius: 16px;
  object-fit: cover;
}

/* Approach area padding fix */
.approach-area .approach-wrapper-box {
  margin-top: 64px;
}

/* Hide meanmenu bar injected into desktop header — custom sc-mob-menu handles mobile */
.header__nav .mean-bar,
.header-area-2 .mean-bar,
.header-area-5 .mean-bar {
  display: none !important;
}

/* ============================================================
   MEGA MENU — hover dropdown navigation
============================================================ */
.header-area-2 .header-main,
.header-area-5 .header-main,
.header-area-2__inner,
.header-area-5__inner,
.header__nav,
.header__nav .main-menu,
.header__nav .main-menu > ul,
.header__nav .main-menu > ul > li {
  overflow: visible !important;
}

.has-megamenu { position: relative; }

/* transparent bridge – prevents gap closing the dropdown */
.has-megamenu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
}

.megamenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 400px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ebebeb;
  box-shadow: 0 20px 60px rgba(0,0,0,.13);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* visibility delays until after opacity transition so dark hero content
     doesn't show through the fading dropdown */
  transition: opacity .2s ease, transform .22s cubic-bezier(.25,.46,.45,.94), visibility 0s linear .22s;
  z-index: 99999;
}
.megamenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  transform: translateX(-50%) rotate(45deg);
}
.megamenu.mm-small { width: 260px; }

.has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
  transition: opacity .2s ease, transform .22s cubic-bezier(.25,.46,.45,.94), visibility 0s linear 0s;
}

.mm-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  color: inherit;
  transition: background .15s;
}
.mm-item:hover { background: #f7f7f5; }

.mm-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
}
.mm-text { flex: 1; min-width: 0; }
.mm-text strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.mm-text span {
  font-size: .78rem;
  color: #888;
  line-height: 1.4;
  display: block;
}
.mm-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: .72rem;
  flex-shrink: 0;
  transition: all .15s;
}
.mm-item:hover .mm-arrow {
  background: #111;
  border-color: #111;
  color: #fff;
}
.mm-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 6px 14px;
}
.mm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 4px;
}
.mm-footer a {
  font-size: .8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none !important;
  letter-spacing: .02em;
}
.mm-footer a:hover { text-decoration: underline !important; }
.mm-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #2563eb;
  color: #fff;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}

/* ============================================================
   HEADER BUTTON — outlined green (Contact sales style)
============================================================ */
.header__button .rr-btn,
.offset-button .rr-btn {
  background: transparent !important;
  border: 1.5px solid #2563eb !important;
  color: #2563eb !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  gap: 8px;
  box-shadow: none !important;
  transition: background .18s, color .18s !important;
}
.header__button .rr-btn::before,
.offset-button .rr-btn::before {
  display: none !important;
}
.header__button .rr-btn:hover,
.offset-button .rr-btn:hover {
  background: #2563eb !important;
  color: #fff !important;
  border-color: #2563eb !important;
  box-shadow: none !important;
  transform: none !important;
}
.header__button .rr-btn .btn-wrap .text-one,
.offset-button .rr-btn .btn-wrap .text-one {
  color: inherit !important;
}
.header__button .rr-btn .btn-wrap .text-two,
.offset-button .rr-btn .btn-wrap .text-two {
  color: #fff !important;
}
/* Global btn-icon spacing — used in hero/CTA buttons across all pages */
.rr-btn .btn-icon {
  font-size: .85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  color: inherit;
  transition: color .18s;
  margin-right: 8px;
}
.header__button .rr-btn .btn-icon,
.offset-button .rr-btn .btn-icon {
  font-size: .85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  color: inherit;
  transition: color .18s;
  margin-right: 8px;
}

/* ============================================================
   FOOTER — Dribbble style
============================================================ */
.sc-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.sc-footer__main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 64px 15px 48px;
  max-width: 1320px;
  margin: 0 auto;
  align-items: start;
}

/* Brand sloupec */
.sc-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.sc-footer__brand > a {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.sc-footer__tagline {
  font-size: .92rem;
  line-height: 1.7;
  color: #6b7280 !important;
  margin: 0;
}

.sc-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-footer__contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: #6b7280 !important;
  text-decoration: none !important;
  transition: color .18s;
}

.sc-footer__contact-link i {
  color: var(--elys-green);
  font-size: .78rem;
  width: 14px;
}

.sc-footer__contact-link:hover { color: #111 !important; }

/* Social ikony v patičce */
.sc-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.sc-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  color: #6b7280 !important;
  text-decoration: none !important;
  font-size: .82rem;
  transition: border-color .18s, color .18s, background .18s;
}
.sc-footer__social-link:hover {
  border-color: var(--elys-green);
  color: var(--elys-green) !important;
  background: rgba(5,150,105,0.06);
}

/* Navigační sloupce */
.sc-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-footer__col-title {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af !important;
  margin-bottom: 4px;
}

.sc-footer__col a {
  font-size: .875rem;
  color: #374151 !important;
  text-decoration: none !important;
  transition: color .18s;
  line-height: 1.4;
}

.sc-footer__col a:hover { color: var(--elys-green); }

/* AI Asistent v patičce — světlá varianta */
.sc-footer__ai-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px; color: #111 !important;
}
.sc-footer__ai-head strong {
  font-size: .92rem; font-family: 'Inter', sans-serif;
}
.sc-footer__ai-head svg { color: #2563eb; flex-shrink: 0; }

.sc-footer__ai-form {
  display: flex; align-items: center;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 100px;
  padding: 5px 5px 5px 14px;
  gap: 6px; margin-bottom: 10px;
  transition: border-color .22s, background .22s;
}
.sc-footer__ai-form:focus-within {
  border-color: rgba(5,150,105,0.55);
  background: #fff;
}
.sc-footer__ai-input {
  flex: 1; background: none; border: none; outline: none;
  color: #111; font-size: .86rem;
  font-family: 'Inter', sans-serif; min-width: 0;
}
.sc-footer__ai-input::placeholder { color: #9ca3af; }
.sc-footer__ai-send {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: #2563eb; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: background .2s, transform .18s;
}
.sc-footer__ai-send:hover { background: #1d4ed8; transform: scale(1.08); }

.sc-footer__ai-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sc-footer__ai-chip {
  padding: 5px 13px; border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: transparent; color: #6b7280;
  font-size: .78rem; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: border-color .18s, color .18s, background .18s;
}
.sc-footer__ai-chip:hover {
  border-color: rgba(5,150,105,0.5);
  color: #2563eb; background: rgba(5,150,105,0.06);
}

/* AI chat — dočasně skryto */
.elys-chat { display: none !important; }

/* Spodní lišta */
.sc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 15px;
  border-top: 1px solid #e5e7eb;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: nowrap;
  gap: 16px;
}

.sc-footer__copy {
  font-size: .8rem;
  color: #9ca3af !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-footer__legal {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}

.sc-footer__legal a {
  font-size: .8rem;
  color: #9ca3af !important;
  text-decoration: none !important;
  transition: color .15s;
  white-space: nowrap;
}

.sc-footer__legal a:hover { color: var(--elys-green); }

/* ============================================================
   COOKIE CONSENT — rohový panel
============================================================ */
.ck-done .elys-cookie-overlay { display: none !important; }
.elys-cookie-overlay {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  max-width: 360px;
  width: calc(100vw - 48px);
  pointer-events: all;
}
.elys-cookie-overlay.elys-cookie-visible {
  animation: elys-cookie-in .32s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes elys-cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.elys-cookie-box {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  padding: 22px 24px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.elys-cookie-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.elys-cookie-text {
  font-size: .8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin: 0 0 18px;
}
.elys-cookie-link {
  color: var(--elys-green) !important;
  text-decoration: underline !important;
}
.elys-cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.elys-cookie-main-btns {
  display: flex;
  gap: 8px;
}
.elys-cookie-btn {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  border: 1.5px solid rgba(255,255,255,0.16);
  background: transparent;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  text-align: center;
}
.elys-cookie-btn--outline:hover {
  border-color: rgba(255,255,255,0.38);
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.elys-cookie-btn--accept {
  background: var(--elys-green);
  border-color: var(--elys-green);
  color: #fff;
}
.elys-cookie-btn--accept:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
/* Přizpůsobit panel */
.elys-cookie-category {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 12px 0;
}
.elys-cookie-cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .83rem;
  margin-bottom: 4px;
  color: #fff;
}
.elys-cookie-always-on {
  font-size: .72rem;
  color: var(--elys-green);
  font-weight: 500;
}
.elys-cookie-cat-desc {
  font-size: .76rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  margin: 0;
}
.elys-cookie-toggle {
  position: relative; display: inline-block;
  width: 36px; height: 20px; cursor: pointer; flex-shrink: 0;
}
.elys-cookie-toggle input { opacity: 0; width: 0; height: 0; }
.elys-cookie-toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  transition: background .2s;
}
.elys-cookie-toggle-slider:before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  transition: transform .2s;
}
.elys-cookie-toggle input:checked + .elys-cookie-toggle-slider { background: var(--elys-green); }
.elys-cookie-toggle input:checked + .elys-cookie-toggle-slider:before { transform: translateX(16px); }

@media (max-width: 480px) {
  .elys-cookie-overlay { bottom: 16px; left: 16px; width: calc(100vw - 32px); }
  .elys-cookie-main-btns { flex-direction: column; }
}

/* footer max-width handled globally via 1100px rule above */

@media (max-width: 860px) {
  .sc-footer__main { grid-template-columns: 1fr 1fr; padding: 40px 15px 32px; gap: 28px; }
  .sc-footer__brand { grid-column: span 2; }
  .sc-footer__bottom { padding: 16px 15px; justify-content: center; text-align: center; flex-wrap: wrap; }
  .megamenu, .megamenu.mm-small { display: none; }
}

@media (max-width: 540px) {
  .sc-footer__main { grid-template-columns: 1fr; }
  .sc-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
  }
  .sc-footer__copy {
    white-space: normal;
    font-size: .73rem;
    text-align: center;
  }
  .sc-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

/* ============================================================
   MOBILE MENU — Dribbble-style slide-in panel
============================================================ */
.sc-desk-only { display: flex; }
.sc-mob-only  { display: none !important; }

@media (max-width: 1100px) {
  .sc-desk-only { display: none !important; }
  .sc-mob-only  { display: flex !important; }
  .header__nav  { display: none !important; }
}

.sc-mob-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.sc-mob-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all .25s ease;
}
.dark .sc-mob-toggle span { background: #fff; }
.sc-mob-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sc-mob-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sc-mob-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sc-mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 19998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.sc-mob-overlay.open { opacity: 1; pointer-events: all; }

.sc-mob-menu {
  position: fixed;
  top: 0; left: 0;
  width: min(340px, 90vw);
  height: 100dvh;
  background: #fff;
  z-index: 19999;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.25,.46,.45,.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sc-mob-menu.open { transform: translateX(0); }

.sc-mob-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.sc-mob-menu__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e5e5;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #555;
  cursor: pointer;
  transition: all .15s;
}
.sc-mob-menu__close:hover { background: #111; border-color: #111; color: #fff; }

.sc-mob-menu__nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.sc-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 1rem !important;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  letter-spacing: -.01em;
  transition: background .15s;
}
.sc-mob-link:hover { background: #f7f7f5; color: #111; }

.sc-mob-chevron {
  font-size: .7rem;
  opacity: .5;
  transition: transform .22s ease;
  flex-shrink: 0;
}
.sc-mob-acc.open .sc-mob-chevron { transform: rotate(180deg); }

.sc-mob-acc__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s cubic-bezier(.25,.46,.45,.94);
  background: #fafaf8;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}
.sc-mob-acc.open .sc-mob-acc__body {
  max-height: 400px;
  border-color: #f0f0f0;
}
.sc-mob-acc__body a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 24px 11px 32px;
  font-size: .95rem !important;
  font-weight: 600;
  color: #444;
  text-decoration: none !important;
  transition: color .15s, background .15s;
}
.sc-mob-acc__body a:hover { color: #111; background: #f0f0ee; }
.sc-mob-acc__body a i {
  width: 16px; text-align: center;
  color: #2563eb; font-size: .9rem; flex-shrink: 0;
}

.sc-mob-menu__footer {
  padding: 20px 24px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-mob-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: #111;
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  letter-spacing: -.01em;
  transition: background .2s, transform .2s;
}
.sc-mob-cta:hover { background: #2563eb; transform: translateY(-2px); }
.sc-mob-cta--ghost {
  background: transparent;
  color: #111 !important;
  border: 1.5px solid #d1d5db;
}
.sc-mob-cta--ghost:hover { background: #f7f7f5; color: #111 !important; transform: translateY(-1px); }

/* "Zobrazit všechny služby" — subtle link at bottom of accordion */
.sc-mob-acc__body-all {
  font-size: .88rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  padding-top: 8px !important;
  padding-bottom: 10px !important;
  border-top: 1px solid #eee;
  margin-top: 2px;
}

/* ============================================================
   ELYS HERO — redesigned split-layout hero
============================================================ */
.elys-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-top: 120px;
  padding-bottom: 80px;
}

/* Dekorativní pozadí orbs */
.elys-hero__bg-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}
.elys-hero__bg-orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(5, 150, 105,0.12) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}
.elys-hero__bg-orb--2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(139,92,246,0.09) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
}

/* Hlavní grid */
.elys-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 120px);
}

/* ── Levý sloupec ── */
.elys-hero__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Badge */
.elys-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  border: 1.5px solid rgba(5, 150, 105,0.22);
  border-radius: 6px;
  padding: 7px 16px 7px 10px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2563eb;
  width: fit-content;
}
.elys-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  animation: elys-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes elys-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.25); }
}

/* Titulek */
.elys-hero__title {
  font-size: clamp(2.8rem, 5vw, 4.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.07 !important;
  letter-spacing: -0.04em !important;
  color: #0f0f0f;
  margin: 0;
}
.elys-hero__title em {
  font-style: normal;
  color: #2563eb;
  position: relative;
}

/* Popisný text */
.elys-hero__desc {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: #555;
  max-width: 480px;
  margin: 0;
}

/* CTA tlačítka */
.elys-hero__ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.elys-hero__ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 700;
  color: #111;
  text-decoration: none !important;
  letter-spacing: -.01em;
  transition: color .2s ease, gap .2s ease;
}
.elys-hero__ghost-link:hover {
  color: #2563eb;
  gap: 12px;
}

/* Stats row */
.elys-hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid #f0f0ee;
  flex-wrap: wrap;
}
.elys-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.elys-hero__stat strong {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0f0f0f;
}
.elys-hero__stat span {
  font-size: .78rem;
  color: #888;
  line-height: 1.4;
}
.elys-hero__stat-sep {
  width: 1px;
  height: 36px;
  background: #e8e8e5;
  flex-shrink: 0;
}

/* ── Pravý sloupec — vizuál ── */
.elys-hero__visual {
  position: relative;
}
.elys-hero__visual-frame {
  position: relative;
  border-radius: 24px;
  overflow: visible;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.elys-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  /* Fallback gradient pokud video nenahraje */
  background: linear-gradient(135deg, #D1FAE5 0%, #ECFDF5 40%, #ede9fe 100%);
}

/* Floating chip karty */
.elys-hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 6px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  white-space: nowrap;
  animation: elys-chip-float 5s ease-in-out infinite;
}
.elys-hero__chip--top {
  top: 28px;
  left: -28px;
  animation-delay: 0s;
}
.elys-hero__chip--bottom {
  bottom: 40px;
  right: -28px;
  animation-delay: 2.5s;
}
@keyframes elys-chip-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.elys-hero__chip-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  font-size: .82rem;
  flex-shrink: 0;
}
.elys-hero__chip-icon--green {
  background: #16a34a;
}
.elys-hero__chip-label {
  font-size: .82rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -.01em;
}

/* ── Responzivita ── */
@media (max-width: 1024px) {
  .elys-hero__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    min-height: auto;
    padding: 32px 0 0;
  }
  .elys-hero__visual-frame {
    aspect-ratio: 16 / 9;
    max-height: 420px;
  }
  .elys-hero__chip--top  { left: 12px; }
  .elys-hero__chip--bottom { right: 12px; }
}
@media (max-width: 640px) {
  .elys-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .elys-hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem) !important;
  }
  .elys-hero__chip { display: none; }
  .elys-hero__stats { gap: 16px; }
  .elys-hero__ctas { gap: 14px; }
}

/* ============================================================
   READABILITY & ACCESSIBILITY
   Google Fonts Knowledge — readability_and_accessibility
   • Body copy sizing: min 1rem (16px) body, 0.875rem nav
   • Color & contrast: WCAG AA 4.5:1 normal, 3:1 large text
   • Line-height: ≥ 1.5× font-size (WCAG SC 1.4.12)
   • Line length: 60–70ch optimal reading width
   • Letter-spacing: ≥ 0.05em for all-caps labels
   • Focus: always visible for keyboard users (SC 2.4.7)
============================================================ */

:root {
  --elys-grey-500:   #4B5563; /* #6B7280 = 4.33:1 FAIL → #4B5563 = 7.17:1 AAA */
  --elys-text-muted: #4B5563;
  --elys-green-text: #1d4ed8; /* pro text na světlém bg: 5.23:1 AA */
  --elys-prose-max:  70ch;
}

/* Nav — 12.5px → 14px */
.main-menu ul li a,
.menu ul li a,
nav a {
  font-size: 0.875rem !important;
  letter-spacing: -0.005em !important;
}

/* Zelený text na světlém bg — #2563eb (3.60:1 FAIL) → #1d4ed8 (5.23:1 AA) */
.elys-section-label,
.mm-footer a,
.sc-mob-acc__body-all,
.sc-mob-acc__body a i,
.elys-hero__badge {
  color: #1d4ed8 !important;
}

/* Tlačítka — bílý text na #2563eb = 3.77:1 FAIL → #1d4ed8 = 5.49:1 AA */
.rr-btn {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}
.rr-btn:hover {
  background-color: #065f46 !important;
  border-color: #065f46 !important;
}
.rr-btn::before {
  background-color: #065f46 !important;
}
.sc-mob-cta:hover {
  background: #1d4ed8 !important;
}

/* Šedý text na světlém bg */
.mm-text span {
  color: #6b7280 !important;
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
}
.mm-badge {
  font-size: 0.7rem !important;
  letter-spacing: 0.07em !important;
}
.elys-testimonial-card .quote-role { color: #4b5563 !important; }
.elys-stat-card .stat-label        { color: #4b5563 !important; }
.elys-body-text                    { color: #4b5563 !important; }
.elys-hero__desc                   { color: #374151 !important; }
.elys-hero__stat span              { color: #4b5563 !important; font-size: 0.82rem !important; }

/* Footer — světlý theme */
.sc-footer__tagline     { color: #6b7280 !important; line-height: 1.7 !important; }
.sc-footer__contact-link{ color: #6b7280 !important; }
.sc-footer__col-title   { color: #9ca3af !important; letter-spacing: 0.09em !important; }
.sc-footer__col a       { color: #374151 !important; }
.sc-footer__copy        { color: #9ca3af !important; }
.sc-footer__legal a     { color: #9ca3af !important; }
.elys-cookie-text       { color: rgba(255,255,255,.72) !important; line-height: 1.7 !important; }

/* Délka řádku — optimum 60–70 znaků (SC 1.4.8) */
.accordion-body  { font-size: 1rem !important; line-height: 1.8 !important; max-width: 70ch; }
.elys-modal__body{ line-height: 1.8 !important; }
.elys-prose      { max-width: 70ch; }

/* Focus indicators — SC 2.4.7 */
:focus-visible {
  outline: 2px solid #1d4ed8 !important;
  outline-offset: 3px !important;
  border-radius: 3px !important;
  box-shadow: 0 0 0 4px rgba(4,120,87,.15) !important;
}
:focus:not(:focus-visible) { outline: none !important; }

/* Formuláře — 1rem zabrání iOS auto-zoom (< 16px spouští zoom) */
input,
textarea,
select,
.elys-input,
.elys-chat__foot-input,
.sc-footer__ai-input {
  font-size: 1rem !important;
}

/* Letter-spacing pro all-caps štítky (≥ 0.05em) */
.section-subtitle    { letter-spacing: 0.1em !important; font-size: 0.8rem !important; }
.elys-section-label  { letter-spacing: 0.1em !important; font-size: 0.78rem !important; }

/* ── Blog Article — Medium/Claude style ── */
.blog-article .blog-details-area { background: #fff; }
.blog-article .blog-details-area .container.large { max-width: 780px !important; }
.blog-article .blog-details-area .section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  color: #0a0a0a !important;
  max-width: none !important;
}
.blog-article .blog-details-area .meta {
  font-size: 0.85rem !important;
  color: #6b7280 !important;
  margin-top: 20px !important;
}
.blog-article .blog-details-area .image-wrapper {
  max-width: 900px;
  margin: 40px auto 56px !important;
  border-radius: 16px;
  overflow: hidden;
}
.blog-article .blog-details-area .container { max-width: 700px !important; }
.blog-article .blog-details-area .text {
  font-size: 1.05rem !important;
  line-height: 1.85 !important;
  color: #1f2937 !important;
  margin-bottom: 1.5rem !important;
}
.blog-article .blog-details-area .details-info { margin-top: 2.5rem !important; }
.blog-article .blog-details-area .details-info > .title {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
}
.blog-article .blog-share {
  margin-top: 3rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid #f0f0f0 !important;
}
.blog-article .blog-area-3 {
  background: #faf9f5;
  padding: 60px 0;
  border-top: 1px solid #f0f0f0;
}
