/* ============================================================
   ALFA ESTATE – hlavní stylesheet
   Mobile-first · CSS variables · 8px grid
   ============================================================ */

/* ── Custom properties ── */
:root {
  --color-primary:        #182536;
  --color-primary-deep:   #0f1a27;
  --color-primary-soft:   #243648;
  --color-secondary:      #ac9b7e;
  --color-secondary-dark: #968465;
  --color-secondary-soft: #c4b698;
  --color-bg:             #ffffff;
  --color-text:           #333333;
  --color-text-light:     #6b6b6b;
  --color-white:          #ffffff;
  --color-light-bg:       #f7f5f2;
  --color-cream:          #efeae0;
  --color-border:         #e8e2d9;

  --font-base:    'Outfit', sans-serif;
  --font-display: 'Space Grotesk', 'Outfit', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:   0 2px 8px rgba(24,37,54,.06);
  --shadow-md:   0 8px 24px rgba(24,37,54,.10);
  --shadow-lg:   0 16px 48px rgba(24,37,54,.16);
  --shadow-xl:   0 24px 72px rgba(0,0,0,.30);

  --transition: 0.3s ease;

  --space-1:  8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  40px;
  --space-6:  48px;
  --space-8:  64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  --container-width: 90%;
  --container-max:   1400px;
  --header-h:    58px;
  --topbar-h:    56px;
}

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

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

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

::selection { background: var(--color-secondary); color: var(--color-white); }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--color-primary); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem);   line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.15; letter-spacing: -.005em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.3; }
h4 { font-size: clamp(1rem, 2vw, 1.15rem); }
p  { font-size: 1rem; line-height: 1.7; }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--color-white); }

/* ── Container ── */
.container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
}

/* ── Section ── */
.section {
  padding-block: var(--space-10);
}
.section--dark {
  background: var(--color-primary);
  color: var(--color-white);
}
.section--light {
  background: var(--color-light-bg);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-8);
  max-width: 720px;
  margin-inline: auto;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-base);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-2);
}
.section__eyebrow--light { color: rgba(255,255,255,.85); }

.section__header h2 {
  margin-bottom: var(--space-2);
}
.section__header p {
  color: var(--color-text-light);
  max-width: 60ch;
  margin-inline: auto;
  margin-top: var(--space-3);
}
.section--dark .section__header p { color: rgba(255,255,255,.7); }

.section__divider {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--color-secondary);
  margin: var(--space-3) auto 0;
  position: relative;
}
.section__divider::before,
.section__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-secondary);
  transform: translateY(-50%);
}
.section__divider::before { left: -12px; }
.section__divider::after  { right: -12px; }
.section__divider--left {
  margin-left: 0;
  margin-right: 0;
}
.section__divider--left::before { left: auto; right: calc(100% + 8px); }
.section__divider--left::after  { display: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 14px 28px;
  border-radius: 2px;
  font-family: var(--font-base);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.btn--primary:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.6);
}
.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--ghost-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.4);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--color-white);
}
.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}
.btn--sm { padding: 10px 20px; font-size: .75rem; }
.btn--block {
  width: 100%;
  margin-top: var(--space-3);
}

/* ── Scroll animation ── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: none;
}
.animate-in.delay-1 { transition-delay: .08s; }
.animate-in.delay-2 { transition-delay: .16s; }
.animate-in.delay-3 { transition-delay: .24s; }
.animate-in.delay-4 { transition-delay: .32s; }
.animate-in.delay-5 { transition-delay: .40s; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  display: none;
  background: var(--color-primary-deep);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.topbar__inner {
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}
.topbar__contacts {
  display: flex;
  gap: var(--space-4);
}
.topbar__contacts li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__contacts i {
  color: var(--color-secondary);
  font-size: .85rem;
}
.topbar__contacts a {
  transition: color var(--transition);
}
.topbar__contacts a:hover { color: var(--color-secondary); }

.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-secondary);
  padding: 8px 16px;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}
.topbar__cta:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-1px);
}
.topbar__cta i { font-size: .85rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition), top var(--transition);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.header.scrolled {
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(24,37,54,.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-width);
  max-width: var(--container-max);
  margin-inline: auto;
  gap: var(--space-4);
  line-height: 1;
  height: 100%;
}
.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}
.header__logo img {
  height: 44px;
  width: auto;
  display: block;
  transition: height var(--transition);
}
.header.scrolled .header__logo img { height: 38px; }

/* ── Desktop nav ── */
.nav {
  display: none;
  height: 100%;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  display: inline-block;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-primary);
  position: relative;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-secondary);
}
.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__item--cta .nav__link--cta {
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 10px 22px;
  margin-left: 8px;
  border-radius: 2px;
  transition: background var(--transition);
}
.nav__item--cta .nav__link--cta::after { display: none; }
.nav__item--cta .nav__link--cta:hover {
  background: var(--color-secondary-dark);
  color: var(--color-white);
}

/* dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--color-primary);
  border-top: 2px solid var(--color-secondary);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
  padding-block: 8px;
}
.nav__item:hover .nav__dropdown,
.nav__item.open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__dropdown a {
  display: block;
  padding: 11px 22px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.8);
  transition: color var(--transition), background var(--transition), padding-left var(--transition);
  border-left: 2px solid transparent;
}
.nav__dropdown a:hover {
  color: var(--color-secondary);
  background: rgba(172,155,126,.08);
  padding-left: 28px;
  border-left-color: var(--color-secondary);
}
.nav__link--has-dropdown::before {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .55rem;
  margin-right: 6px;
  vertical-align: middle;
  opacity: .7;
}

/* hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 5px;
  width: 32px;
  padding: 6px;
  align-self: center;
}
.hamburger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + var(--space-5)) var(--space-4) var(--space-6);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: none; }

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__link {
  display: block;
  padding: 16px var(--space-2);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-menu__link:hover {
  color: var(--color-secondary);
  padding-left: calc(var(--space-2) + 8px);
}

.mobile-submenu {
  padding-left: var(--space-3);
  margin-top: 4px;
}
.mobile-submenu a {
  display: block;
  padding: 12px var(--space-2);
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color var(--transition);
}
.mobile-submenu a:hover { color: var(--color-secondary); }

.mobile-menu__cta {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mobile-menu__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
}
.mobile-menu__contacts i {
  color: var(--color-secondary);
  width: 16px;
}

/* ── Listing pages (nabídka / prodej / pronájem) ── */
.listings-page {
  margin-top: calc(var(--header-h));
}
@media (min-width: 1200px) {
  .listings-page {
    margin-top: calc(var(--topbar-h) + var(--header-h));
  }
}

/* ── Page hero (odhady, výkup, poradenství…) ── */
.page-hero {
  margin-top: var(--header-h);
}
@media (max-width: 767px) {
  .page-hero {
    height: auto !important;
    min-height: 85vh !important;
    align-items: flex-start !important;
  }
}
@media (min-width: 1200px) {
  .page-hero {
    margin-top: calc(var(--topbar-h) + var(--header-h));
  }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 80vh;
  min-height: 540px;
  max-height: 880px;
  overflow: hidden;
  display: flex;
  background: var(--color-primary);
  margin-top: calc(var(--header-h));
  /* Container-aware side gutter: at very wide viewports we lock to the
     centered container's left edge instead of using a raw percentage. */
  --hero-gutter: 5%;
}
@media (min-width: 768px) {
  .hero { --hero-gutter: max(6%, calc((100vw - var(--container-max)) / 2)); }
}
@media (min-width: 1200px) {
  .hero { --hero-gutter: max(7.5%, calc((100vw - var(--container-max)) / 2)); }
}

/* Left navy panel */
.hero__panel {
  position: relative;
  z-index: 3;
  width: 0;
  background: var(--color-primary);
  flex-shrink: 0;
  display: none;
}
.hero__panel-mark { display: none; }

/* Slides */
.hero__slides {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slide.active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15,26,39,.75) 0%,
    rgba(15,26,39,.55) 30%,
    rgba(15,26,39,.30) 65%,
    rgba(15,26,39,.10) 100%
  );
}

/* Text content */
.hero__content {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  color: var(--color-white);
  max-width: 640px;
  text-align: left;
}
.hero__title {
  font-family: var(--font-base);
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  letter-spacing: -.005em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease .25s, transform .6s ease .25s;
}
.hero__sub {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: var(--space-5);
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease .4s, transform .6s ease .4s;
  position: relative;
}
.hero__sub::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(255,255,255,.6);
  flex-shrink: 0;
}
.hero__sub-sep {
  color: rgba(255,255,255,.55);
  font-weight: 300;
}
.hero__cta {
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease .55s, transform .6s ease .55s;
}
.hero__cta .btn {
  padding: 16px 36px;
  font-size: .82rem;
  letter-spacing: .18em;
}
.hero__slide.active .hero__title,
.hero__slide.active .hero__sub,
.hero__slide.active .hero__cta {
  opacity: 1;
  transform: none;
}

