:root {
  --accent-1: #2563eb;
  --accent-2: #6b21a8;
  --accent-cta: #ffb22a;
  --bg-dark: #06070b;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  background: var(--bg-dark);
  color: #fff;
  padding-top: 76px;
}

/* Navbar */
.navbar {
  background: transparent;
  transition: background .2s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.nav-link {
  color: #fff !important;
  font-weight: 700;
  padding: .9rem 1.1rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 60%;
  height: 2px;
  background: var(--accent-cta);
  transform: translateX(-50%) scaleX(0);
  transition: transform .2s;
  transform-origin: center;
}

.nav-link:hover {
  color: var(--accent-cta) !important;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Mobile navbar collapse style */
@media (max-width:992px) {
  .navbar-collapse {
    background: #0b0b0b;
    padding: 1rem;
    border-radius: 8px;
    margin-top: .5rem;
  }

  .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.45);
  }

  .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'><path stroke='%23FFFFFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
  }
}

/* Hero */
.hero-wrapper {
  background: linear-gradient(120deg, var(--accent-2), var(--accent-1));
  background-size: 200% 200%;
  animation: grad 12s ease infinite;
  padding: 4rem 0;
}

@keyframes grad {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  min-height: 48vh;
}

.hero .cell {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: .3rem;
}

.hero h2 {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0;
}

/* CTA */
.btn-cta {
  background: linear-gradient(90deg, var(--accent-cta), #ff9b00);
  color: #0b0b0b;
  border: none;
  font-weight: 700;
  border-radius: 10px;
  padding: .7rem 1.1rem;
}

.btn-cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: transparent;
  border-radius: 10px;
  padding: .6rem 1rem;
}

/* Glass card */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 1rem;
}

/* Services */
.service-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 1rem;
}

/* Pricing */
.price-card {
  border-radius: 12px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  transition: transform .18s, border-color .18s;
  border: 1px solid transparent;
}

.price-card:hover {
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-6px);
}

.price-value {
  font-weight: 800;
  color: var(--accent-cta);
}

/* select styling */
.price-pages {
  background: linear-gradient(90deg, var(--accent-cta), #ff9b00);
  color: #0b0b0b;
  border: none;
  padding: .35rem .6rem;
  border-radius: .5rem;
  font-weight: 700;
  -webkit-appearance: none;
  appearance: none;
}

.price-pages option {
  color: #000;
}

/* Before/After slider styles */
.ba-compare {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.ba-compare img {
  display: block;
  width: 100%;
  height: auto;
}

.ba-compare .ba-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.ba-compare .ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-1.5px);
  z-index: 5;
}

.ba-compare .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  background: var(--accent-cta);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  cursor: ew-resize;
}

.ba-controls {
  margin-top: .6rem;
  display: flex;
  gap: .6rem;
  align-items: center;
}

section {
  padding: 4rem 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.muted-small {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width:992px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 70px);
    gap: .6rem;
  }

  section {
    padding: 2.5rem 1rem;
  }
}

/* Logo sizing */
.site-logo {
  height: 56px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  height: 42px;
  object-fit: contain;
  display: block;
}

/* Center hero headings */
.hero .headline {
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  text-align: center;
}

.hero h2 {
  text-align: center;
  font-size: clamp(1.05rem, 2.5vw, 2.1rem);
}

.hero .lead {
  text-align: center;
}

/* Improved Before/After slider styles */
.ba-compare {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  user-select: none;
}

.ba-compare .ba-before,
.ba-compare .ba-after img,
.ba-compare .ba-before img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-compare .ba-after {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
}

.ba-compare .ba-after img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
}

.ba-compare .ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 5;
  transition: left .05s linear;
  pointer-events: none;
}

.ba-compare .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  background: var(--accent-cta);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: ew-resize;
}

.ba-compare .ba-handle .inner {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
}

.ba-compare .ba-label {
  position: absolute;
  top: 10px;
  font-size: .85rem;
  padding: .25rem .6rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  color: #fff;
  z-index: 7;
}

.ba-compare .ba-label-left {
  left: 10px;
}

.ba-compare .ba-label-right {
  right: 10px;
}

.ba-compare.dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.05);
  transition: none;
}

/* Final Before/After styles: both images cover the container; we clip left/right portions using clip-path */
.ba-compare {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  user-select: none;
}

.ba-compare .ba-before,
.ba-compare .ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-compare .ba-before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-compare .ba-after {
  z-index: 1;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-compare .ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
}

