@import url('https://fonts.googleapis.com/css2?family=Engagement:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Engagement&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap');
:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #c77986;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e5e5e5;
  --gold: #111111; /* akcentní černá */
  --gold-dark: #000000; /* tmavší akcent */
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
  --maxw: 1120px;
}

/* Smooth transition for magnetic effect and floating photos */
.btn, .btn-solid, .btn-outline {
  /* removed custom magnetic transition */
}

.circle-photo, .square-photo, .card-img {
  transition: transform 0.4s ease-out; /* Plynulý dojezd */
  will-change: transform;
}

/* Hover effects for photos need to account for translate */
.circle-photo:hover img, .square-photo:hover img {
  transform: scale(1.08); /* Zvětšení jen obrázku uvnitř, ne celého kontejneru */
}

/* Zrušíme původní hover transform na kontejneru, aby se nehádal s JS */
.photo-item:hover .photo-ring img { transform: scale(1.05); }
.photos-row .circle-photo:hover img { transform: scale(1.05); }
.square-photo:hover img { transform: scale(1.05); }

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Noise Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* Background Gradient Spheres - subtle animation */
.bg-spheres {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-spheres::before,
.bg-spheres::after {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(90px);
}
.bg-spheres::before {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(236, 189, 201, 0.4) 0%, rgba(255, 240, 245, 0) 70%);
  animation: drift 20s infinite alternate ease-in-out;
}
.bg-spheres::after {
  bottom: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(255, 250, 240, 0) 70%);
  animation: drift 25s infinite alternate-reverse ease-in-out;
}
@keyframes drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(30px, 30px); }
}

html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Urbanist, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: 0.2px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Before/After compare slider */
.compare {
  position: relative; border: 1px solid var(--gray-300); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); background: #fff;
}
.compare-inner { position: relative; height: 380px; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after img {
  transform: scale(1.1);
  transform-origin: center;
  object-position: center 60%;
}
.compare-inner img {
  object-position: center 75%;
}
.compare .after {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos,50%)) 0 0);
}
.compare .after::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0;
  width: 1px; background: #ffffff;
}
.compare .label {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.6); color: #fff;
  padding: 6px 10px; border-radius: 999px; font-size: 12px;
}
.compare .label.right { left: auto; right: 12px; }
.compare .control {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px;
}
.compare input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; background: transparent; }
/* WebKit */
.compare input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: #ffffff; border-radius: 999px; }
.compare input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--text); border: 2px solid #ffffff;
  margin-top: -6px; /* centrování na 2px track */
}
/* Firefox */
.compare input[type="range"]::-moz-range-track { height: 2px; background: #ffffff; border-radius: 999px; }
.compare input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--text); border: 2px solid #ffffff;
}
/* Focus state */
.compare input[type="range"]:focus { outline: none; }
.compare input[type="range"]:focus::-webkit-slider-runnable-track { background: #ffffff; }
.compare input[type="range"]:focus::-moz-range-track { background: #ffffff; }

.promeny-showcase {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}
.promeny-carousel-viewport {
  overflow: hidden;
}
.promeny-carousel-track {
  display: flex;
  transition: transform .65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.promena-slide {
  min-width: 100%;
}
.compare-card {
  border-radius: 28px;
  box-shadow: none;
}
.compare-card .compare-inner {
  height: clamp(380px, 58vw, 620px);
}
.compare-card img,
.compare-card .after img,
.compare-card .compare-inner img {
  object-position: center 75%;
  transform: none;
}
#compare-client-1 .after img {
  object-position: center 60%;
}
#compare-client-2 .after img {
  object-position: center 60%;
}
.compare-card .control {
  padding: 14px 18px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(18, 16, 17, 0.28));
}
.promeny-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.promeny-nav {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(34, 25, 30, 0.08);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.promeny-nav:hover {
  transform: translateY(-1px);
  color: var(--gold-dark);
  border-color: rgba(212, 175, 55, 0.35);
}
.promeny-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.promeny-dot {
  width: 32px;
  height: 4px;
  border: none;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.18);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.promeny-dot.active {
  background: linear-gradient(90deg, #c77986, #d4af37);
  transform: scaleX(1.06);
}

/* Reviews Section */
.reviews { padding: 100px 0; background: #fff; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.review-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05); /* Jemnější, ale hlubší stín */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy efekt */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.03);
  z-index: 1;
}
/* Obří zlaté uvozovky na pozadí */
.review-card::before {
  content: "\201C"; /* Unicode pro levé uvozovky */
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: serif;
  font-size: 150px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
  transition: transform 0.4s ease;
}

.review-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px -10px rgba(212, 175, 55, 0.15); /* Zlatý stín */
  border-color: rgba(212, 175, 55, 0.3);
}
.review-card:hover::before {
  transform: translateY(10px) rotate(-10deg);
  opacity: 0.15;
}
.stars {
  color: #FFD700; /* Sytá zlatá */
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.4); /* Zářivý efekt */
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  margin-bottom: 30px;
  font-style: italic;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 15px;
}
.reviewer .avatar {
  width: 50px;
  height: 50px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}
