/* ============================================================
   style.css – Anna Juranová | Design System
   Bílé pozadí + akvarelové skvrny #a61f4d a #d4af37
   ============================================================ */

/* ---- 1. DESIGN TOKENS ----------------------------------- */
:root {
  /* Brand colours */
  --c-primary:          #a61f4d;
  --c-primary-light:    #c4315f;
  --c-primary-pale:     rgba(166, 31, 77, 0.08);
  --c-secondary:        #d4af37;
  --c-secondary-light:  #e5c84e;
  --c-secondary-pale:   rgba(212, 175, 55, 0.10);
  --c-bg:               #ffffff;
  --c-bg-tint:          #fdf9f5;
  --c-text:             #1a1a1a;
  --c-muted:            #6b6b6b;
  --c-border:           rgba(166, 31, 77, 0.10);

  /* Gradients */
  --g-brand:   linear-gradient(135deg, var(--c-primary) 0%, #8f1840 100%);
  --g-gold:    linear-gradient(135deg, var(--c-secondary) 0%, #b89520 100%);
  --g-brand-h: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-primary) 100%);

  /* Spacing (8 px grid) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* Typography */
  --font:        'Outfit', sans-serif;
  --font-script: 'Kalam', cursive;
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.125rem;
  --text-lg:    1.25rem;
  --h6: clamp(1rem,     2vw,   1.25rem);
  --h5: clamp(1.125rem, 2.5vw, 1.5rem);
  --h4: clamp(1.25rem,  3vw,   1.75rem);
  --h3: clamp(1.5rem,   3.5vw, 2rem);
  --h2: clamp(2rem,     5vw,   3rem);
  --h1: clamp(2.75rem,  7vw,   5rem);

  /* Radius */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   40px;
  --r-full: 999px;

  /* Shadows (very subtle as required) */
  --shadow-sm: 0 2px 8px  rgba(0,0,0,.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.11);
  --shadow-brand: 0 8px 32px rgba(166,31,77,.18);

  /* Layout */
  --container-max: 1200px;
  --container-w:   85%;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.3s;
}

/* ---- 2. RESET & BASE ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  hyphens: auto;
}
img, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); border: none; background: none; cursor: pointer; }

/* ---- 3. CONTAINER --------------------------------------- */
.container {
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-block: var(--sp-7);
}

/* ---- 3b. ACCESSIBILITY UTILITIES -------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- 4. SECTION HELPERS --------------------------------- */
.section { position: relative; }

.section-header { text-align: center; margin-bottom: var(--sp-7); }
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: var(--sp-3);
  position: relative;
}
.section-title {
  font-size: var(--h2);
  font-weight: 800;
  line-height: 1.12;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
}
.section-subtitle {
  font-size: var(--text-md);
  color: var(--c-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ---- 5. WATERCOLOR BACKGROUND BLOBS --------------------- */
/* Akvarelové skvrny přes celou stránku */
.watercolor-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wc-blob {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  opacity: 0;
  filter: blur(0px);
}

/* Watercolor effect using SVG filter + radial gradient */
.wc-blob--1 {
  width: 380px; height: 340px;
  background: radial-gradient(ellipse at center,
    rgba(166, 31, 77, 0.18) 0%,
    rgba(166, 31, 77, 0.10) 45%,
    transparent 70%);
  top: 8%; left: -4%;
  border-radius: 62% 38% 44% 56% / 52% 64% 36% 48%;
  opacity: 1;
  animation: wcFloat1 20s ease-in-out infinite alternate;
}
.wc-blob--2 {
  width: 460px; height: 400px;
  background: radial-gradient(ellipse at center,
    rgba(212, 175, 55, 0.16) 0%,
    rgba(212, 175, 55, 0.09) 50%,
    transparent 70%);
  top: 5%; right: -6%;
  border-radius: 42% 58% 66% 34% / 56% 40% 60% 44%;
  opacity: 1;
  animation: wcFloat2 24s ease-in-out infinite alternate;
}
.wc-blob--3 {
  width: 320px; height: 300px;
  background: radial-gradient(ellipse at center,
    rgba(166, 31, 77, 0.14) 0%,
    rgba(166, 31, 77, 0.08) 50%,
    transparent 70%);
  top: 38%; right: 5%;
  border-radius: 55% 45% 38% 62% / 46% 58% 42% 54%;
  opacity: 1;
  animation: wcFloat3 18s ease-in-out infinite alternate;
}
.wc-blob--4 {
  width: 420px; height: 380px;
  background: radial-gradient(ellipse at center,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    transparent 70%);
  top: 55%; left: -3%;
  border-radius: 48% 52% 60% 40% / 54% 44% 56% 46%;
  opacity: 1;
  animation: wcFloat4 22s ease-in-out infinite alternate;
}
.wc-blob--5 {
  width: 300px; height: 280px;
  background: radial-gradient(ellipse at center,
    rgba(166, 31, 77, 0.13) 0%,
    rgba(166, 31, 77, 0.07) 50%,
    transparent 70%);
  top: 72%; right: 8%;
  border-radius: 60% 40% 48% 52% / 44% 62% 38% 56%;
  opacity: 1;
  animation: wcFloat5 26s ease-in-out infinite alternate;
}
.wc-blob--6 {
  width: 350px; height: 310px;
  background: radial-gradient(ellipse at center,
    rgba(212, 175, 55, 0.14) 0%,
    rgba(212, 175, 55, 0.08) 50%,
    transparent 70%);
  top: 88%; left: 30%;
  border-radius: 52% 48% 42% 58% / 60% 38% 62% 40%;
  opacity: 1;
  animation: wcFloat6 28s ease-in-out infinite alternate;
}

@keyframes wcFloat1 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(30px, 20px) scale(1.08) rotate(5deg); }
}
@keyframes wcFloat2 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(-25px, 35px) scale(1.1) rotate(-4deg); }
}
@keyframes wcFloat3 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(-20px, -28px) scale(1.06) rotate(6deg); }
}
@keyframes wcFloat4 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(35px, -20px) scale(1.09) rotate(-5deg); }
}
@keyframes wcFloat5 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(-30px, 25px) scale(1.07) rotate(4deg); }
}
@keyframes wcFloat6 {
  0%   { transform: translate(0, 0) scale(1)     rotate(0deg); }
  100% { transform: translate(20px, -30px) scale(1.05) rotate(-6deg); }
}

