/* ==========================================================================
   VYMAZLENÉ ÚKLIDY - hlavní stylesheet
   ========================================================================== */

/* --------- Reset & základ --------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep: #02050d;
  --bg-mid: #061226;
  --bg-light: #0c2046;
  --text: #ffffff;
  --text-muted: #a9b5cb;
  --accent-yellow: #f4c331;
  --accent-blue: #5aa9ff;
  --accent-blue-soft: #b9d6ff;
  --accent-green: #5ee08a;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --maxw: 1200px;
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* aby sticky hlavička nepřekrývala kotvy */
}

body {
  font-family: var(--font);
  color: var(--text);
  background-color: #000814;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Hvězdné pozadí – plátno s gradienty (modré nebe → černá) */
.master-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 5%, rgba(255, 255, 255, 0.08) 0%, transparent 20%),
    radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
    linear-gradient(to bottom, #012a5a 0%, #000814 60%, #000000 100%);
}

/* Vrstva s třpytícími se hvězdami */
.star-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

.star-cross {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  opacity: 0.5;
  animation: twinkle 5s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%     { opacity: 0.7; transform: scale(1.1); }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --------- Header / Navigace --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background:
    radial-gradient(1.6px 1.6px at 8%  35%, rgba(255,255,255,0.95), transparent 50%),
    radial-gradient(1.2px 1.2px at 18% 65%, rgba(255,255,255,0.75), transparent 50%),
    radial-gradient(1.8px 1.8px at 27% 30%, rgba(255,255,255,0.9),  transparent 50%),
    radial-gradient(1.2px 1.2px at 38% 70%, rgba(255,255,255,0.7),  transparent 50%),
    radial-gradient(1.4px 1.4px at 47% 45%, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1.8px 1.8px at 58% 25%, rgba(255,255,255,0.9),  transparent 50%),
    radial-gradient(1.2px 1.2px at 65% 75%, rgba(255,255,255,0.7),  transparent 50%),
    radial-gradient(1.6px 1.6px at 73% 50%, rgba(255,255,255,0.85), transparent 50%),
    radial-gradient(1.4px 1.4px at 84% 30%, rgba(255,255,255,0.8),  transparent 50%),
    radial-gradient(1.8px 1.8px at 92% 60%, rgba(255,255,255,0.9),  transparent 50%),
    rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px) saturate(65%);
  -webkit-backdrop-filter: blur(16px) saturate(65%);
  border-bottom: none;
  /* Spodní okraj záhlaví tvarován do vlnovky pomocí mask-image */
  -webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L100 0 L100 88 Q75 100 50 88 T0 88 Z' fill='white'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L100 0 L100 88 Q75 100 50 88 T0 88 Z' fill='white'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.5px;
  position: relative;
  white-space: nowrap;
  padding-top: 16px; /* místo pro lístky */
}

.logo .leaves-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.5));
}

.logo .leaves-icon i {
  color: #4ade80;
  display: inline-block;
}

.logo .leaves-icon .leaf-l { transform: rotate(-45deg); }
.logo .leaves-icon .leaf-r { transform: rotate(45deg); }

.logo .logo-text {
  background: linear-gradient(90deg, #d8a015 0%, #f4c331 22%, #ffffff 50%, #b9d6ff 78%, #5aa9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Zpětná kompatibilita – kdyby někde zůstal starý zápis */
.logo .word-yellow { color: var(--accent-yellow); }
.logo .word-blue  { color: var(--accent-blue); }
.logo .leaves { display: none; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  min-width: 9em;         /* všechny položky podobně široké → podobné rozestupy mezi čarami */
  text-align: center;
}

/* Svislé zelené čárky kolem a mezi položkami menu – pevné rozměry,
   aby všechny vypadaly stejně (žádné subpixelové rozdíly) */
.nav a + a::before,
.nav a:first-child::before,
.nav a:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;                    /* spolehlivější vertikální centrování */
  width: 2px;
  height: 18px;
  background: var(--accent-green);
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(94, 224, 138, 0.55);
}

.nav a + a::before        { left: -9px; }    /* mezi položkami (polovina gapu 18 px) */
.nav a:first-child::before { left: -9px; }    /* před první položkou */
.nav a:last-child::after  { right: -9px; }   /* za poslední položkou */

.nav a:hover,
.nav a.active {
  color: var(--accent-green);
  -webkit-text-fill-color: var(--accent-green);
  background: none;
  text-shadow: 0 0 10px rgba(94, 224, 138, 0.4);
}

.nav .has-sub {
  position: relative;
}

.nav .has-sub > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 11px solid currentColor;
  margin-left: 8px;
  vertical-align: middle;
}

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(8, 16, 36, 0.97);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  list-style: none;
  box-shadow: var(--shadow);
}

.nav .has-sub:hover .submenu,
.nav .has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.submenu li a:hover {
  background: rgba(90, 169, 255, 0.1);
  color: var(--accent-blue);
}

/* hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
}

.menu-toggle svg { width: 28px; height: 28px; }

/* --------- Hero --------- */
.hero {
  text-align: center;
  padding: 90px 24px 60px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.05;
  background: linear-gradient(90deg, #d8a015 0%, #f4c331 30%, #ffffff 55%, #b9d6ff 75%, #5aa9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 40px rgba(90, 169, 255, 0.15);
  margin-bottom: 24px;
}

/* Lístky nad velkým hero titulkem */
.hero-leaves {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.55));
}

