/* ============================================================
STYLE.CSS - STRUKTURA
01. Foundation
02. Core UI
04. Theme Override
05. Services
  05.1 Header + Navigation
  05.2 Layout + Hero
  05.3 Cards / Tarify / Kontakt
  05.4 Projekty + Process + Footer
  05.5 Reseni
  05.6 Services Addons (Portfolio / Phone / Neon)
06. Zivotopis
09. Error
13. Legal
============================================================ */

/* ============================================================
01. FOUNDATION (GLOBAL TOKENS + RESET)
============================================================ */
:root {
  /* Barvy */
  --bg-dark: #0b0d17;
  --bg-panel: #1a1c2e;
  --bg-card: #18182a;
  --text-main: #e0e0e0;
  --text-muted: #888fb1;
  --border: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #f87171;

  /* Geometrie */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  background-image: radial-gradient(circle at 50% 0%, rgba(74, 108, 247, 0.1) 0%, transparent 50%);
}

/* ============================================================
02. CORE UI (ZUNIX / AUTH / PROFILE / NAV / FOOTER / MODALS)
============================================================ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
}

.text-muted {
  color: var(--text-muted);
}

@keyframes pulse-mini {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(-30px, 30px) rotate(240deg);
  }
}

/* Admin: nicer dark dropdowns (native selects are limited, but this improves most browsers) */

/* --- 02.1) Modal Shell + Top Navigation --- */

/* --- 02.2) Form prvky + OTP + Service tabs --- */
input,
textarea,
select {
  background: var(--input-bg);
  color: var(--text-main);
  border: 1.2px solid var(--input-border);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  outline: none;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

/* ============================================================
04. THEME OVERRIDE (BLACK & WHITE)
============================================================ */
:root {
  --bg-dark: #000000;
  --bg-panel: #000000;
  --bg-card: #000000;
  --text-main: #ffffff;
  --text-muted: #ffffff;
  --border: rgba(255, 255, 255, 0.2);
}

html,
body {
  background-color: #000000;
  color: #ffffff;
}

/* ============================================================
05. STRÁNKY: SERVICES (MINIMAL)
============================================================ */
body.services-page {
  margin: 0;
  background: #000000;
  color: #ffffff;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  transition: opacity 0.18s ease;
}

body.services-page.is-lang-switching {
  opacity: 0.6;
}

html.lang-restoring body.services-page {
  opacity: 0;
  transition: none;
}

/* --- 05.1) Header + Navigation --- */
.services-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.services-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  min-height: 76px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.services-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}

.services-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(1.4);
}

.services-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.services-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.services-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.services-nav-open .services-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.services-nav-open .services-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.services-nav-open .services-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.services-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.services-nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #000000;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.services-nav-dropdown:hover .services-nav-dropdown-menu,
.services-nav-dropdown:focus-within .services-nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.services-nav-dropdown.is-closing .services-nav-dropdown-menu,
.services-nav-dropdown.is-locked .services-nav-dropdown-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-6px) !important;
  pointer-events: none;
}

.services-nav-dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.services-nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.services-nav a,
.services-offer-btn,
.services-nav-dropdown-toggle-btn {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
}

.services-nav a:hover,
.services-offer-btn:hover,
.services-nav-dropdown-toggle-btn:hover {
  opacity: 0.75;
}

.services-nav-dropdown-toggle-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.services-link-external-icon {
  margin-left: 6px;
  font-size: 0.78em;
  opacity: 0.9;
  font-style: normal;
  line-height: 1;
}

.services-link-external-icon.bi-box-arrow-up-right::before {
  content: "↗";
}

.services-lang-dropdown .services-nav-dropdown-menu {
  left: auto;
  right: 0;
  min-width: 150px;
}

.services-offer-btn {
  border: 1px solid #ffffff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.services-header .account-menu {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.services-header .account-menu-item {
  color: #ffffff;
  border-radius: 10px;
}

.services-header .account-menu-item:hover {
  background: rgba(255, 255, 255, 0.09);
}

/* --- 05.2) Layout + Hero --- */
.services-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-main>section {
  min-height: 100svh;
  scroll-margin-top: 76px;
}

.services-main>section+section {
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(320px, 1fr);
  gap: 38px;
  align-items: center;
  justify-items: stretch;
  padding: 26px 0;
}

.services-hero-box {
  border-radius: 28px;
  min-height: clamp(360px, 62vh, 700px);
  padding: clamp(14px, 2.4vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-hero-image-wrap {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 1 / 1;
  max-height: clamp(320px, 70vh, 760px);
}

.services-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.1) brightness(0.75);
}

#o-mne .services-hero-image {
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.08) brightness(0.92);
}

#o-mne .services-hero {
  grid-template-columns: minmax(320px, 520px) minmax(360px, 1fr);
  gap: clamp(8px, 1.8vw, 24px);
  align-items: center;
}

#o-mne .services-hero-box:first-child {
  align-items: flex-end;
}

#o-mne .services-hero-image-wrap {
  aspect-ratio: 4 / 5;
  max-height: clamp(460px, 74vh, 860px);
}

#o-mne .services-hero-content {
  max-width: 640px;
}

#o-mne #about-title {
  margin-bottom: 10px !important;
}

#o-mne .services-subtitle {
  margin-top: 14px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.services-hero-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-page-home .services-hero-content {
  text-align: center;
  align-items: center;
}

.services-page-home .services-hero {
  grid-template-columns: minmax(320px, 560px) minmax(340px, 520px);
  gap: clamp(8px, 1.8vw, 24px);
  align-items: center;
}

.services-page-home .services-hero-box:last-child {
  align-items: flex-end;
}

.services-page-home .services-hero-image {
  object-fit: contain;
  object-position: center bottom;
  filter: contrast(1.08) brightness(0.9);
}

.services-page-home .services-hero-image-wrap {
  aspect-ratio: 4 / 5;
  max-height: clamp(460px, 74vh, 860px);
}

.services-page-about .services-hero-content {
  text-align: center;
  align-items: center;
}

#o-mne .services-hero-content {
  text-align: center;
  align-items: center;
}

.services-page-about .services-hero-content h1,
.services-page-about .services-hero-content h2,
#o-mne .services-hero-content h1,
#o-mne .services-hero-content h2 {
  text-align: center;
}

.services-page-about .services-subtitle,
#o-mne .services-subtitle {
  width: 100%;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services-page-about .services-primary-cta,
#o-mne .services-primary-cta {
  align-self: center;
}

.services-kicker {
  margin: 0 0 14px;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.8;
  text-align: center;
}

.services-hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  width: 100%;
  text-align: center;
}

.services-subtitle {
  margin: 22px 0 28px;
  max-width: 52ch;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.services-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.75rem;
}