.reviewer .info {
  display: flex;
  flex-direction: column;
}
.reviewer .name {
  font-weight: 700;
  color: #000;
  font-size: 16px;
}
.reviewer .service {
  font-size: 13px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-top: 2px;
}
/* Infinite Text Marquee */
.marquee-wrapper {
  background: var(--gold);
  color: #fff;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 10;
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  white-space: nowrap;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-right: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-item span { display: inline-block; }
.marquee-item::after {
  content: "•";
  opacity: 0.6;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity .3s;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 0 10px;
  color: #fff;
}
.scroll-indicator i { font-size: 24px; color: #fff; }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}
@media (max-width: 600px) {
  .scroll-indicator {
    bottom: calc(250px + constant(safe-area-inset-bottom));
    bottom: calc(250px + env(safe-area-inset-bottom));
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  }
}

/* Gallery Grid (Prostory) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  z-index: 2;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix for Promeny Slider handle */
.compare input[type="range"]::-webkit-slider-thumb {
  cursor: ew-resize;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.compare input[type="range"]::-moz-range-thumb {
  cursor: ew-resize;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .promena-slide {
    display: block;
  }
}

@media (max-width: 640px) {
  .promeny-showcase {
    gap: 14px;
  }
  .compare-card .compare-inner {
    height: 72vw;
    min-height: 320px;
    max-height: 460px;
  }
  .promeny-controls {
    gap: 10px;
  }
  .promeny-nav {
    width: 40px;
    height: 40px;
  }
  .promeny-dot {
    width: 24px;
  }
}

/* Back to top button */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold); background: linear-gradient(180deg, #fff, var(--gray-50));
  color: var(--text); box-shadow: var(--shadow);
}
.to-top:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress__bar { height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, #ff008a, #ff00ea, #c77986); transition: transform .12s linear; }
@media (prefers-reduced-motion: reduce) { .scroll-progress__bar { transition: none; } }

/* NAVBAR */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 10px 0px;
  max-width: 100%;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid var(--gray-300);
  z-index: 1000;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1), opacity .3s ease, background .25s ease, backdrop-filter .25s ease, border-color .25s ease, color .25s ease;
  will-change: transform, opacity;
}
.nav.nav--hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav.nav--transparent {
  backdrop-filter: none;
  background: transparent;
  border-bottom-color: transparent;
  color: #000000;
}
.nav.nav--transparent .logo { color: #000000; }
.nav.nav--transparent .logo .mark { color: #000000; }
.nav.nav--transparent .logo .mark img { filter: brightness(0); }
.nav.nav--transparent .nav-links a { color: rgba(0,0,0,0.9); }
.nav.nav--transparent .nav-links a:hover { color: #000000; }
.nav.nav--transparent .nav-links a::after { background: #000000; }
.nav.nav--transparent .hamburger { border-color: rgba(0,0,0,0.6); background: rgba(0,0,0,0.06); }
.nav.nav--transparent .hamburger svg path { stroke: #000000; }
/* ensure animated bars adopt black color on top state */
.nav.nav--transparent .hamburger { color: #000; }
/* keep CTA readable (white pill with dark text) */
.nav.nav--transparent .nav-links a.cta { color: var(--text); border-color: var(--text); background: #fff; }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: 'Engagement', sans-serif;
  font-size: 22px;
  letter-spacing: 0.6px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo .mark {
  width: 60px;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo .mark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: brightness(0); }
.nav-links {
  display: flex; gap: 24px;
  align-items: center;
}
.nav-links a {
  color: black;
  font-weight: 500;
  font-size: 16px;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--text);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--text);
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: #fff;
  align-items: center; justify-content: center;
  padding: 0;
}
.hamburger svg { width: 24px; height: 24px; }
/* Hamburger animation to X */
.hamburger { position: relative; color: #2b2b2b; overflow: hidden; }
.hamburger svg { transition: opacity .25s ease, transform .25s ease; }
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
}
.hamburger[aria-expanded="true"] svg { opacity: 0; transform: scale(0.8); }
.hamburger[aria-expanded="true"]::before,
.hamburger[aria-expanded="true"]::after { opacity: 1; }
.hamburger::before { transform: translate(-50%, calc(50% - 6px)) rotate(0deg); }
.hamburger::after { transform: translate(-50%, calc(50% + 6px)) rotate(0deg); }
.hamburger[aria-expanded="true"]::before { transform: translate(-50%, -50%) rotate(45deg); }
.hamburger[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* fullscreen overlay menu */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 999;
}
.menu-content {
  max-width: var(--maxw); margin: 0 auto;
  padding: 90px 20px 40px;
  display: grid; gap: 14px;
}
.menu-link {
  font-family: 'Engagement', sans-serif;
  font-size: 28px; color: var(--text);
  padding: 12px 6px; border-bottom: 1px solid var(--gray-300);
}
.menu-link:hover { color: var(--text); }

.mobile-menu {
  position: fixed;
  width: 100%;
  background: #fff;
  border: 1px solid var(--gray-300);
  box-shadow: var(--shadow);
  padding: 14px;
  display: block;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu a {
  display: block;
  padding: 12px 10px;
  color: var(--muted);
  text-align: center;
  border-radius: 10px;
}
.mobile-menu a:hover { background: var(--gray-100); color: var(--text); }

/* Mobile menu open state */
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu { transition: none; transform: none; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
}

.top-cards-title
{
  display: flex;
  text-align: left;
  justify-content: flex-start;
  flex-direction: column;
  padding: 7rem 0rem;
}
#top-cards-title-sub
{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 10px;
}
#top-cards-title
{
  font-size: 68px;
  font-weight: 700;
  line-height: 1.1;
}
/* TOP CARDS (static 3 squares) */
.top-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 18px;
}
/* Jednotlivé pozadí pro každou kartu podle pořadí */
.top-cards .top-card:nth-child(1) {
  background-image: url('img/headspa.webp');
  background-position: center 38%;
}
.top-cards .top-card:nth-child(2) {
  background-image: url('img/573223087_1329161095167783_9064459366782643526_n.jpg');
  background-position: center 20%;
}

.top-card {
  position: relative;
  width: 100%;
  flex: 1 1 0;
  height: 30rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #fff;
  background-size: cover;
  background-repeat: no-repeat;
  transition: box-shadow .2s ease, transform .12s ease;
  will-change: transform;
}

@media (max-width: 600px) {
 .top-cards
 {
  flex-wrap: wrap;
 }
 .top-card
 {
  height: 400px;
 }
}
.top-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,1);
  opacity: 0.2; /* výraznější ztmavení pro lepší čitelnost */
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0; /* overlay pod textem */
}
/* využíváme background-image na .top-card místo <img> */
.top-card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 50px 14px;
  color: #ffffff;
  font-weight: 600;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 60%);
  transition: opacity .2s ease;
  opacity: 0.95;
  z-index: 1; /* text nad overlayem */
}


.top-card-caption h3 {
  margin-bottom: -70px;
  font-size: clamp(18px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

@media (max-width: 1200px) {
  .top-card-caption h3 {
    margin-bottom: -90px;
    font-size: clamp(42px, 4.5vw, 40px);
  }
}

@media (max-width: 600px) {
  .top-card-caption h3 {
    margin-bottom: -40px;
    font-size: clamp(18px, 5vw, 48px);
  }
}

@media (max-width: 400px) {
  .top-card-caption h3 {
    margin-bottom: -30px;
    font-size: clamp(18px, 4.5vw, 36px);
  }
}
.top-card-caption p {
  opacity: 0;
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 100;
  width: 70%;
}

@media (max-width: 768px) {
  .top-card-caption p {
    font-size: 16px;
    width: 90%;
  }
}

@media (max-width: 480px) {
  .top-card-caption p {
    font-size: 14px;
    width: 100%;
  }
}
.top-card-caption h3, .top-card-caption p {transition: 400ms; margin-left: 15px; }
/* Darken only on hover/focus; base image stays unchanged */
/* (removed default brightness filter) */
.top-card:hover { border-color: var(--gold); box-shadow: 0 14px 28px rgba(0,0,0,0.16); }
.top-card:hover { border-color: var(--gold); box-shadow: 0 14px 28px rgba(0,0,0,0.16); }
.top-card:hover::after { opacity: 0; }
.top-card:hover::after { opacity: 0; }
.top-card:hover .top-card-caption h3 { margin-bottom: 20px; }
.top-card:hover .top-card-caption p { opacity: 1; transform: translateY(-10px); transition: 250ms; }

/* Explicit touch class mapping – applies regardless of media query */
.top-card.is-touch { border-color: var(--gold); box-shadow: 0 14px 28px rgba(0,0,0,0.16); }
.top-card.is-touch::after { opacity: 0; }
.top-card.is-touch .top-card-caption h3 { margin-bottom: 20px; }
.top-card.is-touch .top-card-caption p { opacity: 1; transform: translateY(-10px); transition: 250ms; }

/* Mobile tap fallback: mirror hover styles for touch devices */
@media (hover: none) and (pointer: coarse) {
  .top-card:active,
  .top-card.is-touch {
    border-color: var(--gold);
    box-shadow: 0 14px 28px rgba(0,0,0,0.16);
  }
  .top-card:active::after,
  .top-card.is-touch::after { opacity: 0; }
  .top-card:active .top-card-caption h3,
  .top-card.is-touch .top-card-caption h3 { margin-bottom: 20px; }
  .top-card:active .top-card-caption p,
  .top-card.is-touch .top-card-caption p { opacity: 1; transform: translateY(-10px); transition: 250ms; }
}
.top-card:focus-within { border-color: var(--gold); box-shadow: 0 14px 28px rgba(0,0,0,0.16); }
.top-card:focus-within img { filter: brightness(0.82) saturate(1.02); transform: scale(1.06); }
.top-card:focus-within::after { opacity: 0; }

@media (max-width: 992px) {
  .top-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .top-cards { grid-template-columns: 1fr; }
  .top-card::before {
    content: "\f25a"; /* Font Awesome hand-pointer icon */
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900; /* solid style */
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
  }
}

.reveal
{
  width: 100%;
}
/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  background-color: #e8e3e1;
}
.hero .content {
  display: flex;
  width: min(100%, 1240px);
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0 auto;
  padding: clamp(88px, 10vw, 136px) 24px 360px; /* prostor pro spodní hero karty */
  box-sizing: border-box;
  position: relative;
  z-index: auto;
}
.hero-choices {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 2;
}
.hero-top-cards {
  align-items: stretch;
  width: 100%;
  margin: 0;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}
.hero-top-cards .top-card {
  min-height: 220px;
  height: 18.5rem;
  backdrop-filter: blur(3px);
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.hero-top-cards .top-card::after {
  opacity: 0.42;
}
.hero-top-cards .top-card-caption {
  padding: 28px 32px 30px;
  text-align: left;
}

.top-card-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  margin-bottom: 12px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #202020;
  background: rgba(255,255,255,0.56);
}
.hero-top-cards .top-card-caption h3 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.8vw, 42px);
}
.hero-top-cards .top-card-caption p {
  opacity: 1;
  width: 100%;
  max-width: 460px;
  transform: none;
}
.hero-top-cards .top-card:hover::after,
.hero-top-cards .top-card.is-touch::after,
.hero-top-cards .top-card:focus-within::after {
  opacity: 0.08;
}
.hero-top-cards .top-card:hover .top-card-caption h3,
.hero-top-cards .top-card.is-touch .top-card-caption h3,
.hero-top-cards .top-card:focus-within .top-card-caption h3 {
  margin-bottom: 12px;
}
.hero-top-cards .top-card:hover .top-card-caption p,
.hero-top-cards .top-card.is-touch .top-card-caption p,
.hero-top-cards .top-card:focus-within .top-card-caption p {
  opacity: 1;
  transform: none;
}
@media (max-width: 1500px) {
  .hero .content {
    padding: 64px 24px 340px; /* prostor pod fixní nav */
  }
}
@media (max-width: 1500px) {
  .hero .content {
    padding: 64px 24px 340px; /* prostor pod fixní nav */
    width: min(100%, 980px);
  }
  .hero h1 {
    font-size: clamp(64px, 6vw, 88px);
  }
}
.hero h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(60px, 7vw, 110px);
  line-height: 0.96;
  margin: 0;
  text-align: left;
  display: block;
  color:#202020;  
  align-self: flex-start;
  text-wrap: balance;
}
.hero h1 span {
  color: #ca6878;
}
.hero h1 .engagement {
  font-family: 'Engagement', cursive;
  font-weight: 400 !important;
  text-transform: none;
  letter-spacing: 0;
  display: flex;
  align-self: flex-start;
}
/* Ensure words in inline spans have proper spacing when HTML lacks a space */
.hero h1 span { letter-spacing: inherit; display: inline-block; margin-left: 0.3em; }
.hero .subtitle { color: #f0f0f0; font-size: 18px;}
.hero .buttons {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 3;
}
.btn {
  padding: 12px 18px; border-radius: 0px;
  width: 100%;
  color: #fff; background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(0,0,0,0.52); box-shadow: 0 10px 22px rgba(0,0,0,0.20); }
.btn:active { transform: translateY(0); filter: brightness(0.98); }
/* Ensure submit buttons show pointer cursor */
button[type="submit"].btn { cursor: pointer; }
.btn.gold { width: 100%; border-color: var(--text); background: var(--text); box-shadow: 0 8px 18px rgba(0,0,0,0.18); padding: 1rem 0rem;}
.btn.gold:hover { filter: brightness(1.06); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }

/* Base button radius to standardize across UI */

/* Hero buttons – responsive layout */
/* Center text/content inside hero buttons */
.hero .buttons .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
@media (min-width: 601px) {
  .hero .buttons { flex-wrap: nowrap; }
  .hero .buttons .btn { width: auto; min-width: 220px; min-height: 56px; padding: 16px 26px; }
}
@media (max-width: 900px) {
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
  }
  .hero .content {
    width: 100%;
    padding: 96px 20px 280px;
  }
  .hero h1 {
    font-size: clamp(44px, 9vw, 72px);
    max-width: 8ch;
  }
  .hero-choices {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 0;
  }
  .hero-top-cards {
    width: 100%;
    padding: 0;
    gap: 0;
  }
  .hero-top-cards .top-card {
    min-height: 180px;
    height: auto;
  }
}
@media (max-width: 600px) {
  .hero
  {
    min-height: 100vh; /* fallback pro starší prohlížeče */
    min-height: 100svh; /* small viewport height – stabilní na mobilech */
    background-color: #e8e3e1;
    width: 100%;
  }
  .hero .content {
  width: 100% !important;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding: 88px 16px 24px;
 
}
.hero h1
{
  text-align: left;
  position: relative;
  font-size: clamp(38px, 11vw, 52px) !important;
  line-height: 0.98;
  width: 100%;
  margin-bottom: 0;
}
  .hero-choices {
    position: static;
    padding: 0 0 calc(12px + env(safe-area-inset-bottom));
  }
  .hero-top-cards {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .hero-top-cards .top-card {
    height: auto;
    min-height: 150px;
  }
  .hero-top-cards .top-card:nth-child(1) {
    background-position: center 32%;
  }
  .hero-top-cards .top-card:nth-child(2) {
    background-position: center 12%;
  }
  .hero-top-cards .top-card-caption {
    padding: 18px 16px 18px;
  }
  .hero-top-cards .top-card-caption h3 {
    margin-bottom: 8px;
    font-size: clamp(22px, 7vw, 30px);
  }
  .top-card-badge {
    margin-left: 0;
    margin-bottom: 10px;
  }
  .hero .buttons {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    flex-direction: column;
    z-index: 2;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
    max-width: 420px;
  }
  .hero .buttons .btn {
    width: 100%;
    min-width: 0;
    flex: none;
    min-height: 52px;
    font-size: 14px;
    padding: 14px 16px;
  }
  .scroll-indicator {
    display: none;
  }
}

/* Disable any animations for hero buttons */
.hero .buttons .btn { transition: none !important; }
.hero .buttons .btn:hover { transform: none !important; filter: none !important; background: rgba(0,0,0,0.42) !important; box-shadow: none !important; }
.hero .buttons .btn.gold { transition: none !important; }
.hero .buttons .btn.gold:hover { transform: none !important; filter: none !important; background: var(--text) !important; box-shadow: 0 8px 18px rgba(0,0,0,0.18) !important; }

/* iOS Safari fix: ensure second hero button renders on initial load */
@media (hover: none) and (pointer: coarse) {
  .hero .buttons .btn:not(.gold) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: rgba(0,0,0,0.52) !important; /* solid fallback ensures visibility */
    transform: translateZ(0); /* force paint on Safari */
    opacity: 1 !important;
  }
}

/* SECTIONS */
section { padding: 26px 24px; text-align: left; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 768px) {
  section { padding: 72px 16px; }
  .hero .content
  {
    width: 100% !important;
  }
}
.wrap { display: flex !; flex-direction: row; margin: 0 auto; }
#o-nas{ text-align: left; }
#o-nas .lead, #sluzby .lead { margin-left: 0; margin-right: 0; }
#galerie .lead { margin-left: auto; margin-right: auto; }
#sluzby .section-title { display: flex; justify-content: center; }
#headspa .section-title { display: flex; justify-content: center; }
/* About Us: left-align title */
#o-nas .section-title { justify-content: flex-start; text-align: left; }
/* Head Spa Ritual */

.ritual .section-title { color: #fff; justify-content: center; }
.ritual .lead { color: var(--muted); text-align: center; }
.ritual .wrap { display: grid; gap: 18px; }
.ritual-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.ritual .step { background: linear-gradient(180deg, #141414, #0f0f0f); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow); padding: 18px; color: #f0f0f0; border-radius: 0; transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease; }
.ritual .step:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,0.16); border-color: rgba(255,255,255,0.14); }
.ritual .step .num { font-weight: 600; font-size: 12px; color: var(--muted); letter-spacing: .8px; margin-bottom: 8px; }
.ritual .step h3 { font-size: 20px; margin: 0 0 6px; }
.ritual .step p { color: #cfcfcf; margin: 0; }
@media (max-width: 1024px) { .ritual-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ritual-steps { grid-template-columns: repeat(1, minmax(0, 1fr)); } }
/* Studio v číslech */

.stats .section-title { color: var(--muted); justify-content: center; text-align: center; }
.stats .stats-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stats .stat { flex: 0 1 300px; text-align: center; padding: 18px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; color: var(--muted); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); }
.stats .stat .value { font-size: clamp(40px, 7vw, 80px); font-weight: 800; letter-spacing: 0.5px; line-height: 1; }
.stats .stat .label { margin-top: 6px; color: var(--muted); font-weight: 500; }
@media (max-width: 600px) { .stats .stat { flex: 1 1 100%; } }
#rozdeleni.cta-minimal {
    background: #0b0b0b;
    border-top: 1px solid var(--gray-300);
    border-bottom: 1px solid var(--gray-300);
    position: relative;
    overflow: hidden;
    padding: 7rem 0rem;
    font-family: 'Urbanist', sans-serif;
}

#rozdeleni.cta-minimal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}

#rozdeleni.cta-minimal .overline {
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .2px;
    margin-bottom: 8px;
    text-align: center;
}

