/*
  Beauty Body – moderní, luxusní, klidný styl
  - primární: královská modrá
  - akcent: zlatá (jen decentně)
  - hodně whitespace, čistý layout
*/

:root {
  /* Barvy */
  --blue-royal: #0f2d6a; /* královská modrá */
  --blue-ink: #142545;   /* tmavá pro text / overlay */
  --gold-accent: #d4af37;/* decentní zlatá */
  --cream: #faf7f0;      /* krémové pozadí */
  --page-bg: #f7f1e6;    /* sjednocené pozadí webu (inspirace veroniquezlin.cz) */
  --gray-100: #f5f6f8;   /* světlé pozadí */
  --gray-300: #e6e8ee;   /* linky */
  --text-muted: #999999; /* světlejší sekundární text pro framer-like headline */
  --text: #222734;       /* základní text */
  --text-soft: #4c556b;  /* sekundární text */
  --white: #ffffff;

  /* Modro-zelená aura (klidná, luxusní) */
  --reef-deep: #071524;
  --reef-night: #0b2233;
  --reef-teal: #0e4a55;
  --reef-mist: #0b2a3a;

  /* Typografie */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Rozměry */
  --container: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(20, 37, 69, 0.08);

  /* Motion (globální animace) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 900ms;
  --reveal-distance: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  background: var(--page-bg);
  overflow-x: hidden;
}
body.subpage { background: var(--page-bg); color: var(--text); }

/* Jemné scroll reveal (fail-safe): bez JS se obsah zobrazí normálně */
.reveal { opacity: 1; transform: none; filter: none; }
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  filter: blur(6px);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out),
    filter var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity, filter;
}
html.js .reveal.visible { opacity: 1; transform: translate3d(0, 0, 0); filter: none; }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.22s; }
.reveal.delay-3 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { transition: none; opacity: 1; transform: none; filter: none; }
  .anim-in, .anim-scaleIn { transition: none; opacity: 1; transform: none; }
}

/* CTA duo – luxusní zlaté akcenty */
.cta-duo { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 14px; }
.cta-duo .btn { min-width: 170px; text-align: center; }
.btn-luxe {
  background: linear-gradient(120deg, #d4af37, #e6c672);
  color: #1c1c1c;
  border: 1px solid #d4af37;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}
.btn-luxe:hover { filter: brightness(1.04); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.btn-ghost-luxe {
  background: transparent;
  color: #b28726;
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.btn-ghost-luxe:hover { background: rgba(212, 175, 55, 0.08); color: #8a6a1a; }

/* Why section – sjednocené pozadí */
.section.why { background: transparent; }

/* Proč Beauty Body – 1:1 layout inspirace (foto vlevo, info-boxy vpravo) */
.why-split {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}
.why-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(17, 43, 76, 0.16);
}
.why-content { display: grid; gap: 16px; }
.why-kicker {
  font-size: 13px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-accent);
}
.why-content .section-title { margin: 0; }

.why-list { display: grid; gap: 16px; margin-top: 6px; }
.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.why-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-accent);
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.why-item-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
}
.why-item-text { margin: 6px 0 0; color: var(--text-soft); line-height: 1.75; }

@media (max-width: 900px) {
  .why-split { grid-template-columns: 1fr; }
  .why-media img { max-width: 520px; margin: 0 auto; }
}

/* Prémiové modro-zelené pozadí inspirované katherine.cz (nenápadný pohyb) */
.luxe-reef {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--text);
  background: transparent;
  backdrop-filter: none;
}
.luxe-reef h1,
.luxe-reef h2,
.luxe-reef h3,
.luxe-reef h4,
.luxe-reef h5,
.luxe-reef h6,
.luxe-reef p,
.luxe-reef li,
.luxe-reef a,
.luxe-reef .section-title {
  color: inherit;
  text-shadow: none;
}
.luxe-reef::before {
  content: none;
}
.luxe-reef::after {
  content: none;
}

/* Na celé stránce (podweb) necháme pozadí fixované a neblokujeme scroll */
body.luxe-reef { overflow-x: hidden; overflow-y: auto; }
body.luxe-reef::before,
body.luxe-reef::after {
  position: fixed;
}

/* V boxech zvýrazníme kontrast na tmavém pozadí */
.luxe-reef .card,
.luxe-reef .service-card,
.luxe-reef .price-card,
.luxe-reef .product-card,
.luxe-reef .price-item,
.luxe-reef .acc-item,
.luxe-reef .service-detail,
.luxe-reef .product-thumb {
  position: relative;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(125deg, rgba(212, 175, 55, 0.65), rgba(15, 45, 106, 0.18), rgba(212, 175, 55, 0.65)) border-box;
  border: 1.6px solid transparent;
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow);
}

/* Bez zlatého orámování: Kontakt & objednání + spodní řádek ve footeru */
.luxe-reef .contact-panel,
.luxe-reef .contact-panel .socials,
.luxe-reef .footer-bottom {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: var(--shadow);
}

.luxe-reef .card h3,
.luxe-reef .service-title,
.luxe-reef .services-title,
.luxe-reef .price-title,
.luxe-reef .product-name,
.luxe-reef .section-title {
  color: inherit;
  text-shadow: none;
}

.luxe-reef .card p,
.luxe-reef .service-desc,
.luxe-reef .service-detail,
.luxe-reef .price-item,
.luxe-reef .product-note,
.luxe-reef .note,
.luxe-reef .pi-name,
.luxe-reef .pi-time,
.luxe-reef .pi-price,
.luxe-reef .contact-panel,
.luxe-reef .footer-links a,
.luxe-reef .footer-note,
.luxe-reef .footer-copy,
.luxe-reef .contact-link,
.luxe-reef .nav-list a {
  color: inherit;
  text-shadow: none;
}

.luxe-reef .btn.primary { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18); }
.luxe-reef .btn.outline { color: var(--blue-royal); border-color: rgba(212, 175, 55, 0.55); }