.services-section {
  margin-top: 0;
  border-top: 0;
  padding: 26px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.services-inline-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-inline-link:hover {
  opacity: 0.78;
}

/* ============================================================
05.5 STRANKA: RESENI
============================================================ */
.services-page-reseni .services-main > section {
  min-height: auto;
}

.reseni-hero {
  padding-top: 34px;
}

.reseni-search-form {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 8px;
}

.reseni-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.reseni-search-form input[type="search"] {
  min-height: 48px;
  border-radius: 10px;
}

.reseni-search-submit {
  min-height: 48px;
  padding-inline: 20px;
}

.reseni-clear-link {
  grid-column: 1 / -1;
  justify-self: center;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}

.reseni-cards {
  width: 100%;
}

.reseni-template {
  align-items: center;
}

.reseni-template-subtitle {
  margin-bottom: 8px;
}

.reseni-template-text {
  max-width: 70ch;
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}

.reseni-template-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.reseni-template-panel {
  text-align: left;
  align-items: flex-start;
}

.reseni-template-panel h3 {
  text-align: left;
}

.reseni-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.reseni-checklist li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.reseni-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.reseni-card {
  text-align: left;
  align-items: flex-start;
}

.reseni-card h3,
.reseni-card p {
  text-align: left;
}

.reseni-tags-title {
  margin-top: 8px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
}

.reseni-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  padding: 0;
}

.reseni-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reseni-cta {
  margin-top: auto;
}

.reseni-empty-card {
  max-width: 620px;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .reseni-search-form {
    grid-template-columns: 1fr;
  }

  .reseni-search-submit {
    width: 100%;
  }

  .reseni-template-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reseni-card,
  .reseni-empty-card {
    text-align: center;
    align-items: center;
  }

  .reseni-card h3,
  .reseni-card p {
    text-align: center;
  }

  .reseni-tags {
    justify-content: center;
  }
}

/* ============================================================
06. STRÁNKA: ŽIVOTOPIS (CV)
============================================================ */
.cv-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cv-standalone-page .services-main>section,
.cv-main>section {
  min-height: auto;
}

.cv-resume-shell {
  max-width: 980px;
  margin: 24px auto 60px;
  padding: 26px;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.cv-resume-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-resume-header>div {
  grid-column: 2;
}

.cv-resume-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
  text-align: center;
}

.cv-resume-role {
  margin: 8px 0 0;
  color: #b5b5b5;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.9rem;
  text-align: center;
}

.cv-download-btn {
  grid-column: 3;
  justify-self: end;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cv-download-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.cv-resume-section {
  margin-bottom: 22px;
}

.cv-resume-section:last-child {
  margin-bottom: 0;
}

.cv-resume-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  text-align: left;
}

.cv-resume-section p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.cv-exp-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background: #0d0d0d;
}

.cv-exp-table th,
.cv-exp-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-exp-table th {
  background: #111111;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cv-exp-table tbody tr:last-child td {
  border-bottom: 0;
}