.ba-compare .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  background: var(--accent-cta);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  cursor: ew-resize;
}

.ba-compare .ba-handle .inner {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.12);
}

.ba-compare .ba-label {
  position: absolute;
  top: 10px;
  font-size: .85rem;
  padding: .25rem .6rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  color: #fff;
  z-index: 8;
}

.ba-compare .ba-label-left {
  left: 10px;
}

.ba-compare .ba-label-right {
  right: 10px;
}

.ba-compare.dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.05);
  transition: none;
}

.ba-compare {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  user-select: none;
}

.ba-compare img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-compare .ba-before {
  z-index: 2;
  pointer-events: none;
}

.ba-compare .ba-after {
  z-index: 1;
  pointer-events: none;
}

.ba-compare .ba-divider {
  z-index: 6;
  pointer-events: none;
}

.ba-compare .ba-handle {
  z-index: 7;
}

/* Glass effect for top menu */
.navbar.fixed-top {
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .2s, box-shadow .2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar.fixed-top .nav-link,
.navbar.fixed-top .navbar-brand,
.navbar.fixed-top .navbar-toggler-icon {
  color: #ffffff !important;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.price-value {
  font-weight: 800;
  color: var(--accent-cta);
  white-space: nowrap;
}

.muted-small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.price-pages {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 2px solid var(--accent-cta) !important;
  padding-right: 2.5rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23f59e0b' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

/* ensure select container doesn't clip the arrow */
.price-pages:focus {
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.15);
}

a[href*="partyub.cz"],
a[href*="partydj4you.cz"] {
  color: #ffffff !important;
}

a[href*="partyub.cz"]:hover,
a[href*="partydj4you.cz"]:hover {
  text-decoration: underline !important;
}

.navbar .navbar-nav .nav-link {
  margin-left: 1rem;
  margin-right: 1rem;
  padding: 0.5rem 0.75rem;
}

.price-value {
  font-size: 1.5rem !important;
  font-weight: 800;
  color: var(--accent-cta);
  white-space: nowrap;
}

.fw-bold.total-display {
  display: none !important;
}

/* hide any 'total-display' bold spans */

/* Ensure mobile burger toggler is visible and navbar collapse works */
.navbar .navbar-toggler {
  display: block !important;
  z-index: 1051;
  border: none;
}

.navbar .navbar-toggler-icon {
  width: 1.6rem;
  height: 1.6rem;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}

@media (max-width: 991.98px) {
  .navbar.fixed-top {
    position: fixed;
  }

  .navbar-collapse {
    display: none;
  }

  .navbar-collapse.show {
    display: block !important;
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    padding: .5rem 1rem;
    display: block;
  }
}

/* ensure navbar toggler icon visible if bootstrap icon isn't rendering */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
}