/* Obrázky a mapy ponecháme bez změny pozadí */
.luxe-reef .owner-gallery,
.luxe-reef .owner-photo,
.luxe-reef .map iframe,
.luxe-reef .cenik-img,
.luxe-reef .gallery-col img,
.luxe-reef .thumb {
  background: none;
  color: inherit;
  text-shadow: none;
  box-shadow: var(--shadow);
}
@keyframes reefDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10px, -12px, 0) scale(1.02); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

img { max-width: 100%; display: block; border-radius: var(--radius-sm); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 900px; }
.container.wide { max-width: 1860px; }
.section { padding: 96px 0; }

/* Odstraníme mezery mezi vybranými sekcemi: Služby, O mně, Ceník */
#sluzby,
#o-mne,
#cenik { margin-top: 0; }
.section.soft-bg { background: transparent; }
.section.flow-fade { position: relative; overflow: hidden; }
.section.flow-fade > * { position: relative; z-index: 1; }

#sluzby { position: relative; overflow: hidden; }
#sluzby::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 160px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(250, 247, 240, 0.82) 60%, rgba(250, 247, 240, 1) 100%);
  pointer-events: none;
  z-index: 0;
}

#o-mne { position: relative; overflow: hidden; }
#o-mne::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 200px;
  background: linear-gradient(180deg, rgba(250, 247, 240, 0) 0%, rgba(12, 28, 42, 0.35) 60%, rgba(7, 21, 36, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

#cenik { position: relative; overflow: hidden; }
#cenik::before { content: none; }
#cenik .section-title {
  color: var(--blue-royal);
  text-shadow: none;
}

/* Nadpisy podwebu – modrá */
.luxe-reef #procedury .section-title,
.luxe-reef #pristroje .section-title,
.luxe-reef #galerie-pristroju .section-title,
#procedury .section-title,
#pristroje .section-title,
#galerie-pristroju .section-title {
  color: var(--blue-royal);
  text-shadow: none;
}

/* Podweb – intro s fotkou na pozadí */
.subpage-intro {
  padding-top: 120px;
  padding-bottom: 72px;
  min-height: 70vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: none;
}
.subpage-intro > .container {
  position: relative;
  z-index: 1;
}
.subpage-intro::before {
  content: none;
}
.subpage-intro .section-title {
  font-size: clamp(44px, 6.8vw, 78px);
  line-height: 1.02;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  text-shadow: 0 1px 0 #f3e3b2, 0 2px 0 #e6c672, 0 4px 0 #d4af37, 0 6px 10px rgba(7, 21, 36, 0.24), 0 14px 24px rgba(7, 21, 36, 0.18);
}
.luxe-reef .subpage-intro .section-title,
.luxe-reef .subpage-intro .lead {
  color: var(--gold-accent);
  text-shadow: 0 1px 0 #f3e3b2, 0 2px 0 #e6c672, 0 4px 0 #d4af37, 0 6px 10px rgba(7, 21, 36, 0.24), 0 14px 24px rgba(7, 21, 36, 0.18);
}
.subpage-intro .lead {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.8;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
}
.subpage-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,37,69,0.18), rgba(20,37,69,0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.subpage-intro .hero-bg {
  animation: heroBgZoom 6s ease-out forwards;
}

/* Podweby (body.luxe-reef): zjemnění hran mezi sekcemi */
body.luxe-reef .section:not(.subpage-intro) {
  background: transparent;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0.2px;
  margin: 0 0 20px;
  color: var(--blue-royal);
  text-align: center;
}
.lead { font-size: 18px; color: var(--text-soft); margin-bottom: 18px; }

/* Header / Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(20,37,69,0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 24px rgba(20,37,69,0.12);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-royal); text-decoration: none; }
.brand-logo { display:inline-block; height:72px; width:72px; object-fit: cover; }
.brand-name { font-weight:600; letter-spacing:0.4px; }

.site-nav { position: relative; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  text-decoration: none;
  color: var(--blue-royal);
  font-weight: 500;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  opacity: 0.85;
}
.nav-list a:hover::after { transform: scaleX(1); }

/* Header na tmavém pozadí: zůstává bílý (inspirace čistým Elementor headerem) */
.luxe-reef .site-header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(20,37,69,0.08);
}
.luxe-reef .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(15,45,106,0.0), rgba(15,45,106,0.22), rgba(15,45,106,0.0));
  opacity: 0.9;
}
.luxe-reef .site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 6px 24px rgba(20,37,69,0.12);
}
.luxe-reef .brand { color: var(--blue-royal); }
.luxe-reef .brand-name { color: var(--blue-royal); text-shadow: none; }
.luxe-reef .nav-list a { color: var(--blue-royal); text-shadow: none; }
.luxe-reef .nav-list a:hover { color: var(--blue-royal); }
.luxe-reef .nav-toggle {
  background: rgba(255,255,255,0.96);
  border-color: rgba(15,45,106,0.22);
}
.luxe-reef .nav-toggle .line { background: var(--blue-royal); }

