/* ==========================================================================
   MP Power Technology s.r.o. (MPEL.cz)
   Moderní firemní stylopis s vysokým kontrastem, čistým layoutem a širokým gridem
   Optimalizováno pro FTP nasazení, Google Fonts, SVG ikony a fotogalerie
   ========================================================================== */

/* Vlastní hostování fontů (bez Google Fonts) - rychlejší načtení, žádný externí požadavek, GDPR bez rizika */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url('../fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url('../fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Barevná paleta - Světlý technický základ & tmavý industriální kontrast */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f5f9;
  --color-surface-alt: #edf2f7;

  /* Tmavé sekce pro kontrast (Hero, Banner, Footer) */
  --color-dark-bg: #090d16;
  --color-dark-surface: #111827;
  --color-dark-card: #161f30;
  --color-dark-card-hover: #1c273c;
  --color-dark-border: #1f2a3f;
  --color-dark-border-subtle: rgba(255, 255, 255, 0.08);

  /* Červená identita značky MP Power */
  --color-red: #e11d24;
  --color-red-hover: #c41219;
  --color-red-glow: rgba(225, 29, 36, 0.28);
  --color-red-subtle: rgba(225, 29, 36, 0.08);
  --color-red-border: rgba(225, 29, 36, 0.25);

  /* Typografie - text */
  --color-text-main: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;

  /* Typografie - na tmavém pozadí */
  --color-dark-text: #f8fafc;
  --color-dark-secondary: #cbd5e1;
  --color-dark-muted: #94a3b8;

  /* Fonty - Moderní inženýrská identita (Space Grotesk & Manrope) */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Zaoblení a stíny */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 36px -4px rgba(15, 23, 42, 0.12);
  --shadow-dark: 0 14px 40px rgba(0, 0, 0, 0.4);

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  /* Rozšířený kontejner pro vzdušný a moderní dojem */
  --max-width: 1360px;
}

/* ==========================================================================
   RESET & ZÁKLADNÍ PRVKY
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--color-bg);
  color: var(--color-text-main);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: inherit;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* ==========================================================================
   TOP NOTIFIKAČNÍ LIŠTA
   ========================================================================== */
.topbar {
  background-color: #06080d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  padding: 9px 0;
  color: #94a3b8;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-region {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-link strong {
  color: #ffffff;
}

.topbar-icon {
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   HLAVIČKA (SITE HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #0d121c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: all var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  height: 54px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.brand-title span,
.brand-title .brand-title-accent {
  color: inherit;
  font-weight: inherit;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: #94a3b8;
  letter-spacing: 0.04em;
  font-weight: 500;
  margin-top: 4px;
  display: block;
  line-height: 1.2;
}

.brand-dot {
  display: none !important;
}

.brand-tagline::after {
  display: none !important;
}


/* Navigace */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #cbd5e1;
  padding: 12px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2px;
  background-color: var(--color-red);
  box-shadow: 0 0 10px var(--color-red);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: -20px;
  min-width: 375px;
  width: max-content;
  max-width: 480px;
  background-color: #121927;
  border: 1px solid #24324a;
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background-color: #1c273c;
  color: #ffffff;
  transform: translateX(4px);
}

.dropdown-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background-color: rgba(225, 29, 36, 0.12);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-text {
  white-space: nowrap;
}

.dropdown-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  white-space: nowrap;
}

.dropdown-text small {
  display: none !important;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-red) 0%, #b8141b 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(225, 29, 36, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f0242b 0%, var(--color-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-red-glow);
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-light-outline {
  background-color: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-border-hover);
}

.btn-light-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SEKCE (Vysoký kontrast, čistá hierarchie, žádné AI kapsle)
   ========================================================================== */