/* Všechen obsah nad pozadím */
body > *:not(.watercolor-bg):not(.cookie-bar):not(.cookie-modal):not(.floating-cta):not(.calendly-overlay):not(.navbar) { position: relative; z-index: 1; }

/* ---- 6. SCROLL REVEAL ----------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---- 7. BUTTONS ----------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8rem 1.9rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Expanding CTA – ripple efekt */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  border-radius: inherit;
}
.btn:hover::after { transform: scaleX(1); }

/* Primary CTA */
.btn--cta {
  background: var(--g-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(166,31,77,0.28);
}
.btn--cta:focus-visible {
  outline: 3px solid var(--c-secondary);
  outline-offset: 3px;
}

/* Ghost (border) */
.btn--ghost {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
}
.btn--ghost:hover {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

/* Outline gold */
.btn--outline {
  background: transparent;
  color: var(--c-secondary);
  border: 2px solid var(--c-secondary);
}
.btn--outline:hover { background: var(--c-secondary); color: #fff; }

.btn--full { width: 100%; justify-content: center; }
.btn--sm   { padding: 0.5rem 1.2rem; font-size: var(--text-sm); }

/* Expanding arrow */
.btn--expand .btn__arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn--expand:hover .btn__arrow { transform: translateX(6px); }

/* Vlnky větru u "Chci volněji dýchat" */
.btn__wind-line { transform-origin: left center; }
.btn--expand:hover .btn__wind-line--1 { animation: windGust 0.9s ease-in-out infinite; }
.btn--expand:hover .btn__wind-line--2 { animation: windGust 0.9s ease-in-out infinite 0.15s; }
@keyframes windGust {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50%      { transform: translateX(3px); opacity: 0.65; }
}

/* Kávová ikonka u "Domluvit online kávičku" */
.btn__coffee { width: 20px; height: 20px; }
.btn__coffee svg { width: 100%; height: 100%; }
.btn--expand:hover .btn__coffee { transform: none; }

.btn__mail { width: 20px; height: 20px; }
.btn__mail svg { width: 100%; height: 100%; }
.btn--expand:hover .btn__mail { transform: none; }

/* Drobné ikonky v textu (náhrada emoji) */
.text-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  margin: 0 0.05em;
}
.text-icon svg { width: 100%; height: 100%; }
.btn--expand:hover .btn__steam--1 { animation: steamWiggle 0.9s ease-in-out infinite; }
.btn--expand:hover .btn__steam--2 { animation: steamWiggle 0.9s ease-in-out infinite 0.15s; }
.btn--expand:hover .btn__steam--3 { animation: steamWiggle 0.9s ease-in-out infinite 0.3s; }

/* ---- 8. NAVBAR ------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--sp-4) 0;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              padding var(--dur) var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  padding: var(--sp-3) 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
}
.navbar__logo {
  display: inline-flex;
  align-items: center;
  transition: opacity var(--dur) var(--ease);
}
.navbar__logo:hover { opacity: 0.85; }
.navbar__logo-text {
  display: flex;
  line-height: 1;
  padding: 6px 12px;
}
.navbar__logo-name {
  position: relative;
  font-family: var(--font-script);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  padding-bottom: 5px;
}
.navbar__logo-name::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 5%;
  bottom: -1px;
  height: 2px;
  background: var(--c-secondary);
  border-radius: 2px;
  transform: rotate(-1.5deg);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.navbar__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-text);
  position: relative;
  transition: color var(--dur) var(--ease);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  border-radius: var(--r-full);
}
.navbar__link:hover::after { transform: scaleX(1); }
.navbar__link:hover { color: var(--c-primary); }

.navbar__link--cta {
  background: var(--g-brand);
  color: #fff !important;
  padding: 0.4rem 1.2rem;
  border-radius: var(--r-full);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar__link--cta::after { display: none; }
.navbar__link--cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(166,31,77,0.3);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-2);
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---- 9. HERO -------------------------------------------- */
.hero {
  min-height: min(100vh, 880px);
  padding-top: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Lokální akvarelové skvrny v hero */
.hero__watercolor {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.hero__watercolor--1 {
  width: 600px; height: 500px;
  background: radial-gradient(ellipse at 30% 40%,
    rgba(166, 31, 77, 0.22) 0%,
    rgba(166, 31, 77, 0.10) 50%,
    transparent 70%);
  top: -10%; left: -8%;
  animation: wcFloat1 18s ease-in-out infinite alternate;
}
.hero__watercolor--2 {
  width: 550px; height: 480px;
  background: radial-gradient(ellipse at 60% 40%,
    rgba(212, 175, 55, 0.20) 0%,
    rgba(212, 175, 55, 0.09) 50%,
    transparent 70%);
  bottom: -5%; right: -5%;
  animation: wcFloat2 22s ease-in-out infinite alternate;
}

.hero__inner {
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  padding: var(--sp-9) 0 var(--sp-4);
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  min-width: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 0.6rem 1.4rem;
  max-width: 100%;
  border: 2px solid var(--c-primary);
  border-radius: var(--r-full);
}

.hero__title {
  font-size: var(--h1);
  font-weight: 900;
  line-height: 1.06;
  color: var(--c-text);
  letter-spacing: -0.03em;
  align-self: stretch;
}
.hero__title-accent {
  color: var(--c-primary);
  position: relative;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--g-gold);
  border-radius: var(--r-full);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 0.8s 1.2s var(--ease) forwards;
}
@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-muted);
  max-width: 520px;
  line-height: 1.75;
}

/* Hero visual – image mask */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-frame {
  position: relative;
  width: 420px;
  max-width: 100%;
}

.hero__photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 70% 25%;
  /* Image mask – organický tvar */
  clip-path: polygon(
    8% 0%, 92% 2%,
    100% 10%, 98% 88%,
    92% 100%, 8% 98%,
    0% 90%, 2% 12%
  );
  border-radius: var(--r-xl);
  transition: clip-path 0.8s var(--ease);
}
.hero__photo:hover {
  clip-path: polygon(
    4% 0%, 96% 0%,
    100% 4%, 100% 96%,
    96% 100%, 4% 100%,
    0% 96%, 0% 4%
  );
}