/* CTA style */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; letter-spacing: 0.3px; transition: transform 0.15s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; cursor: pointer; }
.btn.primary { background: var(--blue-royal); color: #fff; box-shadow: 0 6px 18px rgba(15,45,106,0.24); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.outline { border: 1px solid var(--gold-accent); color: var(--blue-royal); background: transparent; }
.btn.outline:hover { background: rgba(212,175,55,0.06); }

/* Podweb: CTA v hlavičce "Objednat se" má být bílá */
body.luxe-reef .site-header .nav-list a.btn.primary {
  color: #fff;
}
body.luxe-reef .site-header .nav-list a.btn.primary::after {
  display: none;
}

.link-more { background: transparent; border: none; padding: 0; color: var(--blue-royal); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--gray-300); background: #fff; justify-content:center; align-items:center; gap:5px; }
.nav-toggle .line { width: 18px; height: 2px; background: var(--blue-royal); display: block; }

/* Hero */
.hero { position: relative; min-height: 90vh; display: grid; align-items: center; padding-top: 96px; --scrollY: 0; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; transform-origin: center; background:
  linear-gradient(180deg, rgba(7, 21, 36, 0.52), rgba(7, 21, 36, 0.22) 48%, rgba(7, 21, 36, 0.06)),
  radial-gradient(1200px 600px at 80% 10%, rgba(212,175,55,0.08), transparent 60%),
  radial-gradient(900px 480px at 20% 90%, rgba(15,45,106,0.10), transparent 55%),
  var(--hero-image, url("obrazky/salon-image-2.JPG"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroBgZoom 6s ease-out forwards;
  will-change: transform;
}
.hero-bg.hero-bg-alt {
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero-bg.hero-bg-alt.is-visible {
  opacity: 1;
}
/* Podweb: jiný podkladový vizuál */
body.subpage .hero-bg {
  background:
    linear-gradient(180deg, rgba(7, 21, 36, 0.52), rgba(7, 21, 36, 0.22) 48%, rgba(7, 21, 36, 0.06)),
    radial-gradient(1200px 600px at 80% 10%, rgba(212,175,55,0.08), transparent 60%),
    radial-gradient(900px 480px at 20% 90%, rgba(15,45,106,0.10), transparent 55%),
    var(--hero-image, url("obrazky/cpYSXf.jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::after { /* tmavší overlay pro čitelnost */
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,37,69,0.18), rgba(20,37,69,0.08) 40%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; }
.hero-text-wrap { max-width: 1080px; transform: translateY(calc(var(--scrollY) * -8px)); opacity: calc(1 - (var(--scrollY) * 0.12)); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); padding: 48px 56px; border-radius: var(--radius); }
.hero-kicker { font-family: 'Montserrat', var(--font-sans); font-size: 18px; font-weight: 500; letter-spacing: 6.6px; text-transform: uppercase; color: var(--gold-accent); margin: 0 0 14px; text-align: center; text-shadow: 0 1px 0 rgba(255, 242, 200, 0.7), 0 2px 0 rgba(212, 175, 55, 0.6), 0 6px 14px rgba(7, 21, 36, 0.22); }
.hero-headline { font-family: var(--font-serif); font-weight: 700; font-size: clamp(62px, 11vw, 166px); line-height: 0.82; letter-spacing: 6.6px; color: var(--blue-royal); margin: 0 0 12px; }
.hero-headline { font-size: clamp(58px, 9vw, 132px); letter-spacing: 4px; max-width: 980px; margin-left: auto; margin-right: auto; }
.hero-headline .hero-word { display: block; white-space: nowrap; text-shadow: 0 1px 0 #f3e3b2, 0 2px 0 #e6c672, 0 4px 0 #d4af37, 0 6px 10px rgba(7, 21, 36, 0.24), 0 14px 24px rgba(7, 21, 36, 0.18); }
.hero-claim { font-family: var(--font-sans); font-size: clamp(17px, 2.4vw, 20px); line-height: 1.8; color: #000000; max-width: 720px; text-align: center; margin-left: auto; margin-right: auto; }

/* V intru zachováme původní barvy i na tmavém pozadí */
.luxe-reef .hero-headline,
.luxe-reef .hero-claim,
.luxe-reef .hero-kicker { color: var(--blue-royal); text-shadow: none; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
/* center text blocks within container */
.hero-subtitle { margin-left: auto; margin-right: auto; }
/* jemná animace CTA pro pozornost, ne agresivní */
.hero-cta .btn.primary { animation: softPulse 3.2s ease-in-out 1.2s infinite; }
@keyframes softPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(15,45,106,0.24); transform: translateY(0); }
  50% { box-shadow: 0 10px 26px rgba(15,45,106,0.30); transform: translateY(-1px); }
}

.scroll-indicator { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-indicator span { display:block; width: 24px; height: 36px; border: 2px solid var(--blue-ink); border-radius: 14px; position: relative; opacity: .7; }
.scroll-indicator span::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--blue-ink); border-radius: 2px; top: 6px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Cinematic hero animations */
@keyframes fadeScaleIn {
  0% { opacity: 0; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes heroBgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.anim-in { opacity: 0; transform: translateY(14px); transition: transform 1100ms ease, opacity 1100ms ease; }
.anim-in.animated { opacity: 1; transform: translateY(0); }
.anim-in.delay-1 { transition-delay: 300ms; }
.anim-in.delay-2 { transition-delay: 600ms; }
.anim-in.delay-3 { transition-delay: 900ms; }
/* scale-in for big word */
.anim-scaleIn { opacity: 0; transform: scale(1.08); transition: transform 1400ms ease, opacity 1400ms ease; will-change: transform, opacity; }
.anim-scaleIn.animated { opacity: 1; transform: scale(1); }

/* Layout helpers */
.two-cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.media img { box-shadow: var(--shadow); }
#filozofie .media img { box-shadow: none; }

/* Podweb – Přístroje redesign */
.devices { background: transparent; }
.devices-head { display: grid; gap: 10px; max-width: 900px; text-align: center; margin: 0 auto 28px; }
.devices-head .eyebrow { color: var(--gold-accent); }
.devices .lead { margin: 0; color: var(--text-soft); }

.devices-split {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  margin-top: 8px;
}

.device-panel {
  display: grid;
  grid-template-columns: minmax(260px, 480px) 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding: clamp(10px, 2.4vw, 22px) 0;
}

.device-panel.reverse .device-panel-media { order: 2; }
.device-panel.reverse .device-panel-content { order: 1; }

.device-panel-media {
  position: relative;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0.08));
  box-shadow: 0 18px 44px rgba(20, 37, 69, 0.12);
}
.device-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1.6px solid rgba(212, 175, 55, 0.6);
  box-shadow: none;
}

.device-panel-content {
  display: grid;
  gap: 12px;
  max-width: 560px;
}

.device-benefits {
  margin-top: 8px;
  display: grid;
  gap: 14px;
  padding: 15px;
  background: transparent;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.device-benefits h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text);
}
.device-benefits h4 {
  margin: 0;
  color: var(--gold-accent);
  font-family: var(--font-serif);
  font-weight: 700;
}
.device-benefits hr {
  margin: 8px 0 12px;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.25));
  border-radius: 999px;
}
.device-benefits p {
  margin: 0 0 12px;
}
.device-benefits ul {
  margin: 0 0 10px 0;
  padding-left: 0;
  color: var(--text-soft);
  list-style: none;
}
.device-benefits li strong {
  color: var(--gold-accent);
}
.pece-o-plet {
  background: var(--blue-royal);
  color: #eaf4ff;
  position: relative;
  overflow: hidden;
}
.pece-o-plet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.12), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.pece-split {
  position: relative;
  z-index: 1;
}
.pece-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.pece-content {
  display: grid;
  gap: 12px;
}
.pece-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  color: #eaf4ff;
  margin: 0;
  position: relative;
  padding-bottom: 12px;
}
.pece-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.9), rgba(212, 175, 55, 0.2));
  border-radius: 999px;
}
.pece-content p {
  margin: 0;
  color: rgba(234, 244, 255, 0.82);
  line-height: 1.8;
}
.pece-media img,
.pece-media video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.soft-divider {
  margin-top: clamp(28px, 5vw, 48px);
  background: var(--blue-royal);
  border-radius: 22px;
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 10px 26px rgba(20, 37, 69, 0.08);
  color: #eaf4ff;
}
.soft-divider-inner {
  display: grid;
  gap: 6px;
  max-width: 900px;
}
.soft-divider h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  color: #eaf4ff;
  position: relative;
  padding-bottom: 6px;
}
.soft-divider h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.85), rgba(212, 175, 55, 0.2));
  border-radius: 999px;
}
.soft-divider p {
  margin: 0;
  color: rgba(234, 244, 255, 0.82);
  line-height: 1.8;
}

