/* ============================================================
   MALÍŘSKÉ PRÁCE – Design System
   ============================================================ */

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

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors — Původní modré: primary #1E6FB8, dark #155E9E, light #E8F2FC */
  --clr-primary:       #2D6B6B;     /* logo teal – střední odstín hero */
  --clr-primary-dark:  #1A3535;     /* tmavý teal – hover stav */
  --clr-primary-light: #CDD6C9;     /* světlá sage – pozadí karet */
  --clr-accent:        #F5A623;     /* warm amber CTA */
  --clr-accent-dark:   #E0921A;
  --clr-success:       #22C55E;

  /* Neutral Palette — Původní: bg #F7F8FA, surface #FFFFFF, surface-2 #F0F4F8 */
  --clr-bg:            #D6DDD3;     /* logo sage light */
  --clr-surface:       #E2E8DF;     /* lehce zelená místo bílé */
  --clr-surface-2:     #CDD6C9;     /* logo sage – přesný odstín */
  --clr-border:        #B8C5B4;
  --clr-text:          #1A202C;
  --clr-text-muted:    #4A5A46;
  --clr-text-light:    #94A3B8;

  /* Dark sections */
  --clr-dark:          #0F172A;
  --clr-dark-2:        #1E293B;

  /* Typography */
  --font-sans:         'Inter', system-ui, sans-serif;
  --font-display:      'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.14);
  --shadow-primary: 0 8px 24px rgba(30,111,184,.30);
  --shadow-accent:  0 8px 24px rgba(245,166,35,.35);

  /* Transitions */
  --tr-fast:   150ms ease;
  --tr-base:   250ms ease;
  --tr-slow:   400ms ease;

  /* Container */
  --max-w: 1280px;
  --container-px: clamp(1rem, 5vw, 3rem);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--clr-text);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { max-width: 68ch; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section { padding-block: var(--sp-20); }
.section--lg { padding-block: clamp(4rem, 8vw, 7rem); }
.section--sm { padding-block: var(--sp-12); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-header p {
  color: var(--clr-text-muted);
  font-size: 1.063rem;
  margin-inline: auto;
  margin-top: var(--sp-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 0.7rem 1.6rem;
  transition: all var(--tr-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--tr-fast);
}

.btn:hover::after { background: rgba(255,255,255,.08); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--clr-primary-dark);
  box-shadow: 0 12px 30px rgba(30,111,184,.40);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover {
  background: var(--clr-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(245,166,35,.45);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-1px);
}

.btn-lg { font-size: 1.05rem; padding: 0.875rem 2.25rem; }
.btn-sm { font-size: 0.85rem; padding: 0.5rem 1.25rem; }
.btn-icon { width: 2.625rem; height: 2.625rem; padding: 0; }

/* ---------- Card ---------- */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-base);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
}

/* ---------- Badge / Tag ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-primary { background: var(--clr-primary-light); color: var(--clr-primary); }
.badge-accent  { background: #FEF3E2; color: #C07B10; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1280px;
  z-index: 1000;
  background: rgba(214, 221, 211, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px rgba(26,53,53,.10), 0 1px 4px rgba(26,53,53,.08);
  transition: all var(--tr-base);
}

.nav.scrolled {
  top: 10px;
  box-shadow: 0 8px 32px rgba(26,53,53,.15), 0 2px 8px rgba(26,53,53,.10);
  background: rgba(214, 221, 211, 0.98);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: var(--sp-4);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--clr-primary);
  flex-shrink: 0;
}

.nav-logo-img {
  height: 88px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 112px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  margin-bottom: var(--sp-4);
  filter: brightness(0) invert(1);
}

.nav-logo span { display: none; }  /* skryje textový fallback pokud existuje */


.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

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

.nav-links a {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: all var(--tr-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.nav-cta { margin-left: var(--sp-4); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  transition: all var(--tr-base);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--tr-base);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Rovné sticky menu na mobilu */
  .nav {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .nav.scrolled {
    top: 0;
  }
  .nav-inner {
    height: 52px;
    padding-inline: var(--sp-4);
  }
  .nav-logo-img {
    height: 48px;
  }

  .nav-mobile {
    display: block;
    position: fixed;
    top: 52px;
    left: 0; right: 0; bottom: 0;
    background: var(--clr-surface);
    padding: var(--sp-6);
    transform: translateX(100%);
    transition: transform var(--tr-slow);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-mobile.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }

  .nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
    margin-bottom: var(--sp-6);
  }

  .nav-mobile-links a {
    display: block;
    padding: var(--sp-4);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-text);
    border-radius: var(--radius-md);
    border-bottom: 1px solid var(--clr-border);
    transition: all var(--tr-fast);
  }

  .nav-mobile-links a:hover {
    color: var(--clr-primary);
    background: var(--clr-primary-light);
    padding-left: var(--sp-6);
  }

  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
  }

  .nav-mobile-cta .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* LOGO TEAL: #1A3535 #2D6B6B #5BA3A3 | Původní: #0F172A #1E3A5F #1E6FB8 */
  background: linear-gradient(135deg, #1A3535 0%, #2D6B6B 50%, #5BA3A3 100%);
  overflow: hidden;
  padding-top: 96px; /* floating nav: 16px gap + 64px výška */
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .25;
}

.hero-bg-dot:nth-child(1) {
  width: 500px; height: 500px;
  background: #7EAEAF;
  top: -10%; right: -5%;
}

.hero-bg-dot:nth-child(2) {
  width: 350px; height: 350px;
  background: #F5A623; /* accent zůstává */
  bottom: 0; left: -5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
  padding-block: var(--sp-16);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: var(--sp-5);
  width: fit-content;
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--clr-accent), #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 42ch;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.hero-perk {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-perk::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(34,197,94,.2);
  color: #4ADE80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

/* Hero form card */
.hero-form-card {
  background: var(--clr-bg);   /* tmavší sage – karta */
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,.4);
}