/* Floating image card */
.hero__float {
  position: absolute;
  z-index: 10;
  display: none;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 8px 20px rgba(0,0,0,.25);
  border: 10px solid var(--color-white);
  background: var(--color-white);
}
.hero__float img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: opacity .35s ease;
}

/* Vertical dots — right edge */
.hero__dots {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), height var(--transition);
}
.hero__dot.active {
  background: var(--color-secondary);
  height: 22px;
  border-radius: 5px;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  opacity: 0;
  transition: all var(--transition);
}
.hero:hover .hero__arrow { opacity: 1; }
.hero__arrow:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--color-white);
  color: var(--color-white);
}
.hero__arrow--prev { left: var(--space-3); }
.hero__arrow--next { right: var(--space-5); }

/* Scroll indicator — hidden by default, vzor doesn't show it */
.hero__scroll { display: none !important; }

/* ============================================================
   CATEGORY BAR (pod hero)
   ============================================================ */
.category-bar {
  background: var(--color-light-bg);
  padding-block: var(--space-6);
}
.category-bar__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4) var(--space-3);
  align-items: center;
  justify-items: center;
}
.category-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 6px 4px;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}
.category-bar__item:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}
.category-bar__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
}
.category-bar__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.category-bar__label {
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: .005em;
  line-height: 1.3;
  transition: color var(--transition);
}
.category-bar__item:hover .category-bar__label {
  color: var(--color-secondary);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(172,155,126,.08), transparent 50%);
  pointer-events: none;
}
.services > .container { position: relative; z-index: 1; }
.services .section__header h2 { color: var(--color-white); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.service-card {
  position: relative;
  background: var(--color-primary-soft);
  border: 1px solid rgba(172,155,126,.18);
  padding: var(--space-5) var(--space-4) var(--space-4);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  text-decoration: none;
  color: var(--color-white);
  display: block;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--color-secondary);
  transition: width .4s ease;
}
.service-card:hover {
  background: var(--color-primary-deep);
  border-color: rgba(172,155,126,.45);
  transform: translateY(-4px);
}
.service-card:hover::before { width: 100%; }

.service-card__num {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: rgba(172,155,126,.4);
  letter-spacing: .04em;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(172,155,126,.12);
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
  transition: background var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--color-secondary);
  color: var(--color-white);
}
.service-card h3 {
  color: var(--color-white);
  margin-bottom: var(--space-1);
  font-size: 1.2rem;
}
.service-card p {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}
.service-card__link i { transition: transform var(--transition); }
.service-card:hover .service-card__link i { transform: translateX(6px); }

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  background: var(--color-bg);
  position: relative;
}
.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

.about-preview__media {
  position: relative;
  padding-bottom: var(--space-4);
  padding-right: var(--space-4);
}
.about-preview__media::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  height: 70%;
  background: var(--color-primary);
  z-index: 0;
}
.about-preview__media-frame {
  position: relative;
  z-index: 1;
}
.about-preview__media-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.about-preview__motto {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-6) var(--space-5) var(--space-5);
  padding-right: 40%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0));
}
.about-preview__badge {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  z-index: 2;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-preview__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}
.about-preview__badge span {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .95;
}

.about-preview__text-col {
  padding-top: var(--space-2);
}
.about-preview__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--color-primary);
  border-left: 3px solid var(--color-secondary);
  padding: 8px 0 8px var(--space-3);
  margin-block: var(--space-4) var(--space-3);
  line-height: 1.45;
}
.about-preview__text {
  color: var(--color-text-light);
  margin-bottom: var(--space-4);
  font-size: 1rem;
  max-width: 60ch;
}
.about-preview__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.about-preview__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--color-text);
}
.about-preview__list i {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  color: var(--color-secondary);
  font-size: .65rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.about-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ============================================================
   CERTIFIKÁTY A OCENĚNÍ
   ============================================================ */
.certs { background: var(--color-bg); }
.certs__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
}
.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 12px;
  width: 150px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