.hero__deco-ring {
  position: absolute;
  inset: -16px;
  border: 2px solid var(--c-secondary);
  border-radius: var(--r-xl);
  opacity: 0.35;
  animation: decoRing 8s ease-in-out infinite alternate;
}
@keyframes decoRing {
  0%   { transform: rotate(-2deg) scale(1); }
  100% { transform: rotate(2deg) scale(1.02); }
}

.hero__deco-dot {
  position: absolute;
  border-radius: 50%;
}
.hero__deco-dot--1 {
  width: 18px; height: 18px;
  background: var(--g-gold);
  top: -8px; right: 20px;
  animation: floatDot 4s ease-in-out infinite alternate;
}
.hero__deco-dot--2 {
  width: 12px; height: 12px;
  background: var(--c-primary);
  bottom: 20px; left: -6px;
  opacity: 0.6;
  animation: floatDot 5s ease-in-out infinite alternate-reverse;
}
@keyframes floatDot {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ---- 10. INTRO CARDS ------------------------------------- */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.intro-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.intro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--g-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.intro-card:hover::before { transform: scaleY(1); }
.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.intro-card__icon-wrap {
  width: 60px; height: 60px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: linear-gradient(135deg,
    rgba(166,31,77,.06),
    rgba(212,175,55,.08));
}
.lottie-icon,
.intro-card__icon-wrap svg {
  width: 36px; height: 36px;
}

.intro-card__title {
  font-size: var(--h5);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.intro-card__text { color: var(--c-muted); font-size: var(--text-base); line-height: 1.7; }

/* ---- 11. HELP CARDS ------------------------------------- */
.help__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.help-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.help-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--g-brand-h);
}
.help-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.help-card__body {
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.help-card__title {
  font-size: var(--h4);
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1.2;
}
.help-card__text { color: var(--c-muted); line-height: 1.7; }

/* ---- 12. STORY ------------------------------------------ */
.story__layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-9);
  align-items: center;
}

.story__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}

/* Image mask – čtvercová fotka v bílém rámečku (stejný rámeček pro obě fotky) */
.story__image-mask {
  width: 380px;
  max-width: 100%;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 14px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.story__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 60%;
  border-radius: calc(var(--r-lg) - 6px);
  transition: transform 0.4s var(--ease);
}
.story__photo:hover {
  transform: scale(1.03);
}
.story__image-mask:not(.story__image-mask--sm) .story__photo {
  object-position: center 72%;
}

/* Druhá fotka – pod první, podobně velká, mírně natočená a posunutá stranou */
.story__image-mask--sm {
  width: 340px;
  align-self: flex-end;
  margin: 0 15px 0 0;
  z-index: 2;
  padding: 12px;
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}
.story__image-mask--sm:hover {
  transform: rotate(0deg) scale(1.03);
}

.story__deco-blob {
  position: absolute;
  width: 340px; height: 380px;
  background: radial-gradient(ellipse at center,
    rgba(212, 175, 55, 0.26) 0%,
    rgba(212, 175, 55, 0.10) 50%,
    transparent 70%);
  border-radius: 55% 45% 48% 52% / 50% 56% 44% 50%;
  top: -20px; left: -20px;
  z-index: 0;
  animation: wcFloat3 16s ease-in-out infinite alternate;
}

.story__deco-quote {
  position: absolute;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: var(--c-secondary);
  opacity: 0.12;
  top: -30px;
  left: -20px;
  line-height: 1;
  z-index: 0;
  user-select: none;
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  min-width: 0;
}
.story__text > .btn { align-self: flex-start; margin-top: var(--sp-4); }
.story__text p {
  font-size: var(--text-md);
  line-height: 1.8;
  color: var(--c-text);
}
.story__highlight {
  color: #a61f4d;
  font-weight: 700;
}
.story__divider {
  align-self: stretch;
  border: none;
  border-top: 1px solid var(--c-border);
  margin: var(--sp-2) 0;
}
.story__ps { color: var(--c-muted); font-size: var(--text-sm); }

/* ---- 13. TIMELINE --------------------------------------- */
.timeline {
  position: relative;
  padding: var(--sp-5) 0;
}

/* Svislá linie uprostřed – začíná/končí přesně u první/poslední ikony (viz script.js) */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: var(--timeline-line-top, 32px);
  bottom: var(--timeline-line-bottom, 32px);
  width: 2px;
  background: linear-gradient(to bottom,
    var(--c-primary),
    var(--c-secondary),
    var(--c-primary));
  transform: translateX(-50%);
  border-radius: var(--r-full);
}

