/* ============================================================
   Online Terapeut — tmavý dizajn
   Hlboká tmavá (charcoal/forest) + zlatá & terakota akcenty
   Fraunces (nadpisy) + Inter (telo)
   ============================================================ */

:root {
  --bg: #0E1517;
  --bg-deep: #0A1113;
  --surface: #162123;
  --surface-2: #1B282B;
  --border: rgba(196, 162, 101, 0.16);
  --border-soft: rgba(232, 237, 234, 0.09);
  --text: #E9EFEC;
  --muted: #A3B0AB;
  --sage: #8FA88F;
  --gold: #C4A265;
  --gold-soft: #D8C49A;
  --terracotta: #C4704A;
  --terracotta-light: #D98B66;
  --terracotta-dark: #A85A38;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --white: #FFFFFF;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 22px 55px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 520px at 85% -8%, rgba(196, 162, 101, 0.07), transparent 60%),
    radial-gradient(900px 480px at -8% 32%, rgba(143, 168, 143, 0.06), transparent 55%);
  background-attachment: fixed;
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 500;
  line-height: 1.18;
}

a {
  color: var(--terracotta-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold-soft); }

::selection { background: rgba(196, 162, 101, 0.35); color: var(--text); }

img { max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--radius-pill);
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  transition: all var(--transition);
}
.btn-terracotta {
  background: var(--terracotta);
  color: #fff;
  border: 2px solid var(--terracotta);
}
.btn-terracotta:hover, .btn-terracotta:focus {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(196, 112, 74, 0.4);
}
.btn-outline-forest {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(232, 237, 234, 0.4);
}
.btn-outline-forest:hover, .btn-outline-forest:focus {
  background: rgba(232, 237, 234, 0.1);
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border: 2px solid var(--whatsapp);
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
  background: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-header-cta { padding: 0.55rem 1.35rem; font-size: 0.92rem; white-space: nowrap; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  background: transparent;
  transition: all 0.4s ease;
}
#header.header-scrolled {
  background: rgba(10, 17, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
}
.logo { color: var(--text); }
.logo-mark { width: 38px; height: 38px; color: var(--terracotta-light); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.logo-subtitle { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.navbar .nav-menu { gap: 0.2rem; }
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  position: relative;
}
.navbar .nav-link:hover { color: var(--text); background: rgba(232, 237, 234, 0.06); }
.navbar .nav-link.active { color: var(--gold-soft); background: rgba(196, 162, 101, 0.14); font-weight: 600; }

.navbar-toggler {
  border: 0;
  background: transparent;
  font-size: 1.7rem;
  color: var(--text);
  padding: 0.2rem 0.4rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* Offcanvas (mobile menu) */
.offcanvas { background: var(--bg-deep); }
.offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas .logo-title { color: var(--text); }
.offcanvas .logo-subtitle { color: var(--muted); }
.offcanvas .nav-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
}
.offcanvas .nav-link.active { color: var(--gold-soft); background: rgba(196, 162, 101, 0.14); }
.offcanvas .btn-close { filter: invert(1) grayscale(1); opacity: 0.7; }
.offcanvas .btn-close:focus { box-shadow: none; }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
  background-color: var(--bg-deep);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 17, 19, 0.66) 0%, rgba(10, 17, 19, 0.82) 55%, rgba(10, 17, 19, 0.94) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-decor { position: absolute; pointer-events: none; color: rgba(196, 162, 101, 0.16); z-index: 1; }
.hero-decor.gestalt-big { width: 480px; height: 480px; top: -90px; right: -110px; }
.hero-decor.gestalt-left { width: 300px; height: 300px; bottom: -70px; left: -90px; color: rgba(143, 168, 143, 0.12); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.hero-eyebrow.justify-content-center::before { display: none; }

#hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  margin-bottom: 0.4rem;
}
#hero h1 .hero-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta-light);
  display: block;
  font-size: 0.72em;
  margin-top: 0.35rem;
}
#hero .hero-sub, #hero > .container p {
  font-size: 1.15rem;
  color: rgba(233, 239, 236, 0.82);
  max-width: 34rem;
  margin: 1.4rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: rgba(233, 239, 236, 0.85);
  font-weight: 500;
}
.hero-trust i { color: var(--gold); font-size: 1.15rem; }

.hero-photo-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.hero-photo-wrap .photo-blob {
  position: relative;
  z-index: 2;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-deep));
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 4.4;
}
.hero-photo-wrap .photo-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-wrap .photo-blob.arch {
  border-radius: 999px 999px 26px 26px / 999px 999px 26px 26px;
}
.hero-photo-wrap .gestalt-photo {
  position: absolute;
  inset: -28px;
  z-index: 1;
  color: rgba(196, 162, 101, 0.3);
  width: calc(100% + 56px);
  height: calc(100% + 56px);
}