button.cert-card { font: inherit; }
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cert-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.cert-card--widget {
  width: 150px;
  height: 200px;
  padding: 0;
  overflow: hidden;
  cursor: default;
}
.cert-card--widget:hover { transform: none; box-shadow: var(--shadow-sm); }
.cert-card--widget iframe { width: 150px; height: 150px; border: 0; display: block; }
.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.cert-lightbox.open { display: flex; }
.cert-lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.cert-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  color: #fff;
  font-size: 2.4rem;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   TESTIMONIALS — GOOGLE REVIEWS
   ============================================================ */
.testimonials { background: var(--color-bg); }
.testimonials .section__header h2 { color: var(--color-primary); }

/* Google logo helper (used in summary + cards) */
.gl {
  font-family: 'Outfit', 'Product Sans', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.02em;
}
.gl--b { color: #4285F4; }
.gl--r { color: #EA4335; }
.gl--y { color: #FBBC05; }
.gl--g { color: #34A853; }

.reviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: center;
}

/* ── Left summary column ── */
.reviews__summary {
  text-align: center;
  padding-block: var(--space-3);
}
.reviews__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0;
  margin-bottom: var(--space-2);
}
.reviews__stars {
  font-size: 1.6rem;
  color: #FBBC05;
  letter-spacing: 4px;
  margin-bottom: var(--space-2);
}
.reviews__count {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.reviews__count strong { font-weight: 600; color: var(--color-primary); }

.reviews__google {
  font-size: 2.2rem;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.reviews__all-link {
  display: inline-block;
}

/* ── Right carousel ── */
.reviews__carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.reviews__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.reviews__track {
  display: flex;
  align-items: flex-start;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.reviews__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 1px 4px rgba(24,37,54,.06);
}
.reviews__arrow:hover {
  background: var(--color-light-bg);
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

/* ── Single Google review card ── */
.g-review {
  flex: 0 0 100%;
  height: var(--review-card-collapsed-height, 320px);
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 41px 20px 5px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Roboto', 'Outfit', Arial, sans-serif;
  overflow: hidden;
}

.g-review.expanding {
  height: auto;
  overflow: visible;
}

.g-review__gicon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.g-review__verified {
  color: #4285F4;
  font-size: .8rem;
}

.g-review__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.g-review__text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  font-size: .94rem;
  color: #1f1f1f;
  line-height: 1.55;
  margin: 0;
  font-family: 'Roboto', 'Outfit', Arial, sans-serif;
  transition: max-height .4s ease;
}

.g-review__text.animating {
  display: block;
  overflow: hidden;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.g-review__text.expanded {
  display: block;
  overflow: hidden;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.g-review__toggle {
  margin-top: 10px;
  background: none;
  border: none;
  padding: 0;
  color: #5f6368;
  font-size: .82rem;
  font-family: 'Roboto', 'Outfit', Arial, sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
  align-self: flex-start;
}
.g-review__toggle:hover { color: #1f1f1f; }

.g-review__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.g-review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.05rem;
  flex-shrink: 0;
  position: relative;
}
.g-review__avatar--guide {
  overflow: visible;
}
.g-review__guide-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.06);
}
.g-review__guide-badge i {
  color: #34A853;
  font-size: .55rem;
}

.g-review__person { flex: 1; min-width: 0; }
.g-review__name {
  font-weight: 500;
  font-size: 1rem;
  color: #1f1f1f;
  line-height: 1.3;
  font-family: 'Roboto', 'Outfit', Arial, sans-serif;
}
.g-review__name--link {
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,.4);
  text-underline-offset: 2px;
}
.g-review__meta {
  font-size: .82rem;
  color: #5f6368;
  margin-top: 2px;
  line-height: 1.3;
}

.g-review__menu {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.g-review__menu:hover { background: rgba(0,0,0,.06); }
.g-review__menu span {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5f6368;
}

.g-review__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.g-review__stars {
  color: #FBBC05;
  font-size: .82rem;
  letter-spacing: 1px;
  line-height: 1;
}
.g-review__time {
  font-size: .82rem;
  color: #5f6368;
  line-height: 1;
}

.g-review__text em {
  font-style: italic;
  color: #5f6368;
}

.g-review__actions {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}
.g-review__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  font-size: .82rem;
  font-weight: 500;
  color: #1f1f1f;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition);
  font-family: 'Roboto', 'Outfit', Arial, sans-serif;
}
.g-review__action i {
  color: #5f6368;
  font-size: .95rem;
}
.g-review__action:hover {
  background: rgba(0,0,0,.06);
}

/* ── Dots / nav ── */
.reviews__nav {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}
.testimonials-dots {
  display: flex;
  gap: 6px;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
  border: none;
}
.testimonials-dot.active {
  background: var(--color-secondary);
  width: 22px;
  border-radius: 4px;
}

.testimonials__cta {
  text-align: center;
  margin-top: var(--space-5);
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--color-primary);
  padding-block: var(--space-8);
  color: var(--color-white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat {
  text-align: center;
  padding: var(--space-4) var(--space-2);
  border: none;
}
.stat:nth-child(1), .stat:nth-child(2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat__icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(172,155,126,.34);
  position: relative;
}
.stat__icon-wrap i {
  font-size: 1.15rem;
  color: var(--color-secondary);
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
  margin-top: 8px;
}
.stat__label {
  font-size: .8rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--color-light-bg);
}
.faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.faq__intro h2 {
  margin-bottom: var(--space-2);
}
.faq__intro p {
  margin-block: var(--space-4);
  color: var(--color-text-light);
  max-width: 50ch;
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}
.accordion {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion.open {
  border-color: var(--color-secondary);
}
.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-3) var(--space-3);
  gap: var(--space-3);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.accordion__header:hover { background: var(--color-light-bg); }
.accordion.open .accordion__header {
  background: var(--color-primary);
  color: var(--color-white);
}
.accordion__question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex: 1;
}
.accordion__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  color: var(--color-secondary);
  border-radius: 50%;
  font-size: .7rem;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  flex-shrink: 0;
}
.accordion.open .accordion__icon {
  background: var(--color-secondary);
  color: var(--color-white);
  transform: rotate(180deg);
}
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.accordion.open .accordion__body {
  max-height: 500px;
}
.accordion__answer {
  padding: var(--space-3) var(--space-3) var(--space-4);
  font-size: .92rem;
  color: var(--color-text-light);
  line-height: 1.75;
  border-top: 1px solid var(--color-border);
}

.faq--home {
  background: var(--color-bg);
  padding-block: var(--space-12);
}
.faq--home .faq__layout {
  gap: var(--space-5);
}
.faq--home .faq__intro h2 {
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}
.faq--home .faq__intro p {
  font-size: 1rem;
  line-height: 1.75;
  margin-block: var(--space-3) var(--space-4);
}
.faq__benefits {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: var(--space-4);
  color: var(--color-text-light);
}
.faq__benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}
.faq__benefits i {
  width: 32px;
  color: var(--color-secondary);
  font-size: .95rem;
}
.faq--home .faq__grid {
  grid-template-columns: 1fr;
  gap: 10px;
}
.faq--home .accordion {
  border: 1px solid rgba(172,155,126,.34);
  border-radius: 6px;
  background: var(--color-white);
  box-shadow: none;
}
.faq--home .accordion.open {
  border-color: rgba(172,155,126,.48);
}
.faq--home .accordion__header {
  border: 0;
  background: transparent;
  color: var(--color-primary);
  padding: 18px 22px;
  font: inherit;
}
.faq--home .accordion__header:hover,
.faq--home .accordion.open .accordion__header {
  background: transparent;
  color: var(--color-primary);
}
.faq--home .accordion__question {
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
  line-height: 1.35;
  font-weight: 600;
}
.faq--home .accordion__icon {
  width: 22px;
  height: 22px;
  background: transparent;
  color: var(--color-secondary);
  border-radius: 0;
  font-size: .88rem;
  transition: transform var(--transition);
}
.faq--home .accordion.open .accordion__icon {
  background: transparent;
  color: var(--color-secondary);
  transform: none;
}
.faq--home .accordion.open .accordion__icon i {
  transform: rotate(45deg);
}
.faq--home .accordion__icon i {
  transition: transform var(--transition);
}
.faq--home .accordion__answer {
  padding: 0 22px 20px;
  border-top: 0;
  font-size: .94rem;
  line-height: 1.72;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(180deg, rgba(172,155,126,.08), rgba(172,155,126,.03));
  padding-block: var(--space-10);
  position: relative;
  border-top: 1px solid rgba(172,155,126,.20);
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: var(--space-3);
  position: relative;
}
.cta-banner h2 {
  color: var(--color-primary);
  margin-block: var(--space-1) var(--space-2);
  max-width: 700px;
}
.cta-banner p {
  color: var(--color-text-light);
  max-width: 56ch;
}
.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
}
.cta-banner__actions-note {
  max-width: 38ch;
  margin: 0;
  text-align: left;
  font-size: .92rem;
  line-height: 1.65;
}
.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary-deep);
  color: rgba(255,255,255,.75);
  padding-top: var(--space-12);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__col h4 {
  font-family: var(--font-base);
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  position: relative;
}
.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--color-secondary);
}