.hero {
  position: relative;
  padding: 60px 0 85px;
  background: linear-gradient(140deg, #070a12 0%, #0d1424 55%, #0a0f1d 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Jemná technická mřížka na pozadí */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(225, 29, 36, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.65;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}

/* Kicker - decentní a čistý bez předsazené čáry a podivné barvy */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.hero-kicker-bar {
  display: none !important;
}

.hero-kicker-text {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #94a3b8;
}

/* Hlavní H1 nadpis */
.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title .text-highlight {
  color: var(--color-red);
  display: inline-block;
  position: relative;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ==========================================================================
   FANCY POPTÁVKOVÝ FORMULÁŘ (HERO CARD NA ÚVODNÍ STRANĚ)
   ========================================================================== */
.hero-card-fancy {
  position: relative;
  background: rgba(13, 20, 36, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 28px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: transform var(--transition-fast);
  overflow: hidden;
}

.hero-card-fancy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red) 0%, #ff4d53 100%);
}

.hero-card-header {
  margin-bottom: 16px;
}

.hero-card-title-wrap {
  margin-bottom: 4px;
}

.hero-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-card-badge {
  display: none !important;
}

.hero-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.45;
}

.form-privacy-note {
  margin-top: 13px;
  font-size: 0.77rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

.form-privacy-note a {
  color: #ff4d53;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.form-privacy-note a:hover {
  color: #ffffff;
}

/* Form prvky v hero kartě s tmavým integrovaným sklem */
.hero-card-fancy .inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-card-fancy .inquiry-form .form-group {
  margin-bottom: 12px;
}

.hero-card-fancy .form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.hero-card-fancy .form-label .req {
  color: var(--color-red);
}

.hero-card-fancy .form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  padding: 10px 13px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.hero-card-fancy .form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 36, 0.25);
}

.hero-card-fancy .form-control::placeholder {
  color: #64748b;
  font-size: 0.88rem;
}

/* Obecné formulářové prvky */
.inquiry-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.inquiry-form .form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 5px;
}

.form-label .req {
  color: var(--color-red);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  padding: 11px 14px;
  color: #ffffff;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 36, 0.25);
}

.form-control::placeholder {
  color: #64748b;
}

select.form-control option {
  background: #111827;
  color: #ffffff;
}

.hero-card-trust {
  display: none !important;
}

/* ==========================================================================
   SEKCE STATISTIK & FAKTŮ (Namísto generického AI checkmark boxu)
   ========================================================================== */
.stats-ribbon {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px;
  margin: -8px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

a.stat-item:hover {
  background-color: var(--color-surface-subtle);
}

a.stat-item:hover .stat-number {
  color: var(--color-red);
}

a.stat-item:hover .stat-icon {
  background-color: var(--color-red);
  color: #ffffff;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-subtle);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-main);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  margin-top: 3px;
  line-height: 1.4;
}

/* ==========================================================================
   SEKCE VŠEOBECNĚ & NADPISY
   ========================================================================== */
.section {
  padding: 85px 0;
}

.section-alt {
  background-color: var(--color-surface-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-dark {
  background-color: var(--color-dark-bg);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin-bottom: 10px;
}

.kicker::before {
  display: none !important;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text-main);
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* ==========================================================================
   KARTY SLUŽEB S FOTO PLACEHOLDERY
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(225, 29, 36, 0.2);
}

/* Foto placeholder na vrchu karty služby */
.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .card-media img {
  transform: scale(1.05);
}

/* Technický styl foto placeholderu, pokud foto zatím chybí */
.photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #f1f5f9;
  color: #64748b;
  padding: 18px;
  text-align: center;
  border: 1px dashed #cbd5e1;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

.photo-placeholder-icon {
  width: 34px;
  height: 34px;
  color: #94a3b8;
  opacity: 0.85;
  z-index: 1;
}

.photo-placeholder-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0;
  z-index: 1;
}

.photo-placeholder-tag {
  display: none !important;
}

.service-card-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.service-pill-clean {
  font-size: 0.74rem;
  font-weight: 600;
  background-color: var(--color-surface-subtle);
  color: var(--color-text-secondary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition-fast);
}

.service-card-link:hover {
  transform: translateX(4px);
  color: var(--color-red-hover);
}

/* ==========================================================================
   SEKCE DÍLNA V ŘÍKOVICÍCH & PROČ MPEL (FEATURING PHOTOS)
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 26px;
  margin-bottom: 32px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-subtle);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.feature-item-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Velký foto placeholder pro dílnu / realizaci */
.media-showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background-color: #f1f5f9;
}

.media-showcase-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.media-overlay-badge strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.media-overlay-badge span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   LOKÁLNÍ PŮSOBNOST (OLOMOUC & ZLÍN)
   ========================================================================== */
.regions-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.city-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 22px;
}

.city-tile {
  background-color: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  padding: 0 16px;
  height: 52px;
  min-height: 52px;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.city-tile:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.city-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-red);
  border-radius: 50%;
}

/* ==========================================================================
   CTA BANNER PŘED PATIČKOU
   ========================================================================== */