@media (max-width: 767.98px) {

  .hero-wrapper .site-logo {
    max-width: 160px;
  }

  .hero-wrapper .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .hero-wrapper {
    min-height: calc(100vh - 56px) !important;
    display: flex;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero-wrapper .site-logo {
    max-width: 160px;
  }

  .hero-wrapper .section-title {
    font-size: 1.6rem;
  }
}

.section-title {
  margin-top: 0.25rem;
}

@media (min-width: 992px) {

  /* on desktop keep some space */
  .section-title {
    margin-top: 1rem;
  }
}

/* Ensure project/reference meta text wraps on small screens */
.project-meta,
.project-meta * {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

.project-meta a {
  display: inline !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 767.98px) {
  .project-meta {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .project-meta a {
    display: inline-block;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-wrapper {
    padding-bottom: 0.5rem !important;
  }

  .co-ziskas-wrapper {
    margin-top: -150px !important;
    padding-top: 0.5rem !important;
  }
}

/* Strong mobile tweaks to ensure hero fits on small screens */
@media (max-width: 767.98px) {

  /* Reduce hero paddings so content uses vertical space efficiently */
  .hero-wrapper {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Reduce title and subtitle sizes on narrow screens */
  .hero-wrapper .section-title {
    font-size: 1.6rem !important;
    line-height: 1.05 !important;
    margin-bottom: 0.25rem !important;
  }

  .hero-wrapper h1,
  .hero-wrapper .display-1 {
    font-size: 2.2rem !important;
    line-height: 1.05 !important;
    margin: 0.15rem 0 0.35rem 0 !important;
  }

  .hero-wrapper p.lead,
  .hero-wrapper .lead {
    font-size: 0.95rem !important;
    margin-bottom: 0.4rem !important;
  }

  /* Reduce gap between buttons */
  .hero-wrapper .btn {
    padding: 0.5rem 0.9rem !important;
    font-size: 0.95rem !important;
  }

  /* Move 'Co získáš' up more aggressively */
  .co-ziskas-wrapper {
    margin-top: -220px !important;
    padding-top: 0.25rem !important;
  }

  /* Ensure the project meta wraps and no overflow */
  .project-meta,
  .project-meta * {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* Fix potential large inset box shadows that may increase perceived height */
  .hero-wrapper .card {
    margin-bottom: 0.4rem !important;
  }
}

/* Anchor scroll offset to prevent headings being hidden under fixed header */
:root {
  --scroll-offset-desktop: 70px;
  --scroll-offset-mobile: 40px;
}

section[id],
[id].section,
.section-title[id],
h1[id],
h2[id] {
  scroll-margin-top: var(--scroll-offset-desktop);
}

@media (max-width: 767.98px) {

  section[id],
  [id].section,
  .section-title[id],
  h1[id],
  h2[id] {
    scroll-margin-top: var(--scroll-offset-mobile);
  }
}

/* Further reduce hero spacing on very small screens if needed */
.hero-wrapper {
  padding-bottom: 0.1rem !important;
  padding-top: 0.2rem !important;
}
}

/* Footer padding adjustments: add left padding to logo and right padding to copyright/text */
footer,
.site-footer,
.footer {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

footer .logo,
footer .footer-logo,
footer .site-logo,
footer .navbar-brand {
  padding-left: 1rem !important;
}

footer .copyright,
footer .footer-text,
footer .footer-right,
.footer .text-right {
  padding-right: 1rem !important;
}

/* Ensure project meta wraps (extra safety) */
.project-meta,
.project-meta * {
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: anywhere !important;
}

/* Hide burger icon on desktop, show only on small screens */
.navbar-toggler {
  display: none !important;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block !important;
  }
}

div.d-flex.gap-2 {
  display: none !important;
}

.hero h1 {
  font-size: clamp(2.7rem, 2vw, 4rem);
  text-align: center;
  text-shadow: 0 10px 48px rgb(0 0 0 / 78%);
  margin: 0;
}

.hero h2 {
  margin-top: 15px;
  text-align: center;
}

.hero .lead {
  font-weight: 700;
  text-align: center;
}

/* Co získáš section styling */
.co-ziskas .cz-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.co-ziskas .cz-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  flex: 0 0 56px;
}

.co-ziskas .cz-icon svg {
  width: 28px;
  height: 28px;
  height: 28px;
}

.co-ziskas h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  color: #222;
}

.co-ziskas p {
  margin: 0;
  color: #444;
}

@media (max-width:767px) {
  .co-ziskas .cz-item {
    align-items: center;
    flex-direction: row;
  }

  .hero h1,
  .hero h2,
  .hero .lead {
    text-align: center;
  }
}

/* Mobile: adjust hero title margins */
@media (max-width: 768px) {

  .hero-wrapper h1,
  .hero-wrapper .display-1 {
    margin: 1rem 0 0.35rem 0 !important;
  }
}

@media (min-width: 992px) {

  .hero-wrapper h1,
  .hero-wrapper .display-1 {
    font-size: 41px !important;
    line-height: 1.40 !important;
    margin-bottom: 2.1rem !important;
    word-break: keep-all;
  }
}

/* === Interaktivní formulář — vizuální sjednocení s webem === */
#interaktivni-poptavka .card {
  border-radius: 1rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

#interaktivni-poptavka .card-body {
  padding: clamp(1rem, 2vw, 2rem);
}

#interaktivni-poptavka h2.h4 {
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: .75rem;
}

#interaktivni-poptavka h2.h4::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: .5rem;
  border-radius: 999px;
  background: #ffde59;
  /* akcent barvy 'doporučeno' */
}

#interaktivni-poptavka .muted-small {
  color: #6c757d;
  font-size: .925rem;
}

#interaktivni-poptavka .form-label {
  font-size: .925rem;
  color: #2b2b2b;
  margin-bottom: .35rem;
}

#interaktivni-poptavka .form-control {
  border-radius: .75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: .7rem .9rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  background-color: #fff;
}