@media (max-width: 900px) {
  .pece-split {
    grid-template-columns: 1fr;
  }
  .pece-media img {
    max-width: 520px;
    margin: 0 auto;
  }
  .soft-divider {
    min-height: 88px;
  }
}

.device-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  color: var(--blue-royal);
  position: relative;
  padding-bottom: 12px;
}
.device-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.9), rgba(212, 175, 55, 0.2));
  border-radius: 999px;
}

.device-panel-content p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.device-divider {
  height: 1px;
  width: min(80%, 820px);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.device-card {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(20, 37, 69, 0.12);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}
.device-card:hover,
.device-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 37, 69, 0.16);
  border-color: rgba(212,175,55,0.55);
}

.device-media { position: relative; overflow: hidden; }
.device-media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.device-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,45,106,0.8);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.device-body { padding: 16px 16px 18px; display: grid; gap: 6px; }
.device-body h3 { margin: 0; font-size: 20px; color: var(--text); }
.device-body p { margin: 0; color: var(--text-soft); line-height: 1.7; }

@media (max-width: 1024px) {
  .devices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-media img { height: 200px; }
}
@media (max-width: 720px) {
  .devices-grid { grid-template-columns: 1fr; }
  .device-media img { height: 200px; }
}

@media (max-width: 900px) {
  .device-panel {
    grid-template-columns: 1fr;
  }
  .device-panel.reverse .device-panel-media,
  .device-panel.reverse .device-panel-content {
    order: unset;
  }
  .device-panel-content {
    max-width: 100%;
  }
}

/* Přiklízecí efekt (grow + overlay) – vybrané sekce */
#procedury .step,
#sluzby .service-card,
#sluzby .acc-item,
#kosmetika .product-card {
  position: relative;
  overflow: hidden;
  transition: transform 350ms ease, box-shadow 350ms ease;
  will-change: transform;
}

#procedury .step::after,
#sluzby .service-card::after,
#sluzby .acc-item::after,
#kosmetika .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 36, 0.04), rgba(7, 21, 36, 0.38));
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

#procedury .step > *,
#sluzby .service-card > *,
#sluzby .acc-item > *,
#kosmetika .product-card > * {
  position: relative;
  z-index: 1;
}

#procedury .step:hover,
#procedury .step:focus-within,
#sluzby .service-card:hover,
#sluzby .service-card:focus-within,
#sluzby .acc-item:hover,
#sluzby .acc-item:focus-within,
#kosmetika .product-card:hover,
#kosmetika .product-card:focus-within {
  transform: scale(1.02);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

#procedury .step:hover::after,
#procedury .step:focus-within::after,
#sluzby .service-card:hover::after,
#sluzby .service-card:focus-within::after,
#sluzby .acc-item:hover::after,
#sluzby .acc-item:focus-within::after,
#kosmetika .product-card:hover::after,
#kosmetika .product-card:focus-within::after {
  opacity: 1;
}

/* Galerie přístrojů – přiklízecí efekt na celé boxy */
#galerie-pristroju .gallery-col,
#galerie-pristroju .thumb,
#galerie-procedury .gallery-col,
#galerie-procedury .thumb {
  position: relative;
  overflow: hidden;
  transition: transform 350ms ease, box-shadow 350ms ease;
  will-change: transform;
}

#galerie-pristroju .gallery-col,
#galerie-procedury .gallery-col {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
#galerie-pristroju .gallery-col img,
#galerie-procedury .gallery-col img {
  border-radius: 0;
  box-shadow: none;
  transition: transform 350ms ease;
  will-change: transform;
}
#galerie-pristroju img,
#galerie-procedury img {
  cursor: zoom-in;
}

#galerie-pristroju .gallery-col::after,
#galerie-pristroju .thumb::after,
#galerie-procedury .gallery-col::after,
#galerie-procedury .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 36, 0.04), rgba(7, 21, 36, 0.50));
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

#galerie-pristroju .gallery-col:hover,
#galerie-pristroju .thumb:hover,
#galerie-procedury .gallery-col:hover,
#galerie-procedury .thumb:hover {
  transform: scale(1.01);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20);
}

#galerie-pristroju .gallery-col:hover::after,
#galerie-pristroju .thumb:hover::after,
#galerie-procedury .gallery-col:hover::after,
#galerie-procedury .thumb:hover::after {
  opacity: 1;
}