.cta-banner-large {
  background: linear-gradient(135deg, #0d1322 0%, #151f33 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.cta-banner-large::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(225, 29, 36, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-grid-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
}

.cta-title-lg {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.cta-desc-lg {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cta-buttons-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

/* ==========================================================================
   PATIČKA (SITE FOOTER)
   ========================================================================== */
.site-footer {
  background-color: #080c14;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
}

.footer-brand-title span {
  color: var(--color-red);
  background: linear-gradient(135deg, #ff4148 0%, var(--color-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item {
  color: #94a3b8;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link-item:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-contact-block p {
  margin-bottom: 10px;
}

.footer-phone-big {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
}

.footer-email-link {
  color: var(--color-red);
  font-weight: 700;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   STRÁNKY SLUŽEB & PODSTRÁNKY
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #090d16 0%, #111827 100%);
  color: #ffffff;
  padding: 54px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs-separator {
  color: #64748b;
}

.breadcrumbs-current {
  color: var(--color-red);
  font-weight: 600;
}

.page-title {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.6;
}

/* Reference karty */
.reference-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.reference-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.reference-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
}

.reference-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reference-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.reference-location {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.reference-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.reference-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Karty kontaktů */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.contact-card-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-icon-large {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-red-subtle);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* Alert zprávy formuláře */
.alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
}

.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==========================================================================
   KONTAKTNÍ FORMULÁŘ NA STRÁNCE KONTAKT (Sjednocený, čistý, prémiový)
   ========================================================================== */
.contact-form-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px 28px;
  box-shadow: var(--shadow-sm);
  color: var(--color-text-main);
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red) 0%, #ff4d53 100%);
}

.contact-form-header {
  margin-bottom: 20px;
}

.contact-form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 5px;
}

.contact-form-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 13px;
}

.contact-form-card .form-group {
  margin-bottom: 13px;
}

.contact-form-card .form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.contact-form-card .form-label .req {
  color: var(--color-red);
}

.contact-form-card .form-control {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-xs);
  padding: 11px 14px;
  color: #0f172a;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.contact-form-card .form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(225, 29, 36, 0.15);
}

.contact-form-card .form-control::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
}

.contact-form-card .form-privacy-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.contact-form-card .form-privacy-note a {
  color: var(--color-red);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   FAKTURAČNÍ ÚDAJE (TYPOGRAFICKÉ ŘEŠENÍ BEZ NUDNÝCH ODRÁŽEK A BEZ CHLÍVEČKŮ)
   ========================================================================== */
.billing-code {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 1px 6px;
  border-radius: 4px;
  color: #0f172a;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVITA
   ========================================================================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-grid-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-buttons-wrap {
    align-items: flex-start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #0d121c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 24px 28px;
    gap: 20px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 14px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 14px;
    min-width: unset;
  }

  .mobile-toggle {
    display: block;
  }

  .topbar-contacts {
    display: none;
  }

  .city-badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .city-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .city-tile {
    font-size: 0.85rem;
    padding: 0 10px;
    height: 48px;
    min-height: 48px;
  }
}

@media (max-width: 420px) {
  .city-badges-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form .form-row {
    grid-template-columns: 1fr;
  }

  .hero-card-fancy {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   COOKIE LIŠTA (GDPR souhlas)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-dark-surface);
  color: var(--color-dark-text);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  padding: 22px 24px;
  display: none;
  gap: 16px;
  flex-direction: column;
}

.cookie-banner.is-visible {
  display: flex;
  animation: cookieBannerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-dark-secondary);
}

.cookie-banner-text strong {
  color: var(--color-dark-text);
}

.cookie-banner-text a {
  color: #ff6b70;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-banner-actions .btn {
  flex: 0 0 auto;
}

.cookie-banner-settings {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid var(--color-dark-border);
  margin-top: 2px;
}

.cookie-banner-settings.is-open {
  display: flex;
}

.cookie-consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--color-dark-secondary);
}

.cookie-consent-row strong {
  display: block;
  color: var(--color-dark-text);
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  flex: none;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-dark-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-red);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: var(--color-red);
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 560px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px 16px;
  }

  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   ČASTÉ DOTAZY (FAQ)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  position: relative;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--color-text-main);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  top: 26px;
}

.faq-answer {
  padding: 0 0 20px;
  margin-top: -4px;
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
}