.timeline__item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.timeline__item:last-child { margin-bottom: 0; }

.timeline__item--left .timeline__card    { order: 1; }
.timeline__item--left .timeline__dot     { order: 2; }
.timeline__item--left .timeline__spacer  { order: 3; }

.timeline__item--right .timeline__spacer { order: 1; }
.timeline__item--right .timeline__dot    { order: 2; }
.timeline__item--right .timeline__card   { order: 3; }

/* Na desktopu/tabletu se obal na ikonku vizuálně "ztrácí" – ikonka je
   přímo grid-itemem, přesně jako předtím. Na mobilu ho níže znovu zapneme. */
.timeline__dot-col { display: contents; }

.timeline__dot {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--g-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 0 8px rgba(166,31,77,0.10), var(--shadow-brand);
  z-index: 1;
  flex-shrink: 0;
  justify-self: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.timeline__item:hover .timeline__dot {
  transform: scale(1.1);
  box-shadow: 0 0 0 12px rgba(166,31,77,0.12), var(--shadow-brand);
}

.timeline__card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.timeline__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}

.timeline__card-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
}
.timeline__card-icon img {
  width: 36px; height: 36px;
  object-fit: contain;
}

.timeline__card-title {
  font-size: var(--h5);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
}
.timeline__card-text { color: var(--c-muted); font-size: var(--text-base); line-height: 1.7; }

/* ---- 13b. OSVĚDČENÍ --------------------------------------- */
.certificate {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.certificate img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-lg) - 8px);
}

/* ---- 14. TESTIMONIAL ------------------------------------ */
.testimonial__card {
  max-width: 860px;
  margin-inline: auto;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.testimonial__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--g-brand);
}

.testimonial__quote-mark {
  font-size: 9rem;
  line-height: 0.65;
  color: var(--c-secondary);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-6);
  user-select: none;
}

.testimonial__text {
  font-size: var(--text-md);
  color: var(--c-text);
  font-style: italic;
  line-height: 1.9;
  position: relative;
  z-index: 1;
  padding-top: var(--sp-5);
}
.testimonial__text p + p { margin-top: var(--sp-4); }

.testimonial__author {
  margin-top: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial__author strong {
  display: block;
  color: var(--c-primary);
  font-size: var(--text-base);
  font-weight: 700;
}
.testimonial__author span {
  display: block;
  color: var(--c-muted);
  font-size: var(--text-sm);
}

.testimonial__cta {
  margin-top: var(--sp-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.testimonial__cta--mt-9 { margin-top: var(--sp-6); }
.testimonial__cta p {
  font-size: var(--text-md);
  color: var(--c-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- 15. FAQ -------------------------------------------- */
.faq-group + .faq-group { margin-top: var(--sp-6); }

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

.faq__col {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-2) var(--sp-6);
}

.faq__group-title {
  font-size: var(--h5);
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--c-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-2);
}

.accordion-item {
  border-bottom: 1px solid var(--c-border);
  transition: background var(--dur) var(--ease);
}
.accordion-item:last-child { border-bottom: none; }

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-4) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  gap: var(--sp-3);
  background: none;
  text-align: left;
  transition: color var(--dur) var(--ease);
}
.accordion-header:hover { color: var(--c-primary); }

.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--dur) var(--ease);
}
.accordion-header[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.accordion-header[aria-expanded="true"] { color: var(--c-primary); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.accordion-body.open {
  max-height: 700px;
  padding-bottom: var(--sp-4);
}
.accordion-body p {
  color: var(--c-muted);
  line-height: 1.75;
  font-size: var(--text-base);
}
.accordion-body p a { color: var(--c-primary); text-decoration: underline; }
.accordion-body ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.accordion-body li {
  position: relative;
  padding-left: 1.5em;
  color: var(--c-muted);
  line-height: 1.6;
  font-size: var(--text-base);
}
.accordion-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-weight: 800;
}
.accordion-body .cross-list li::before {
  content: '✕';
  color: var(--c-muted);
}

/* ---- 16. CONTACT ---------------------------------------- */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.contact__info > p,
.contact__info em {
  color: var(--c-muted);
  font-size: var(--text-md);
  line-height: 1.75;
}
.contact__info em { display: block; }

.contact__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

/* Karta s kontaktními údaji – vyvážená s kartou formuláře */
.contact__info--card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  gap: var(--sp-5);
}
.contact__info-title {
  font-size: var(--h5);
  font-weight: 800;
  color: var(--c-primary);
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.contact-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(166,31,77,.08), rgba(212,175,55,.12));
}
.contact-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-item__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-item__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.5;
}
a.contact-item__value--link {
  color: var(--c-primary);
  transition: color var(--dur) var(--ease);
}
a.contact-item__value--link:hover { text-decoration: underline; }

p.contact__legal {
  color: var(--c-muted);
  font-size: 0.8rem;
  line-height: 1.6;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.contact__link:hover {
  color: var(--c-primary);
  transform: translateX(4px);
}
.contact__link-icon {
  display: flex;
  align-items: center;
  color: var(--c-primary);
}

/* Contact Form */
.contact-form {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--c-text);
  background: rgba(255,255,255,0.8);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
  appearance: none;
}
.form-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(166,31,77,0.10);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-honeypot { display: none !important; }