#interaktivni-poptavka .form-control[readonly] {
  background-color: #f8f9fa;
  color: #212529;
}

#interaktivni-poptavka textarea.form-control {
  min-height: 90px;
}

#interaktivni-poptavka .form-control:focus {
  border-color: #ffde59;
  box-shadow: 0 0 0 .25rem rgba(255, 222, 89, .35);
}

#interaktivni-poptavka .btn.btn-cta {
  padding: .8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

#interaktivni-poptavka #formStatus {
  min-height: 1.5rem;
}

#interaktivni-poptavka .text-success {
  color: #198754 !important;
}

#interaktivni-poptavka .text-danger {
  color: #dc3545 !important;
}

/* jemné odsazení celé sekce */
#interaktivni-poptavka {
  scroll-margin-top: 96px;
}

/* Responsivní drobnosti */
@media (max-width: 576px) {
  #interaktivni-poptavka .card {
    border-radius: .85rem;
  }

  #interaktivni-poptavka .btn.btn-cta {
    width: 100%;
  }
}

/* Volitelná vizuální návaznost na price-card "chosen" (žlutý akcent) */
.price-card.chosen {
  border-color: #ffde59 !important;
  box-shadow: 0 6px 18px rgba(255, 222, 89, 0.12) !important;
}

/* === Interaktivní formulář: full-width + dark glass + kompaktní mezery === */
#interaktivni-poptavka.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

#interaktivni-poptavka .row {
  margin-left: 0;
  margin-right: 0;
}

#interaktivni-poptavka .row.g-3 {
  --bs-gutter-x: .5rem;
  --bs-gutter-y: .5rem;
}

#interaktivni-poptavka .card {
  border-radius: 1rem;
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

#interaktivni-poptavka .card-body {
  padding: clamp(.75rem, 1.5vw, 1.25rem);
}

#interaktivni-poptavka h2.h4 {
  color: #fff;
  margin-bottom: .35rem;
}

#interaktivni-poptavka h2.h4::after {
  width: 56px;
  height: 3px;
  margin-top: .35rem;
  background: #ffde59;
  opacity: .9;
}

#interaktivni-poptavka .muted-small {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  margin-bottom: .75rem !important;
}

#interaktivni-poptavka .form-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .95);
  margin-bottom: .2rem;
}

#interaktivni-poptavka .form-control {
  border-radius: .6rem;
  padding: .55rem .75rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

#interaktivni-poptavka .form-control::placeholder {
  color: rgba(255, 255, 255, .55);
}

#interaktivni-poptavka .form-control[readonly] {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, .95);
}

#interaktivni-poptavka textarea.form-control {
  min-height: 72px;
}

#interaktivni-poptavka .form-control:focus {
  border-color: #ffde59;
  box-shadow: 0 0 0 .2rem rgba(255, 222, 89, .25);
  background: rgba(255, 255, 255, 0.09);
}

#interaktivni-poptavka .btn.btn-cta {
  padding: .6rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 222, 89, 0.95), rgba(255, 222, 89, 0.85));
  color: #111;
}

#interaktivni-poptavka #formStatus {
  min-height: 1.25rem;
  color: #fff;
}

/* Kompaktnější rozestupy celkově */
#interaktivni-poptavka .mb-4 {
  margin-bottom: .75rem !important;
}

#interaktivni-poptavka .mt-4 {
  margin-top: .85rem !important;
}

#interaktivni-poptavka .gap-3 {
  gap: .5rem !important;
}

/* Na mobilu 100% tlačítko */
@media (max-width: 576px) {
  #interaktivni-poptavka .btn.btn-cta {
    width: 100%;
  }
}

/* Volitelné zvýraznění vybrané karty pro návaznost */
.price-card.chosen {
  border-color: #ffde59 !important;
  box-shadow: 0 6px 22px rgba(255, 222, 89, 0.18) !important;
}

/* Uživatelský override: nulové paddingy pro .p-md-5 */
.p-md-5 {
  padding: 0rem !important;
}

/* Pěkná hláška po odeslání — glass alert */
#interaktivni-poptavka .alert-glass {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem .95rem;
  border-radius: .85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
  font-weight: 600;
  letter-spacing: .2px;
}

#interaktivni-poptavka .alert-glass.show {
  opacity: 1;
  transform: translateY(0);
}