.footer__logo {
  margin-bottom: var(--space-3);
}
.footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__about {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,.6);
}
.footer__social {
  display: flex;
  gap: var(--space-1);
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(172,155,126,.35);
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all var(--transition);
}
.footer__social a:hover {
  border-color: var(--color-secondary);
  color: var(--color-white);
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition), padding-left var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-secondary);
  font-size: .8rem;
  transition: transform var(--transition);
}
.footer__links a:hover {
  color: var(--color-secondary);
  padding-left: 6px;
}

.footer__address { font-style: normal; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.footer__contact-item i {
  color: var(--color-secondary);
  width: 18px;
  margin-top: 4px;
  flex-shrink: 0;
}
.footer__contact-item span,
.footer__contact-item a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  line-height: 1.6;
}
.footer__contact-item small {
  display: block;
  color: rgba(255,255,255,.4);
  font-size: .78rem;
  margin-top: 2px;
}
.footer__contact-item a:hover { color: var(--color-secondary); }

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__hours-row strong {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}

.footer__bottom {
  padding-block: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}
.footer__bottom p, .footer__bottom a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer__bottom a {
  transition: color var(--transition);
}
.footer__bottom a:hover { color: var(--color-secondary); }
.footer__bottom-links {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2000;
  background: var(--color-primary);
  color: rgba(255,255,255,.85);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-md);
  border: 1px solid rgba(172,155,126,.3);
  transform: translateY(150%);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  max-width: 540px;
}
.cookie-banner.visible { transform: none; }
.cookie-banner p {
  font-size: .88rem;
  line-height: 1.6;
}
.cookie-banner a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.cookie-banner__actions .btn { font-size: .72rem; padding: 10px 18px; flex: 1; }
.cookie-banner__settings { flex: 0 0 auto; }