.cv-exp-table.cv-exp-table--period td:first-child,
.cv-exp-table.cv-exp-table--period th:first-child {
  width: 140px;
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

.cv-exp-table td strong {
  color: #ffffff;
}

.cv-exp-table th:first-child,
.cv-exp-table td:first-child {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
}

@media (max-width: 768px) {
  .cv-resume-shell {
    padding: 18px;
    margin: 16px auto 34px;
  }

  .cv-resume-header {
    grid-template-columns: 1fr;
  }

  .cv-download-btn {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .cv-exp-table,
  .cv-exp-table thead,
  .cv-exp-table tbody,
  .cv-exp-table tr,
  .cv-exp-table th,
  .cv-exp-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .cv-exp-table thead {
    display: none;
  }

  .cv-exp-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .cv-exp-table tr:last-child {
    border-bottom: 0;
  }

  .cv-exp-table.cv-exp-table--period td:first-child {
    width: 100%;
    padding-bottom: 2px;
  }

  .cv-exp-table td:last-child {
    padding-top: 0;
  }
}

@media print {

  .services-header,
  .services-footer,
  .cv-download-btn {
    display: none !important;
  }

  body,
  .cv-standalone-page {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .cv-main {
    max-width: none;
    padding: 0;
  }

  .cv-resume-shell {
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: #ffffff;
  }

  .cv-resume-header,
  .cv-exp-table,
  .cv-exp-table th,
  .cv-exp-table td {
    border-color: rgba(0, 0, 0, 0.2);
  }

  .cv-resume-role,
  .cv-resume-section p,
  .cv-exp-table td,
  .cv-exp-table th,
  .cv-exp-table td strong {
    color: #000000 !important;
  }
}

.services-cv-page .services-main>section {
  min-height: auto;
}

/* --- 05.3) Cards / Tarify / Kontakt --- */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.services-cards,
.services-projects-grid {
  --services-card-min: 260px;
  --services-card-max: 380px;
  --services-card-gap: 16px;
}

.services-card,
.services-project-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px;
  background: #020202;
}

.services-card img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  margin-bottom: 10px;
  filter: brightness(1.4);
}

.services-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.services-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.services-contact-board {
  width: min(1400px, calc(100vw - 48px));
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
  margin: 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.services-tariffs {
  width: min(1680px, calc(100vw - 48px));
  max-width: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.services-tariff-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #020202;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.services-tariff-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.14);
}

.services-tariff-card-featured {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 28px rgba(255, 255, 255, 0.16),
    0 0 56px rgba(255, 255, 255, 0.08);
}

.services-tariff-card-featured:hover {
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.3),
    0 0 36px rgba(255, 255, 255, 0.24),
    0 0 70px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.services-tariff-card-featured::after {
  content: attr(data-featured-label);
  position: absolute;
  top: 24px;
  right: -58px;
  width: 210px;
  min-height: 25px;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d5fd3;
  color: #ffffff;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transform: rotate(36deg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.services-tariff-card h3 {
  margin: 0;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.services-tariff-price {
  margin: 8px 0 12px;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.services-hosting-price {
  margin: -8px 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
}

.services-tariff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.services-tariff-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
}

.services-tariff-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  font-weight: 800;
}

.services-more-offers-wrap {
  width: min(1680px, calc(100vw - 48px));
  margin: 0 auto 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
}

.services-more-offers-btn {
  justify-self: center;
  position: relative;
  width: min(180px, calc(100vw - 80px));
  height: 58px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.services-more-offers-label {
  justify-self: center;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

.services-more-offers-btn::before,
.services-more-offers-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 60px;
  height: 20px;
  transform: translateX(-50%);
  background: #ffffff;
  clip-path: polygon(0 0, 10% 0, 50% 56%, 90% 0, 100% 0, 50% 78%);
}

.services-more-offers-btn::before {
  top: 16px;
}

.services-more-offers-btn::after {
  top: 30px;
}

.services-more-offers-btn:hover {
  opacity: 0.9;
}

.services-more-offers-btn.is-open {
  transform: rotate(180deg);
}

.services-more-offers-muted {
    opacity: 0.6;
}

.services-vip-wrap {
  width: min(1140px, calc(100vw - 48px));
  justify-self: center;
  display: grid;
  grid-template-rows: 0fr;
  overflow: clip;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    grid-template-rows 0.86s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.58s ease,
    transform 0.86s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-vip-wrap.is-visible {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.services-vip-inner {
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 20px;
}

.services-tariff-card-vip {
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(155deg, rgba(53, 40, 14, 0.95) 0%, rgba(112, 82, 31, 0.95) 54%, rgba(62, 45, 17, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.08);
}

.services-tariff-card-vip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.14);
}

.services-tariff-card-vip::before {
  content: "";
  position: absolute;
  inset: -18% -60%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.38) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-45%) rotate(8deg);
  animation: vip-shimmer 4.6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.services-tariff-card-vip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.25) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 74%, rgba(255, 243, 202, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 25% 78%, rgba(255, 236, 176, 0.17) 0 2px, transparent 3px);
  opacity: 0.55;
  animation: vip-sparkle 2.6s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

.services-tariff-card-vip > * {
  position: relative;
  z-index: 1;
}

.services-tariff-card-vip h3,
.services-tariff-card-vip .services-tariff-price {
  color: #f6e0ab;
}

.services-tariff-card-vip .services-hosting-price,
.services-tariff-card-vip .services-tariff-list li {
  color: rgba(250, 236, 196, 0.9);
}

.services-tariff-card-vip .services-tariff-list li::before {
  color: #ffe7ad;
}

@keyframes vip-shimmer {
  0% {
    transform: translateX(-58%) rotate(8deg);
    opacity: 0.25;
  }
  50% {
    transform: translateX(8%) rotate(8deg);
    opacity: 0.7;
  }
  100% {
    transform: translateX(70%) rotate(8deg);
    opacity: 0.2;
  }
}

@keyframes vip-sparkle {
  from {
    opacity: 0.35;
    filter: brightness(0.95);
  }
  to {
    opacity: 0.85;
    filter: brightness(1.25);
  }
}

.services-tariff-card-cleancode {
  border-color: rgba(255, 255, 255, 0.15);
  background: linear-gradient(155deg, rgba(12, 38, 22, 0.95) 0%, rgba(22, 62, 38, 0.95) 54%, rgba(14, 42, 26, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 18px rgba(255, 255, 255, 0.08);
}

.services-tariff-card-cleancode:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 28px rgba(255, 255, 255, 0.14);
}

.services-tariff-card-cleancode h3,
.services-tariff-card-cleancode .services-tariff-price {
  color: #8edaaa;
}

.services-tariff-card-cleancode .services-hosting-price,
.services-tariff-card-cleancode .services-tariff-list li {
  color: rgba(180, 230, 200, 0.9);
}

.services-tariff-card-cleancode .services-tariff-list li::before {
  color: #8edaaa;
}

.services-contact-form,
.services-contact-aside {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  background: #020202;
  padding: clamp(18px, 2.4vw, 28px);
}

.services-contact-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-contact-status {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 120%);
  opacity: 0;
  z-index: 2200;
  width: min(calc(100% - 24px), 680px);
  box-sizing: border-box;
  pointer-events: none;
  margin: 0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  animation: services-toast-in 0.35s ease forwards;
}

.services-contact-status.is-hiding {
  animation: services-toast-out 0.35s ease forwards;
}

@keyframes services-toast-in {
  from {
    transform: translate(-50%, 120%);
    opacity: 0;
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes services-toast-out {
  from {
    transform: translate(-50%, 0);
    opacity: 1;
  }

  to {
    transform: translate(-50%, 120%);
    opacity: 0;
  }
}

.services-contact-field {
  display: grid;
  gap: 6px;
  text-align: left;
}

.services-contact-field-full {
  grid-column: 1 / -1;
}

.services-contact-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.services-contact-field input,
.services-contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.services-contact-field textarea {
  resize: vertical;
  min-height: 160px;
}

.services-contact-field input::placeholder,
.services-contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.services-contact-consent {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.services-contact-submit {
  grid-column: 1 / -1;
  justify-self: center;
  min-height: 46px;
  padding: 0 34px;
  border-radius: 10px;
  border: 0;
  background: #ffffff;
  color: #000000;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
}
.services-contact-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.services-contact-aside h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  text-transform: uppercase;
  text-align: center;
}

.services-contact-lead {
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.services-contact-aside h4 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  text-transform: uppercase;
}

.services-contact-meta-single {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.services-contact-meta-single p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  text-align: center;
}

.services-contact-meta-single a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.services-contact-meta-single a:hover {
  opacity: 0.78;
}

/* --- 05.4) Projekty + Process + Footer --- */
.services-projects-grid {
  display: grid;
  gap: var(--services-card-gap);
  grid-template-columns: repeat(3, minmax(var(--services-card-min), 1fr));
  width: 100%;
}

.services-projects-grid.projects-count-1 {
  grid-template-columns: minmax(var(--services-card-min), var(--services-card-max));
  max-width: var(--services-card-max);
  margin-inline: auto;
}

.services-projects-grid.projects-count-2 {
  grid-template-columns: repeat(2, minmax(var(--services-card-min), var(--services-card-max)));
  max-width: calc((var(--services-card-max) * 2) + var(--services-card-gap));
  margin-inline: auto;
}

.services-cv-grid {
  display: grid;
  gap: var(--services-card-gap);
  grid-template-columns: repeat(2, minmax(var(--services-card-min), var(--services-card-max)));
  justify-content: center;
  width: 100%;
  max-width: calc((var(--services-card-max) * 2) + var(--services-card-gap));
  margin: 0 auto;
}

.services-cv-card h3 {
  margin: 0 0 12px;
}

.services-cv-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.services-cv-card li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.services-cv-card a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-projects-grid.projects-count-3 {
  grid-template-columns: repeat(3, minmax(var(--services-card-min), 1fr));
}

.services-project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-project-preview-link {
  display: block;
  text-decoration: none;
}

.services-project-card-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  flex: 1 1 auto;
  color: inherit;
}

.services-project-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.services-project-card-link:hover .services-project-preview,
.services-project-card:hover .services-project-preview {
  border-color: rgba(255, 255, 255, 0.28);
}

.services-project-preview {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 10;
  position: relative;
  container-type: inline-size;
}

.services-project-iframe-desktop {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.services-project-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1366px;
  height: 854px;
  border: 0;
  background: #000000;
  pointer-events: none;
  transform-origin: top left;
  transform: scale(0.28);
}

@supports (width: 1cqw) {
  .services-project-iframe {
    transform: scale(calc(100cqw / 1366px));
  }
}

.services-project-info h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.services-project-info h4 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.74);
  text-transform: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.services-project-info h4 a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.services-project-info h4 a:hover {
  color: #ffffff;
}

.services-project-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.tarif-badge {
  margin-top: auto;
  align-self: center;
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.tarif-badge::before {
  content: "Tarif";
  display: inline-block;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.services-process-hero {
  text-align: center;
}

.services-process-hero .services-kicker,
.services-process-hero h1,
.services-process-hero .services-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.services-process-hero .services-primary-cta {
  margin-inline: auto;
}

.services-process-timeline {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: auto 72px auto;
  gap: 0 14px;
  position: relative;
  padding: 16px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
}

.services-process-track {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 14px;
  align-items: center;
  position: relative;
}

.services-process-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.55);
}

.services-process-track::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}

.services-process-dot {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: #111111;
  color: #d8f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  z-index: 1;
}

.services-process-track-arrow {
  display: none;
}

.services-process-item {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  padding-inline: 6px;
}

.services-process-item-top {
  grid-row: 1;
  padding-bottom: 18px;
}

.services-process-item-bottom {
  grid-row: 3;
  padding-top: 18px;
}

.services-process-step-1 { grid-column: 1; }
.services-process-step-2 { grid-column: 2; }
.services-process-step-3 { grid-column: 3; }
.services-process-step-4 { grid-column: 4; }
.services-process-step-5 { grid-column: 5; }
.services-process-step-6 { grid-column: 6; }

.services-process-item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.3);
}