#rozdeleni.cta-minimal .title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: clamp(30px, 5vw, 34px);
    margin: 0 0 8px;
    letter-spacing: 0.3px;
    text-align: center;
    color: white;
}

#rozdeleni.cta-minimal .subtitle {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 56px;
    color: lightgray;
    text-align: center;
}
/* Rozdělení: centered row without grid */
.rozdeleni-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; }
@media (max-width: 900px) { .rozdeleni-row { display: flex; } }
.rozdeleni-row .section-title { justify-content: center; align-self: center; }

/* Constrain accordion width and center it within the row */
#rozdeleni .accordion { width: 100%; max-width: 800px; }
/* Accordion text left */
#rozdeleni-title
{
  line-height: 1;
  font-size: 80px;
  font-family: "Urbanist", sans-serif;
}
#rozdeleni .ac-panel { text-align: left; }
#rozdeleni .ac-panel p { margin-left: 0; margin-right: 0; text-align: left; }
.ac-panel p 
{
  text-align: left;
}
.section-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 56px;
  font-weight: 900;
  margin: 0 0 26px;
  display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
  letter-spacing: 0.3px;
}
.section-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin-top: -15px;
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
  display: block;
}
#o-nas .section-subtitle { text-align: left; }

@media (max-width: 768px) {
  .section-title {
    font-size: 34px;
    margin-bottom: 20px;
  }
  #top-cards-title {
    font-size: 42px !important;
  }
  #rozdeleni-title {
    font-size: 42px !important;
  }
  .top-cards-title {
    padding: 3rem 0rem !important;
  }
}
#o-nas p {
  font-size: 18px;
}
.section-title .accent { color: var(--gold); }
.section-title .accent { position: relative; }
.section-title .accent::after { content:""; position:absolute; left:0; bottom:-6px; height:3px; width:100%; background: linear-gradient(90deg, #ff008a, #ff00ea, #ffd700); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1); }
section.reveal.in .section-title .accent::after { transform: scaleX(1); }
.lead { margin-bottom: 15px; color: var(--muted); max-width: 780px; margin-left: auto; margin-right: auto; }


/* Cards (Úvod) */
.carousel { margin-top: 0; position: relative; width: 100%; margin-left: 0; overflow: hidden; }
.carousel-track { display: flex; transition: transform .8s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; transform: translateZ(0); }
.slide { min-width: 100%; }
.carousel-btn {transition: 250ms; position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; border: none; background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.carousel-btn:hover {transition: 250ms; color: goldenrod;}
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; gap: 8px; }
.carousel-dots .dot { width: 8px; height: 1px; border: none; background: #c7c7c7; opacity: 0.6; }
.carousel-dots .dot.active { background: var(--text); opacity: 1; }
/* Card overlay and content styling */
.card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.card-overlay i {
  color: #fff;
  font-size: 42px;
  transform: scale(0.8);
  transition: transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card-overlay { opacity: 1; }
.card:hover .card-overlay i { transform: scale(1); }

.card-content { padding: 24px; text-align: left; }
.card-content h3 { margin: 0 0 10px; font-size: 22px; font-weight: 700; }
.card-content p { color: var(--muted); font-size: 15px; margin-bottom: 18px; line-height: 1.5; }
.btn-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color .2s ease;
}
.card:hover .btn-link { color: var(--gold-dark); }

/* Galerie – kruhové fotky */
.photo-circles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  align-items: center;
  justify-items: center;
}
.photo-item { margin: 0; }
.photo-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gray-300);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, var(--gray-50));
}
.photo-ring img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s ease;
}
.photo-item:hover .photo-ring img { transform: scale(1.05); }
@media (min-width: 768px) { .photo-ring { width: 160px; height: 160px; } }
@media (min-width: 1024px) { .photo-ring { width: 180px; height: 180px; } }