/* ── Podrobné nastavení cookies (modal) ── */
.cookie-settings[hidden] { display: none; }
.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.cookie-settings__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,26,39,.6);
}
.cookie-settings__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--color-secondary);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4);
}
.cookie-settings__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-settings__close:hover { color: var(--color-primary); }
.cookie-settings__title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.cookie-settings__intro {
  font-size: .9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}
.cookie-settings__intro a { color: var(--color-secondary); text-decoration: underline; }
.cookie-option {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}
.cookie-option__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: 6px;
}
.cookie-option__name { font-weight: 600; font-size: .98rem; color: var(--color-primary); }
.cookie-option__desc { font-size: .85rem; color: var(--color-text-light); line-height: 1.55; }
.cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.cookie-settings__actions .btn { flex: 1; min-width: 150px; font-size: .72rem; }

/* Přepínač (toggle) */
.cookie-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.cookie-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-switch__slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #cfc9be;
  border-radius: 999px;
  transition: background var(--transition);
}
.cookie-switch__slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.cookie-switch input:checked + .cookie-switch__slider { background: var(--color-secondary); }
.cookie-switch input:checked + .cookie-switch__slider::before { transform: translateX(20px); }
.cookie-switch input:disabled + .cookie-switch__slider { opacity: .55; cursor: not-allowed; }
.cookie-switch input:focus-visible + .cookie-switch__slider { outline: 2px solid var(--color-secondary); outline-offset: 2px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: .9rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  background: var(--color-primary);
  transform: translateY(-4px);
}