.services-process-item h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
}

.services-process-item p {
  margin: 0;
  max-width: 100%;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.services-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 20px 10px;
  text-align: left;
  background: rgba(255, 255, 255, 0.01);
}

.services-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.services-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
}

.services-footer-brand-block {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

.services-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  justify-self: start;
}

.services-footer-legal {
  display: inline-flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
}

.services-footer-legal-item {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.4;
  white-space: nowrap;
}

.services-footer-brand span {
  font-size: 1rem;
}

.services-footer-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(1.4);
}

.services-footer-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.services-footer-offer-btn {
  white-space: nowrap;
  justify-self: end;
}

.services-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0 4px;
}

.services-footer-meta-item {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
  line-height: 1.4;
}

.services-footer-link {
  justify-self: auto;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .services-main {
    padding: 0 24px;
  }

  .services-main>section {
    min-height: auto;
    padding-block: 30px;
  }

  .services-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-projects-grid.projects-count-3 {
    grid-template-columns: repeat(2, minmax(var(--services-card-min), var(--services-card-max)));
    max-width: calc((var(--services-card-max) * 2) + var(--services-card-gap));
    margin-inline: auto;
  }

  .services-contact-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-tariffs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1200px, calc(100vw - 36px));
  }

  .services-more-offers-wrap {
    width: min(1200px, calc(100vw - 36px));
  }

  .services-process-hero .services-subtitle,
  .services-subtitle {
    max-width: 60ch;
  }
}