.contact-form__intro {
  color: var(--c-muted);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-top: calc(var(--sp-3) * -1);
}
.form-req { color: var(--c-primary); }
.contact-form__note {
  font-size: var(--text-xs);
  color: var(--c-muted);
  text-align: center;
  line-height: 1.6;
}
.contact-form__note a {
  color: var(--c-primary);
  text-decoration: underline;
}
.contact-form__error {
  font-size: var(--text-sm);
  color: var(--c-primary);
  background: rgba(166, 31, 77, 0.08);
  border: 1px solid rgba(166, 31, 77, 0.25);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  line-height: 1.6;
}
.contact-form__error a { color: var(--c-primary); text-decoration: underline; }
.contact-form__success {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  text-align: center;
  align-items: center;
  justify-content: center;
}
.contact-form.hidden,
.contact-form__error.hidden,
.contact-form__success.hidden { display: none; }

/* ---- 17. FOOTER ----------------------------------------- */
.footer {
  position: relative;
  background: var(--c-bg-tint);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
  overflow: hidden;
}

.footer__watercolor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.footer__wc-blob {
  position: absolute;
  border-radius: 50%;
}
.footer__wc-blob--1 {
  width: 400px; height: 350px;
  background: radial-gradient(ellipse at center,
    rgba(166, 31, 77, 0.14) 0%,
    transparent 65%);
  top: -80px; left: -80px;
}
.footer__wc-blob--2 {
  width: 360px; height: 320px;
  background: radial-gradient(ellipse at center,
    rgba(212, 175, 55, 0.12) 0%,
    transparent 65%);
  bottom: -60px; right: -40px;
}

.footer > .container {
  padding-block: var(--sp-8);
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-7);
}

.footer__cta-text {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}

.footer__logo {
  position: relative;
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--c-primary);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: var(--sp-3);
}
.footer__logo::after {
  content: '';
  position: absolute;
  left: 2%;
  right: 5%;
  bottom: 3px;
  height: 2px;
  background: var(--c-secondary);
  border-radius: 2px;
  transform: rotate(-1.5deg);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--c-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}
.footer__legal {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.footer__legal p {
  font-size: var(--text-xs);
  color: var(--c-muted);
  opacity: 0.8;
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
}
.footer__heading--social { margin-top: var(--sp-5); }

.footer__nav { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__link {
  font-size: var(--text-sm);
  color: var(--c-muted);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: inline-block;
}
.footer__link:hover {
  color: var(--c-primary);
  transform: translateX(4px);
}
.footer__link--contact {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  color: var(--c-text);
}
.footer__link-icon {
  display: flex;
  flex-shrink: 0;
  color: var(--c-primary);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-primary);
  transition: color var(--dur) var(--ease);
}
.footer__social-link:hover { color: var(--c-secondary); }

.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer__bottom p { font-size: var(--text-xs); color: var(--c-muted); }
.footer__bottom-links { display: flex; align-items: center; gap: var(--sp-5); }
.footer__partner-badge { display: block; flex-shrink: 0; transition: opacity var(--dur) var(--ease); }
.footer__partner-badge:hover { opacity: 0.8; }
.footer__partner-badge img { width: 140px; height: auto; display: block; }

/* ---- 17b. PLOVOUCÍ TLAČÍTKO ------------------------------ */
body > .floating-cta {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 1200;
}
.floating-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.85rem 1.6rem;
  background: var(--g-brand);
  color: #fff;
  font-weight: 800;
  font-size: var(--text-sm);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-brand);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.floating-cta:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 36px rgba(166,31,77,0.28);
}
.floating-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  transform: translateY(-2px);
}
.floating-cta__icon svg { width: 100%; height: 100%; }
.floating-cta__steam { transform-origin: center; }
.floating-cta:hover .floating-cta__steam--1 { animation: steamWiggle 0.9s ease-in-out infinite; }
.floating-cta:hover .floating-cta__steam--2 { animation: steamWiggle 0.9s ease-in-out infinite 0.15s; }
.floating-cta:hover .floating-cta__steam--3 { animation: steamWiggle 0.9s ease-in-out infinite 0.3s; }
@keyframes steamWiggle {
  0%, 100% { transform: translateY(0) scaleY(1); }
  50%      { transform: translateY(-2px) scaleY(1.15); }
}

/* ---- 18. COOKIE BAR ------------------------------------- */
.cookie-bar {
  position: fixed;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(720px, calc(100% - 2 * var(--sp-5)));
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--c-border);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.cookie-bar.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(16px);
}

.cookie-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  flex-wrap: wrap;
}
.cookie-bar__icon { flex-shrink: 0; display: flex; align-items: center; }
.cookie-bar__icon svg { width: 48px; height: 48px; }
.cookie-bar__text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--c-muted);
  min-width: 200px;
}
.cookie-bar__text a { color: var(--c-primary); text-decoration: underline; }
.cookie-bar__btns {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* ---- 18a. COOKIE SETTINGS MODAL --------------------------- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.cookie-modal.hidden { display: none; }
.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  backdrop-filter: blur(2px);
}
.cookie-modal__box {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6);
}
.cookie-modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cookie-modal__close:hover { background: var(--c-bg-tint); color: var(--c-primary); }
.cookie-modal__intro {
  font-size: var(--text-base);
  color: var(--c-text);
  margin: 0 var(--sp-6) var(--sp-5) 0;
}
.cookie-modal__item {
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--c-border);
}
.cookie-modal__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}
.cookie-modal__item-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--c-text);
  margin: 0;
}
.cookie-modal__always {
  flex-shrink: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-bg-tint);
  padding: var(--sp-1) var(--sp-3);
  border-radius: 999px;
  white-space: nowrap;
}
.cookie-modal__item-text {
  font-size: var(--text-sm);
  color: var(--c-muted);
  margin: 0;
}
.cookie-modal__switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
}
.cookie-modal__switch-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.cookie-modal__switch-track {
  position: absolute;
  inset: 0;
  background: var(--c-border);
  border-radius: 999px;
  transition: background var(--dur) var(--ease);
}
.cookie-modal__switch-track::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease);
}
.cookie-modal__switch-input:checked + .cookie-modal__switch-track { background: var(--c-primary); }
.cookie-modal__switch-input:checked + .cookie-modal__switch-track::before { transform: translateX(20px); }
.cookie-modal__switch-input:focus-visible + .cookie-modal__switch-track { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.cookie-modal__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
}
.cookie-modal__actions .btn { flex: 1; min-width: 140px; justify-content: center; }