/* ---------- Sections ---------- */
section { padding: 5.5rem 0; position: relative; }
.section-soft { background: var(--bg-deep); }

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.2rem;
}
.section-title h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin: 0 0 0.8rem;
}
.section-title p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* ---------- Cards (služby / hodnoty / recenzie) ---------- */
.service-card,
.value-card,
.review-card,
.price-card,
.contact-card,
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before,
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover, .value-card:hover, .review-card:hover,
.price-card:hover, .contact-card:hover, .blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: var(--shadow-lift);
}
.service-card:hover::before, .blog-card:hover::before { opacity: 1; }

.service-card { padding: 2rem 1.7rem; height: 100%; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 162, 101, 0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.service-card h4 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* Steps */
.step-card { text-align: center; padding: 2.2rem 1.6rem; position: relative; height: 100%; }
.step-number {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: rgba(196, 162, 101, 0.14);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.step-card:nth-child(2) .step-number { background: rgba(143, 168, 143, 0.14); color: var(--sage); border-color: rgba(143, 168, 143, 0.3); }
.step-card:nth-child(3) .step-number { background: rgba(196, 112, 74, 0.16); color: var(--terracotta-light); border-color: rgba(196, 112, 74, 0.35); }
.step-card h4 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.step-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
@media (min-width: 992px) {
  .steps-row .col-lg-4:not(:last-child) .step-card::after {
    content: "";
    position: absolute;
    top: 46px;
    left: calc(50% + 70px);
    width: calc(100% - 140px);
    border-top: 2px dashed rgba(196, 162, 101, 0.35);
  }
}

/* Values */
.value-item { text-align: center; padding: 1.2rem 0.6rem; }
.value-item i { font-size: 1.5rem; color: var(--gold); }
.value-item h5 { font-family: var(--font-display); font-size: 1.08rem; margin: 0.6rem 0 0.3rem; }
.value-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.value-card { padding: 2rem 1.4rem; text-align: center; height: 100%; }
.value-card > i { font-size: 1.6rem; color: var(--gold); }
.value-card h5 { font-size: 1.15rem; margin: 0.7rem 0 0.4rem; }
.value-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Reviews */
.review-card { padding: 2.1rem 1.9rem; height: 100%; }
.review-quote { font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 0.4rem; opacity: 0.8; }
.review-card p { font-style: italic; color: rgba(233, 239, 236, 0.85); font-size: 1rem; margin: 0; }
.review-source {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Pricing */
.price-card { padding: 2.6rem 2rem; text-align: center; height: 100%; }
.price-card.featured { border-color: var(--border); box-shadow: var(--shadow-lift); }
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--terracotta));
}
.price-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.price-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1;
}
.price-amount .currency { font-size: 1.6rem; vertical-align: super; color: var(--gold); }
.price-time { color: var(--muted); font-size: 0.95rem; display: block; margin: 0.4rem 0 1.4rem; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.8rem; color: var(--muted); }
.price-card ul li { padding: 0.45rem 0; }
.price-card ul li i { color: var(--gold); margin-right: 0.5rem; }

/* FAQ */
.faq .accordion-item,
#faq .accordion-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.9rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq .accordion-button,
#faq .accordion-button {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  padding: 1.2rem 1.5rem;
}
.faq .accordion-button:not(.collapsed),
#faq .accordion-button:not(.collapsed) {
  color: var(--gold-soft);
  background: var(--surface-2);
  box-shadow: none;
}
.faq .accordion-button:focus,
#faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.25); border-color: var(--border); }
.faq .accordion-button::after,
#faq .accordion-button::after { filter: invert(0.75) sepia(0.4) saturate(2.5); }
.faq .accordion-body,
#faq .accordion-body { color: var(--muted); }

/* CTA */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 55%, var(--bg-deep) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  padding: 4rem 2.5rem;
  text-align: center;
}
.cta-section .cta-decor { position: absolute; color: rgba(196, 162, 101, 0.1); width: 420px; height: 420px; top: -150px; right: -130px; pointer-events: none; }
.cta-section .cta-decor-left { bottom: -170px; left: -130px; top: auto; }
.cta-section h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  max-width: 46rem;
  margin: 0 auto 1.2rem;
  position: relative;
  z-index: 1;
}
.cta-section p { color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; z-index: 1; }

/* Contact */
.contact-card { padding: 1.8rem 1.5rem; text-align: center; height: 100%; }
.contact-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(196, 162, 101, 0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.95rem; }
.contact-card a:hover { color: var(--gold-soft); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow);
}
.contact-form-card .form-control {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 0.8rem 1rem;
}
.contact-form-card .form-control::placeholder { color: rgba(163, 176, 171, 0.7); }
.contact-form-card .form-control:focus {
  background: var(--bg);
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(196, 162, 101, 0.2);
  color: var(--text);
}
.contact-form-card .form-check-input { background-color: var(--bg); border-color: var(--border); }
.contact-form-card .form-check-input:checked { background-color: var(--terracotta); border-color: var(--terracotta); }
.contact-form-card .form-check-input:focus { box-shadow: 0 0 0 0.25rem rgba(196, 112, 74, 0.25); }
.contact-form-card .form-check-label { color: var(--muted); font-size: 0.9rem; }