@media (max-width: 980px) {
  .services-header-inner {
    min-height: 60px;
    position: relative;
  }

  .services-main > section {
    scroll-margin-top: 60px;
  }
  .services-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px; /* Menší mezery, padding vyřeší zbytek */
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: #000000;
    z-index: 1200;
  }

  body.services-nav-open .services-nav {
    display: flex;
  }

  .services-nav-toggle {
    display: inline-flex;
  }

  .services-nav a,
  .services-offer-btn,
  .services-nav-dropdown-toggle-btn {
    min-height: 40px;
    width: 100%;
    justify-content: flex-start;
    padding: 0 10px;
    border-radius: 10px;
  }

  .services-nav-dropdown-toggle-btn {
    text-align: left;
    border: 0;
    background: transparent;
  }

  .services-nav .services-offer-btn {
    justify-content: center;
  }

  .services-nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .services-nav-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    gap: 4px;
    padding: 0 0 0 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.2s ease, opacity 0.2s ease, visibility 0.2s ease, padding 0.2s ease;
  }
  .services-nav-dropdown-toggle-btn,
    .services-nav-link,
    .services-nav > a:not(.services-offer-btn) {
        width: 100%;
        min-height: 48px;
        padding: 12px 0; /* Vertikální prostor */
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }.services-nav-dropdown-toggle-btn svg {
        margin-left: auto;
    }
    /* Podmenu - mírné odsazení obsahu, aby byla vidět hierarchie */
    .services-nav-dropdown-menu {
        padding-left: 14px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 8px;
    }

    /* OPRAVA TLAČÍTKA: Plná šířka, vycentrované, "macaté" */
    .services-nav .services-offer-btn.mobile-cta {
        margin-top: 12px;
        width: 100%;
        min-height: 52px;
        justify-content: center;
        background: #ffffff;
        color: #000000;
        border: none;
        border-radius: 12px;
        font-weight: 800;
        font-size: 0.85rem;
        opacity: 1;
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }

    /* Jazykový přepínač v mobilu */
    .services-lang-dropdown .services-nav-dropdown-toggle-btn {
        border-bottom: none; /* Poslední prvek před tlačítkem bez čáry */
    }

  .services-nav-dropdown.is-open .services-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 260px;
    padding-top: 6px;
    pointer-events: auto;
  }

  .services-nav-dropdown-toggle-btn[aria-expanded="true"] + .services-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 260px;
    padding-top: 6px;
    pointer-events: auto;
  }

  .services-nav-dropdown-menu a {
    font-size: 0.72rem;
    opacity: 0.9;
  }

  .services-footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .services-footer-brand-block {
    justify-content: center;
    flex-wrap: wrap;
  }

  .services-footer-nav {
    gap: 14px 20px;
  }

  .services-footer-offer-btn {
    justify-self: center;
  }

  .services-main>section {
    min-height: auto;
  }

  .services-section {
    padding: 22px 0;
  }

  .services-primary-cta,
  .services-contact-submit,
  .services-offer-btn,
  .services-nav-dropdown-toggle-btn {
    min-height: 44px;
  }

  .services-hero {
    grid-template-columns: minmax(110px, 32vw) minmax(0, 1fr);
    grid-template-areas:
      "kicker kicker"
      "image title"
      "text text"
      "cta cta";
    min-height: auto;
    gap: 12px 14px;
    padding: 26px 0;
  }

  .services-hero-box {
    min-height: auto;
    padding: 0;
  }

  .services-hero-image-wrap {
    width: min(140px, 32vw);
    max-height: none;
    margin: 0;
  }

  #o-mne .services-hero .services-hero-image-wrap {
    width: min(180px, 34vw);
  }

  .services-page-home .services-hero>.services-hero-box:first-child,
  .services-page-home .services-hero>.services-hero-box:first-child .services-hero-content,
  .services-page-about .services-hero>.services-hero-content,
  #o-mne .services-hero>.services-hero-content {
    display: contents;
  }

  .services-page-home .services-hero>.services-hero-box:last-child,
  .services-page-about .services-hero>.services-hero-box:first-child,
  #o-mne .services-hero>.services-hero-box:first-child {
    grid-area: image;
  }

  .services-hero .services-kicker {
    grid-area: kicker;
    margin-bottom: 2px;
  }

  .services-hero .services-hero-content h1 {
    grid-area: title;
    width: auto;
    margin: 0;
    text-align: left;
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.15;
  }

  #o-mne .services-hero .services-hero-content h2 {
    grid-area: title;
    width: auto;
    margin: 0;
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 2rem) !important;
    line-height: 1.15;
  }

  .services-hero .services-subtitle {
    grid-area: text;
    margin: 6px 0 0;
    max-width: none;
    text-align: left;
  }

  .services-page-about .services-hero .services-hero-content h1,
  .services-page-about .services-hero .services-hero-content h2,
  #o-mne .services-hero .services-hero-content h1,
  #o-mne .services-hero .services-hero-content h2 {
    text-align: left;
  }

  .services-page-about .services-hero .services-subtitle,
  #o-mne .services-hero .services-subtitle {
    text-align: center;
  }

  .services-hero .services-primary-cta {
    grid-area: cta;
    justify-self: start;
  }

  .services-page-home .services-hero .services-kicker,
  .services-page-home .services-hero .services-hero-content h1,
  .services-page-home .services-hero .services-subtitle {
    text-align: center;
  }

  .services-page-home .services-hero .services-primary-cta {
    justify-self: center;
  }

  .services-page-about .services-hero .services-primary-cta,
  #o-mne .services-hero .services-primary-cta {
    justify-self: start;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .services-contact-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-tariffs {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100vw - 24px);
  }

  .services-more-offers-wrap {
    width: calc(100vw - 24px);
  }

  .services-more-offers-btn {
    width: min(140px, calc(100vw - 36px));
    height: 52px;
  }

  .services-vip-wrap {
    width: 100%;
  }

  .services-vip-inner {
    grid-template-columns: 1fr;
  }

  .services-contact-form {
    grid-template-columns: 1fr;
  }

  .services-projects-grid,
  .services-projects-grid.projects-count-2,
  .services-projects-grid.projects-count-3,
  .services-projects-grid.projects-count-1,
  .services-cv-grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-inline: 0;
  }

  .services-process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
  }

  .services-process-track {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .services-process-item-top,
  .services-process-item-bottom {
    grid-row: auto;
    padding: 0;
  }

  .services-process-step-1,
  .services-process-step-2,
  .services-process-step-3,
  .services-process-step-4,
  .services-process-step-5,
  .services-process-step-6 {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .services-main {
    padding: 0 14px;
  }

  .services-header-inner {
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-inline: 14px;
  }

  .services-brand {
    font-size: 0.95rem;
    gap: 10px;
  }

  .services-brand img {
    width: 34px;
    height: 34px;
  }

  .services-nav-toggle {
    width: 38px;
    height: 38px;
    padding: 7px;
  }

  .services-nav {
    right: 14px;
    left: 14px;
  }

  .services-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .services-brand span {
    font-size: 0.9rem;
  }

  .services-offer-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .services-tariff-card-featured::after {
    top: 20px;
    right: -54px;
    width: 190px;
    min-height: 28px;
    font-size: 0.62rem;
    padding: 6px 12px;
  }

}

@media (max-width: 768px) {
  .services-page-home .services-hero,
  #o-mne .services-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "stack";
    gap: 0;
    align-items: stretch;
    position: relative;
    min-height: min(86svh, 680px);
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
  }

  .services-page-home .services-hero .services-kicker,
  #o-mne .services-hero .services-kicker {
    display: none;
  }

  .services-page-home .services-hero > .services-hero-box,
  #o-mne .services-hero > .services-hero-box {
    grid-area: stack;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .services-page-home .services-hero > .services-hero-box:last-child,
  #o-mne .services-hero > .services-hero-box:first-child {
    z-index: 1;
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .services-page-home .services-hero .services-hero-image-wrap,
  #o-mne .services-hero .services-hero-image-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
    border-radius: 0;
    margin: 0;
  }

  .services-page-home .services-hero .services-hero-image,
  #o-mne .services-hero .services-hero-image {
    object-fit: cover;
    object-position: center 12%;
    filter: contrast(1.08) brightness(0.92);
  }

  .services-page-home .services-hero > .services-hero-box:first-child,
  #o-mne .services-hero .services-hero-content {
    grid-area: stack;
    z-index: 2;
    min-height: min(86svh, 680px);
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 16px 14px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.86) 14%, rgba(0, 0, 0, 0.34) 58%, rgba(0, 0, 0, 0.06) 100%);
  }

  .services-page-home .services-hero .services-hero-content {
    max-width: min(92%, 430px);
    gap: 10px;
  }

  #o-mne .services-hero .services-hero-content {
    max-width: min(94%, 520px);
    gap: 10px;
    margin: 0 auto;
  }

  .services-page-home .services-hero .services-hero-content h1,
  #o-mne .services-hero .services-hero-content h2 {
    margin: 0;
    text-align: center;
    width: 100%;
    align-self: center;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.75);
  }

  .services-page-home .services-hero .services-hero-content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  #o-mne .services-hero .services-hero-content h2 {
    font-size: clamp(1.7rem, 6vw, 2.5rem) !important;
  }

  .services-page-home .services-hero .services-subtitle,
  #o-mne .services-hero .services-subtitle {
    margin: 10px 0 0;
    text-align: center;
    max-width: min(94%, 46ch);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.72);
  }

  .services-page-home .services-hero .services-primary-cta,
  #o-mne .services-hero .services-primary-cta {
    margin-top: 10px;
    justify-self: center;
  }

  .services-footer-link {
    text-align: center;
  }

  .services-footer-meta {
    padding-top: 12px;
  }

  .services-footer-offer-btn {
    width: 100%;
    max-width: 320px;
  }

  .services-contact-meta-single {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .services-contact-meta-single p {
    text-align: left;
  }

  .services-page-home .services-hero,
  #o-mne .services-hero {
    gap: 8px 10px;
  }
}