/* ---- 18b. NAV ACTIVE STATE ------------------------------- */
.navbar__link[aria-current="page"] { color: var(--c-primary); }
.navbar__link[aria-current="page"]::after { transform: scaleX(1); }
.footer__link[aria-current="page"] { color: var(--c-secondary); }

/* ---- 18c0. TOP OFFSET pro stránky bez hero ----------------- */
.section--top-offset > .container { padding-top: 150px; }

/* ---- 18c1. LEGAL CONTENT (GDPR apod.) ---------------------- */
.legal-content { max-width: 780px; margin-inline: auto; }
.legal-updated { font-size: var(--text-sm); color: var(--c-muted); margin-bottom: var(--sp-7); }
.legal-content p { line-height: 1.75; color: var(--c-muted); margin-bottom: var(--sp-4); }
.legal-content h2 {
  font-size: var(--h5);
  font-weight: 800;
  color: var(--c-primary);
  margin: var(--sp-8) 0 var(--sp-3);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--c-text);
  margin: var(--sp-5) 0 var(--sp-2);
}
.legal-content ul { margin: 0 0 var(--sp-4); padding-left: var(--sp-5); }
.legal-content li { line-height: 1.7; color: var(--c-muted); margin-bottom: var(--sp-2); }
.legal-content a { color: var(--c-primary); text-decoration: underline; }
.legal-content strong { color: var(--c-text); }

/* ---- 18c. PAGE HEADER (vnitřní stránky) ------------------- */
.page-header {
  padding: 150px 0 var(--sp-7);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  width: var(--container-w);
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--sp-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-header__inner--reverse { grid-template-columns: 0.85fr 1.15fr; }
.page-header__content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); min-width: 0; }
.page-header__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--c-text);
  letter-spacing: -0.02em;
  align-self: stretch;
}
.page-header__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 560px;
}
.page-header__note {
  display: block;
  color: var(--c-muted);
  font-size: var(--text-md);
  line-height: 1.75;
}
.page-header__visual { position: relative; }
.page-header__visual--sm { max-width: 380px; margin-inline: auto; }
.page-header__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
}
.page-header__image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  clip-path: polygon(
    8% 0%, 92% 2%,
    100% 10%, 98% 88%,
    92% 100%, 8% 98%,
    0% 90%, 2% 12%
  );
  filter: drop-shadow(0 20px 40px rgba(166,31,77,0.15));
  transition: clip-path 0.8s var(--ease);
}
.page-header__image-wrap img:hover {
  clip-path: polygon(
    4% 0%, 96% 0%,
    100% 4%, 100% 96%,
    96% 100%, 4% 100%,
    0% 96%, 0% 4%
  );
}
/* Kontakt (obrácený layout) – posun výřezu níž, ať jsou vidět nohy */
.page-header__inner--reverse .page-header__image-wrap img {
  object-position: center 45%;
}

/* ---- 18d. NOTE BOX (vysvětlivky, kurzíva) ----------------- */
.note-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.note-box--mt-6 { margin-top: var(--sp-6); }
.note-box--mt-7 { margin-top: var(--sp-7); }
.note-box__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(166,31,77,.08), rgba(212,175,55,.12));
}
.note-box__icon svg { width: 20px; height: 20px; }
.note-box__text { font-style: italic; color: var(--c-muted); line-height: 1.75; font-size: var(--text-base); }

/* ---- 18e. SERVICE CARDS (Virtuální asistentka) ------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.service-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__title { font-size: var(--h5); font-weight: 800; color: var(--c-primary); margin-bottom: var(--sp-2); line-height: 1.25; }
.service-card__tagline { font-style: italic; color: var(--c-muted); margin-bottom: var(--sp-4); line-height: 1.65; font-size: var(--text-sm); }
.service-card__list { display: flex; flex-direction: column; gap: var(--sp-2); }
.service-card__list li {
  position: relative;
  padding-left: 1.5em;
  color: var(--c-text);
  line-height: 1.6;
  font-size: var(--text-sm);
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-secondary);
  font-weight: 700;
}

/* ---- 18f. PRICING GRID (Ceník – balíčky VA) --------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-5);
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(166,31,77,.08), rgba(212,175,55,.12));
}
.pricing-card__name { font-size: var(--text-sm); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-primary); }
.pricing-card__hours-num { font-size: var(--h3); font-weight: 900; color: var(--c-text); line-height: 1; }
.pricing-card__hours-label { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); margin-top: -8px; }
.pricing-card__tagline { font-size: var(--text-sm); color: var(--c-muted); line-height: 1.6; }
.pricing-card__divider { width: 36px; height: 2px; background: var(--c-secondary); border-radius: var(--r-full); }
.pricing-card__price { font-size: var(--h5); font-weight: 800; color: var(--c-primary); }

.pricing-notes { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-6); }
.pricing-notes--mt-7 { margin-top: var(--sp-7); }
.pricing-notes li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--text-sm); color: var(--c-muted); line-height: 1.6; }
.pricing-notes__icon { flex-shrink: 0; }

/* ---- 18g. FIT CHECK LISTS (Tvorba webu – pro koho) -------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); margin-top: var(--sp-6); }
.fit-col { background: rgba(255,255,255,0.85); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-6); }
.fit-col__title { font-size: var(--h6); font-weight: 800; margin-bottom: var(--sp-4); color: var(--c-primary); }
.fit-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.fit-list li { position: relative; padding-left: 1.6em; line-height: 1.6; color: var(--c-text); }
.fit-col--yes .fit-list li::before { content: '✓'; position: absolute; left: 0; color: var(--c-primary); font-weight: 800; }
.fit-col--no .fit-list li::before { content: '✕'; position: absolute; left: 0; color: var(--c-muted); font-weight: 800; }

/* ---- 18h. PLAN CARDS (Ceník – Tvorba webu) ----------------- */
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.plan-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.plan-card .pricing-card__icon { margin-inline: auto; }
.plan-card__name { font-size: var(--h4); font-weight: 800; color: var(--c-primary); text-align: center; }
.plan-card__price { font-size: var(--h3); font-weight: 900; color: var(--c-text); margin-bottom: var(--sp-3); text-align: center; }
.plan-card__tagline { font-size: var(--text-sm); color: var(--c-muted); line-height: 1.6; text-align: center; }
.plan-card__price + .accordion-item { border-top: 1px solid var(--c-border); margin-top: var(--sp-2); }