#galerie-pristroju .gallery-col:hover img,
#galerie-pristroju .thumb:hover img,
#galerie-procedury .gallery-col:hover img,
#galerie-procedury .thumb:hover img {
  transform: scale(1.06);
}

.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(20,37,69,0.12); border-color: rgba(212,175,55,0.5); }
.card h3 { margin: 6px 0 8px; font-size: 20px; color: var(--blue-royal); }
.card p { margin: 0 0 10px; color: var(--text-soft); }

.media-cards .card.media { padding: 0; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.media-cards .card .content { padding: 18px 18px 20px; }

.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.brand { text-align: center; padding: 16px; border: 1px dashed var(--gray-300); border-radius: var(--radius); background: #fff; }
.brand p { margin: 10px 0 0; color: var(--text-soft); }

.note { margin-top: 20px; color: var(--text-soft); }

/* Owner section */
.owner .owner-photo { width: 100%; max-width: 640px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.owner-photo-wrap { position: relative; display: inline-block; }
.owner-photo-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  background: rgba(7, 21, 36, 0.38);
  border-radius: 22px;
  pointer-events: none;
}
.upload-controls { margin-top: 12px; display: grid; gap: 8px; }
.upload-controls .upload-note { margin: 0; color: var(--text-soft); font-size: 13px; }
.owner .section-separator { height: 2px; width: 100%; max-width: 560px; background: linear-gradient(90deg, rgba(10,10,10,0.12), rgba(10,10,10,0.12)); margin: 8px 0 16px; border-radius: 2px; }
.owner .owner-text p { margin: 0 0 14px; }

/* Full-bleed owner gallery */
.full-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.owner-gallery { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.owner-gallery img { width: 100%; display: block; height: auto; }
.owner-gallery img + img { margin-top: 0; }

/* Služby / rituály – redesign */
.rituals { background: transparent; }
.rituals-head { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: 36px; }
.rituals-head .eyebrow { font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700; color: var(--gold-accent); }
.rituals-title-wrap { max-width: 860px; display: grid; gap: 10px; }
.rituals .section-title { margin: 0; }
.rituals .lead { margin: 0; color: var(--text-soft); }

.rituals-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.ritual-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(17, 43, 76, 0.10);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  min-height: 250px;
}
.ritual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 110% -10%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0));
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.ritual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(17, 43, 76, 0.16);
  border-color: rgba(212, 175, 55, 0.55);
}
.ritual-card > * { position: relative; z-index: 1; }
.ritual-meta { display: block; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(15, 45, 106, 0.08); color: var(--blue-royal); font-weight: 700; font-size: 13px; letter-spacing: 0.3px; }
.pill-soft { background: rgba(212, 175, 55, 0.16); color: #6b5410; }
.ritual-name { margin: 0; font-family: var(--font-serif); font-size: 22px; color: var(--text); letter-spacing: 0.2px; }
.ritual-copy { margin: 0; color: var(--text-soft); line-height: 1.7; }
.ritual-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  align-self: center;
  justify-content: center;
  min-width: 190px;
  border-radius: 10px;
  background: rgba(15, 45, 106, 0.96);
  border: 1px solid rgba(15, 45, 106, 0.96);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 14px;
  box-shadow: 0 12px 26px rgba(15, 45, 106, 0.22);
}
.ritual-card:hover .ritual-link { background: rgba(20, 37, 69, 0.98); border-color: rgba(212, 175, 55, 0.55); }
.ritual-link::after { content: "›"; font-size: 18px; transition: transform 200ms ease; }
.ritual-card:hover .ritual-link::after { transform: translateX(3px); }

@media (max-width: 1024px) {
  .rituals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .rituals-grid { grid-template-columns: 1fr; }
  .rituals-head { text-align: left; justify-items: start; }
}

/* Filozofie – trust grid (1:1 layout inspirace) */
.filozofie .trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; justify-items: center; }
.trust-card { background: transparent; border-radius: var(--radius); padding: 16px; position: relative; overflow: hidden; text-align: center; display: grid; justify-items: center; }
.trust-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gray-300); }
.trust-value { display: grid; place-items: center; font-family: var(--font-sans); font-weight: 500; font-size: clamp(40px, 6.5vw, 64px); line-height: 1.05; color: var(--text); letter-spacing: 0; }
.trust-caption { margin-top: 8px; text-align: center; color: var(--text); font-size: 15px; }

/* Framer-like headline (velké H3 + zlatý span) */
.framer-headline { margin: 8px 0 12px; font-family: var(--font-sans); font-weight: 500; font-size: clamp(20px, 3.5vw, 32px); line-height: 1.3; color: var(--text); }
.framer-headline .muted { color: #c9a961; opacity: 0.85; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.step .icon { color: var(--gold-accent); margin: 6px auto 10px; }
.step h3 { margin: 8px 0 6px; font-size: 18px; color: var(--blue-royal); }
.step p { margin: 0; color: var(--text-soft); }

/* Zarovnání procedur k headeru */
#procedury .section-title { text-align: left; }
#procedury .steps { text-align: left; }
#procedury .step { text-align: left; }
#procedury .step .icon { margin-left: 0; margin-right: 0; }

/* Procedury – nový layout */
.procedury { background: linear-gradient(180deg, #ffffff 0%, #faf7f0 60%, #ffffff 100%); }
.procedury-head { display: grid; gap: 10px; max-width: 860px; text-align: center; justify-items: center; margin-left: auto; margin-right: auto; }
.procedury-head .eyebrow { font-size: 13px; letter-spacing: 2.2px; text-transform: uppercase; font-weight: 700; color: var(--gold-accent); }
.procedury-head .lead { margin: 0; color: var(--text-soft); }

.procedury-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px auto 0;
  max-width: 1180px;
}
.procedury-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,0.55), rgba(212,175,55,0.15));
  z-index: 0;
}