.hero-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
  color: var(--clr-text);
}

.hero-form-card .form-sub {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--sp-6);
}

.hero-form-card label {
  color: var(--clr-text);
}

.hero-form-card .form-control {
  background: var(--clr-surface);
  border-color: var(--clr-border);
  color: var(--clr-text);
}

.hero-form-card .form-control::placeholder {
  color: var(--clr-text-light);
}

.hero-form-card .form-control:focus {
  background: var(--clr-bg);
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(45,107,107,.15);
}

.hero-form-card .form-notice {
  color: var(--clr-text-muted);
}

/* Trust indicators in hero */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255,255,255,.7);
  font-size: 0.82rem;
}

.hero-trust-item strong {
  color: #fff;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .hero-form-card { order: -1; }
  .hero-sub { max-width: 100%; }
}

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}

.why-card {
  padding: var(--sp-8);
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  opacity: 0;
  transition: opacity var(--tr-base);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--sp-5);
  background: var(--clr-primary-light);
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
}

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

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin-inline: auto;
}

.service-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26,53,53,.18), 0 4px 12px rgba(26,53,53,.10);
  border-color: var(--clr-primary);
}

/* Image wrapper – holds photo + overlay + icon */
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--clr-primary-light);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}

/* Zoom on hover */
.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

/* Brand-color overlay – always subtle, stronger on hover */
.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,53,53,.35) 0%,
    rgba(45,107,107,.20) 60%,
    rgba(26,53,53,.10) 100%
  );
  transition: background .35s ease;
  pointer-events: none;
}

.service-card:hover .service-card-img::after {
  background: linear-gradient(
    160deg,
    rgba(26,53,53,.52) 0%,
    rgba(45,107,107,.32) 60%,
    rgba(26,53,53,.18) 100%
  );
}

/* Outline icon badge in top-right corner */
.service-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.service-card:hover .service-card-icon {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.85);
  transform: scale(1.1);
}

.service-card-body {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
}

.service-card-body h3 {
  margin-bottom: var(--sp-1);
  font-size: .95rem;
  font-weight: 700;
  color: var(--clr-text);
}

.service-card-body p {
  color: var(--clr-text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin-bottom: var(--sp-2);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--clr-primary);
  font-size: 0.82rem;
  font-weight: 600;
  transition: gap var(--tr-fast);
}

.service-card-link:hover { gap: var(--sp-3); }

/* ---------- B2B SECTION ---------- */
.b2b-section {
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-dark-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.b2b-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,111,184,.2) 0%, transparent 70%);
  pointer-events: none;
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.b2b-title { color: #fff; }
.b2b-title .highlight { color: var(--clr-accent); }

.b2b-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  margin-block: var(--sp-5);
  max-width: 48ch;
}

.b2b-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.b2b-list-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
}