@media (max-width: 520px) {
  .services-page-home .services-hero,
  #o-mne .services-hero {
    min-height: min(88svh, 640px);
  }

  .services-page-home .services-hero > .services-hero-box:first-child,
  #o-mne .services-hero .services-hero-content {
    min-height: min(88svh, 640px);
    padding: 14px 12px 18px;
  }

  .services-page-home .services-hero .services-hero-image,
  #o-mne .services-hero .services-hero-image {
    object-position: center 10%;
  }
}

/* --- 05.9) Services + core globální responzivní hotfixy --- */

@media (max-width: 640px) {
  body.services-page {
    padding-top: 0;
  }

  .services-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .services-card,
  .services-project-card,
  .services-contact-form,
  .services-contact-aside {
    padding: 16px;
  }

  .services-process-timeline {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: repeat(6, auto);
    align-items: start;
    gap: 14px;
    padding: 14px;
  }

  .services-process-track {
    grid-column: 1;
    grid-row: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 44px;
    margin: 0;
    padding: 12px 0 22px;
    align-self: stretch;
  }

  .services-process-track::before {
    left: 50%;
    right: auto;
    top: 12px;
    bottom: 22px;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
  }

  .services-process-track::after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: 0;
    width: auto;
    height: auto;
    border: 0;
    transform: translateX(50%);
    font-size: 20px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
  }

  .services-process-step-1,
  .services-process-step-2,
  .services-process-step-3,
  .services-process-step-4,
  .services-process-step-5,
  .services-process-step-6 {
    grid-column: 2;
    text-align: left;
    justify-items: start;
  }

  .services-process-step-1 { grid-row: 1; }
  .services-process-step-2 { grid-row: 2; }
  .services-process-step-3 { grid-row: 3; }
  .services-process-step-4 { grid-row: 4; }
  .services-process-step-5 { grid-row: 5; }
  .services-process-step-6 { grid-row: 6; }

  .services-process-item {
    padding-inline: 0;
    gap: 8px;
  }

  .services-process-item h3,
  .services-process-item p {
    text-align: left;
  }

  .services-process-dot {
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 0.85rem;
    z-index: 1;
  }

  .services-process-item img {
    width: 72px;
    height: 72px;
  }

  .services-process-item p {
    max-width: none;
  }

  .services-project-info h4 {
    font-size: 0.78rem;
  }

  .services-project-info p,
  .services-card p,
  .services-subtitle {
    line-height: 1.55;
  }

  h1,
  h2,
  h3 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
  }

  p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.5;
  }

  textarea {
    font-size: 16px !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
  }

  input,
  select,
  textarea,
  button {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 8px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 8px;
  }
}

/* ============================================================
09. STRÁNKA: ERROR
============================================================ */
body.error-page {
  --error-accent: var(--text-main);
  --error-accent-glow: rgba(255, 255, 255, 0.28);
  --error-bg: var(--bg-dark);
  margin: 0;
  padding: 0;
  background: var(--error-bg);
  color: var(--text-main);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  overflow: hidden;
}

body.error-page .container {
  max-width: 500px;
  padding: 40px;
  animation: errorFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.error-page .icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

body.error-page .icon {
  font-size: 5rem;
  color: var(--error-accent);
  text-shadow: 0 0 30px var(--error-accent-glow);
  animation: errorFloat 6s ease-in-out infinite;
}

body.error-page h1 {
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -1px;
}

body.error-page .card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px;
  margin: 30px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.error-page .message {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

body.error-page .text-muted {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  margin-top: 15px;
}

body.error-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

body.error-page .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.18);
}

@keyframes errorFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes errorFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ============================================================
05.6 SERVICES ADDONS (PORTFOLIO / PHONE / NEON)
============================================================ */

/* --- Case Study --- */
/* Case-study stats (uvnitř showcase karty) */
.z-showcase-card-casestudy {
  min-height: 540px;
}

.z-casestudy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 0;
  text-align: center;
}

.z-casestudy-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.z-casestudy-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}

.z-casestudy-stat span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.z-casestudy-stack {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
  margin: 0;
}

/* --- Portfolio karty (Z-showcase) --- */
.z-showcase-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.z-showcase-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 480px; 
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  mask-image: radial-gradient(white, black);
  -webkit-mask-image: -webkit-radial-gradient(white, black); 
}

.z-showcase-bg {
  position: absolute; /* Pojistka, aby fotka vždy vyplnila celou volnou výšku karty */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  will-change: transform, filter;
}

@media (hover: hover) and (pointer: fine) {
  .z-showcase-card:hover .z-showcase-bg {
    transform: scale(1.06);
    filter: blur(5px) brightness(0.35);
  }

  .z-showcase-overlay {
    opacity: 0;
    transform: translateY(20px);
  }

  .z-showcase-card:hover .z-showcase-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.z-showcase-overlay {
  position: absolute;
  inset: 0;
  /* Ztmaveno dole, aby bílé tlačítko a text lépe vynikly */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.75) 45%, rgba(0, 0, 0, 0.15) 100%);
  display: flex;
  flex-direction: column;
  /* Větší padding nahoře (kvůli badge) a dole (aby tlačítko nebylo na hraně) */
  padding: 70px 30px 30px; 
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.z-showcase-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%; /* Roztáhne obsah přes celou kartu */
}

.z-showcase-tags {
  position: absolute;
  top: 24px; /* Zafixováno přesně nahoře */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.z-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.z-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  animation: badgeShimmer 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes badgeShimmer {
  0% { left: -150%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.z-showcase-content h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #ffffff;
  line-height: 1.2;
}

.z-showcase-content p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.z-showcase-links {
  margin-top: 4px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.z-showcase-links strong {
  color: #ffffff;
  font-weight: 600;
}

.z-showcase-btn {
  margin-top: auto; /* MAGICKÝ TRIK: Natlačí tlačítko vždy úplně dolů! */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px; /* Vyšší a macatější tlačítko */
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  font-weight: 800;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}

.z-showcase-btn:hover {
  transform: translateY(-3px); /* Při přejetí myší se hezky zvedne */
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25); /* Svítivější stín */
}

@media (max-width: 980px) {
  .z-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
  }
  
  .z-showcase-card {
    min-height: 480px; 
  }

  .z-showcase-card-casestudy {
    min-height: 580px;
  }
  
  .z-showcase-bg {
    filter: brightness(0.45);
  }
  
  .z-showcase-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.2) 100%);
    padding: 70px 24px 24px; /* Shora ochrana pro badge, jinak normální padding */
  }
}

/* --- Phone input (country selector) --- */
.z-phone-container {
    display: flex;
    align-items: stretch; /* Zajisti stejnou vysku obou casti */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; /* Zaobleni jen na vnejsich rozcich */
    overflow: visible; /* Aby dropdown mohl "levitovat" ven */
    transition: border-color 0.2s;
}