/* Overhaul: reusable circular photos with size variants */

/* Global titles uppercase */
h1, h2, h3, h4, h5, h6 { text-transform: uppercase;}

/* Accordion title uppercase */
.ac-btn { text-transform: uppercase; }

/* FAQ layout: title left of content and centered */
#faq .wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  gap: 24px;
}
#faq .section-title {
  justify-self: center;
  justify-content: center;
  text-align: left;
  font-weight: 900;
  font-size: 82px;
  margin: 0;
}
@media (max-width: 900px) {
  #faq .wrap { grid-template-columns: 1fr; }
  #faq .section-title {
    justify-self: center;
    text-align: center;
    margin-bottom: 18px;
    font-size: 42px;
  }
}
.circle-photo { --size: 140px; width: var(--size); height: var(--size); border-radius: 50%; overflow: hidden; border: 2px solid var(--gray-300); box-shadow: var(--shadow); background: #fff; }
.circle-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.circle-photo:hover img { transform: scale(1.05); }
.circle-photo.sm { --size: 110px; }
.circle-photo.md { --size: 150px; }
.circle-photo.lg { --size: 190px; }

/* About: stacked layout (no grid) */
.about { display: flex; flex-direction: row; gap: 150px;}
@media (max-width: 900px) { .about { display: block; } }
.about-photos.mosaic {  gap: 14px; justify-items: center; }

/* Proměny: grid layout with compare + mosaic */
.promeny-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .promeny-grid { grid-template-columns: 1fr; } }
.promeny-photos.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; justify-items: center; }