.b2b-list-item .check {
  width: 24px; height: 24px;
  background: rgba(34,197,94,.2);
  color: #4ADE80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

.b2b-mini-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  backdrop-filter: blur(8px);
  transition: all var(--tr-base);
}

.b2b-mini-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.25);
}

.b2b-mini-card .icon {
  font-size: 1.8rem;
  margin-bottom: var(--sp-3);
}

.b2b-mini-card h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--sp-1);
}

.b2b-mini-card p {
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ---------- B2B REALIZACE GRID ---------- */
.b2b-realizace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--sp-10);
}

.b2b-realizace-card {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--tr-base), transform var(--tr-base), border-color var(--tr-base);
}

.b2b-realizace-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary);
}

.b2b-realizace-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.b2b-realizace-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.b2b-realizace-card:hover .b2b-realizace-img img {
  transform: scale(1.05);
}

.b2b-realizace-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clr-primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 99px;
}

.b2b-realizace-body {
  padding: var(--sp-5) var(--sp-5) var(--sp-6);
}

.b2b-realizace-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.b2b-realizace-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-3);
}

.b2b-realizace-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--clr-primary);
  font-weight: 600;
}

.b2b-realizace-body p {
  font-size: .85rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .b2b-realizace-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .b2b-realizace-grid { grid-template-columns: 1fr; }
}


@media (max-width: 768px) {
  .b2b-grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .b2b-cards { grid-template-columns: 1fr 1fr; }
}

/* ---------- ABOUT (O NÁS) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: stretch;
}

.about-text h2 {
  margin: var(--sp-4) 0 var(--sp-6);
  line-height: 1.2;
}

.about-text p {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: var(--sp-5);
  max-width: 54ch;
}

.about-highlights {
  display: flex;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--clr-border);
}

.about-highlight-item {
  text-align: center;
}

.about-highlight-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.about-highlight-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  font-weight: 500;
}

/* Photo column – plň výšku levého sloupce */
.about-photo {
  position: relative;
  min-height: 400px;
}

.about-photo-wrap {
  position: absolute;
  inset: 12.5%;       /* zmenšení o 25 % */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

/* Overlay přes fotku */
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 53, 53, 0.45) 0%,
    rgba(45, 107, 107, 0.20) 50%,
    rgba(245, 166, 35, 0.12) 100%
  );
  pointer-events: none;
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: calc(12.5% + 1rem);   /* nad spodním krajem fotky */
  left: calc(12.5% - 1.5rem);   /* blízko levého kraje fotky */
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-primary);
  text-align: center;
  min-width: 110px;
  z-index: 2;
}

.about-photo-badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-photo-badge-label {
  font-size: 0.75rem;
  opacity: .85;
  margin-top: 2px;
  display: block;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .about-photo { display: none; }  /* skryté na mobilu – placeholder bude nahrazen realnou fotkou */
  .about-highlights { flex-wrap: wrap; gap: var(--sp-6); }
}

/* ---------- GALLERY / REALIZACE ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-4);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--clr-surface-2);
  cursor: pointer;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform var(--tr-slow);
}

.gallery-item:hover .gallery-item-img { transform: scale(1.05); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--tr-base);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-5);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-height: 80vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  border-radius: var(--radius-full);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--tr-fast);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ---------- PROCESS ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
  position: relative;
}

.process-step {
  text-align: center;
  padding: var(--sp-6);
}

.process-step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: var(--shadow-primary);
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: var(--sp-2);
}

.process-step p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  text-align: center;
  margin-inline: auto;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.testimonial-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--tr-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-4);
}

.testimonial-stars span { color: var(--clr-accent); font-size: 1.1rem; }

.testimonial-card blockquote {
  color: var(--clr-text-muted);
  font-style: italic;
  line-height: 1.65;
  font-size: 0.95rem;
  margin-bottom: var(--sp-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), #2196F3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-location { color: var(--clr-text-muted); font-size: 0.8rem; }

/* ---------- BLOG ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.blog-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: all var(--tr-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img-link { display: block; text-decoration: none; }
.blog-card-img-link:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  object-fit: cover;
  background: linear-gradient(135deg, var(--clr-primary-light), #E0ECFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-primary);
  background: var(--clr-primary-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.blog-card-date {
  color: var(--clr-text-light);
  font-size: 0.8rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
  line-height: 1.35;
}

.blog-card h3 a:hover { color: var(--clr-primary); }

.blog-card p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.blog-read-more {
  color: var(--clr-primary);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--tr-fast);
}
.blog-read-more:hover { gap: 10px; }

/* ---------- CONTACT FORM ---------- */
.contact-section {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-16);
  align-items: stretch;
}