.proc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 14px 32px rgba(20, 37, 69, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  z-index: 1;
}
.proc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 80% 12%, rgba(212,175,55,0.14), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
  border-radius: 16px;
}
.proc-card > * { position: relative; z-index: 1; }
.proc-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-royal);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(15,45,106,0.28);
}
.proc-body { display: grid; gap: 6px; }
.proc-title { margin: 0; font-family: var(--font-serif); font-size: 20px; color: var(--text); letter-spacing: 0.3px; }
.proc-desc { margin: 0; color: var(--text-soft); line-height: 1.7; }
.proc-points { margin: 6px 0 0; padding-left: 18px; color: var(--text); line-height: 1.6; }
.proc-points li { margin-bottom: 4px; }

@media (max-width: 1024px) {
  .procedury-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .procedury-grid { grid-template-columns: 1fr; }
  .procedury-grid::before { display: none; }
  .proc-card { grid-template-columns: auto 1fr; }
}

/* Kontakt */
.contact .address { font-style: normal; margin: 10px 0 16px; color: var(--blue-royal); }
.contact .contact-link { color: var(--blue-royal); text-decoration: none; font-weight: 600; }
.contact .contact-link:hover { text-decoration: underline; }
.contact .cta-row { display:flex; gap:12px; margin-top:14px; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* panel kolem kontaktních údajů */
.contact-panel {
  background: transparent;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  color: var(--text);
}
.contact-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, rgba(212,175,55,0.9), rgba(212,175,55,0.35)); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.contact .cta-row .btn.primary { box-shadow: 0 6px 18px rgba(15,45,106,0.24); }
.contact .cta-row .btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,45,106,0.3); }
.contact-form { display: grid; gap: 16px; }
.contact-form .form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-panel .section-title { color: var(--blue-royal); }
.contact-form .form-field { display: grid; gap: 6px; font-weight: 600; color: var(--text); }
.contact-form .form-field.full { grid-column: 1 / -1; }
.contact-form .form-field input,
.contact-form .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--gray-300);
  font-size: 16px;
  font-family: var(--font-sans);
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form .form-field input::placeholder,
.contact-form .form-field textarea::placeholder { color: var(--text-soft); }
.contact-form .form-field input:focus,
.contact-form .form-field textarea:focus {
  outline: none;
  border-color: rgba(212,175,55,0.8);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.16);
  background: #fff;
}
.contact-form .form-field textarea { resize: vertical; min-height: 140px; }
.contact-form .form-field.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--text); }
.contact-form .form-field.checkbox input { width: auto; margin-top: 4px; }
.contact-form .contact-mini { display: grid; gap: 6px; margin-top: 4px; color: var(--text); font-size: 14px; }

/* Podweby – boxy průhledné (barva bere z --page-bg) */
body.subpage .card,
body.subpage .device-card,
body.subpage .proc-card,
body.subpage .service-card,
body.subpage .price-card,
body.subpage .product-card,
body.subpage .price-item,
body.subpage .acc-item,
body.subpage .service-detail {
  background: transparent;
  border-color: rgba(10, 10, 10, 0.12);
}

/* Sluzby.html – hodně boxů je inline style "background: white" → přepíšeme na průhledné */
body.subpage .section .container [style*="background: white" i],
body.subpage .section .container [style*="background:white" i],
body.subpage .section .container [style*="background: #fff" i],
body.subpage .section .container [style*="background:#fff" i] {
  background: transparent !important;
  border: 1px solid rgba(10, 10, 10, 0.12);
  box-shadow: var(--shadow);
}

/* Nadpisy uvnitř těchto boxů do zlata (např. HANAKASUMI, DX BODY, KONTRAINDIKACE) */
body.subpage .section .container [style*="background: white" i] h2,
body.subpage .section .container [style*="background: white" i] h3,
body.subpage .section .container [style*="background: white" i] h4,
body.subpage .section .container [style*="background:white" i] h2,
body.subpage .section .container [style*="background:white" i] h3,
body.subpage .section .container [style*="background:white" i] h4,
body.subpage .section .container [style*="background: #fff" i] h2,
body.subpage .section .container [style*="background: #fff" i] h3,
body.subpage .section .container [style*="background: #fff" i] h4,
body.subpage .section .container [style*="background:#fff" i] h2,
body.subpage .section .container [style*="background:#fff" i] h3,
body.subpage .section .container [style*="background:#fff" i] h4 {
  color: var(--gold-accent) !important;
}

/* Zvýrazněné údaje (cca. 60–90 minut, od 1390 Kč) do zlata */
span[style*="#9f7753" i] {
  color: var(--gold-accent) !important;
}
.contact-form .contact-mini .contact-link { font-weight: 700; color: var(--blue-royal); }
.contact .contact-link { color: var(--blue-royal); }