#interaktivni-poptavka .alert-glass.success {
  border-color: rgba(25, 135, 84, .45);
  background: linear-gradient(180deg, rgba(25, 135, 84, .22), rgba(25, 135, 84, .12));
}

#interaktivni-poptavka .alert-glass.error {
  border-color: rgba(220, 53, 69, .45);
  background: linear-gradient(180deg, rgba(220, 53, 69, .22), rgba(220, 53, 69, .12));
}

#interaktivni-poptavka .alert-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffde59;
  color: #111;
  font-weight: 900;
}

#interaktivni-poptavka #formStatus {
  width: 100%;
}

/* Tlačítko: širší, jednolitý řádek, plynulá animace pozadí */
#interaktivni-poptavka .btn.btn-cta {
  white-space: nowrap;
  min-width: 280px;
  padding: .7rem 1.4rem;
  background: linear-gradient(90deg, rgba(255, 222, 89, 0.95), rgba(255, 222, 89, 0.8), rgba(255, 222, 89, 0.95));
  background-size: 200% 100%;
  transition: background-position .4s ease, transform .12s ease, box-shadow .12s ease;
}

#interaktivni-poptavka .btn.btn-cta:hover {
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 222, 89, .25);
}

/* Na mobilu necháme 100% šířku, ale zachováme nowrap textu */
@media (max-width: 576px) {
  #interaktivni-poptavka .btn.btn-cta {
    min-width: auto;
    width: 100%;
  }
}

/* Zúžení hlášky po odeslání */
#interaktivni-poptavka #formStatus {
  display: flex;
  justify-content: flex-start;
}

#interaktivni-poptavka .alert-glass {
  max-width: 560px;
  width: auto;
}

/* Tooltip icon styling */
.tooltip-icon {
  display: inline-block;
  margin-left: .35rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  color: #ffde59;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  line-height: 16px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.tooltip-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 125%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: .4rem .6rem;
  border-radius: .4rem;
  white-space: pre-line;
  font-size: .75rem;
  line-height: 1.2;
  width: max-content;
  max-width: 280px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.tooltip-icon:hover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 115%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent;
}

/* CSS-only tooltips for elements with [data-tooltip] */
.tooltip-icon[data-tooltip] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: .35rem;
  border-radius: 50%;
  font-size: .8rem;
  line-height: 1;
  cursor: help;
  color: #111;
  background: #ffde59;
  font-weight: 900;
}

.tooltip-icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: pre-line;
  font-size: .85rem;
  line-height: 1.2;
  color: #fff;
  background: rgba(15, 15, 20, .92);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: .5rem .6rem;
  border-radius: .5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  width: max-content;
  max-width: 320px;
  z-index: 50;
  transition: opacity .15s ease, transform .15s ease;
}

.tooltip-icon[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: rgba(15, 15, 20, .92);
  border-left: 1px solid rgba(255, 255, 255, .15);
  border-top: 1px solid rgba(255, 255, 255, .15);
  transform: translateX(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity .15s ease;
}

.tooltip-icon[data-tooltip]:hover::after,
.tooltip-icon[data-tooltip]:hover::before {
  opacity: 1;
}

/* Animated icons for 'Služby pro DJe' */
.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
}

.icon-anim {
  width: 52px;
  height: 52px;
}

.icon-anim .draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawline 2.5s ease-in-out infinite;
}

@keyframes drawline {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.0;
  }

  20% {
    opacity: 1;
  }

  60% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.icon-cms .spinner {
  transform-origin: 60px 55px;
  animation: spin 1.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.icon-badge .sparkles circle {
  transform-origin: center;
  animation: pulse 1.6s ease-in-out infinite;
}

.icon-badge .sparkles circle:nth-child(2) {
  animation-delay: .3s;
}

.icon-badge .sparkles circle:nth-child(3) {
  animation-delay: .6s;
}

@keyframes pulse {

  0%,
  100% {
    r: 1.2;
    opacity: .6;
  }

  50% {
    r: 2.8;
    opacity: 1;
  }
}

/* Respect current color to fit theme */
.service-icon-wrap,
.icon-anim {
  color: currentColor;
}

/* Adjust font size for variant headings */
#sluzby h3,
#sluzby h4,
#sluzby h5 {
  font-size: 1.5rem !important;
}

/* === Uniform spacing for 'Služby pro DJe' cards === */
#sluzby-pro-dje .col-md-4>.glass.h-100.p-3 {
  display: flex;
  flex-direction: column;
}