.z-phone-container:focus-within {
    border-color: #4a6cf7; /* Zvyrazneni pri psani */
}

/* Leva cast s vlajeckou */
.z-phone-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.03); /* Mirne jiny odstin pro oddeleni */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 7px; /* Kopiruje vnejsi zaobleni */
    border-bottom-left-radius: 7px;
    cursor: pointer;
    user-select: none;
    min-width: 90px;
}

.z-phone-dropdown:hover {
    background: rgba(255, 255, 255, 0.07);
}

.z-phone-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

/* Samotny input napravo */
.z-phone-container input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 15px !important;
    font-size: 1rem;
    outline: none !important;
    box-shadow: none !important;
}

/* Seznam zemi (oprava pozice, aby licoval s okrajem) */
.z-phone-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 220px;
    max-height: 250px;
    overflow-y: auto;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 5px 0;
    list-style: none;
    display: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.z-phone-list.is-open {
    display: block;
}

.z-phone-list li {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.z-phone-list li:hover {
    background: rgba(74, 108, 247, 0.3);
}

/* --- ZUNIX Galaxy Hero efekt --- */

.z-neon-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible !important;
  background: transparent !important;
  width: 100%;
  height: 100%;
}

.z-neon-subject {
  position: relative;
  z-index: 12;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.95));
}

/* Kontejner galaxie – přetéká kolem obrázku */
.z-neon-bg {
  position: absolute;
  top: -18%;
  right: -18%;
  bottom: -10%;
  left: -18%;
  z-index: 1;
  pointer-events: none;
}

/* ---- NEBULA CORE – hlavní mlhovina ---- */

.z-ambient-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background:
    /* Centrální jádro – teplý bílý/fialový záblesk */
    radial-gradient(ellipse 30% 35% at 50% 48%, rgba(180, 160, 255, 0.14), transparent),
    /* Levé rameno – modro-cyan mlhovina */
    radial-gradient(ellipse 55% 50% at 22% 40%, rgba(40, 100, 220, 0.12), transparent),
    radial-gradient(ellipse 40% 60% at 28% 60%, rgba(0, 180, 255, 0.09), transparent),
    /* Pravé rameno – růžovo-červená mlhovina */
    radial-gradient(ellipse 55% 50% at 78% 38%, rgba(200, 40, 100, 0.11), transparent),
    radial-gradient(ellipse 40% 60% at 72% 58%, rgba(255, 60, 120, 0.08), transparent),
    /* Horní fialový pás */
    radial-gradient(ellipse 70% 30% at 50% 15%, rgba(120, 60, 200, 0.08), transparent),
    /* Spodní temný prach */
    radial-gradient(ellipse 80% 25% at 50% 88%, rgba(20, 10, 40, 0.15), transparent);
  filter: blur(28px);
  animation: zNebulaPulse 8s ease-in-out infinite alternate;
}

/* Spirální prach – conic gradient mlhovina */
.z-ambient-glow::before {
  content: "";
  position: absolute;
  inset: -5%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 160deg at 48% 46%,
      transparent 0deg,
      rgba(60, 120, 255, 0.06) 40deg,
      transparent 80deg,
      rgba(200, 60, 180, 0.05) 140deg,
      transparent 180deg,
      rgba(0, 200, 255, 0.04) 230deg,
      transparent 270deg,
      rgba(255, 60, 100, 0.05) 320deg,
      transparent 360deg
    );
  filter: blur(18px);
  opacity: 0.7;
  animation: zSpiralDrift 30s linear infinite;
}

/* Jemný color wash overlay */
.z-ambient-glow::after {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 50% 45% at 35% 45%, rgba(80, 140, 255, 0.06), transparent),
    radial-gradient(ellipse 50% 45% at 65% 50%, rgba(255, 80, 140, 0.05), transparent);
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* ---- HVĚZDY – vrstva 1 (velké jasné) ---- */

.z-neon-lines-left,
.z-neon-lines-right {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.z-neon-lines-left::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    /* Jasné hvězdy – bílé/modré */
     -140px -110px 0  1.8px rgba(255, 255, 255, 0.95),
      150px  -90px 0  1.6px rgba(255, 255, 255, 0.90),
     -100px   80px 0  1.5px rgba(255, 255, 255, 0.85),
      120px  100px 0  1.7px rgba(255, 255, 255, 0.88),
      -30px -140px 0  2px   rgba(220, 230, 255, 0.92),
       40px  130px 0  1.8px rgba(220, 230, 255, 0.85),
     -170px   10px 0  1.4px rgba(200, 220, 255, 0.80),
      180px   20px 0  1.5px rgba(200, 220, 255, 0.82),
      -60px  -50px 0  1.3px rgba(255, 255, 255, 0.75),
       80px  -30px 0  1.2px rgba(255, 255, 255, 0.72),
     -120px  130px 0  1.1px rgba(240, 245, 255, 0.70),
      160px  -50px 0  1.3px rgba(240, 245, 255, 0.73);
  filter: drop-shadow(0 0 3px rgba(200, 220, 255, 0.5));
  animation: zStarsTwinkle1 4s ease-in-out infinite alternate;
}

/* Hvězdy – vrstva 2 (střední) */
.z-neon-lines-left::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
     -85px  -130px 0  1px rgba(255, 255, 255, 0.65),
      95px  -120px 0  1px rgba(255, 255, 255, 0.60),
     -160px  -60px 0  0.9px rgba(200, 210, 255, 0.55),
      170px   60px 0  0.9px rgba(200, 210, 255, 0.52),
     -40px    90px 0  1px rgba(255, 255, 255, 0.58),
      50px   -80px 0  0.8px rgba(255, 255, 255, 0.50),
     -130px   50px 0  0.9px rgba(220, 230, 255, 0.55),
      140px  -10px 0  0.8px rgba(220, 230, 255, 0.50),
      -10px  -100px 0  1px rgba(255, 255, 255, 0.55),
       20px   110px 0  0.9px rgba(255, 255, 255, 0.50),
     -70px    40px 0  0.8px rgba(230, 240, 255, 0.48),
      60px    60px 0  0.7px rgba(230, 240, 255, 0.45),
     -110px  -30px 0  0.7px rgba(240, 245, 255, 0.45),
      100px   80px 0  0.8px rgba(240, 245, 255, 0.48);
  filter: drop-shadow(0 0 2px rgba(200, 220, 255, 0.3));
  animation: zStarsTwinkle2 5s ease-in-out infinite alternate;
}