/* ---- 18i. PORTFOLIO PLACEHOLDER --------------------------- */
.portfolio-placeholder {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.portfolio-placeholder p { color: var(--c-muted); font-size: var(--text-base); line-height: 1.7; }

/* Animovaný notebook – stránka, která postupně "vzniká" */
.portfolio-anim { width: 100%; max-width: 300px; }
.portfolio-anim svg { width: 100%; height: auto; }

.pf-block {
  opacity: 0;
  transform-origin: left center;
  animation: pfBuild 4.5s var(--ease) infinite;
}
.pf-block--1 { animation-delay: 0s; }
.pf-block--2 { animation-delay: 0.35s; }
.pf-block--3 { animation-delay: 0.7s; }
.pf-block--4 { animation-delay: 1.05s; }

@keyframes pfBuild {
  0%, 100% { opacity: 0; transform: scaleX(0.6); }
  12%, 78% { opacity: 1; transform: scaleX(1); }
  92% { opacity: 0; transform: scaleX(0.6); }
}

.pf-cursor {
  animation: pfBlink 1s steps(1) infinite;
}
@keyframes pfBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.pf-type-mask {
  animation: pfType 4.5s steps(14, end) infinite;
}
@keyframes pfType {
  0%   { width: 0; }
  28%  { width: 104px; }
  82%  { width: 104px; }
  94%  { width: 0; }
  100% { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pf-block { animation: none; opacity: 1; transform: none; }
  .pf-cursor { animation: none; }
  .pf-type-mask { animation: none; width: 104px; }
}

/* ---- 18k. 404 -------------------------------------------- */
.error-404 { padding-bottom: var(--sp-9); }
.error-404__content {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
}
.error-404__icon {
  font-size: 2.5rem;
  color: var(--c-primary);
  opacity: 0.85;
}

.error-404__anim { width: 100%; max-width: 320px; margin: 0 auto; }
.error-404__anim svg { width: 100%; height: auto; }

.h404-chair {
  transform-box: view-box;
  transform-origin: 75px 134px;
  animation: h404Swivel 4s ease-in-out infinite;
}
@keyframes h404Swivel {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

.h404-sign {
  transform-box: view-box;
  transform-origin: 160px 26px;
  animation: h404SignSway 3.4s ease-in-out infinite;
}
@keyframes h404SignSway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}

.h404-steam {
  animation: h404Steam 2s ease-in-out infinite;
}
.h404-steam--2 { animation-delay: 0.5s; }
@keyframes h404Steam {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .h404-chair, .h404-sign, .h404-steam { animation: none; }
  .h404-steam { opacity: 0.7; }
}
.error-404__title {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--c-text);
}
.error-404__text { color: var(--c-muted); font-size: var(--text-md); line-height: 1.75; }
.error-404__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; margin-top: var(--sp-3); }


/* ---- 19. RESPONSIVE – TABLET ----------------------------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { align-items: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__visual { order: -1; }
  .hero__image-frame { width: 320px; }
  .hero__photo { height: 380px; }

  .intro__grid { grid-template-columns: 1fr 1fr; }
  .help__grid  { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .story__layout { grid-template-columns: 1fr; gap: var(--sp-7); }
  .story__visual { order: -1; }
  .story__image-mask { width: 340px; }
  .story__image-mask--sm {
    width: 300px;
    margin: 0 12px 0 0;
  }
  .story__text { align-items: center; text-align: center; }
  .story__text .section-eyebrow { margin-inline: auto; }
  .story__text p { text-align: left; }

  .timeline__item { grid-template-columns: 1fr 56px 1fr; gap: var(--sp-3); }

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

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > .footer__col:first-child { grid-column: 1 / -1; }

  .page-header { padding-top: 130px; }
  .page-header__inner { grid-template-columns: 1fr; text-align: center; }
  .page-header__content { align-items: center; }
  .page-header__subtitle { margin-inline: auto; }
  .page-header__visual { order: -1; max-width: 320px; margin-inline: auto; width: 100%; }
  .page-header__note { font-size: var(--text-sm); }
  .section-subtitle { font-size: var(--text-sm); }

  .services-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

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

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

  .plans-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ---- 20. RESPONSIVE – MOBILE ----------------------------- */