/* Icon: fixed box so following content aligns across cards */
.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  /* fixed height for consistent layout */
  margin-bottom: .5rem;
}

.icon-anim {
  width: 52px;
  height: 52px;
  color: currentColor;
}

/* Headings: fixed min-height + centered; same bottom margin everywhere */
#sluzby-pro-dje h5 {
  font-size: 1.8rem !important;
  text-align: center;
  min-height: 3.6rem;
  /* ~2 lines at 1.8rem to normalize wrap differences */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 .5rem 0;
}

/* First paragraph below heading: consistent top margin */
#sluzby-pro-dje h5+p.muted-small {
  margin-top: 0.25rem;
}

/* (Keep animations) */
.icon-anim .draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawline 2.2s ease-in-out infinite;
}

@keyframes drawline {
  0% {
    stroke-dashoffset: 200;
    opacity: .0
  }

  20% {
    opacity: 1
  }

  60% {
    stroke-dashoffset: 0
  }

  100% {
    stroke-dashoffset: 0;
    opacity: 1
  }
}

.icon-cms .spinner {
  transform-origin: 60px 55px;
  animation: spin 1.6s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0)
  }

  to {
    transform: rotate(360deg)
  }
}

.icon-badge .sparkles circle {
  transform-origin: center;
  animation: pulse 1.6s ease-in-out infinite;
}

.icon-badge .sparkles circle:nth-child(2) {
  animation-delay: .3s
}

.icon-badge .sparkles circle:nth-child(3) {
  animation-delay: .6s
}

@keyframes pulse {

  0%,
  100% {
    r: 1.2;
    opacity: .6
  }

  50% {
    r: 2.8;
    opacity: 1
  }
}

/* Responsive footer */
footer>.container.d-flex {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
}

footer img {
  max-width: 200px;
  height: auto;
}

@media (max-width: 768px) {
  footer>.container.d-flex {
    justify-content: center;
    text-align: center;
  }

  footer img {
    margin-inline: auto;
  }
}

@media (max-width: 480px) {
  footer>.container.d-flex {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }

  footer .muted-small {
    font-size: .9rem;
  }
}

/* === Footer alignment & spacing === */
footer {
  width: 100%;
}

footer>.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* center group horizontally */
  text-align: center;
  gap: 1rem 2rem;
  /* spacing between logo and text */
}

footer>.container>* {
  flex: 0 0 auto;
  /* prevent stretching */
  min-width: 0;
}

footer img,
footer svg {
  max-width: 180px;
  height: auto;
}

/* Long strings safe */
footer,
footer * {
  overflow-wrap: anywhere;
  word-break: break-word;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* On small screens: stack vertically if needed */
@media (max-width: 767.98px) {
  footer>.container {
    flex-direction: column;
    gap: .6rem;
  }
}

/* Desktop: keep items on one line and center them inside the container */
@media (min-width: 768px) {
  footer>.container {
    justify-content: center;
    /* center the row */
    align-items: center;
    /* vertical centering */
    flex-wrap: nowrap;
    /* keep side by side (no wrap) */
    gap: 1.2rem;
    /* pleasant spacing between logo and text */
    text-align: left;
    /* allow normal inline text since both are side-by-side */
  }

  footer>.container>* {
    flex: 0 0 auto;
    /* no stretching to full width */
  }
}

footer .footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  /* spacing between logo and copyright */
  text-align: center;
}

footer .footer-inner img {
  height: 36px;
}

/* Footer: center items with comfy spacing */
footer {
  width: 100%;
  padding-bottom: 12px;
}

footer .footer-inline {
  gap: 1.2rem;
  /* space between logo and © text */
  flex-wrap: nowrap;
  /* keep side-by-side on desktop */
  text-align: left;
}

footer img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 575.98px) {

  footer .footer-inline {
    flex-wrap: wrap;
    text-align: center;

    footer img {
      max-width: 50%;
      height: auto;
      margin-inline: auto;
    }
  }

  footer .footer-inline>* {
    flex: 1 1 100%;
  }

  footer img {
    max-width: 50%;
    height: auto;
  }

  /* mobile-specific rule */
}

footer {
  padding-bottom: 10px !important;
}

/* Added by automation: CTA outline + mobile behavior */
.btn-cta.btn-cta--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: inherit;
}

.btn-cta.btn-cta--outline:hover,
.btn-cta.btn-cta--outline:focus {
  background: rgba(255, 255, 255, 0.08);
}