/* Hvězdy – vrstva 3 (malé, slabé) */
.z-neon-lines-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
     -50px  -100px 0  0.6px rgba(255, 255, 255, 0.40),
      60px  -110px 0  0.5px rgba(255, 255, 255, 0.35),
     -150px  -20px 0  0.6px rgba(220, 230, 255, 0.38),
      155px   40px 0  0.5px rgba(220, 230, 255, 0.35),
     -20px    70px 0  0.6px rgba(255, 255, 255, 0.38),
      30px   -60px 0  0.5px rgba(255, 255, 255, 0.32),
     -90px   100px 0  0.5px rgba(200, 210, 255, 0.30),
      100px  110px 0  0.5px rgba(200, 210, 255, 0.28),
     -140px   80px 0  0.4px rgba(240, 245, 255, 0.28),
      130px  -80px 0  0.4px rgba(240, 245, 255, 0.25),
      -5px   -20px 0  0.5px rgba(255, 255, 255, 0.30),
       15px    30px 0  0.4px rgba(255, 255, 255, 0.25),
     -180px  -90px 0  0.4px rgba(200, 215, 255, 0.22),
      190px  -70px 0  0.4px rgba(200, 215, 255, 0.20),
     -70px   130px 0  0.5px rgba(255, 255, 255, 0.30),
       80px  -130px 0 0.4px rgba(255, 255, 255, 0.25);
  animation: zStarsTwinkle3 6s ease-in-out infinite alternate;
}

/* Barevné hvězdy – pár modrých a růžových */
.z-neon-lines-right::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    /* Modré hvězdy */
     -120px  -70px 0  1.2px rgba(100, 180, 255, 0.75),
      -80px   60px 0  1px   rgba(80, 160, 255, 0.60),
     -150px   40px 0  0.8px rgba(100, 200, 255, 0.50),
      -40px  -120px 0 0.9px rgba(120, 180, 255, 0.55),
    /* Růžové/červené hvězdy */
      130px  -60px 0  1.2px rgba(255, 120, 180, 0.70),
       90px   70px 0  1px   rgba(255, 100, 160, 0.55),
      160px   50px 0  0.8px rgba(255, 140, 200, 0.45),
       50px  -100px 0 0.9px rgba(255, 120, 170, 0.50),
    /* Fialové hvězdy */
      -20px   -30px 0 0.8px rgba(180, 140, 255, 0.45),
       10px    50px 0 0.7px rgba(160, 120, 255, 0.40);
  filter: drop-shadow(0 0 4px rgba(140, 160, 255, 0.3))
          drop-shadow(0 0 4px rgba(255, 120, 180, 0.3));
  animation: zStarsTwinkle1 7s ease-in-out infinite alternate-reverse;
}

/* ---- PRACHOVÉ PÁSY – diagonální mlhovina (z-neon-bg pseudo) ---- */

.z-neon-bg::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 45%;
  background:
    linear-gradient(135deg,
      transparent 20%,
      rgba(60, 100, 200, 0.05) 30%,
      rgba(120, 60, 180, 0.04) 40%,
      transparent 50%,
      rgba(200, 60, 120, 0.04) 60%,
      rgba(60, 120, 200, 0.03) 70%,
      transparent 80%
    );
  transform: rotate(-15deg);
  opacity: 0.6;
  filter: blur(8px);
  animation: zDustDrift 20s ease-in-out infinite alternate;
  z-index: 3;
}

.z-neon-bg::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 45%;
  background:
    linear-gradient(45deg,
      transparent 25%,
      rgba(160, 80, 220, 0.04) 35%,
      transparent 45%,
      rgba(80, 160, 240, 0.03) 55%,
      transparent 65%,
      rgba(220, 80, 140, 0.03) 75%,
      transparent 85%
    );
  transform: rotate(20deg);
  opacity: 0.5;
  filter: blur(10px);
  animation: zDustDrift 25s ease-in-out infinite alternate-reverse;
  z-index: 3;
}

/* ====== ANIMACE ====== */

@keyframes zNebulaPulse {
  0%   { filter: blur(26px); opacity: 0.8; }
  100% { filter: blur(32px); opacity: 1; }
}

@keyframes zSpiralDrift {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes zStarsTwinkle1 {
  0%   { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes zStarsTwinkle2 {
  0%   { opacity: 0.8; }
  100% { opacity: 0.5; }
}

@keyframes zStarsTwinkle3 {
  0%   { opacity: 0.6; }
  100% { opacity: 0.9; }
}

@keyframes zDustDrift {
  0%   { transform: rotate(-15deg) translate(0, 0); opacity: 0.5; }
  100% { transform: rotate(-12deg) translate(5px, -3px); opacity: 0.7; }
}

/* ====== MOBILE ====== */

@media (max-width: 768px) {
  .z-neon-bg {
    top: -10%;
    right: -10%;
    bottom: -5%;
    left: -10%;
  }

  .z-ambient-glow {
    filter: blur(22px);
  }

  .z-neon-lines-left::before,
  .z-neon-lines-right::after {
    box-shadow:
      -80px -60px 0 1.4px rgba(255, 255, 255, 0.85),
       90px -50px 0 1.3px rgba(255, 255, 255, 0.80),
      -60px  50px 0 1.2px rgba(255, 255, 255, 0.75),
       70px  60px 0 1.3px rgba(255, 255, 255, 0.78),
      -20px -80px 0 1.5px rgba(220, 230, 255, 0.82),
       30px  70px 0 1.3px rgba(220, 230, 255, 0.75);
  }

  .z-neon-lines-left::after,
  .z-neon-lines-right::before {
    box-shadow:
      -50px -70px 0 0.7px rgba(255, 255, 255, 0.45),
       55px -60px 0 0.6px rgba(255, 255, 255, 0.40),
      -40px  40px 0 0.6px rgba(255, 255, 255, 0.38),
       45px  50px 0 0.5px rgba(255, 255, 255, 0.35);
  }
}

/* ============================================================
13. STRÁNKY: LEGAL — COMMON
============================================================ */
.legal-page {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #0d0e1a;
  color: #fff;
  display: block;
  overflow-x: hidden;
}

/* --- 13.0) Legal containers + content blocks --- */
.policy-container {
  max-width: 840px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px 30px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

.policy-block {
  margin-bottom: 28px;
}

.policy-block h2 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 8px;
  margin-top: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

.policy-block p {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

.policy-block ul {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.policy-block li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.policy-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.services-policy-grid {
  width: 100%;
}

.services-policy-card {
  text-align: left;
}

.services-policy-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

/* ============================================================
13.1. LEGAL — COOKIES
============================================================ */

/* ============================================================
13.2. LEGAL — GDPR
============================================================ */

/* ============================================================
13.3. LEGAL — TERMS
============================================================ */

/* --- Scroll Reveal --- */
.z-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.z-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}