.contact-info h2 { color: #fff; }
.contact-info p {
  color: rgba(255,255,255,.75);
  margin-block: var(--sp-4);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(255,255,255,.85);
  font-size: 0.95rem;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-detail:first-of-type { border-top: 1px solid rgba(255,255,255,.12); }

.contact-detail .icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.contact-detail .icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  flex-shrink: 0;
}

.contact-detail a { color: #fff; font-weight: 600; }
.contact-detail a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ---------- FORM STYLES ---------- */
.form-card {
  background: var(--clr-bg);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xl);
}

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

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text);
}

.form-group label span.req { color: var(--clr-primary); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 0.55rem 0.85rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--clr-text);
  background: var(--clr-surface);
  transition: all var(--tr-fast);
}

.form-control:focus {
  border-color: var(--clr-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,111,184,.12);
}

.form-control::placeholder { color: var(--clr-text-light); }

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 2px;
  width: 18px; height: 18px;
  flex-shrink: 0;
  accent-color: var(--clr-primary);
  cursor: pointer;
}

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

.form-notice {
  font-size: 0.8rem;
  color: var(--clr-text-light);
  margin-top: var(--sp-3);
  text-align: center;
}

.form-alert {
  padding: var(--sp-4);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: var(--sp-4);
}

.form-alert-error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #DC2626;
}

.form-alert-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #16A34A;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1557A0 100%);
  border-radius: var(--radius-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
}

.cta-banner h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-banner p { color: rgba(255,255,255,.75); margin-inline: auto; margin-bottom: var(--sp-7); }

.cta-banner-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.7);
  padding-block: var(--sp-16) var(--sp-8);
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: var(--sp-3);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
}

.footer-contact-item a { color: #fff; transition: color var(--tr-fast); }
.footer-contact-item a:hover { color: var(--clr-accent); }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--sp-4);
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  transition: color var(--tr-fast);
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* ---------- MOBILE STICKY BAR ---------- */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0; right: 0;
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
    z-index: 998;
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-3);
    min-height: 64px;
    align-items: center;
  }

  .mobile-sticky-bar .btn {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    justify-content: center;
  }

  body { padding-bottom: 80px; }
}

/* ---------- PAGE HERO (sub-pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--clr-dark) 0%, var(--clr-dark-2) 100%);
  padding-block: var(--sp-24) var(--sp-16);
  text-align: center;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,111,184,.15), transparent 70%);
}

.page-hero h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  max-width: 48ch;
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
}

.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6) var(--sp-8);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-6);
  text-align: center;
  border: 1px solid var(--clr-border);
}

.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: var(--sp-1);
}

/* ---------- MAP ---------- */
.map-section {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
}

.map-wrapper {
  width: 100%;
  height: 420px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---------- BLOG ARTICLE ---------- */
.article-header {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sp-10);
}

.article-body {
  max-width: 720px;
  margin-inline: auto;
}

.article-body h2, .article-body h3 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.article-body p {
  margin-bottom: var(--sp-5);
  color: var(--clr-text-muted);
  line-height: 1.8;
  max-width: 100%;
}

.article-body ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-5);
  color: var(--clr-text-muted);
  line-height: 1.8;
}