/* Služby: wide mosaic above cards */
.service-photos.mosaic { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; justify-items: center; margin-bottom: 18px; }

/* Distributed circular photos across sections */
.photos-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin: 100px 0px 10px 0px; }
.photos-row.left { justify-content: flex-start; }
.circle-photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gray-300); box-shadow: var(--shadow); background: #fff; }
.circle-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.photos-row .circle-photo:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .circle-photo { width: 160px; height: 160px; } }
@media (min-width: 1024px) { .circle-photo { width: 180px; height: 180px; } }

/* Square photo variant for About section */
.square-photo { --size: 260px; width: var(--size); height: var(--size); border-radius: 16px; overflow: hidden; border: 2px solid var(--gray-300); box-shadow: var(--shadow); background: linear-gradient(180deg, #fff, var(--gray-50)); }
.square-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.square-photo:hover img { transform: scale(1.05); }
.square-photo.md { --size: 300px; }
.square-photo.lg { --size: 340px; }
@media (min-width: 768px) { .square-photo { --size: 300px; } .square-photo.md { --size: 340px; } .square-photo.lg { --size: 380px; } }
@media (min-width: 1024px) { .square-photo { --size: 320px; } .square-photo.md { --size: 360px; } .square-photo.lg { --size: 420px; } }

/* Section-specific spacing tweaks */
.about-photos { margin-top: 18px; }
.promeny-photos { margin-top: 18px; }
.service-photos { margin-top: 12px; }

/* Minimal CTA between Proměny and Služby */
.cta-minimal { background: linear-gradient(180deg, #fff, var(--gray-100)); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); position: relative; overflow: hidden; font-family: 'Urbanist', sans-serif; }
.cta-inner { text-align: center; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; padding: 0rem 0.5rem; }
.cta-minimal .overline { color: var(--muted); font-weight: 600; font-size: 14px; letter-spacing: .2px; margin-bottom: 8px; }
.cta-minimal .title { font-family: 'Urbanist', sans-serif; font-weight: 300; font-size: clamp(30px, 5vw, 34px); margin: 0 0 8px; letter-spacing: 0.3px; }
.cta-minimal .subtitle { color: var(--muted); font-size: 16px; margin: 0 0 48px; }
.cta-actions { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
/* subtle gold accent bar */
.cta-minimal::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 3px; background: var(--gold); border-radius: 3px; }
.btn-solid { padding: 12px 18px; border: 1px solid var(--gold); background: var(--gold); color: #fff; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .2s ease, background .2s ease, filter .2s ease; }
.btn-solid:hover { transform: translateY(-1px); filter: brightness(0.98); }
.btn-outline { padding: 12px 18px;  border: 1px solid var(--gold); background: #fff; color: var(--text); transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-outline:hover { transform: translateY(-1px); border-color: var(--gold); background: rgba(255,255,255,0.95); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* Dark, dynamic grid background variant */
.cta-minimal.dark { padding: 5rem 0rem; background: #121212 ; color: #eaeaea; border-top: none; border-bottom: none; }
.cta-minimal.dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 28px);
  background-size: 28px 28px, 28px 28px;
  animation: gridShift 28s linear infinite;
}
.cta-minimal.dark::after {
  content: ""; position: absolute; inset: -10% -10%;
  background: radial-gradient(600px 220px at 20% 100%, rgba(255,255,255,0.06), transparent 60%);
  filter: blur(6px);
  animation: glowDrift 12s ease-in-out infinite alternate;
}
@keyframes gridShift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}
@keyframes glowDrift {
  0% { transform: translateX(-4%); }
  100% { transform: translateX(4%); }
}
.cta-minimal.dark .overline { color: #b3b3b3; }
.cta-minimal.dark .title { color: #ffffff; }
.cta-minimal.dark .subtitle { color: #bdbdbd; }
.cta-minimal.dark .btn-solid { background: #ffffff; border-color: #ffffff; color: #0a0a0a; box-shadow: 0 10px 30px rgba(255,255,255,0.2); }
.cta-minimal.dark .btn-solid:hover { transform: translateY(-1px); filter: brightness(0.96); }
.cta-minimal.dark .btn-outline { background: transparent; border-color: #d4d4d4; color: #ffffff; }
.cta-minimal.dark .btn-outline:hover { border-color: #ffffff; }

/* Sluzby section with CTA-minimal styling */
#sluzby.cta-minimal .services {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

#sluzby.cta-minimal .service {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

#sluzby.cta-minimal .service h3 {
  font-family: 'Urbanist', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

#sluzby.cta-minimal .service p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

#sluzby.cta-minimal .service .more {
  margin-top: 16px;
}

#sluzby.cta-minimal .service-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color 0.2s ease;
}

#sluzby.cta-minimal .service-toggle:hover {
  color: var(--gold-dark);
}

#sluzby.cta-minimal .divider {
  height: 1px;
  background: var(--gray-300);
  margin: 0;
}

/* Accordion (Rozdělení) */
.accordion { display: grid; gap: 20px; }
.ac-item { 
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #141414, #0f0f0f);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.ac-item:hover { 
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.14);
}
.ac-btn {
  width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 18px 22px; background: transparent; color: #eaeaea;
  border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: .2px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  min-height: 64px;
}
.ac-btn:hover { background: rgba(255,255,255,0.04); }
.ac-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,0.12); }
.ac-icon { color: #eaeaea; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; }
.ac-icon svg { width: 22px; height: 22px; transition: transform .25s ease; }
.ac-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .25s ease, opacity .25s ease; padding: 0 22px; opacity: 0; }
.ac-item.open .ac-panel { max-height: 560px; padding: 16px 22px 22px; opacity: 1; }
.ac-item.open .ac-btn { background: rgba(255,255,255,0.06); }
.ac-item.open .ac-icon svg { transform: rotate(180deg); }

/* Light text inside panel for readability */
#rozdeleni .ac-panel { color: #d9d9d9; }
#rozdeleni .ac-panel p { color: #d9d9d9; }
/* FAQ – světlejší text uvnitř obsahu panelu na tmavém pozadí */
#faq .ac-panel { color: #d9d9d9; }
#faq .ac-panel p { color: #d9d9d9; }

/* O nás */
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about .panel {
  padding: 22px;
}
#o-nas
{

  width: 100%;
}
.about
{
  align-items: center;
}
.quote {
  margin: 22px 0;
  border-left: 2px solid var(--muted);
  padding-left: 14px;
  color: var(--muted);
}

/* Trichologie */
.tricho {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}
.tricho .highlight {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
}

/* Služby */
.services {
  display: grid; gap: 22px;
  grid-template-columns: repeat(1, 1fr);
}
.services .service { display: block; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  background: #fff;
}
.service h3 { margin-top: 0; }
/* Kontakt CTA */
.contact-cta { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 10px 0 24px; }
.contact-heading { font-weight: 600; font-size: 20px; letter-spacing: .2px; }
.service .more { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.service .service-toggle { margin-top: 12px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--text); background: #fff; color: var(--text); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.service .service-toggle .chev { display: inline-flex; width: 14px; height: 14px; transition: transform .25s ease; transform-origin: center; }
.service .service-toggle:hover .chev { transform: translateX(2px); }
.service .service-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--gray-300), transparent); margin: 14px 0; }

/* Footer */
footer {
  background: #0b0b0b;
  border-top: none;
  color: #eaeaea;
}
.footer-wrap { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px; }
.footer-top { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #eaeaea; }
.footer-brand .mark { width: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.92); text-decoration: none; position: relative; }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: #ffffff; transition: width .25s ease; }
.footer-links a:hover::after { width: 100%; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact address { font-style: normal; line-height: 1.4; }
.footer-contact a { color: rgba(255,255,255,0.92); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #eaeaea; background: rgba(255,255,255,0.06); }
.footer-social a:hover { border-color: #ffffff; color: #ffffff; background: rgba(255,255,255,0.12); }
.footer-divider { height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent); margin: 16px 0; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.footer-bottom a { color: rgba(255,255,255,0.92); text-decoration: underline; }
.footer-back { color: #ffffff; text-decoration: none; border: 1px solid rgba(255,255,255,0.6); border-radius: 999px; padding: 8px 12px; width: 40%;}
.footer-back:hover { border-color: #ffffff; color: #ffffff; }

/* Kontakt Grid s Mapou */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-form-col {
  width: 100%;
}
.contact-map-col {
  width: 100%;
  height: 100%;
  min-height: 320px; /* Zmenšeno z 400px */
  max-height: 380px; /* Přidáno omezení výšky */
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map-col a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}
.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 12px;
}
.map-overlay i { font-size: 42px; color: var(--gold); }
.map-overlay span { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.contact-map-col:hover .map-overlay { opacity: 1; }
.contact-map-col:hover .map-img { transform: scale(1.05); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-map-col { min-height: 300px; margin-bottom: 30px; } /* Mapa pod formulářem na mobilu */
}

/* Kontakt – minimalistický formulář s floating labels */
.contact { background: var(--gray-50); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.form-min { max-width: 680px; margin: 0 auto; display: grid; gap: 18px; padding: 0 20px; }
.field { position: relative; }
#contactForm {  max-width: 680px; margin: 0 auto; display: grid; gap: 18px; padding: 0 20px 50px 20px; }
.field input, .field textarea {
  width: 100%; border: none; border-bottom: 1.5px solid var(--gray-300);
  background: transparent; color: var(--text); padding: 16px 12px 10px; font-size: 16px;
  transition: border-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--muted); pointer-events: none; transition: all .2s ease; letter-spacing: .2px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field input:-webkit-autofill + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label { top: 6px; font-size: 12px; color: var(--gold-dark); }
.field input[type="tel"]:focus + label,
.field input[type="tel"]:not(:placeholder-shown) + label { top: 6px !important; font-size: 12px !important; color: var(--gold-dark) !important; transform: none !important; }
.error { display: none; color: #b00020; font-size: 12px; position: absolute; right: 12px; bottom: 6px; }
.success { display: none; color: #2b7a2b; font-weight: 600; }
.footer-brand .mark { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.footer-brand .mark img { width: 100%; object-fit: contain; display: block; filter: brightness(0) invert(1); }

/* Reveal Animations */
.reveal-up { opacity: 0; transform: translateY(20px); transition: opacity .4s ease, transform .4s ease; will-change: opacity, transform; }
.reveal-up.in { opacity: 1; transform: translateY(0); }

.reveal-fade { opacity: 0; transition: opacity .6s ease; will-change: opacity; }
.reveal-fade.in { opacity: 1; }

.reveal-zoom { opacity: 0; transform: scale(0.96); transition: opacity .4s ease, transform .4s ease; will-change: opacity, transform; }
.reveal-zoom.in { opacity: 1; transform: scale(1); }

.reveal-left { opacity: 0; transform: translateX(-22px); transition: opacity .4s ease, transform .4s ease; will-change: opacity, transform; }
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(22px); transition: opacity .4s ease, transform .4s ease; will-change: opacity, transform; }
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* Contact Info List */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.contact-info-list.center {
  align-items: center;
}
@media (min-width: 600px) {
  .contact-info-list.center {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--gray-300);
  border-radius: 50px;
  transition: all 0.2s ease;
}
.contact-info-item i {
  color: var(--muted);
  font-size: 18px;
}
.contact-info-item:hover {
  background: #fff;
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-up,
  .reveal-fade,
  .reveal-zoom,
  .reveal-left,
  .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Price List Styles */
.price-list-section {
  max-width: 900px;
  margin: 0 auto;
}
.price-category {
  margin-bottom: 60px;
}
.price-category h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.price-category h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 10px auto 0;
}
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.price-item:last-child {
  border-bottom: none;
}
.price-info {
  flex: 1;
  padding-right: 20px;
  min-width: 250px;
}
.price-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.price-desc {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin: 0;
}
.price-cost {
  text-align: right;
}
.price-value {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  white-space: nowrap;
}
.price-sub {
  display: block;
  font-size: 12px;
  color: #888;
  font-weight: 400;
  text-align: right;
  margin-top: 4px;
}
.price-features {
  list-style: none;
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  padding-left: 0;
}
.price-features li {
  display: inline-block;
  margin-right: 12px;
}
.price-features li::before {
  content: "•";
  color: var(--gold);
  margin-right: 4px;
}

/* Mobile Price List Enhancements */
@media (max-width: 768px) {
  .price-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .price-info {
    padding-right: 0;
    margin-bottom: 12px;
  }
  .price-cost {
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    padding: 12px;
    border-radius: 8px;
  }
  .price-sub {
    text-align: right;
    margin-top: 0;
  }
  .price-features li {
    margin-bottom: 6px;
  }
}

/* Promo Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.popup-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.popup-content {
  background: #fff;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--gold);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.popup-overlay.show .popup-content {
  transform: translateY(0);
}
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}
.popup-close:hover {
  color: var(--text);
}
.popup-title {
  font-family: 'Urbanist', sans-serif;
  font-size: 24px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.popup-body p {
  margin-bottom: 16px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}
.popup-highlight {
  font-weight: 600;
  color: var(--gold);
  font-size: 18px !important;
}
.popup-note {
  font-style: italic;
  font-size: 14px !important;
  color: var(--muted) !important;
  margin-top: 20px;
}
.popup-footer {
  font-weight: 700;
  margin-bottom: 0 !important;
  color: var(--text) !important;
}