/* Footer */
.site-footer {
  border-top: 0;
  padding: 40px 0 22px;
  background: var(--blue-royal);
  border: 0;
  border-radius: 0;
  position: relative;
  color: #eaf4ff;
  box-shadow: 0 -14px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

/* Když má footer i .luxe-reef, použijeme modro-zelené pozadí (ne glass barvu) */
.site-footer.luxe-reef {
  background: var(--blue-royal);
  backdrop-filter: saturate(102%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(234,244,255,0), rgba(234,244,255,0.22), rgba(234,244,255,0));
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  align-items: start;
  color: inherit;
}

.footer-block { padding: 6px 0; }

.footer-title {
  margin: 0 0 12px;
  font-size: 18px;
  color: #eaf4ff;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.footer-phone {
  display: block;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  color: #eaf4ff;
  text-decoration: none;
  text-shadow: 0 8px 22px rgba(0,0,0,0.32);
  margin: 0 0 6px;
}
.footer-phone:hover { color: #ffffff; }

.footer-link {
  display: block;
  color: #eaf4ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  text-shadow: 0 8px 22px rgba(0,0,0,0.32);
  margin-bottom: 6px;
}
.footer-link:hover { color: #ffffff; }

.footer-subtitle {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #eaf4ff;
  text-shadow: 0 8px 22px rgba(0,0,0,0.32);
}

.footer-note {
  position: relative;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #e0e9f5;
  text-shadow: 0 6px 18px rgba(0,0,0,0.28);
  text-align: center;
  letter-spacing: 0.2px;
}
.footer-note::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, rgba(234,244,255,0), rgba(234,244,255,0.4), rgba(234,244,255,0));
}

.footer-text {
  margin-top: 8px;
  color: #e0e9f5;
  text-shadow: 0 8px 22px rgba(0,0,0,0.3);
  line-height: 1.8;
  font-size: 16px;
}

.footer-address-text {
  color: #e0e9f5;
  text-shadow: 0 8px 22px rgba(0,0,0,0.3);
  line-height: 1.8;
  font-size: 16px;
}

/* footer-bottom removed per layout update */

/* Kontakt & objednání – větší typografie (inspirováno footerem/předlohou) */
.contact-panel .address {
  margin: 12px 0 18px;
  font-size: 16px;
  line-height: 1.85;
}

.contact-panel .contact-link {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.contact-panel .contact-link + br + .contact-link {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
}

.contact-panel .affiliation {
  margin: 14px 0 18px;
  font-size: 16px;
  color: #e0e9f5;
}

.luxe-reef .contact-panel .address,
.luxe-reef .contact-panel .affiliation {
  color: #e5eef9;
  text-shadow: 0 8px 22px rgba(0,0,0,0.3);
}

.luxe-reef .contact-panel .contact-link {
  color: #eaf4ff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.36);
}

.footer-only-mobile { display: none; }
.footer-only-desktop { display: block; }

/* Socials */
.socials { display: flex; gap: 18px; align-items: center; justify-content: center; }
.social { display: inline-flex; align-items:center; gap: 10px; color: var(--text); text-decoration: none; border: 1px solid var(--gray-300); padding: 10px 14px; border-radius: 999px; transition: all .2s ease; background: transparent; }
.social:hover { border-color: rgba(212,175,55,0.7); color: var(--blue-royal); box-shadow: 0 8px 22px rgba(20,37,69,0.08); }

.luxe-reef .social { color: #eaf4ff; border-color: rgba(234, 244, 255, 0.36); background: rgba(12,28,42,0.6); box-shadow: 0 10px 24px rgba(0,0,0,0.26); }
.luxe-reef .social:hover { color: #f3e7c0; border-color: rgba(212,175,55,0.7); box-shadow: 0 12px 30px rgba(0,0,0,0.34); }

.footer-socials { justify-content: flex-start; padding-top: 8px; gap: 12px; }
.footer-socials .social { padding: 8px 10px; }

/* dekorativní linka pod nadpisem sociálních sítí */
.decor-line { width: 84px; height: 2px; margin: 8px auto 18px; background: linear-gradient(90deg, rgba(212,175,55,0.9), rgba(212,175,55,0.2)); border-radius: 2px; }

/* Socials inside contact panel */
.social-embed { margin-top: 18px; }
.contact-panel .socials { justify-content: flex-start; }
.contact-panel .decor-line { margin: 6px 0 12px; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }

/* Responsive */
@media (max-width: 1024px) {
  .two-cols { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .owner-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; right: 0; top: 56px; background: #fff; border: 1px solid var(--gray-300); border-radius: 12px; padding: 12px; display: none; flex-direction: column; width: 240px; box-shadow: var(--shadow); }
  .nav-list.open { display: flex; }

  .luxe-reef .nav-list {
    background: #fff;
    border: 1px solid var(--gray-300);
    box-shadow: var(--shadow);
  }

  .hero { min-height: 92vh; }
  .hero-headline .hero-word { white-space: normal; }
  .grid.cards { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-only-mobile { display: block; }
  .footer-only-desktop { display: none; }
  .filozofie .trust-grid { grid-template-columns: 1fr; }
  .owner-gallery { grid-template-columns: 1fr; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
}

/* Pricing – luxury lists (no tables) */
.price-sections { display: grid; gap: 24px; }
.price-card { background: #fff; border: 1px solid var(--gray-300); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.price-title { margin: 0 0 10px; font-family: var(--font-serif); font-weight: 600; color: var(--text); }
.orn-line { position: relative; width: 160px; height: 12px; margin: 6px 0 14px; }
.orn-line::before, .orn-line::after { content: ""; position: absolute; top: 50%; width: 48%; height: 1.5px; background: linear-gradient(90deg, rgba(212,175,55,0.0), rgba(212,175,55,0.85)); }
.orn-line::before { left: 0; transform: translateY(-50%); }
.orn-line::after { right: 0; transform: translateY(-50%) rotate(180deg); }
.orn-line .dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,0.95) 0%, rgba(212,175,55,0.75) 60%, rgba(212,175,55,0.4) 100%); box-shadow: 0 0 6px rgba(212,175,55,0.45); }
.price-list { display: grid; gap: 8px; }
.price-item { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 12px 0; position: relative; }
.price-item + .price-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(212,175,55,0.15), rgba(212,175,55,0.55), rgba(212,175,55,0.15)); }
.price-item:first-child { border-top: 0; }
.pi-left { display: flex; gap: 10px; align-items: baseline; }
.pi-name { color: var(--gold-accent); font-weight: 600; }
.pi-time { color: var(--text-soft); font-size: 14px; }
.pi-right { text-align: right; }
.pi-price { color: var(--text); font-weight: 600; }

/* Ceník images gallery */
.cenik-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cenik-img img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 720px) {
  .cenik-gallery { grid-template-columns: 1fr; gap: 18px; }
}

/* Ceník – corner ornaments (background-only) */
#cenik { position: relative; }
#cenik > .container { position: relative; z-index: 1; }
#cenik .orn-corner { position: absolute; width: 160px; height: 160px; pointer-events: none; opacity: 0.15; z-index: 0; }
#cenik .orn-corner.tl { top: 16px; left: 16px; }
#cenik .orn-corner.tr { top: 16px; right: 16px; transform: scaleX(-1); }
#cenik .orn-corner.bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
#cenik .orn-corner.br { bottom: 16px; right: 16px; transform: scaleX(-1) scaleY(-1); }

/* Ornament visual: subtle champagne gold filigree via gradients */
#cenik .orn-corner {
  background-image:
    radial-gradient(50% 50% at 12% 12%, rgba(212,175,55,0.15), rgba(212,175,55,0.0) 70%),
    radial-gradient(40% 40% at 88% 12%, rgba(212,175,55,0.12), rgba(212,175,55,0.0) 70%),
    radial-gradient(35% 35% at 12% 88%, rgba(212,175,55,0.12), rgba(212,175,55,0.0) 70%),
    linear-gradient(35deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.0) 55%),
    linear-gradient(115deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.0) 55%);
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