@media (max-width: 640px) {
  :root {
    --container-w: 92%;
  }

  .container { padding-block: var(--sp-5); }

  .navbar__logo-name { font-size: 1.15rem; }
  .footer__logo { font-size: 1.1rem; }

  /* Když je menu otevřené, pozadí navigace (za logem) ať navazuje na panel pod ním */
  .navbar:has(.navbar__links.open) {
    background-color: var(--c-bg-tint);
    background-image: radial-gradient(ellipse 320px 240px at 100% 0%, rgba(166, 31, 77, 0.28) 0%, transparent 72%);
    background-repeat: no-repeat;
    box-shadow: none;
  }

  .navbar__links { display: none; flex-direction: column; gap: var(--sp-3); }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    background-color: var(--c-bg-tint);
    background-image:
      radial-gradient(ellipse 320px 240px at 100% 0%, rgba(166, 31, 77, 0.28) 0%, transparent 72%),
      radial-gradient(ellipse 280px 240px at 0% 100%, rgba(212, 175, 55, 0.26) 0%, transparent 72%);
    background-repeat: no-repeat;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 2000;
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  }
  .navbar__links.open li { display: block; }
  .navbar__links.open .navbar__link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--c-text);
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--c-border);
  }
  .navbar__links.open .navbar__link[aria-current="page"] {
    color: var(--c-primary);
  }
  .navbar__links.open .navbar__link--cta {
    text-align: left;
    border-bottom: none;
    border-radius: 0;
    padding: var(--sp-4) var(--sp-6);
    margin: 0;
  }
  .navbar__hamburger { display: flex; z-index: 2001; position: relative; }

  .hero { padding-top: 40px; }
  .hero__inner { padding: var(--sp-7) 0; gap: var(--sp-6); }
  .hero__image-frame { width: 280px; margin: 0 12px; }
  .hero__photo { height: 320px; }
  .hero__deco-ring { inset: -10px; }
  .hero__deco-dot--1 { width: 12px; height: 12px; top: -4px; right: 12px; }
  .hero__deco-dot--2 { width: 8px; height: 8px; bottom: 12px; left: -4px; }
  .hero__eyebrow { font-size: 0.65rem; letter-spacing: 0.1em; padding: 0.5rem 1.1rem; }

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

  /* Na mobilu ať oba sloupce otázek působí jako jedna karta, ne dvě oddělené */
  .faq__cols {
    grid-template-columns: 1fr;
    gap: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--sp-2) var(--sp-6);
  }
  .faq__col {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .testimonial__card { padding: var(--sp-5); }

  .contact-form { padding: var(--sp-5); }

  body > .floating-cta {
    bottom: var(--sp-4);
    right: var(--sp-4);
  }
  .floating-cta { padding: 0.8rem; }
  .floating-cta__text { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cookie-bar { bottom: var(--sp-3); width: calc(100% - 2 * var(--sp-3)); }
  .cookie-bar__inner { flex-direction: column; text-align: center; padding: var(--sp-3) var(--sp-4); gap: var(--sp-3); }
  .cookie-bar__icon svg { width: 38px; height: 38px; }
  .cookie-bar__text { font-size: var(--text-xs); min-width: 0; }
  .cookie-bar__btns { width: 100%; justify-content: center; flex-wrap: wrap; }
  .cookie-modal__box { padding: var(--sp-5) var(--sp-4); }
  .cookie-modal__actions .btn { min-width: 0; }

  /* Mobilní čára je čisté CSS, ikonka je vycentrovaná vůči kartě (align-items:
     center). Čára se skládá ze dvou procentuálních polovin vůči KAŽDÉ
     položce zvlášť – funguje to spolehlivě bez ohledu na výšku karty:
     – horní půlka: od vrcholu karty (0 %) ke středu ikonky (50 %)
     – dolní půlka: od středu ikonky (50 %) přes polovinu mezery za kartou */
  .timeline::before { display: none; }

  .timeline__item {
    position: relative;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: var(--sp-3);
  }
  /* Čára a tečky se kreslí na .timeline__item, takže musí být vidět hned –
     fade-in efekt při scrollu necháme jen na kartě samotné. */
  .timeline__item.reveal { opacity: 1; transform: none; }
  .timeline__item .timeline__card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .timeline__item.visible .timeline__card { opacity: 1; transform: none; }
  .timeline__item--left .timeline__dot-col,
  .timeline__item--right .timeline__dot-col {
    display: block;
    order: 1;
  }
  .timeline__item--left .timeline__card,
  .timeline__item--right .timeline__card { order: 2; }
  .timeline__item--left .timeline__spacer,
  .timeline__item--right .timeline__spacer { display: none; }

  .timeline__dot {
    width: 44px; height: 44px;
    font-size: 1rem;
  }
  .timeline__dot svg { width: 20px; height: 20px; }

  .timeline__item:not(:first-child)::before,
  .timeline__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    width: 2px;
    background: linear-gradient(to bottom, var(--c-primary), var(--c-secondary));
    transform: translateX(-50%);
    z-index: 0;
  }
  .timeline__item:not(:first-child)::before { top: 0; bottom: 50%; }
  .timeline__item:not(:last-child)::after { top: 50%; bottom: calc(var(--sp-7) * -1); }

  .page-header { padding-top: 90px; }
  .section--top-offset > .container { padding-top: 90px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonial__cta p { font-size: var(--text-sm); }
  .story__visual { gap: var(--sp-3); }
  .story__image-mask { width: 240px; }
  .story__image-mask--sm { width: 210px; margin: 0; align-self: center; transform: rotate(-2deg); }
}

/* ---- 21. WIDE SCREENS ----------------------------------- */
@media (min-width: 1600px) {
  :root {
    --container-max: 1400px;
  }
}