/* ---------- Blog ---------- */
.blog-card { padding: 1.9rem 1.7rem; height: 100%; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.blog-card-category {
  background: rgba(196, 162, 101, 0.12);
  border: 1px solid var(--border);
  color: var(--gold-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}
.blog-card-date { color: var(--muted); align-self: center; }
.blog-card-title { font-size: 1.3rem; margin-bottom: 0.8rem; line-height: 1.3; }
.blog-card-title a { color: var(--text); }
.blog-card-title a:hover { color: var(--gold-soft); }
.blog-card-perex { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.4rem; }
.blog-card-link { margin-top: auto; font-weight: 600; color: var(--terracotta-light); }
.blog-card-link:hover { color: var(--gold-soft); }
.blog-card-link i { transition: transform 0.2s; }
.blog-card-link:hover i { transform: translateX(4px); }

.blog-article-meta { color: var(--muted); font-size: 0.9rem; margin-top: 1.4rem; letter-spacing: 0.03em; }
.blog-article-body { max-width: 46rem; margin: 0 auto; }
.blog-article-body h2 { font-size: 1.7rem; margin: 2.4rem 0 1rem; }
.blog-article-body p { font-size: 1.08rem; line-height: 1.8; color: rgba(233, 239, 236, 0.9); }
.blog-article-body ul { color: rgba(233, 239, 236, 0.9); padding-left: 1.3rem; }
.blog-article-body ul li { margin: 0.5rem 0; line-height: 1.7; }
.blog-article-cta {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-article-cta h2 { font-size: 1.7rem; color: #fff; margin-bottom: 0.8rem; }
.blog-article-cta p { color: var(--muted); max-width: 34rem; margin: 0 auto 1.6rem; }
.blog-article-cta .cta-decor { position: absolute; color: rgba(196, 162, 101, 0.08); width: 300px; height: 300px; top: -120px; right: -100px; pointer-events: none; }

/* ---------- Inner pages ---------- */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); color: #fff; position: relative; z-index: 2; }
.page-hero .hero-eyebrow { position: relative; z-index: 2; }
.page-hero-lead { color: var(--muted); font-size: 1.12rem; max-width: 40rem; margin: 1rem auto 0; position: relative; z-index: 2; }

.edu-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.edu-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.6rem 0;
  color: rgba(233, 239, 236, 0.9);
}
.edu-list li i { color: var(--gold); margin-top: 0.2rem; }

.gestalt-visual {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.gestalt-visual-circle { width: 220px; height: 220px; color: var(--gold); }
.gestalt-visual-caption { color: var(--muted); font-size: 0.95rem; max-width: 24rem; margin: 1.4rem auto 0; }

/* ---------- Footer ---------- */
#footer {
  background: var(--bg-deep);
  color: var(--muted);
  text-align: center;
  padding: 4rem 0 2.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#footer .footer-logo { color: var(--gold-soft); margin-bottom: 1.2rem; }
#footer .footer-logo .logo-mark { color: var(--terracotta-light); }
#footer .footer-logo span { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
#footer p { font-size: 0.98rem; max-width: 34rem; margin: 0 auto 1.5rem; color: var(--muted); }
#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(232, 237, 234, 0.07);
  color: var(--text);
  font-size: 1.1rem;
  transition: all var(--transition);
}
#footer .social-links a:hover { background: var(--terracotta); color: #fff; transform: translateY(-3px); }
#footer .copyright { margin-top: 2rem; font-size: 0.88rem; color: rgba(163, 176, 171, 0.7); }

/* ---------- Floating buttons ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 1030;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s;
}
.back-to-top.active { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta-dark); color: #fff; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--whatsapp);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover { background: var(--whatsapp-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45); }
@media (max-width: 575px) {
  .whatsapp-float { padding: 0.8rem; }
  .whatsapp-float-label { display: none; }
}

/* ---------- Misc ---------- */
.alert-page { margin-top: calc(var(--header-h) + 24px); border-radius: var(--radius-sm); }
.alert { background: var(--surface); border-color: var(--border); color: var(--text); }

/* Admin content editor — terakota namiesto oranžovej */
.editable-content {
  outline: 1px dashed rgba(196, 112, 74, 0.4) !important;
  outline-offset: 4px;
  cursor: pointer;
  border-radius: 4px;
}
.editable-content:hover {
  outline: 2px solid rgba(196, 112, 74, 0.85) !important;
  background-color: rgba(196, 112, 74, 0.05) !important;
}
.editable-content.editing {
  outline: 2px solid var(--terracotta) !important;
  background-color: rgba(196, 112, 74, 0.1) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