@media (max-width: 720px) {
  #cenik .orn-corner { width: 84px; height: 84px; opacity: 0.08; }
  #cenik .orn-corner.tl { top: 10px; left: 10px; }
  #cenik .orn-corner.tr { top: 10px; right: 10px; }
  #cenik .orn-corner.bl { bottom: 10px; left: 10px; }
  #cenik .orn-corner.br { bottom: 10px; right: 10px; }
}

/* Products – minimalist grid */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(240, 244, 249, 0.78)) padding-box,
    linear-gradient(135deg, rgba(212,175,55,0.75), rgba(212,175,55,0.22), rgba(212,175,55,0.78)) border-box;
  border: 1.8px solid transparent;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 240ms ease, box-shadow 240ms ease;
  backdrop-filter: blur(10px);
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 30% 20%, rgba(243, 231, 192, 0.16), rgba(243, 231, 192, 0));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 26px 58px rgba(0,0,0,0.26);
}
.product-card:hover::after,
.product-card:focus-within::after { opacity: 1; }

.product-thumb {
  height: 180px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(243, 231, 192, 0.08), rgba(12, 28, 42, 0.75)),
    linear-gradient(180deg, var(--cream), #fff 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(234,244,255,0.14);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}
.product-content {
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
}
.product-content .product-name {
  margin-bottom: 4px;
  color: var(--blue-royal);
  font-weight: 700;
}
.product-content .product-note {
  margin: 0;
  color: #2c3958;
  line-height: 1.6;
}
.product-name { margin: 0 0 6px; font-family: var(--font-serif); font-size: 18px; color: var(--text); }
.product-note { margin: 0; color: var(--text-soft); }

/* Produkty – luxusní “bohaté zlato” (bez změny layoutu) */
.products-luxe .products-header { margin-bottom: 18px; text-align: center; }
.products-luxe .decor-line { margin-bottom: 0; }

.luxe-reef .products-luxe .section-title {
  color: var(--blue-royal);
  text-shadow: none;
}

.luxe-reef .product-card .product-name,
.luxe-reef .product-card .product-note { color: inherit; }
.luxe-reef .product-card {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(212,175,55,0.55), rgba(15,45,106,0.16), rgba(212,175,55,0.55)) border-box;
  border: 1.6px solid transparent;
  box-shadow: var(--shadow);
}

.luxe-reef .products-luxe .product-card { 
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(212,175,55,0.55), rgba(15,45,106,0.16), rgba(212,175,55,0.55)) border-box;
  border: 1.6px solid transparent;
  box-shadow: var(--shadow);
}

.luxe-reef .products-luxe .product-thumb {
  background:
    radial-gradient(90% 90% at 40% 30%, rgba(212,175,55,0.10), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(250,247,240,0.65), rgba(255,255,255,0.95));
}

.luxe-reef .products-luxe .product-name { color: var(--blue-royal); text-shadow: none; }

.luxe-reef .products-luxe .product-note,
.luxe-reef .products-luxe .note { color: var(--text-soft); text-shadow: none; }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .products-grid { grid-template-columns: 1fr; }
  .product-thumb { height: 150px; }
}

/* Galerie přístrojů – plná šířka, 50/50 split */
.gallery-full { padding-top: 72px; padding-bottom: 72px; }
.gallery-full .section-title { text-align: center; }
.gallery-wrap {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 24px;
  align-items: stretch;
  min-height: 859px;
}
.gallery-col { height: 859px; }
.gallery-col img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery-col.left { min-height: 100%; }
.gallery-col.right { display: flex; }
.gallery-quad { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 0; width: 100%; height: 100%; }
.thumb { position: relative; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); min-height: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(20,37,69,0.08), rgba(20,37,69,0)); opacity: 0; transition: opacity .25s ease; }
.thumb:hover::after { opacity: 1; }

@media (max-width: 1024px) {
  .gallery-wrap { grid-template-columns: 1fr; min-height: auto; }
  .gallery-col { height: auto; }
  .gallery-full { padding-top: 56px; padding-bottom: 56px; }
}
@media (max-width: 720px) {
  .gallery-wrap { gap: 12px; padding: 0 18px; }
  .gallery-quad { gap: 10px; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .subpage-intro { padding-top: 96px; padding-bottom: 48px; text-align: center; }
  .nav-list { width: calc(100vw - 36px); right: 18px; }
  #pristroje .media-cards .card.media > img.device-shot { height: 150px; padding: 6px; }
  .gallery-wrap { padding: 0 14px; }
  .gallery-quad { gap: 8px; }
}

  /* Lightbox for ceník images */
  .lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    transition: opacity 260ms ease;
  }
  .lightbox[hidden] { display: none; }
  .lightbox.open { pointer-events: auto; opacity: 1; }
  .lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 21, 36, 0.78);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 260ms ease;
  }
  .lightbox.open .lightbox-backdrop { opacity: 1; }
  .lightbox-content {
    position: relative;
    max-width: min(960px, 94vw);
    max-height: 90vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 72px rgba(0,0,0,0.38);
    z-index: 1;
    transform: translate3d(0, 12px, 0) scale(0.9);
    transform-origin: 50% 50%;
    opacity: 0;
    transition: transform 360ms cubic-bezier(0.22, 0.9, 0.24, 1), opacity 260ms ease;
  }
  .lightbox.open .lightbox-content {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
  }
  .lightbox-content img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
  }
  .lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
  }
  .lightbox-close:hover { background: rgba(0,0,0,0.7); }