/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- SECTION BACKGROUNDS + painting tools texture ---------- */
.bg-white {
  background-color: var(--clr-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg opacity='0.02'%3E%3Cg transform='translate(20,30) rotate(-25)'%3E%3Crect x='0' y='0' width='8' height='40' rx='3' fill='%231A3535'/%3E%3Crect x='1' y='40' width='6' height='18' rx='3' fill='%232D6B6B'/%3E%3C/g%3E%3Cg transform='translate(130,50)'%3E%3Crect x='0' y='0' width='38' height='15' rx='7' fill='%231A3535'/%3E%3Crect x='15' y='15' width='5' height='22' fill='%231A3535'/%3E%3Cline x1='3' y1='37' x2='3' y2='56' stroke='%231A3535' stroke-width='5' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(50,150)'%3E%3Crect x='2' y='10' width='36' height='36' rx='4' fill='%231A3535'/%3E%3Cellipse cx='20' cy='10' rx='18' ry='5' fill='%232D6B6B'/%3E%3Cpath d='M8 5 Q20 -2 32 5' stroke='%231A3535' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(170,130) rotate(4)'%3E%3Crect x='0' y='0' width='6' height='78' rx='3' fill='%231A3535'/%3E%3Crect x='30' y='0' width='6' height='78' rx='3' fill='%231A3535'/%3E%3Crect x='0' y='15' width='36' height='5' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='34' width='36' height='5' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='53' width='36' height='5' rx='2' fill='%231A3535'/%3E%3C/g%3E%3Cg transform='translate(185,210) rotate(15)'%3E%3Crect x='0' y='0' width='6' height='26' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='26' width='6' height='13' rx='2' fill='%232D6B6B'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
}

.bg-gray {
  background-color: var(--clr-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg opacity='0.02'%3E%3Cg transform='translate(20,30) rotate(-25)'%3E%3Crect x='0' y='0' width='8' height='40' rx='3' fill='%231A3535'/%3E%3Crect x='1' y='40' width='6' height='18' rx='3' fill='%232D6B6B'/%3E%3C/g%3E%3Cg transform='translate(130,50)'%3E%3Crect x='0' y='0' width='38' height='15' rx='7' fill='%231A3535'/%3E%3Crect x='15' y='15' width='5' height='22' fill='%231A3535'/%3E%3Cline x1='3' y1='37' x2='3' y2='56' stroke='%231A3535' stroke-width='5' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(50,150)'%3E%3Crect x='2' y='10' width='36' height='36' rx='4' fill='%231A3535'/%3E%3Cellipse cx='20' cy='10' rx='18' ry='5' fill='%232D6B6B'/%3E%3Cpath d='M8 5 Q20 -2 32 5' stroke='%231A3535' stroke-width='3.5' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(170,130) rotate(4)'%3E%3Crect x='0' y='0' width='6' height='78' rx='3' fill='%231A3535'/%3E%3Crect x='30' y='0' width='6' height='78' rx='3' fill='%231A3535'/%3E%3Crect x='0' y='15' width='36' height='5' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='34' width='36' height='5' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='53' width='36' height='5' rx='2' fill='%231A3535'/%3E%3C/g%3E%3Cg transform='translate(185,210) rotate(15)'%3E%3Crect x='0' y='0' width='6' height='26' rx='2' fill='%231A3535'/%3E%3Crect x='0' y='26' width='6' height='13' rx='2' fill='%232D6B6B'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.bg-dark    { background: var(--clr-dark); }
.bg-primary { background: var(--clr-primary); }
.bg-gradient {
  background: linear-gradient(135deg, var(--clr-bg) 0%, #EDF3FB 100%);
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-muted  { color: var(--clr-text-muted); }
.mt-auto     { margin-top: auto; }
.mt-8        { margin-top: var(--sp-8); }
.mt-6        { margin-top: var(--sp-6); }
.mt-4        { margin-top: var(--sp-4); }
.mb-6        { margin-bottom: var(--sp-6); }
.mb-4        { margin-bottom: var(--sp-4); }
.grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4       { gap: var(--sp-4); }

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}

/* Filter buttons (gallery) */
.filter-bar {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--clr-border);
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
}

/* Thank you page */
.thank-you-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}

.thank-you-icon {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--clr-success), #16A34A);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto var(--sp-6);
  box-shadow: 0 8px 32px rgba(34,197,94,.3);
  animation: pop-in .6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes pop-in {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* Divider */
.divider {
  height: 1px;
  background: var(--clr-border);
  margin-block: var(--sp-8);
}

/* Nav active page by filename */

/* ============================================================
   MOBILE RESPONSIVE – Komplexní opravy pro mobil / tablet
   ============================================================ */

/* --- Tablet / Mobile 768px --- */
@media (max-width: 768px) {

  /* NAV – glass efekt */
  .nav {
    background: rgba(214, 221, 211, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .nav.scrolled {
    background: rgba(214, 221, 211, 0.92);
  }

  /* Hero fotka skryta na mobilech */
  .hero-visual { display: none !important; }

  /* Obrázky u detailů služeb skryty na mobilu */
  div[style*="aspect-ratio:4/3"] { display: none !important; }

  /* Hero – těsnější, vejde se na iPhone 12/13 bez scrollu */
  .hero {
    min-height: auto;
    padding-top: 52px;  /* výška nav */
    padding-bottom: var(--sp-6);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    padding-block: var(--sp-6);
  }

  .hero-form-card { order: -1; }

  /* BADGE – subtilnejší */
  .hero-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    opacity: .85;
    margin-bottom: var(--sp-3);
  }

  /* H1 */
  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: var(--sp-3);
  }

  /* Sub – kratký, dobrá čitelnost */
  .hero-sub {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 100%;
    margin-bottom: var(--sp-4);
    color: rgba(255,255,255,.85);
  }

  /* PERKS checklist – kompaktnější */
  .hero-perks {
    gap: var(--sp-2);
    margin-bottom: var(--sp-4);
  }
  .hero-perk {
    font-size: 0.875rem;
    align-items: center;
    gap: var(--sp-2);
  }

  /* CTA – full width, výrazné */
  .hero-cta {
    flex-direction: column;
    gap: var(--sp-3);
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding-block: var(--sp-10); }
}


/* --- Telefon 480px --- */
@media (max-width: 480px) {

  /* Services – 1 sloupec */
  .services-grid { grid-template-columns: 1fr; }

  /* Why cards – 1 sloupec */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: var(--sp-5); }

  /* Process – 1 sloupec */
  .process-grid { grid-template-columns: 1fr; }

  /* Gallery – 1 sloupec */
  .gallery-grid { grid-template-columns: 1fr; }

  /* 3D hero image – skryj na malých obrazovkách (zabírá moc místa) */
  .hero-form-card[style*="transparent"] {
    display: none;
  }

  /* Hero badge & perks kompaktnější */
  .hero-badge { font-size: 0.75rem; }
  .hero-perks { gap: var(--sp-2); }
  .hero-perk { font-size: 0.85rem; }

  /* BTN na full šířku */
  .hero-cta .btn, .cta-banner-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-banner-btns {
    flex-direction: column;
    gap: var(--sp-3);
  }

  /* B2B cards – 1 sloupec */
  .b2b-cards { grid-template-columns: 1fr; }
  .b2b-mini-cards { grid-template-columns: 1fr 1fr; }

  /* Footer – 1 sloupec */
  .footer-grid { grid-template-columns: 1fr; }

  /* Section padding menší */
  .section { padding-block: var(--sp-12); }

  /* Form rows – 1 sloupec */
  .form-row { grid-template-columns: 1fr; }

  /* Poptavka page property icons */
  .property-icons { grid-template-columns: repeat(2, 1fr); }

  /* Mobile sticky bar vyšší */
  .mobile-sticky-bar { padding: var(--sp-3) var(--sp-4); gap: var(--sp-2); }
  .mobile-sticky-bar .btn { flex: 1; font-size: 0.85rem; padding: 0.6rem 1rem; }

  /* Nav logo menší */
  .nav-logo-img { height: 64px; }

  /* CTA banner */
  .cta-banner { padding: var(--sp-8) var(--sp-6); }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Page hero */
  .page-hero { padding-block: var(--sp-8); }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ============================================================
   FAQ – Nejčastější dotazy
   ============================================================ */

.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-12);
}

.faq-item {
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--tr-base), box-shadow var(--tr-base);
}

.faq-item.open {
  border-color: var(--clr-primary);
  box-shadow: var(--shadow-md);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--tr-fast);
}

.faq-q::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232D6B6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--tr-base);
}

.faq-item.open .faq-q::after {
  transform: rotate(180deg);
}

.faq-item.open .faq-q {
  color: var(--clr-primary);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
}

.faq-item.open .faq-a {
  max-height: 300px;
}

.faq-a p {
  padding: 0 var(--sp-6) var(--sp-5);
  color: var(--clr-text-muted);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 100%;
}

/* CTA pod FAQ */
.faq-cta {
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--clr-border);
  max-width: 560px;
  margin-inline: auto;
}

.faq-cta p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-5);
  max-width: 100%;
}

.faq-cta-note {
  display: block;
  margin-top: var(--sp-4);
  font-size: .85rem;
  color: var(--clr-text-muted);
}

@media (max-width: 480px) {
  .faq-q { padding: var(--sp-4) var(--sp-5); font-size: .9rem; }
  .faq-a p { padding: 0 var(--sp-5) var(--sp-4); }
  .faq-cta .btn { width: 100%; }
}