/* ============================================================
   TABLET ≥ 768px
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --container-width: 88%;
    --header-h: 66px;
  }

  .hero { height: 82vh; min-height: 620px; }

  .hero__panel {
    display: block;
    width: 30%;
  }

  /* Float image: left edge aligned with container left edge */
  .hero__float {
    display: block;
    left: var(--hero-gutter);
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
  }
  .hero__float img { height: 380px; }

  /* Content sits close to the right edge of the float image, left-aligned */
  .hero__content {
    left: calc(var(--hero-gutter) + 320px + var(--space-3) - 180px);
    right: var(--hero-gutter);
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
  }
  .hero__sub::before { display: block; }

  .hero__arrow--prev { left: var(--space-4); }
  .hero__arrow--next { right: calc(var(--space-4) + 24px); }

  .category-bar__list {
    grid-template-columns: repeat(4, auto);
    gap: var(--space-5);
    justify-content: space-between;
  }

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

  .about-preview__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .about-preview__list {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .stat {
    padding: var(--space-5) var(--space-3);
    border: none;
  }
  .stat:nth-child(1), .stat:nth-child(2) {
    border-bottom: none;
  }
  .stat:nth-child(odd) {
    border-right: none;
  }
  .stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .g-review { flex: 0 0 calc(50% - 16px); }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cta-banner__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: var(--space-8);
  }
  .cta-banner__actions {
    align-items: center;
    justify-self: end;
  }
  .cta-banner__actions-note {
    text-align: center;
  }
  .cta-banner__buttons {
    justify-content: flex-end;
  }

  .cookie-banner {
    bottom: 24px;
    left: auto;
    right: 24px;
    max-width: 480px;
  }

  .back-to-top {
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
  }
}

/* ============================================================
   DESKTOP ≥ 1200px
   ============================================================ */
@media (min-width: 1200px) {
  :root {
    --container-width: 85%;
    --header-h: 74px;
  }

  /* Show topbar — header anchored exactly below it */
  .topbar { display: block; }
  .header { top: var(--topbar-h); }
  body { padding-top: 0; }

  .nav { display: flex; }
  .hamburger { display: none; }

  .hero {
    height: calc(100vh - var(--topbar-h) - var(--header-h));
    min-height: 640px;
    max-height: 820px;
    margin-top: calc(var(--topbar-h) + var(--header-h));
  }
  .hero__panel { width: 28%; }

  /* Desktop: float anchored to container-aware gutter */
  .hero__float {
    width: 440px;
  }
  .hero__float img { height: 540px; }

  .hero__content {
    left: calc(var(--hero-gutter) + 440px + var(--space-4) - 180px);
  }

  .category-bar__list {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }

  .g-review { flex: 0 0 calc(33.333% - 22px); }

  .reviews {
    grid-template-columns: minmax(220px, 1fr) 3fr;
    gap: var(--space-5);
    align-items: center;
  }
  .reviews__carousel { min-width: 0; }
  .reviews__summary {
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding-right: var(--space-5);
  }

  .footer__grid {
    grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
    gap: var(--space-8);
  }

  .faq__layout {
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-10);
    align-items: start;
  }
  .faq__intro {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 24px);
  }
  .faq__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
  }
  .faq--home .faq__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
    gap: var(--space-8);
  }
  .faq--home .faq__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ============================================================
   Kompaktní desktop navigace 1200–1439px
   Aby se s 8 položkami vešlo i CTA Kontakt (kontejner = 85 % okna)
   ============================================================ */
@media (min-width: 1200px) and (max-width: 1439px) {
  .header__inner { gap: var(--space-2); }
  .nav__list { gap: 0; }
  .nav__link {
    padding: 8px 8px;
    font-size: .7rem;
    letter-spacing: .02em;
  }
  .nav__link::after { left: 8px; right: 8px; }
  .nav__item--cta .nav__link--cta {
    padding: 8px 14px;
    margin-left: 4px;
  }
  .nav__link--has-dropdown::before { margin-right: 4px; }
}

/* ============================================================
   4K ≥ 1920px
   ============================================================ */
@media (min-width: 1920px) {
  :root {
    --container-max: 1600px;
  }
  body { font-size: 1.05rem; }

  .hero { min-height: 800px; }
  .hero__float { width: 500px; }
  .hero__float img { height: 620px; }
  .hero__content { left: calc(var(--hero-gutter) + 500px + var(--space-5) - 180px); }
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold   { color: var(--color-secondary); font-style: italic; font-weight: 500; }
.text-center { text-align: center; }
.mt-auto     { margin-top: auto; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* honeypot */
.hp-field { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-in { opacity: 1; transform: none; }
}