.hero-leaves i { color: #4ade80; display: inline-block; }
.hero-leaves .leaf-l { transform: rotate(-45deg); }
.hero-leaves .leaf-r { transform: rotate(45deg); }

/* Sdružené uspořádání: levá ikona + kruh (větší) + pravá ikona.
   Kruh má 1.8× šířku ikony, aby se do něj pohodlně vešel text. */
.construction-wrap {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  align-items: center;
  gap: 24px;
  max-width: min(1280px, 95vw);
  margin: 0 auto 96px;
}

.construction-icon {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: inline-size;        /* aby šlo cqi pro fa-stack */
  color: #ffe600;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.construction-icon .fa-stack {
  font-size: 50cqi;                   /* 50 % šířky kontejneru → 2em = 100 % */
  width: 2em;
  height: 2em;
  line-height: 2em;
}

.construction-icon .fa-gear {
  color: #ffe600;
}

.construction-icon .fa-screwdriver-wrench {
  color: #000;
  font-size: 0.9em;
}

/* Na úzkých obrazovkách ikony pod / nad rámečkem */
@media (max-width: 720px) {
  .construction-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }
  .construction-icon,
  .construction-notice--circle {
    max-width: 300px;
  }
}

/* Výstražné upozornění nad hero titulkem – žluto-černý šrafovaný rám
   pomocí border-image, vnitřek průhledný (vidět hvězdy stránky). */
.construction-notice {
  flex: 1 1 auto;
  max-width: 720px;
  margin: 0;
  background: transparent;
  border: 14px solid transparent;
  border-image-source: repeating-linear-gradient(
    -45deg,
    #ffe600 0,
    #ffe600 22px,
    #000000 22px,
    #000000 44px
  );
  border-image-slice: 14;             /* bez "fill" → vnitřek zůstane průhledný */
  border-image-width: 14px;
  border-image-repeat: round;
  /* border-image obecně nedrží border-radius – proto ostré rohy
     (stavební páska má stejně ostré rohy, hodí se) */
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

.construction-notice__inner {
  padding: 18px 24px;
  background: transparent;             /* prosvítá hvězdné pozadí stránky */
  color: #e74c3c;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

/* === Varianta s kruhovým rámem === */
.construction-notice--circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: none;
  margin: 0;
  background: transparent;
  border: none;
  border-image: none;
  box-shadow: none;
  filter: drop-shadow(0 6px 22px rgba(0, 0, 0, 0.35));
}

.construction-notice__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.construction-notice--circle .construction-notice__inner {
  position: absolute;
  /* vnitřní kruh má poloměr 86 z 100 ve viewBoxu (= 86% poloměru kruhu).
     Vepsaný čtverec do kruhu má polovinu strany = r * cos(45°) = 86 * 0.707 ≈ 60,8.
     Vrcholy čtverce jsou tedy ve vzdálenosti 100 - 60,8 = 39,2 od okraje.
     Inset 20% poskytne malou rezervu kolem textu uvnitř vepsaného čtverce. */
  inset: 20%;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  container-type: inline-size;
  /* Velikost písma se škáluje podle šířky kruhu, aby se text vždy vešel. */
  font-size: clamp(10px, 4cqi, 15px);
  line-height: 1.4;
}

.construction-notice__contacts {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 6px;
  font-weight: 600;
}

.construction-notice__sep {
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  background: #ffffff;
  border-radius: 1px;
  opacity: 0.85;
}

.construction-notice__contacts a {
  color: var(--accent-green);
  text-decoration: none;
  transition: text-shadow 0.2s;
  white-space: nowrap;
}

.construction-notice__contacts a:hover {
  text-shadow:
    0 0 8px rgba(94, 224, 138, 0.7),
    0 0 16px rgba(94, 224, 138, 0.4);
}

.hero .tagline {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--accent-green);
  text-shadow: 0 0 14px rgba(94, 224, 138, 0.25);
}

.hero .lead {
  font-size: 16px;
  color: var(--text);
  font-style: normal;
  max-width: 720px;
  margin: 0 auto;
}

.hero .lead p { margin-bottom: 4px; }

/* --------- Section heading --------- */
.section-title {
  text-align: center;
  margin: 80px auto 50px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.section-title .accent-yellow { color: var(--accent-yellow); }
.section-title .accent-blue  { color: var(--accent-blue); }

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
  margin: 18px auto 0;
  border-radius: 3px;
}

.section-title.no-bar::after { display: none; }

.section-title.green-bar {
  width: fit-content;
  max-width: 100%;
}

.section-title.green-bar::after {
  width: 100%;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(94, 224, 138, 0.55);
}

/* Vlnovka místo rovné čáry – funguje na libovolném elementu (h1, h2, …) */
.wavy-bar {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wavy-bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 14px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q25 0 50 5 T100 5' stroke='%235ee08a' stroke-width='2' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  margin: 10px auto 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 4px rgba(94, 224, 138, 0.55));
}