.cta-buttons {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* === Tweaks per request === */
/* 1) Center CTA buttons in HERO */
.hero .cta-buttons {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 2) Unify visual style: ensure consistent padding, radius, shadow and transition
      across all primary buttons (incl. Vybrat / Odeslat / Ceník tvorby). */
.btn-cta {
  padding-left: 1.25rem;
  /* px-4 equivalent */
  padding-right: 1.25rem;
  border-radius: .75rem;
  font-weight: 600;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .08);
}

.btn-cta:hover,
.btn-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 .75rem 1.5rem rgba(0, 0, 0, .12);
}

/* Keep outline secondary consistent */
.btn-cta.btn-cta--outline {
  background: transparent;
  border-width: 2px;
}

/* 3) Reduce gap in HERO cells/rows */
.hero .row {
  row-gap: .5rem;
  /* smaller vertical spacing */
}

.hero .d-grid {
  gap: .5rem;
  /* if grid utility is used inside hero */
}

.hero .g-3,
.hero .gy-3 {
  /* common Bootstrap gaps in hero */
  --bs-gutter-x: .75rem;
  --bs-gutter-y: .5rem;
}

/* 4) Add padding-bottom so buttons aren't glued to the edge */
.hero {
  padding-bottom: 15px !important;
}

.hero {
  padding-bottom: 30px !important;
}

/* grid 2× sloupec, CTA pod nimi přes oba */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  min-height: 48vh;
}

/* sjednocení spodních buněk = třetí prvek přes 2 sloupce */
.hero .cta-buttons {
  grid-column: 1 / -1;
  /* span obou sloupců */
  display: flex;
  gap: 1rem;
  justify-content: center;
  /* vycentrování tlačítek */
  align-items: center;
  padding-bottom: 15px;
  /* jak jsi chtěl mít odsazení dole */
}

/* volitelné: na mobilu do jednoho sloupce a bez spanu */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero .cta-buttons {
    grid-column: auto;
  }
}

/* HERO overrides per request */
.hero {
  gap: 0rem !important;
  padding-top: 20px !important;
}

/* Strong override: hide burger on desktop, show only on narrow screens */
nav.navbar .navbar-toggler {
  display: none !important;
}

@media (max-width: 991.98px) {
  nav.navbar .navbar-toggler {
    display: block !important;
  }
}

/* ===== Vygenerované třídy z původních inline stylů (včetně slideru; dynamické hodnoty vynechány) ===== */
.u-inline-001 {
  width: 56px !important;
  height: 56px !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  display: grid !important;
  place-items: center !important;
}

.u-inline-002 {
  border-top: 1px solid rgba(255, 255, 255, 0.03) !important;
}

.u-inline-003 {
  font-size: 1.1rem !important;
}

.u-inline-004 {
  height: 520px !important;
  position: relative !important;
}

.u-inline-005 {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.u-inline-006 {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.u-inline-007 {
  position: absolute !important;
  top: 0 !important;
  width: 3px !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateX(-50%) !important;
  z-index: 6 !important;
  pointer-events: none !important;
}

.u-inline-008 {
  position: absolute !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 7 !important;
  background: var(--accent-cta) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28) !important;
  cursor: ew-resize !important;
}

.u-inline-009 {
  width: 18px !important;
  height: 18px !important;
  border-radius: 3px !important;
  background: rgba(0, 0, 0, 0.12) !important;
}

.u-inline-010 {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  font-size: .85rem !important;
  padding: .25rem .6rem !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 6px !important;
  color: #fff !important;
  z-index: 8 !important;
}

.u-inline-011 {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  font-size: .85rem !important;
  padding: .25rem .6rem !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border-radius: 6px !important;
  color: #fff !important;
  z-index: 8 !important;
}

.u-inline-012 {
  color: white !important;
}

.u-inline-013 {
  position: relative !important;
  border: 2px solid #ffde59 !important;
  box-shadow: 0 6px 18px rgba(255, 222, 89, 0.12) !important;
}

.u-inline-014 {
  position: absolute !important;
  top: -17px !important;
  right: 12px !important;
  background: #ffde59 !important;
  color: #000 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  z-index: 5 !important;
}

.u-inline-015 {
  color: var(--accent-cta) !important;
}

.u-inline-016 {
  height: 36px !important;
}

.u-inline-017 {
  color: red !important;
}