/* --------- Kruhové bubliny služeb (radiální 8-bod layout) --------- */
.services-flower {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 40px auto 120px;
  aspect-ratio: 1 / 1;
}

.services-dividers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 4px rgba(94, 224, 138, 0.45));
  opacity: 0.7;
}

@media (max-width: 768px) {
  .services-dividers { display: none; }
}

.bubble {
  position: absolute;
  width: 22%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 70%);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  transition: box-shadow 0.3s, border-color 0.3s, opacity 0.8s;
  backdrop-filter: blur(4px);
  color: var(--text);
  z-index: 2;
}

/* Bubliny v hlavním obrazci kolem středu nemají hover efekt */
.bubble:not(.center):hover {
  border-color: var(--card-border);
  box-shadow: none;
}

/* Spodní 3 bubliny mají jemnou barevnou záři v klidovém stavu */
.services-extra .bubble[href*="#vyklizeni"] {
  background: radial-gradient(circle at 30% 30%, rgba(244, 195, 49, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(244, 195, 49, 0.25);
  box-shadow: 0 0 50px rgba(244, 195, 49, 0.18);
}

.services-extra .bubble[href*="#malovani"] {
  background: radial-gradient(circle at 30% 30%, rgba(189, 195, 199, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(189, 195, 199, 0.25);
  box-shadow: 0 0 50px rgba(189, 195, 199, 0.18);
}

.services-extra .bubble[href*="#remeslo"] {
  background: radial-gradient(circle at 30% 30%, rgba(231, 76, 60, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(231, 76, 60, 0.25);
  box-shadow: 0 0 50px rgba(231, 76, 60, 0.18);
}

/* Spodní 3 bubliny mají barevné zvýraznění odpovídající barvě ikony */
.services-extra .bubble[href*="#vyklizeni"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(244, 195, 49, 0.7);
  box-shadow: 0 0 50px rgba(244, 195, 49, 0.45), 0 0 80px rgba(244, 195, 49, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(244, 195, 49, 0.20), rgba(244, 195, 49, 0.05) 70%);
}

.services-extra .bubble[href*="#malovani"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(189, 195, 199, 0.7);
  box-shadow: 0 0 50px rgba(189, 195, 199, 0.45), 0 0 80px rgba(189, 195, 199, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(189, 195, 199, 0.20), rgba(189, 195, 199, 0.05) 70%);
}

.services-extra .bubble[href*="#remeslo"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(231, 76, 60, 0.7);
  box-shadow: 0 0 50px rgba(231, 76, 60, 0.45), 0 0 80px rgba(231, 76, 60, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(231, 76, 60, 0.20), rgba(231, 76, 60, 0.05) 70%);
}

.bubble svg {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.bubble .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Středová bublina – pevný průměr 220 px */
.bubble.center {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(90, 169, 255, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(90, 169, 255, 0.25);
  box-shadow: 0 0 50px rgba(90, 169, 255, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.bubble.center svg { color: var(--accent-blue); width: 80px; height: 80px; margin-bottom: 6px; }
.bubble.center .label { color: var(--text); font-size: 13px; text-transform: none; font-style: normal; font-weight: 600; }

.bubble.center:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(90, 169, 255, 0.7);
  box-shadow: 0 0 50px rgba(90, 169, 255, 0.45), 0 0 80px rgba(90, 169, 255, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(90, 169, 255, 0.20), rgba(90, 169, 255, 0.05) 70%);
}

/*
   7 pozic rovnoměrně rozprostřených okolo středu (každých 360°/7 ≈ 51,43°)
   Poloměr 38% od středu kontejneru. Bublina je 22% × 22%, takže
   odečteme 11% (polovinu) od cíleného středu, abychom dostali levý-horní roh.
   úhly: 0° (nahoře) → po směru hodinových ručiček
*/
.bubble.p1 { top: 1.0%;  left: 39.0%; }   /*   0°   – ÚKLID DOMÁCNOSTÍ (nahoře) */
.bubble.p2 { top: 15.3%; left: 68.7%; }   /*  51,4° – ÚKLID BYTOVÝCH DOMŮ */
.bubble.p4 { top: 47.5%; left: 76.1%; }   /* 102,9° – ÚKLID KANCELÁŘÍ */
.bubble.p6 { top: 73.2%; left: 55.5%; }   /* 154,3° – VENKOVNÍ PROSTORY A GARÁŽE */
.bubble.p8 { top: 73.2%; left: 22.5%; }   /* 205,7° – ÚKLID PO REKONSTRUKCÍCH */
.bubble.p7 { top: 47.5%; left:  1.9%; }   /* 257,1° – JEDNORÁZOVÉ I PRAVIDELNÉ ÚKLIDY */
.bubble.p3 { top: 15.3%; left:  9.3%; }   /* 308,6° – MYTÍ OKEN */

/* --------- Doplňková řada bublin pod hlavním obrazcem --------- */
.services-extra {
  display: grid;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  gap: 48px;
  max-width: 100%;
  margin: -40px auto 90px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.services-extra .bubble {
  position: relative;
  width: 220px;
  height: 220px;
  top: auto;
  left: auto;
  transform: none;
  justify-self: center;
  align-self: center;
  transition: width 0.3s, height 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

/* Ikony ve spodních 3 bublinách stejně velké jako ve středovém kruhu */
.services-extra .bubble svg {
  width: 80px;
  height: 80px;
  margin-bottom: 6px;
}

.services-extra .bubble .label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Zelené čáry mezi 3 bublinami v řadě (stejná šířka jako paprsky v obrazci) */
.services-extra .bubble:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  right: -25.5px;       /* polovina mezery (24 px) – 1,5 px = střed čáry v mezeře */
  width: 3px;
  background: #5ee08a;
  border-radius: 2px;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px rgba(94, 224, 138, 0.45));
  pointer-events: none;
}

@media (max-width: 600px) {
  .services-extra .bubble::after { display: none; }
}

/* --- Řada 4 bublin (např. na stránce Nabízené služby) – pevný průměr 220 px --- */
.services-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 220px);
  justify-content: center;
  gap: 32px;
  max-width: 100%;
  margin: 30px auto 70px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.services-row-4 .bubble {
  position: relative;
  width: 220px;
  height: 220px;
  top: auto;
  left: auto;
  transform: none;
  justify-self: center;
  align-self: center;
  transition: width 0.3s, height 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

/* Ikony stejně velké jako u kruhů na úvodní stránce (80 × 80) */
.services-row-4 .bubble svg {
  width: 80px;
  height: 80px;
  margin-bottom: 6px;
}

/* Zelené svislé čáry mezi 4 kruhy (stejné jako u úvodní stránky) */
.services-row-4 .bubble:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  right: -17.5px;       /* polovina mezery (32 px / 2 = 16) – 1,5 px = střed čáry v mezeře */
  width: 3px;
  background: #5ee08a;
  border-radius: 2px;
  opacity: 0.7;
  filter: drop-shadow(0 0 4px rgba(94, 224, 138, 0.45));
  pointer-events: none;
}

@media (max-width: 1000px) {
  .services-row-4 .bubble::after { display: none; }
}

.services-row-4 .bubble .label {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Jemná barevná záře v klidovém stavu (shodná s úvodní stránkou) */
.services-row-4 .bubble[href*="#uklid"] {
  background: radial-gradient(circle at 30% 30%, rgba(90, 169, 255, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(90, 169, 255, 0.25);
  box-shadow: 0 0 50px rgba(90, 169, 255, 0.18);
}

.services-row-4 .bubble[href*="#vyklizeni"] {
  background: radial-gradient(circle at 30% 30%, rgba(244, 195, 49, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(244, 195, 49, 0.25);
  box-shadow: 0 0 50px rgba(244, 195, 49, 0.18);
}

.services-row-4 .bubble[href*="#malovani"] {
  background: radial-gradient(circle at 30% 30%, rgba(189, 195, 199, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(189, 195, 199, 0.25);
  box-shadow: 0 0 50px rgba(189, 195, 199, 0.18);
}

.services-row-4 .bubble[href*="#remeslo"] {
  background: radial-gradient(circle at 30% 30%, rgba(231, 76, 60, 0.12), rgba(255, 255, 255, 0.02) 70%);
  border-color: rgba(231, 76, 60, 0.25);
  box-shadow: 0 0 50px rgba(231, 76, 60, 0.18);
}

/* Barevné zvýraznění + zvětšení při najetí kurzorem (shodné s úvodní stránkou) */
.services-row-4 .bubble[href*="#uklid"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(90, 169, 255, 0.7);
  box-shadow: 0 0 50px rgba(90, 169, 255, 0.45), 0 0 80px rgba(90, 169, 255, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(90, 169, 255, 0.20), rgba(90, 169, 255, 0.05) 70%);
}

.services-row-4 .bubble[href*="#vyklizeni"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(244, 195, 49, 0.7);
  box-shadow: 0 0 50px rgba(244, 195, 49, 0.45), 0 0 80px rgba(244, 195, 49, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(244, 195, 49, 0.20), rgba(244, 195, 49, 0.05) 70%);
}

.services-row-4 .bubble[href*="#malovani"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(189, 195, 199, 0.7);
  box-shadow: 0 0 50px rgba(189, 195, 199, 0.45), 0 0 80px rgba(189, 195, 199, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(189, 195, 199, 0.20), rgba(189, 195, 199, 0.05) 70%);
}

.services-row-4 .bubble[href*="#remeslo"]:hover {
  width: 230px;
  height: 230px;
  border-color: rgba(231, 76, 60, 0.7);
  box-shadow: 0 0 50px rgba(231, 76, 60, 0.45), 0 0 80px rgba(231, 76, 60, 0.2);
  background: radial-gradient(circle at 30% 30%, rgba(231, 76, 60, 0.20), rgba(231, 76, 60, 0.05) 70%);
}

@media (max-width: 1000px) {
  .services-row-4 { grid-template-columns: repeat(2, 220px); gap: 24px; }
}

@media (max-width: 520px) {
  .services-row-4 {
    grid-template-columns: 220px;
  }
}

/* --------- Sekce s textem / O nás / Detail služby --------- */
.text-section {
  padding: 30px 0 80px;
  position: relative;
  z-index: 1;
}

.text-section .intro {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
}

.placeholder {
  background: rgba(244, 195, 49, 0.07);
  border: 1px dashed rgba(244, 195, 49, 0.35);
  color: var(--accent-yellow);
  padding: 4px 10px;
  border-radius: 6px;
  font-style: italic;
  font-size: 14px;
  display: inline-block;
}

/* --------- Karty služeb --------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Varianta – karty vedle sebe na jednom řádku (auto-fit dle počtu) */
.cards--row {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.cards--row .card { padding: 22px 18px; }
.cards--row .card h3 { font-size: 15px; }

@media (max-width: 900px) {
  .cards--row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .cards--row { grid-template-columns: 1fr; }
}

/* Varianta – tři karty v řadě (např. 2 řádky po třech) */
.cards--row-3 {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.cards--row-3 .card {
  padding: 24px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.cards--row-3 .card h3 { color: var(--accent-green); }
.cards--row-3 .card p { flex: 1; }

/* Bez zvýraznění při najetí myší */
.cards--row-3 .card:hover {
  transform: none;
  border-color: var(--card-border);
  box-shadow: none;
}

@media (max-width: 900px) {
  .cards--row-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .cards--row-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  backdrop-filter: blur(4px);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 169, 255, 0.4);
  box-shadow: var(--shadow);
}

.card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(94, 224, 138, 0.12);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg { width: 28px; height: 28px; }

.card .icon-emoji {
  background: transparent;
  font-size: 34px;
  line-height: 1;
}

.card .icon-emoji span { display: inline-block; }

.card h3 {
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* --------- O mně --------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 195, 49, 0.15), rgba(90, 169, 255, 0.15));
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
  position: relative;
}

.about-photo svg { width: 80px; height: 80px; opacity: 0.4; }
.about-photo i { font-size: 220px; color: var(--accent-green); opacity: 0.85; }
.about-photo svg.four-people {
  width: 70%;
  height: auto;
  max-width: 320px;
  color: var(--accent-green);
  opacity: 0.85;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Seznam týmů (zelená, žlutá, šedivá, červená) */
.team-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.team-list li {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 0;
  line-height: 1.3;
}

.team-list .team-desc {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  margin: 6px 0 14px;
}

/* Rámeček kolem týmu s barevným podbarvením */
.team-list .team-box {
  background: rgba(94, 224, 138, 0.10);
  border: 1px solid rgba(94, 224, 138, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 6px 0 12px;
  box-shadow: 0 0 14px rgba(94, 224, 138, 0.10);
}

.team-list .team-box .team-desc {
  margin-bottom: 0;
}

.team-list .team-box--green {
  background: rgba(94, 224, 138, 0.10);
  border-color: rgba(94, 224, 138, 0.35);
  box-shadow: 0 0 14px rgba(94, 224, 138, 0.10);
}

.team-list .team-box--blue {
  background: rgba(90, 169, 255, 0.10);
  border-color: rgba(90, 169, 255, 0.35);
  box-shadow: 0 0 14px rgba(90, 169, 255, 0.10);
}

.team-list .team-box--yellow {
  background: rgba(244, 195, 49, 0.10);
  border-color: rgba(244, 195, 49, 0.35);
  box-shadow: 0 0 14px rgba(244, 195, 49, 0.10);
}

.team-list .team-box--gray {
  background: rgba(189, 195, 199, 0.10);
  border-color: rgba(189, 195, 199, 0.35);
  box-shadow: 0 0 14px rgba(189, 195, 199, 0.10);
}

.team-list .team-box--red {
  background: rgba(231, 76, 60, 0.10);
  border-color: rgba(231, 76, 60, 0.35);
  box-shadow: 0 0 14px rgba(231, 76, 60, 0.10);
}

/* --------- Ceník tabulka --------- */
.price-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-table th,
.price-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
}

.price-table thead {
  background: rgba(90, 169, 255, 0.1);
}

.price-table th {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent-yellow);
  white-space: nowrap;
}

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 30px;
  font-style: italic;
}

/* --------- Skryté detaily služeb (zobrazí se po kliknutí na kruh) --------- */
.service-detail {
  display: none;
}

.service-detail.active {
  display: block;
  animation: fadeInDetail 0.4s ease-out;
}

@keyframes fadeInDetail {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------- Nové ceníkové panely (jednorázový / pravidelný úklid) --------- */
.price-panel {
  background: linear-gradient(180deg, rgba(11, 26, 56, 0.7), rgba(7, 16, 38, 0.7));
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px 44px;
  margin: 0 auto 40px;
  max-width: 1000px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

.price-panel__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.price-panel__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.price-panel__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.price-panel--yellow .price-panel__icon,
.price-panel--yellow .price-panel__title {
  color: var(--accent-yellow);
}

.price-panel--green .price-panel__icon,
.price-panel--green .price-panel__title {
  color: var(--accent-green);
}

.price-panel--blue .price-panel__icon,
.price-panel--blue .price-panel__title {
  color: var(--accent-blue);
}

/* Dvousloupcový layout uvnitř panelu */
.price-panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 0;
}

.price-panel__grid .price-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 720px) {
  .price-panel__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row__service {
  flex: 1;
  font-size: 17px;
  color: var(--text);
  line-height: 1.4;
}

.price-row__price {
  text-align: right;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  line-height: 1.2;
}

.price-row__note {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
}

.price-row__note--italic {
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .price-panel { padding: 26px 22px; border-radius: 18px; }
  .price-row { padding: 18px 0; gap: 14px; }
  .price-row__service { font-size: 14px; }
  .price-row__price { font-size: 16px; }
}

/* --------- Galerie --------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery .photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(244, 195, 49, 0.1), rgba(90, 169, 255, 0.1));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 10px;
  transition: transform 0.25s;
}

.gallery .photo:hover {
  transform: scale(1.02);
}

/* --------- Recenze --------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.review {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 64px;
  color: var(--accent-blue);
  opacity: 0.4;
  font-family: Georgia, serif;
  line-height: 1;
}

.review p {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 14px;
}

.review .author {
  font-weight: 700;
  color: var(--accent-yellow);
  font-size: 14px;
  letter-spacing: 1px;
}

.review .stars {
  color: var(--accent-yellow);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* --------- Kontakt --------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--accent-yellow);
}

.contact-info--centered {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 0;
  align-items: center;
  justify-items: center;
}

/* Kontaktní bubliny (kulaté, místo obdélníku) */
.contact-info--centered .info-row {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 70%);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 16% 24px 24px;
  backdrop-filter: blur(4px);
  margin-bottom: 0;
  gap: 6px;
}

/* Hlavička bubliny - ikona nad nápisem (vertikálně), vše vystředěné */
.contact-info--centered .info-row__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  width: 100%;
  text-align: center;
}

.contact-info--centered .info-row svg {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: block;
}

.contact-info--centered .info-row .label {
  margin: 0 auto;
  font-size: 13px;
  text-align: center;
  width: auto;
}

.contact-info--centered .info-row a {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin: 2px 0;
}

@media (max-width: 720px) {
  .contact-info--centered .info-row {
    max-width: 280px;
    aspect-ratio: auto;
    padding: 30px 20px;
    border-radius: var(--radius);
  }
}

.contact-info--centered h3 {
  grid-column: 1 / -1;
  font-style: normal;
  color: var(--text);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .contact-info--centered {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

.contact-info--centered .info-row {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.contact-info--centered .info-row__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.contact-info.contact-info--centered .info-row svg {
  width: 64px;
  height: 64px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Ikona jako odkaz (např. Facebook) */
.contact-info--centered .info-row__head .icon-link {
  display: inline-flex;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s, filter 0.2s;
}

.contact-info--centered .info-row__head .icon-link:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(94, 224, 138, 0.55));
}

.contact-info--centered .info-row .label {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-info--centered .info-row a {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-green);
  transition: color 0.2s;
}

.contact-info--centered .info-row a:hover {
  color: var(--accent-blue);
}

@media (max-width: 520px) {
  .contact-info--centered { padding: 28px 20px; }
  .contact-info--centered .info-row a { font-size: 16px; }
}

/* --------- Kontakt – jednoduchý layout (bez kruhů) --------- */
.contact-info--simple {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px 20px;
}

/* Dvousloupcové uspořádání – stejná vzdálenost od levého i pravého okraje */
.contact-info--cols {
  max-width: 740px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 60px;
  align-items: start;
}

.contact-info--cols .contact-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 420px;
  justify-self: start;
}

.contact-info--cols .contact-col--social {
  width: 160px;
  max-width: 160px;
  justify-self: end;
}

@media (max-width: 720px) {
  .contact-info--cols {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: center;
  }
  .contact-info--cols .contact-col,
  .contact-info--cols .contact-col--social {
    justify-self: center;
  }
}

.contact-info--simple .contact-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0;
}

.contact-info--simple .contact-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-green);
  flex-shrink: 0;
  display: block;
}

.contact-info--simple .contact-icon--facebook {
  color: #1877F2;
  width: 64px;
  height: 64px;
}

.contact-info--simple .contact-icon--instagram {
  width: 64px;
  height: 64px;
}

/* Skupina jako odkaz (Facebook / Instagram) - rozsvícení při najetí */
.contact-info--simple .contact-group--link {
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.contact-info--simple .contact-group--link .contact-icon {
  transition: filter 0.25s ease, transform 0.25s ease;
}

.contact-info--simple .contact-group--link .contact-group__label {
  transition: text-shadow 0.25s ease;
}

/* Facebook hover - modrá záře */
.contact-info--simple .contact-group--link:hover .contact-icon--facebook,
.contact-info--simple .contact-group--link:focus-visible .contact-icon--facebook {
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 8px rgba(24, 119, 242, 0.85))
    drop-shadow(0 0 18px rgba(24, 119, 242, 0.6))
    drop-shadow(0 0 28px rgba(24, 119, 242, 0.35));
}

.contact-info--simple .contact-group--link:not(.contact-group--link-ig):hover .contact-group__label,
.contact-info--simple .contact-group--link:not(.contact-group--link-ig):focus-visible .contact-group__label {
  text-shadow:
    0 0 8px rgba(24, 119, 242, 0.7),
    0 0 16px rgba(24, 119, 242, 0.45);
}

/* Diagonální uspořádání FB + IG s zelenou čárou mezi nimi */
.contact-col--social {
  align-self: start;
}

.social-diagonal {
  position: relative;
  width: 160px;
  height: 152px;  /* odpovídá výšce levého sloupce (3 řádky × 32 px + 2 mezery × 28 px) */
  margin: 0 auto;
  overflow: visible;
}

/* FB horní hrana lícuje s horní hranou kontaktů, IG dolní hrana s dolní */
.social-diagonal .social-fb {
  position: absolute;
  top: 0;
  left: 0;
}

.social-diagonal .social-ig {
  position: absolute;
  bottom: 0;
  right: 0;
}

.social-diagonal .contact-group--icon-only {
  padding: 0;
}

.social-divider {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 5 Q25 0 50 5 T100 5' stroke='%235ee08a' stroke-width='2' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  transform: translate(-50%, -50%) rotate(-45deg);
  filter: drop-shadow(0 0 4px rgba(94, 224, 138, 0.55));
  pointer-events: none;
}

@media (max-width: 520px) {
  .social-diagonal {
    width: 140px;
    height: 124px;
  }
  .social-divider {
    width: 110px;
  }
}

/* Instagram hover - růžovo-fialová záře */
.contact-info--simple .contact-group--link-ig:hover .contact-icon--instagram,
.contact-info--simple .contact-group--link-ig:focus-visible .contact-icon--instagram {
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 8px rgba(220, 39, 67, 0.85))
    drop-shadow(0 0 18px rgba(188, 24, 136, 0.65))
    drop-shadow(0 0 28px rgba(240, 148, 51, 0.4));
}

.contact-info--simple .contact-group--link-ig:hover .contact-group__label,
.contact-info--simple .contact-group--link-ig:focus-visible .contact-group__label {
  text-shadow:
    0 0 8px rgba(220, 39, 67, 0.7),
    0 0 16px rgba(188, 24, 136, 0.45);
}

.contact-info--simple .contact-group__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.contact-info--simple .contact-group__content a {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-green);
  text-decoration: none;
  transition: text-shadow 0.25s ease, filter 0.25s ease;
}

.contact-info--simple .contact-group__content a:hover,
.contact-info--simple .contact-group__content a:focus-visible {
  color: var(--accent-green);
  text-shadow:
    0 0 8px rgba(94, 224, 138, 0.85),
    0 0 18px rgba(94, 224, 138, 0.6),
    0 0 32px rgba(94, 224, 138, 0.35);
}

.contact-info--simple .contact-group__label {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 520px) {
  .contact-info--simple {
    gap: 24px;
    padding: 28px 16px;
  }
  .contact-info--simple .contact-group {
    gap: 18px;
  }
  .contact-info--simple .contact-icon {
    width: 28px;
    height: 28px;
  }
  .contact-info--simple .contact-icon--facebook,
  .contact-info--simple .contact-icon--instagram {
    width: 48px;
    height: 48px;
  }
  .contact-info--simple .contact-group__content a,
  .contact-info--simple .contact-group__label {
    font-size: 17px;
  }
}

.contact-info .info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info .info-row svg {
  width: 22px;
  height: 22px;
  color: var(--accent-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info .info-row .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 2px;
}

.form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}

.form .row {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.07);
}

.form textarea {
  resize: vertical;
  min-height: 130px;
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--accent-yellow), #ffb800);
  color: #0a1124;
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 195, 49, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  padding: 12px 30px;
}

.btn-outline:hover {
  background: var(--accent-blue);
  color: #02050d;
}

.form-success {
  display: none;
  background: rgba(94, 224, 138, 0.1);
  border: 1px solid rgba(94, 224, 138, 0.4);
  color: var(--accent-green);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
}

.form-success.show { display: block; }

/* --------- Kontaktní formulář – sekce na stránce Kontakt --------- */
.contact-form-section {
  padding-top: 40px;
}

.contact-form-section .section-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 12px;
}

.form-intro {
  text-align: center;
  color: var(--text);
  font-size: 16px;
  margin: 0 auto 32px;
  max-width: 560px;
  opacity: 0.85;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(11, 26, 56, 0.7), rgba(7, 16, 38, 0.7));
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(6px);
}

.contact-form .row {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text);
  opacity: 0.85;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-green);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(94, 224, 138, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.form-grid .row:first-child {
  grid-column: 1 / -1;  /* Jméno přes celou šířku */
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .row:first-child {
    grid-column: auto;
  }
  .contact-form {
    padding: 24px;
  }
}

/* GDPR souhlas */
.form-consent {
  margin-top: 6px;
}

.form-consent .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text);
  opacity: 0.85;
  cursor: pointer;
  margin: 0;
  line-height: 1.5;
}

.form-consent .checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--card-border);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.form-consent .checkbox input[type="checkbox"]:checked {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.form-consent .checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid #0a1124;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-consent .checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Odeslat button – zelený */
.form-submit {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.btn.btn-green {
  background: linear-gradient(90deg, #5ee08a, #4ade80);
  color: #0a1124;
  padding: 14px 36px;
  font-size: 14px;
  letter-spacing: 1.5px;
  border-radius: 30px;
  font-weight: 800;
}

.btn.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(94, 224, 138, 0.4);
}

/* --------- CTA pruh --------- */
.cta-strip {
  text-align: center;
  margin: 80px auto;
  padding: 50px 24px;
  background: linear-gradient(135deg, rgba(244, 195, 49, 0.08), rgba(90, 169, 255, 0.08));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  max-width: 900px;
}

.cta-strip h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
}

.cta-strip p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* --------- CTA s kruhem (vlevo) a "vykousnutým" obdélníkem (vpravo) --------- */
/* Kruh: 280 px (poloměr 140), obdélník má kruhový výřez s poloměrem 150 px
   centrovaný v jeho levé hraně. Kruh + obdélník tak mají všude 10 px mezeru. */
.cta-split {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
}

.cta-circle {
  position: relative;
  z-index: 2;
  flex: 0 0 320px;
  width: 320px;
  height: 300px;
  /* "Obdélník s kruhem" – levá strana rovná, pravá zaoblená do půlkruhu */
  border-radius: 28px 150px 150px 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02) 70%),
    linear-gradient(135deg, rgba(244, 195, 49, 0.10), rgba(90, 169, 255, 0.10));
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 90px 30px 40px;  /* extra vpravo, aby text nezasahoval do půlkruhu */
  backdrop-filter: blur(4px);
  /* posuneme tak, aby střed pravého půlkruhu byl na levé hraně obdélníku */
  margin-right: -150px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.cta-circle h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
}

.cta-box {
  position: relative;
  z-index: 1;
  flex: 1;
  height: 300px;
  padding: 30px 40px 30px 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Pozadí + ohraničení + výřezy (levý kruh + pill kolem tlačítka) */
.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(244, 195, 49, 0.08), rgba(90, 169, 255, 0.08));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  pointer-events: none;
  /* 22 mask vrstev kombinovaných přes intersect:
     1) Levý kruhový výřez (poloměr 170)
     2-22) 21 kruhů poloměru 45 px po délce tlačítka (každých 9,5 px).
          Při tak hustém rozmístění mají "důlky" mezi sousedními kruhy hloubku
          jen ~0,25 px (pod jeden pixel) → obrys výřezu vypadá jako rovný pill. */
  -webkit-mask:
    radial-gradient(circle 170px at 0 50%, transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% - 15px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% - 5.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 4px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 13.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 23px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 32.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 42px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 51.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 61px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 70.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 80px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 89.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 99px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 108.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 118px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 127.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 137px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 146.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 156px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 165.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 175px) calc(100% - 55px), transparent 99%, #000 100%);
          mask:
    radial-gradient(circle 170px at 0 50%, transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% - 15px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% - 5.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 4px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 13.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 23px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 32.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 42px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 51.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 61px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 70.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 80px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 89.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 99px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 108.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 118px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 127.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 137px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 146.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 156px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 165.5px) calc(100% - 55px), transparent 99%, #000 100%),
    radial-gradient(circle 45px at calc(50% + 175px) calc(100% - 55px), transparent 99%, #000 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

/* Obsah (texty + tlačítko) nad pozadím */
.cta-box > p,
.cta-box > .btn {
  position: relative;
  z-index: 1;
}

.cta-box > .btn {
  align-self: center;
  margin-top: auto;
}

.cta-box p {
  color: var(--text);
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
}

.cta-box p:last-of-type {
  margin-bottom: 22px;
}


@media (max-width: 760px) {
  .cta-split {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .cta-circle {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 180px;
    flex: 0 0 auto;
    margin-right: 0;
    border-radius: 28px;
    padding: 28px 24px;
  }
  .cta-box {
    padding: 36px 24px;
    width: 100%;
    min-height: 0;
    /* Na mobilu zrušit výřez – box je pod kruhem */
    -webkit-mask: none;
            mask: none;
  }
}

/* --------- Footer --------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 24px 30px;
  text-align: center;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.site-footer .logo {
  justify-content: center;
  margin-bottom: 14px;
}

.site-footer .tagline {
  color: var(--accent-green);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(94, 224, 138, 0.3);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--accent-green); }

.copyright {
  color: var(--text-muted);
  font-size: 12px;
}

/* --------- Responzivita --------- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-photo {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(2, 5, 13, 0.98);
    backdrop-filter: blur(12px);
    padding: 20px 24px;
    gap: 0;
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }
  .nav.open { transform: translateY(0); }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--card-border);
  }
  .nav .has-sub > a::after { content: " ▾"; }
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    padding: 0 0 10px 16px;
    box-shadow: none;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .nav .has-sub.open .submenu {
    max-height: 600px;
  }
  .submenu li a { padding: 8px 0; border: none; }

  .services-flower {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 500px;
  }
  .bubble {
    position: static;
    width: 100%;
    aspect-ratio: 1 / 1;
    transform: none !important;
  }
  .bubble.center {
    grid-column: 1 / -1;
    width: 70%;
    margin: 0 auto;
  }

  .services-extra {
    margin-top: 20px;
    gap: 16px;
  }

  .hero { padding: 50px 20px 40px; }
}

@media (max-width: 480px) {
  .nav-wrap { padding: 14px 18px; }
  .logo { font-size: 18px; }
  .logo .leaves { font-size: 14px; left: 22px; top: -8px; }
  .container { padding: 0 18px; }
  .form { padding: 22px; }
  .price-table th, .price-table td { padding: 12px 10px; font-size: 13px; }
}
