@charset "UTF-8";
:root {
--primary: #C40018;
  --primary-light: #E0011B;
  --primary-dark: #970012;
  --secondary: #353535;
  --secondary-color: #000000;
  --secondary-color-light: #222222;
  --secondary-color-dark: #000000;
  --tertiary: #457b9d;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray-50: #fafbfc;
  --gray-100: #f5f6f8;
  --gray-200: #ebedf0;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-600);
  --text-tertiary: var(--gray-500);
  --text-muted: var(--gray-400);
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-tertiary: var(--gray-100);
  --border-light: var(--gray-200);
  --border-default: var(--gray-300);
  --shadow-xs: 0 1px 2px 0 rgba(0,0,0,0.03);
  --shadow-sm: 0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px -4px rgba(0,0,0,0.08), 0 4px 12px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 16px 40px -8px rgba(0,0,0,0.1), 0 8px 20px -4px rgba(0,0,0,0.05);
  --shadow-primary: 0 4px 20px -4px rgba(196,0,24,0.24);
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0, 0, 0.2, 1);
}
*, *::before, *::after {
box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
max-width: 100%;
  height: auto;
  display: block;
}
a {
color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
color: var(--primary-dark);
}
h1, h2, h3, h4 {
font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.5em;
}
h1 {
font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}
h2 {
font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
font-size: clamp(1.25rem, 3vw, 1.75rem);
}
h4 {
font-size: 1.25rem;
}
p {
margin-bottom: 1rem;
  color: var(--text-secondary);
}
.container {
width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.container-wide, body.container-wide .container {
max-width: 1550px;
}
.section {
padding: 80px 0;
}
@media (min-width: 1024px) {
.section {
  padding: 112px 0;
}
}
.anchor-target {
display: block;
  position: relative;
  top: -120px;
  visibility: hidden;
}
.section-header {
text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-header.text-left {
  text-align: left !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.section-label {
display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.section-title {
margin-bottom: 16px;
}
.section-subtitle {
font-size: 1.125rem;
  color: var(--text-secondary);
}
#produkty .section-header {
  max-width: 920px;
}
.grid {
display: grid;
  gap: 24px;
}
.grid-3 {
grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 1024px) {
.grid-3 {
grid-template-columns: repeat(3, 1fr);
}
}
.btn {
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(230, 57, 70, 0.3);
}
.btn-secondary {
background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--border-default);
}
.btn-secondary:hover {
border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
}
.btn-cta {
background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-cta:hover {
background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(196, 0, 24, 0.34);
}
.btn-lg {
padding: 18px 36px;
  font-size: 1.125rem;
}
.btn--full {
width: 100%;
}
.hero {
padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
.hero-content {
grid-template-columns: 1fr 1fr;
    gap: 64px;
}
}
.hero-text {
max-width: 560px;
}
.hero-badge {
display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero-badge-dot {
width: 8px;
  height: 8px;
  background: #33d11b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
margin-bottom: 20px;
}
.hero-description {
font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}
.hero-stats {
display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.hero-stat {
text-align: left;
  min-width: 0;
}
.hero-stat-value {
font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}
.hero-stat-label {
font-size: 0.875rem;
  color: var(--text-muted);
}
@media (max-width: 520px) {
.hero-stats {
  grid-template-columns: 1fr;
}
}
.hero--bg {
position: relative;
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80") center center/cover no-repeat;
  padding: 140px 0 80px;
}
.hero--bg-overlay {
position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}
.hero--bg .container {
position: relative;
  z-index: 1;
}
.hero--bg .hero-text {
max-width: 560px;
}
.hero--bg-form {
  width: 100%;
  max-width: 560px;
  justify-self: end;
}
.hero--bg-form-card {
background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.hero--bg-form-heading {
font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.hero--bg-form-desc {
font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.hero--bg-form-row,
.hero--bg-form-fields {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.hero--bg-form-group {
display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.hero--bg-form-label {
font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.hero--bg-form-input,
.hero--bg-form-select,
.hero--bg-form-textarea,
.hero--bg-form-group input,
.hero--bg-form-group select,
.hero--bg-form-group textarea {
width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: "Inter", sans-serif;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}
.hero--bg-form-input::placeholder,
.hero--bg-form-textarea::placeholder,
.hero--bg-form-group input::placeholder,
.hero--bg-form-group textarea::placeholder {
color: var(--text-muted);
}
.hero--bg-form-input:focus,
.hero--bg-form-select:focus,
.hero--bg-form-textarea:focus,
.hero--bg-form-group input:focus,
.hero--bg-form-group select:focus,
.hero--bg-form-group textarea:focus {
border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
.hero--bg-form-select,
.hero--bg-form-group select {
appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.hero--bg-form-textarea,
.hero--bg-form-group textarea {
height: 112px;
resize: vertical;
  min-height: 100px;
}
.hero--bg-form-group input[type="file"] {
  padding: 10px 12px;
}
.hero--bg-form-group .errorlist {
  list-style: none;
  color: var(--primary);
  font-size: 0.8125rem;
  margin-top: 6px;
}
.hero--bg-form-group:has(textarea),
.hero--bg-form-group:has(input[type="file"]) {
  grid-column: 1 / -1;
}
.hero--bg-dark .hero--bg-overlay {
background: rgba(0, 0, 0, 0.65);
}
.hero--bg-dark .hero-badge {
background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}
.hero--bg-dark h1 {
color: #fff;
}
.hero--bg-dark .hero-description {
color: rgba(255, 255, 255, 0.8);
}
.hero--bg-dark .hero-stats {
border-top-color: rgba(255, 255, 255, 0.2);
}
.hero--bg-dark .hero-stat-value {
color: #fff;
}
.hero--bg-dark .hero-stat-label {
color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 768px) {
.hero--bg-form-row,
.hero--bg-form-fields {
grid-template-columns: 1fr;
}
.hero--bg-form-card {
padding: 24px;
}
}
.pricing-card {
background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border-light);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
box-shadow: var(--shadow-md);
}
.pricing-card .btn {
width: 100%;
}
.testimonial-card {
padding: 28px;
  text-align: left;
}
.testimonial-stars {
display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-text {
font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-author {
display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
width: 44px;
  height: 44px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 1rem;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-name {
display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.testimonial-role {
font-size: 0.8125rem;
  color: var(--text-muted);
}
.reviews-section {
  background: var(--white);
  padding-bottom: 104px;
}

@media (min-width: 1024px) {
  .reviews-section {
    padding-bottom: 144px;
  }
}

.reviews-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 1024px) {
  .reviews-layout {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 48px;
  }
}

.reviews-rating-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  box-shadow: 0 18px 40px -34px rgba(17,24,39,0.42);
}

.reviews-rating-title {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 1.3;
}

.reviews-rating-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reviews-rating-score {
  color: #4CAF50;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.reviews-rating-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-stars {
  display: flex;
  gap: 3px;
  color: #f5a524;
}

.reviews-rating-count {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.reviews-rating-count:hover {
  color: var(--primary-dark);
}

@media (max-width: 480px) {
  .reviews-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-rating-card {
    min-width: 0;
    padding: 24px;
  }

  .reviews-rating-main {
    gap: 12px;
  }

  .reviews-rating-count {
    white-space: normal;
  }
}

.reviews-rating-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reviews-rating-source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--text-tertiary);
  font-size: 0.86rem;
  font-weight: 700;
}

.reviews-google-mark {
  display: inline-flex;
}

.reviews-carousel {
  position: relative;
}

.reviews-carousel-track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-slide {
  display: none;
}

.review-slide.is-active {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 640px) {
  .review-slide.is-active {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: stretch;
    gap: 44px;
  }
}

.review-slide-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 54px -28px rgba(17,24,39,0.4);
}

@media (min-width: 640px) {
  .review-slide-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
  }
}

.review-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-slide-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-slide-stars {
  margin-bottom: 16px;
  color: #f5a524;
  font-size: 1.35rem;
  letter-spacing: 4px;
}

.review-slide-body p {
  margin: 0 0 22px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.review-slide-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.review-slide-meta strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.review-slide-meta span {
  color: var(--text-tertiary);
  font-size: 0.84rem;
}

.review-slide-meta a {
  flex-shrink: 0;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.review-slide-meta a:hover {
  color: var(--primary-dark);
}

.reviews-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.reviews-nav-btn {
  display: inline-grid;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.reviews-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.reviews-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  transition: var(--transition);
}

.reviews-dot:hover {
  background: var(--gray-400);
}

.reviews-dot.is-active {
  width: 22px;
  border-radius: var(--radius-full);
  background: var(--primary);
}
.navbar6-toggle-cb {
display: none;
}
.navbar6 {
display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100;
}
@media (min-width: 992px) {
body {
  padding-top: var(--navbar6-height, 0px);
}
.navbar6 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.navbar6.navbar6--fixed {
  background: var(--white);
  box-shadow: 0 16px 34px -28px rgba(17,24,39,0.45);
}
.navbar6.navbar6--hidden {
  transform: translateY(calc(-100% - 12px));
}
.navbar6.navbar6--hidden .navbar6-submenu {
  opacity: 0;
  visibility: hidden;
}
}
.navbar6-topbar {
background: var(--white);
  padding: 24px 0;
  border-bottom: 0;
}
.navbar6-topbar-inner {
display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar6-logo {
font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.navbar6-secondary-nav {
display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}
.navbar6-secondary-nav a {
font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar6-secondary-nav a:hover, .navbar6-secondary-active {
color: var(--primary) !important;
}
.navbar6-menubar {
background: transparent;
  position: relative;
  z-index: 10;
  margin-bottom: -26px;
  padding-bottom: 8px;
}
.navbar6-menubar-inner {
display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  position: relative;
  padding: 0 24px;
  background: var(--primary);
  border-radius: 15px;
}
.navbar6-mobile-logo {
display: none;
}
.navbar6-nav {
display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar6-nav-item > a {
display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 25px 20px;
  transition: var(--transition);
}
.navbar6-nav-item > a svg {
color: var(--white);
  opacity: 0.75;
  transition: var(--transition);
}
.navbar6-nav-item > a:hover, .navbar6-nav-item:hover > a {
color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}
.navbar6-has-submenu:hover > a svg {
transform: rotate(180deg);
  opacity: 1;
}
.navbar6-has-submenu {
position: static;
}
.navbar6-submenu {
position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.navbar6-has-submenu:hover > .navbar6-submenu {
opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar6-submenu-grid {
display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.navbar6-submenu-grid--split {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(88px, auto));
  align-items: stretch;
}
.navbar6-submenu-item {
display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-base);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  background: var(--white);
}
.navbar6-submenu-item:hover {
border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.navbar6-submenu-grid--split .navbar6-submenu-item:not(.navbar6-submenu-feature) {
  min-height: 92px;
}
.navbar6-submenu-feature {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100%;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, #fff7f8 100%);
  border-color: rgba(196,0,24,0.16);
  color: var(--text-primary);
}
.navbar6-submenu-feature:hover {
  border-color: rgba(196,0,24,0.34);
  box-shadow: 0 8px 18px -14px rgba(196,0,24,0.24);
  transform: translateY(-1px);
}
.navbar6-submenu-quote {
  grid-column: 4;
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.navbar6-submenu-quote:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 10px 24px -12px rgba(196,0,24,0.44);
}
.navbar6-submenu-feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 260px;
}
.navbar6-submenu-feature-content > span:first-child {
  width: fit-content;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(196,0,24,0.08);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.navbar6-submenu-feature-content strong {
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.2;
}
.navbar6-submenu-feature-content > span:last-child {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
}
.navbar6-submenu-quote .navbar6-submenu-feature-content > span:first-child {
  background: rgba(255,255,255,0.16);
  color: var(--white);
}
.navbar6-submenu-quote .navbar6-submenu-feature-content strong,
.navbar6-submenu-quote .navbar6-submenu-feature-content > span:last-child {
  color: var(--white);
}
.navbar6-submenu-quote .navbar6-submenu-feature-content > span:last-child {
  opacity: 0.82;
}
.navbar6-submenu-thumb {
width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--gray-100);
}
.navbar6-submenu-thumb img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.navbar6-submenu-info {
display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.navbar6-submenu-info strong {
font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.navbar6-submenu-info > span {
font-size: 0.75rem;
  color: var(--text-tertiary);
}
.navbar6-submenu-badge {
display: inline-block;
  font-size: 0.6rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  background: var(--gray-800);
  color: var(--white) !important;
}
.navbar6-submenu-badge--popular {
background: #15803d;
}
.navbar6-submenu-badge--design {
background: var(--primary-dark);
}
.navbar6-submenu-footer {
margin: 18px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.navbar6-submenu-footer a {
color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.navbar6-submenu-footer a:hover {
color: var(--primary-dark);
}
.navbar6-right {
display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.navbar6-search {
display: flex;
  align-items: center;
  position: relative;
}
.navbar6-search-input {
width: 180px;
  height: 38px;
  padding: 0 40px 0 14px;
  border: none;
  border-radius: 10px;
  font-size: 0.8125rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  transition: var(--transition);
}
.navbar6-search-input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.navbar6-search-input:focus {
background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}
.navbar6-search-btn {
position: absolute;
  right: 2px;
  top: 2px;
  bottom: 2px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.navbar6-search-btn:hover {
background: rgba(255, 255, 255, 0.4);
}
.navbar6-contact {
display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
}
.navbar6-contact-photo {
width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.navbar6-contact-photo img {
width: 100%;
  height: 100%;
  object-fit: cover;
}
.navbar6-contact-info {
display: flex;
  flex-direction: column;
}
.navbar6-contact-phone {
font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar6-contact-phone:hover {
color: rgba(255, 255, 255, 0.85);
}
.navbar6-contact-hours {
display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.navbar6-contact-dot {
width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: #22c55e;
  flex-shrink: 0;
}
.navbar6-hamburger {
display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  cursor: pointer;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex-shrink: 0;
}
.navbar6-hamburger:hover {
background: rgba(255, 255, 255, 0.15);
}
.navbar6-actionbar {
background: #e8f4fc;
  border-radius: var(--radius-full);
  flex: 1;
  min-width: 0;
}
.navbar6-actionbar-slides {
  display: grid;
  position: relative;
  overflow: hidden;
}
.navbar6-actionbar-slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.navbar6-actionbar-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.navbar6-actionbar-slide.is-leaving {
  opacity: 0;
  transform: translateY(12px);
}
.navbar6-actionbar-inner {
display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 8px 16px;
}
.navbar6-promo-badge {
display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar6-promo-badge--accent {
  background: #4CAF50;
}
.navbar6-countdown {
  font-variant-numeric: tabular-nums;
  color: #4CAF50;
}
.navbar6-actionbar-text {
font-size: 0.9375rem;
  color: var(--text-primary);
  font-weight: 500;
}
.navbar6-actionbar-text strong {
font-weight: 700;
}
.navbar6-promo-link {
display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  border: 0;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.navbar6-promo-link:hover {
background: var(--primary);
  color: var(--white);
}
.navbar6-promo-link--accent {
  color: #4CAF50;
}
.navbar6-promo-link--accent:hover {
  background: #4CAF50;
  color: var(--white);
}
.navbar6-offcanvas {
position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  background: var(--white);
  z-index: 1055;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.navbar6-offcanvas-header {
display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}
.navbar6-offcanvas-close {
display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  flex-shrink: 0;
}
.navbar6-offcanvas-close:hover {
background: var(--gray-100);
}
.navbar6-offcanvas-body {
flex: 1;
  padding: 24px;
  overflow-y: auto;
}
.navbar6-offcanvas-nav ul, .navbar6-offcanvas-secondary ul {
list-style: none;
  margin: 0;
  padding: 0;
}
.navbar6-offcanvas-nav li a, .navbar6-offcanvas-secondary li a {
display: block;
  padding: 12px 4px;
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.navbar6-offcanvas-nav li a {
font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.navbar6-offcanvas-nav li a:hover {
color: var(--primary);
  padding-left: 8px;
}
.navbar6-offcanvas-secondary li a {
font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.navbar6-offcanvas-secondary li a:hover {
color: var(--primary);
  padding-left: 8px;
}
.navbar6-offcanvas-nav li:last-child a, .navbar6-offcanvas-secondary li:last-child a {
border-bottom: 0;
}
.navbar6-offcanvas-divider {
border: 0;
  margin: 20px 0;
}
.navbar6-offcanvas-search {
display: flex;
  align-items: center;
  position: relative;
  margin-top: 4px;
}
.navbar6-offcanvas-search-input {
width: 100%;
  height: 46px;
  padding: 0 48px 0 16px;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
}
.navbar6-offcanvas-search-input::placeholder {
color: var(--text-tertiary);
}
.navbar6-offcanvas-search-input:focus {
border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 230, 57, 70), 0.12);
}
.navbar6-offcanvas-search-btn {
position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.navbar6-offcanvas-search-btn:hover {
opacity: 0.9;
}
.navbar6-offcanvas-backdrop {
display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  cursor: pointer;
}
.navbar6-toggle-cb:checked ~ .navbar6 .navbar6-offcanvas {
transform: translateX(0);
  visibility: visible;
}
.navbar6-toggle-cb:checked ~ .navbar6 .navbar6-offcanvas-backdrop {
display: block;
}
@media (max-width: 1200px) {
.navbar6-submenu-grid {
grid-template-columns: repeat(3, 1fr);
}
.navbar6-submenu-grid--split {
grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
}
.navbar6-submenu-feature {
grid-column: 1 / -1;
    grid-row: auto;
}
.navbar6-submenu-quote {
grid-column: 1 / -1;
}
}
@media (max-width: 1360px) {
.navbar6-nav-item > a {
font-size: 0.95rem;
    padding-left: 12px;
    padding-right: 12px;
}
.navbar6-search-input {
width: 150px;
}
}
@media (max-width: 1180px) {
.navbar6-search {
display: none;
}
}
@media (max-width: 991.98px) {
.navbar6-topbar {
order: 1;
    padding: 0;
    border-bottom: none;
}
.navbar6-topbar > .container {
padding: 0;
    max-width: 100%;
}
.navbar6-topbar-inner {
display: block;
}
.navbar6-topbar-inner > .navbar6-logo, .navbar6-secondary-nav {
display: none;
}
.navbar6-actionbar {
border-radius: 0;
    flex: none;
    width: 100%;
}
.navbar6-actionbar-inner {
justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 16px;
}
.navbar6-actionbar-text {
font-size: 0.875rem;
}
.navbar6-menubar {
position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    padding-bottom: 0;
    background: var(--primary);
}
.navbar6-menubar-inner {
border-radius: 0;
    padding: 0 16px;
    min-height: 60px;
}
.navbar6-mobile-logo {
display: flex;
}
.navbar6-nav {
display: none;
}
.navbar6-search {
display: none;
}
.navbar6-contact {
padding-left: 12px;
    gap: 6px;
}
.navbar6-contact-photo {
display: none;
}
.navbar6-contact-info {
gap: 1px;
}
.navbar6-hamburger {
display: flex;
    margin-left: 8px;
}
}
@media (max-width: 575.98px) {
.navbar6-actionbar-text {
display: none;
}
.navbar6-contact-phone {
font-size: 0.875rem;
}
}
.footer4 {
background: var(--white);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  padding: 56px 0;
  border-top: 0;
}
.footer4-grid {
display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(150px, 0.8fr)) minmax(250px, 1fr);
  gap: 40px;
  align-items: start;
}
.footer4-brand {
display: flex;
  flex-direction: column;
  gap: 0;
}
.footer4-logo {
display: inline-block;
  margin-bottom: 20px;
  text-decoration: none;
  line-height: 1;
}
.footer4-logo img {
  opacity: 1;
}
.footer4-logo svg {
display: block;
  height: 48px;
  width: auto;
}
.footer4-social {
display: flex;
  gap: 12px;
  margin-bottom: 28px;
}
.footer4-social a,
.footer4-social span {
display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-base);
  background: var(--gray-900);
  color: var(--white);
  transition: var(--transition);
}
.footer4-social a:hover {
background: var(--black);
}
.footer4-legal {
display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer4-legal a {
color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition);
  font-size: 0.8125rem;
}
.footer4-legal a:hover {
color: var(--black);
}
.footer4-heading {
font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.footer4-links {
list-style: none;
  margin: 0;
  padding: 0;
}
.footer4-links li {
margin-bottom: 12px;
}
.footer4-links a {
color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}
.footer4-links a:hover {
color: var(--black);
}
.footer4-contact-card {
background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.footer4-contact-item {
display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.footer4-contact-icon {
display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.footer4-contact-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1px;
}
.footer4-contact-value,
.footer4-contact-address {
  color: var(--black);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  transition: var(--transition);
}
.footer4-contact-value:hover {
  color: var(--gray-700);
}
.footer4-contact-address {
  margin: 0;
  font-style: normal;
  font-weight: 600;
}
.footer4-contact-note {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
}
.footer4-map-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0;
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: var(--transition);
}
.footer4-map-link:hover {
  color: var(--gray-700);
}
@media (max-width: 992px) {
.footer4-grid {
grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer4-contact-card {
grid-column: span 1;
}
}
@media (max-width: 576px) {
.footer4 {
padding: 40px 0;
}
.footer4-grid {
grid-template-columns: 1fr;
    gap: 32px;
}
.footer4-contact-card {
grid-column: span 1;
}
}
.bg-subtle {
background: var(--gray-50);
}

/* ROLLO redesign additions */
.navbar6-logo img {
  width: 157px;
  height: auto;
  display: block;
}

.footer4-logo img {
  width: 157px;
  height: auto;
  display: block;
}

.navbar6 {
  max-width: 100vw;
}

.navbar6-mobile-logo {
  padding: 6px 8px;
  border-radius: var(--radius-base);
  background: var(--white);
}

.navbar6-mobile-logo img {
  width: 132px;
}

.navbar6-contact-photo {
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
}

.navbar6-contact-photo span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.navbar6-submenu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--bg {
  min-height: 0;
  padding: 50px 0 33px;
  background: #111827 url("../img/hero-brana.jpg?v=20260723-assets-repair1") center center / cover no-repeat;
}

.hero--bg-overlay {
  background: linear-gradient(90deg, rgba(12, 17, 27, 0.9) 0%, rgba(12, 17, 27, 0.72) 48%, rgba(12, 17, 27, 0.5) 100%);
}

.hero--bg-form-card {
  border-radius: var(--radius-md);
}

.hero--bg-form {
  max-width: 520px;
}

.hero--bg-form-textarea {
  min-height: 112px;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.intro-emphasis {
  margin: 0 0 18px;
  color: var(--text-primary);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.55;
}

.intro-emphasis a,
.lead-text a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.intro-emphasis a:hover,
.lead-text a:hover {
  color: var(--primary-dark);
}

#brany,
#ploty,
#pergoly,
#rolety,
#stineni,
#vrata {
  scroll-margin-top: 140px;
}

.intro-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 0.5fr 1.5fr;
  }
}

.proof-strip {
  display: grid;
  gap: 16px;
}

@media (min-width: 680px) {
  .proof-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-strip div {
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  background: var(--gray-50);
}

.proof-strip strong {
  display: block;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 8px;
}

.proof-strip span {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.solution-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1180px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--gray-900);
  box-shadow: none;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.32) 46%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}

.solution-card:hover {
  color: var(--white);
  box-shadow: 0 24px 48px -34px rgba(17,24,39,0.55);
}

.solution-card:focus-visible {
  outline: 3px solid rgba(196,0,24,0.42);
  outline-offset: 4px;
}

.solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.solution-card:hover img {
  transform: scale(1.035);
}

.solution-card div {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.solution-card h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.35rem;
}

.solution-card p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .solution-card,
  .solution-card div {
    min-height: 340px;
  }

  .solution-card div {
    padding: 26px;
  }
}

.benefit-section .section-header {
  max-width: 860px;
  margin-bottom: 52px;
}

.benefit-section .section-title {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-item {
  min-height: 228px;
  padding: 30px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  box-shadow: 0 16px 34px -32px rgba(17,24,39,0.34);
}

.benefit-item span {
  display: block;
  margin-bottom: 34px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.benefit-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-size: 1.12rem;
  line-height: 1.25;
}

.benefit-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.realization-showcase-section {
  overflow: hidden;
  background: var(--white);
  /* track má o 44px větší padding-bottom kvůli stínům karet, kompenzováno zde */
  padding-bottom: 36px;
}

@media (min-width: 1024px) {
  .realization-showcase-section {
    padding-bottom: 68px;
  }
}

.realization-category + .realization-category {
  margin-top: 84px;
}

.realization-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.realization-header > div:first-child {
  max-width: 680px;
}

.realization-title {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

.realization-header p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.65;
}

.realization-controls {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.realization-btn {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.realization-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.realization-slider-outer {
  position: relative;
  width: calc(100% + ((100vw - 100%) / 2));
  max-width: calc(100vw - ((100vw - 100%) / 2));
}

.realization-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 24px 60px 0;
  cursor: grab;
}

.realization-slider-track.is-dragging {
  scroll-behavior: auto;
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.realization-slider-track.is-dragging .realization-card {
  pointer-events: none;
}

.realization-slider-track::-webkit-scrollbar {
  display: none;
}

.realization-card {
  position: relative;
  flex: 0 0 min(78vw, 390px);
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--gray-900);
  color: var(--white);
  scroll-snap-align: start;
  box-shadow: 0 18px 42px -34px rgba(17,24,39,0.52);
  transition: var(--transition);
}

.realization-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,0.28) 58%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}

.realization-card:hover {
  color: var(--white);
  box-shadow: 0 26px 54px -34px rgba(17,24,39,0.7);
  transform: translateY(-3px);
}

.realization-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.realization-card:hover img {
  transform: scale(1.04);
}

.realization-card > span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 34px;
}

.realization-card strong {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.22;
}

.realization-card small {
  color: rgba(255,255,255,0.76);
  font-size: 0.92rem;
  line-height: 1.35;
}

.realization-card--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-primary);
}

.realization-card--more::after {
  display: none;
}

.realization-card--more:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.realization-card--more .realization-card-more-icon {
  position: static;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding: 0;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.16);
  color: var(--white);
}

.realization-card--more > .realization-card-more-content {
  position: static;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  padding: 0;
}

.realization-card--more strong {
  max-width: 260px;
  color: var(--white);
  font-size: 1.45rem;
  line-height: 1.2;
}

.realization-card--more small {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

.realization-card--more .realization-card-more-content > span {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .realization-card {
    flex-basis: 420px;
    height: 540px;
  }
}

@media (max-width: 680px) {
  .realization-category + .realization-category {
    margin-top: 58px;
  }

  .realization-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .realization-controls {
    display: none;
  }

  .realization-slider-outer {
    width: 100%;
    max-width: 100%;
  }

  .realization-card {
    flex-basis: 82vw;
    height: 390px;
    border-radius: var(--radius-xl);
  }

  .realization-card > span {
    padding: 26px;
  }
}

.process-section {
  background: var(--gray-100);
}

.process-steps {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step:last-child::before {
  display: none;
}

.process-step-marker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 26px -16px rgba(196,0,24,0.45);
}

.process-step-body {
  padding-top: 10px;
}

.process-step-body h3 {
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.18rem;
}

.process-step-body p {
  max-width: 46ch;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .process-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    margin-top: 44px;
  }

  .process-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-bottom: 0;
  }

  .process-step::before {
    left: 50%;
    right: auto;
    top: 27px;
    bottom: auto;
    width: 100%;
    height: 2px;
  }

  .process-step:last-child::before {
    display: none;
  }

  .process-step-marker {
    margin-bottom: 22px;
  }

  .process-step-body {
    padding-top: 0;
  }

  .process-step-body p {
    max-width: 30ch;
  }
}

.region-section {
  padding-top: 40px;
}

@media (min-width: 1024px) {
  .region-section {
    padding-top: 112px;
  }
}

.coverage-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.coverage-content h2 {
  margin-bottom: 18px;
}

.coverage-content p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.coverage-link {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.coverage-link:hover {
  color: var(--primary-dark);
}

.cta-section {
  padding: 76px 0 58px;
  background: var(--white);
}

.consultation-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
  overflow: visible;
  min-height: 352px;
  padding: 44px 52px;
  border-radius: var(--radius-lg);
  background: #111827 url("../img/consultant_bg.jpeg?v=20260723-assets-repair1") center center / cover no-repeat;
  color: var(--white);
  box-shadow: 0 24px 60px -30px rgba(17,24,39,0.54);
}

.consultation-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #000000 0%, #c91414 100%);
  opacity: 0.78;
}

.consultation-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  z-index: 2;
}

.consultation-cta-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.consultation-cta-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #37d66f;
  font-size: 0.92rem;
  font-weight: 800;
}

.consultation-cta-status span {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,0.13);
}

.consultation-cta h2 {
  max-width: 620px;
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.consultation-cta p {
  max-width: 620px;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.74);
  font-size: 1rem;
  line-height: 1.7;
}

.consultation-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #22c55e;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.consultation-cta-phone:hover {
  color: #37d66f;
}

.consultation-cta-phone > span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: var(--radius-base);
  background: #22c55e;
  color: var(--white);
  flex-shrink: 0;
}

.consultation-cta-figure {
  position: absolute;
  right: clamp(34px, 7vw, 118px);
  bottom: 0;
  z-index: 1;
  width: clamp(270px, 25vw, 390px);
  pointer-events: none;
}

.consultation-cta-figure img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,0.32));
}

@media (max-width: 900px) {
  .cta-section {
    padding: 58px 0 44px;
  }

  .consultation-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
    padding: 40px 28px 0;
  }

  .consultation-cta-figure {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: center;
    width: min(76%, 300px);
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .consultation-cta {
    padding: 34px 22px 0;
  }

  .consultation-cta-phone {
    align-items: flex-start;
    gap: 12px;
    font-size: 1.58rem;
  }

  .consultation-cta-phone > span {
    width: 44px;
    height: 44px;
  }
}

.footer4-logo {
  display: inline-block;
  padding: 10px 14px;
  border-radius: var(--radius-base);
  background: var(--white);
}

@media (max-width: 640px) {
  .hero--bg {
    min-height: auto;
    padding: 132px 0 64px;
  }

  .btn-lg {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar6-menubar-inner {
    min-width: 0;
  }

  .navbar6-contact {
    min-width: 0;
  }

  .navbar6-contact-phone {
    white-space: nowrap;
  }
}

/* Confirmed form submission */
.service-form-submit-error {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 4px solid var(--primary);
  background: #fff1f2;
  color: #8f0012;
  font-size: 0.875rem;
  line-height: 1.5;
}

.thank-you-section {
  min-height: min(680px, calc(100vh - 180px));
  display: flex;
  align-items: center;
  padding: 88px 0 104px;
  text-align: center;
}

.thank-you-section > .container {
  max-width: 760px;
}

.thank-you-icon {
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: #e8f6ee;
  color: #14733b;
}

.thank-you-editor > h1 {
  margin: 0 0 20px;
  color: var(--dark);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
}

.thank-you-editor > p {
  max-width: 620px;
  margin: 0 auto 12px;
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: 1.65;
}

.thank-you-editor > p:last-child {
  margin-top: 32px;
}

.thank-you-editor > p:last-child > a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.thank-you-editor > p:last-child > a:hover {
  background: var(--primary-dark);
}

@media (max-width: 640px) {
  .thank-you-section {
    min-height: 560px;
    padding: 64px 0 80px;
  }

  .thank-you-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }

  .thank-you-editor > p {
    font-size: 1rem;
  }
}

.text-accent-green {
  color: #4CAF50;
}

/* Kontakt — page-specific components */
.contact-service-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
}
@media (min-width: 760px) {
  .contact-service-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
}
.contact-service-callout-title {
  margin-bottom: 6px;
}
.contact-service-callout-text {
  margin: 0;
  color: var(--text-secondary);
}
.contact-service-callout .btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.contact-channels {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1180px) {
  .contact-channels {
    grid-template-columns: repeat(4, 1fr);
  }
}
.contact-channel-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  transition: var(--transition);
}
.contact-channel-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-default);
}
.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--primary);
}

.contact-channel-icon > svg {
  display: none;
}

.contact-channel-icon::before {
  width: 22px;
  height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  content: "";
}

.contact-channel-card[href^="tel:"] .contact-channel-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 1 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contact-channel-card[href*="mapy.cz"] .contact-channel-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contact-channel-card[href*="poptavka"] .contact-channel-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}
.contact-channel-card--accent {
  background: var(--primary);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}
.contact-channel-card--accent:hover {
  background: var(--primary-dark);
  border-color: transparent;
}
.contact-channel-card--accent .contact-channel-icon {
  background: var(--white);
  color: var(--primary);
}
.contact-channel-card--accent .contact-channel-body strong,
.contact-channel-card--accent .contact-channel-body > span:nth-child(2),
.contact-channel-card--accent .contact-channel-note {
  color: var(--white);
}
.contact-channel-card--accent .contact-channel-body strong {
  opacity: 0.8;
}
.contact-channel-card--accent .contact-channel-note {
  opacity: 0.85;
}
.contact-channel-card--accent-green {
  background: #4CAF50;
  border-color: transparent;
}
.contact-channel-card--accent-green:hover {
  background: #449b48;
  border-color: transparent;
}
.contact-channel-card--accent-green .contact-channel-icon {
  background: var(--white);
  color: #4CAF50;
  border-color: transparent;
}
.contact-channel-card--accent-green .contact-channel-body strong,
.contact-channel-card--accent-green .contact-channel-body > span:nth-child(2),
.contact-channel-card--accent-green .contact-channel-note {
  color: var(--white);
}
.contact-channel-card--accent-green .contact-channel-body strong {
  opacity: 0.8;
}
.contact-channel-card--accent-green .contact-channel-note {
  opacity: 0.85;
}
.contact-channel-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-channel-body strong {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.contact-channel-editor > p {
  margin: 0;
}
.contact-channel-editor > p:first-child {
  font-size: 0.8125rem;
  line-height: 1.6;
}
.contact-channel-editor > p:nth-child(2) {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-primary);
}
.contact-channel-editor > p:last-child {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.contact-channel-card--accent .contact-channel-editor > p:nth-child(2),
.contact-channel-card--accent .contact-channel-editor > p:last-child,
.contact-channel-card--accent-green .contact-channel-editor > p:nth-child(2),
.contact-channel-card--accent-green .contact-channel-editor > p:last-child {
  color: var(--white);
}
.contact-channel-card--accent .contact-channel-editor > p:last-child,
.contact-channel-card--accent-green .contact-channel-editor > p:last-child {
  opacity: 0.85;
}
.contact-channel-body > span:nth-child(2) {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}
.contact-channel-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.contact-channel-note--link {
  color: var(--primary);
  font-weight: 600;
}
.contact-channel-card:hover .contact-channel-note--link {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-people-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 760px) {
  .contact-people-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-person-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-person-role {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-person-name {
  margin-bottom: 12px;
}
.contact-person-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.contact-person-line:hover {
  color: var(--primary);
}
.contact-person-line svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.contact-reps-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) {
  .contact-reps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .contact-reps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.contact-rep-card {
  height: 100%;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: var(--transition);
}
.contact-rep-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding-top: 12px;
}
.contact-rep-card:hover {
  border-color: var(--border-default);
}
.contact-rep-region {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-rep-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.contact-rep-address {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0 0 2px;
}
.contact-rep-line {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-rep-line:hover {
  color: var(--primary);
}
.contact-rep-line--muted {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.contact-rep-line--muted:hover {
  color: var(--primary);
}

.contact-areas-grid {
  display: grid;
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) {
  .contact-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .contact-areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-areas-grid li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white);
}
.contact-area-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-areas-grid li a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.contact-areas-grid li a:hover {
  color: var(--primary);
}

.contact-billing-layout {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .contact-billing-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
  }
}
.contact-billing-card {
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  padding: 32px;
}
.contact-billing-card--accent {
  background: var(--primary);
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}
.contact-billing-card--accent .contact-billing-title,
.contact-billing-card--accent .contact-billing-list dd {
  color: var(--white);
}
.contact-billing-card--accent .contact-billing-list dt {
  color: rgba(255, 255, 255, 0.7);
}
.contact-billing-card--accent .contact-billing-list > div {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}
.contact-billing-title {
  margin-bottom: 20px;
}
.contact-billing-list {
  display: grid;
  gap: 16px;
  margin: 0;
}
.contact-billing-list > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.contact-billing-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-billing-list dt {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.contact-billing-list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-billing-address {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.contact-billing-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}
.contact-billing-map-link:hover {
  color: var(--primary-dark);
}
.contact-billing-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.contact-billing-note a {
  font-weight: 600;
}

/* Inspirace – detail kategorie (nekonečná galerie) */
.inspirace-detail-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.inspirace-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.inspirace-detail-breadcrumb a {
  color: var(--text-tertiary);
  transition: var(--transition);
}

.inspirace-detail-breadcrumb a:hover {
  color: var(--primary);
}

.inspirace-detail-breadcrumb svg {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: var(--text-muted);
}

.inspirace-detail-breadcrumb span[aria-current] {
  color: var(--primary);
}

.inspirace-detail-header > h1 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.15;
}

.inspirace-detail-header > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.inspirace-gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  align-items: start;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .inspirace-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Příležitostný "výrazný" box přes 2×2 pozice – díky shodnému poměru
     stran 4:3 základní i zvětšené dlaždice zůstává mřížka sourodá a
     nevzniká tak strojový, monotónní dojem stejně velkých boxů. */
  .inspirace-gallery-card--wide {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .inspirace-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.inspirace-gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--gray-900);
  box-shadow: 0 18px 42px -34px rgba(17,24,39,0.52);
  transition: var(--transition);
  animation: inspirace-gallery-in 0.5s ease both;
  cursor: zoom-in;
}

.inspirace-gallery-card:hover {
  box-shadow: 0 26px 54px -34px rgba(17,24,39,0.7);
  transform: translateY(-3px);
}

.inspirace-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 32%, rgba(0,0,0,0.34) 62%, rgba(0,0,0,0.86) 100%);
  pointer-events: none;
}

.inspirace-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.inspirace-gallery-card:hover img {
  transform: scale(1.04);
}

.inspirace-gallery-card-info {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px;
}

.inspirace-gallery-card-info strong {
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.28;
}

.inspirace-gallery-card-info small {
  color: rgba(255,255,255,0.76);
  font-size: 0.875rem;
}

.inspirace-gallery-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 10px 20px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-primary);
}

.inspirace-gallery-card-cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.inspirace-gallery-cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: var(--radius-2xl);
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
  animation: inspirace-gallery-in 0.5s ease both;
}

.inspirace-gallery-cta > h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.375rem;
}

.inspirace-gallery-cta > p {
  margin: 0;
  max-width: 480px;
  color: rgba(255,255,255,0.82);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.inspirace-gallery-cta-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.inspirace-gallery-cta-btn:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

.inspirace-gallery-cta > p:last-child {
  margin: 0;
}

.inspirace-gallery-cta > p:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}

@media (min-width: 641px) {
  .inspirace-gallery-cta:has(> h3) {
    display: grid;
    grid-template-columns: minmax(0, 480px) 1fr auto;
    column-gap: 24px;
    row-gap: 0;
  }

  .inspirace-gallery-cta > h3,
  .inspirace-gallery-cta > p:nth-child(2) {
    grid-column: 1;
  }

  .inspirace-gallery-cta > p:last-child {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@keyframes inspirace-gallery-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.inspirace-gallery-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.inspirace-gallery-loader.is-active {
  opacity: 1;
  visibility: visible;
}

.inspirace-gallery-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  animation: inspirace-gallery-spin 0.8s linear infinite;
}

@keyframes inspirace-gallery-spin {
  to {
    transform: rotate(360deg);
  }
}

.inspirace-gallery-loader-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.inspirace-gallery-end {
  margin-top: 48px;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  text-align: center;
}

.inspirace-gallery-sentinel {
  height: 1px;
}

@media (max-width: 640px) {
  .inspirace-gallery-cta {
    padding: 32px;
  }

  .inspirace-gallery-cta:has(> h3) {
    display: grid;
    gap: 0;
  }

  .inspirace-gallery-cta > p:last-child {
    margin-top: 24px;
  }

  .inspirace-gallery-cta > p:last-child > a {
    width: 100%;
  }

  .inspirace-gallery-cta-btn {
    width: 100%;
  }
}

/* Lightbox – fullscreen prohlížeč fotografií realizací */

.inspirace-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.inspirace-lightbox[hidden] {
  display: none;
}

.inspirace-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.92);
}

.inspirace-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--gray-900);
  box-shadow: var(--shadow-lg);
  animation: inspirace-lightbox-in 0.25s cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes inspirace-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.inspirace-lightbox-figure {
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
}

.inspirace-lightbox-figure img {
  display: block;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.inspirace-lightbox-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(17,24,39,0) 0%, rgba(17,24,39,0.62) 48%, rgba(17,24,39,0.92) 100%);
  color: var(--white);
}

.inspirace-lightbox-counter {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,0.66);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.inspirace-lightbox-caption-text strong {
  display: block;
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.3;
}

.inspirace-lightbox-caption-text small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.76);
  font-size: 0.875rem;
}

.inspirace-lightbox-caption .inspirace-gallery-card-cta {
  flex-shrink: 0;
  margin-top: 0;
}

.inspirace-lightbox-close,
.inspirace-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.inspirace-lightbox-close:hover,
.inspirace-lightbox-nav:hover {
  background: var(--primary);
  box-shadow: var(--shadow-primary);
}

.inspirace-lightbox-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
}

.inspirace-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.inspirace-lightbox-nav--prev {
  left: 16px;
}

.inspirace-lightbox-nav--next {
  right: 16px;
}

body.has-lightbox-open {
  overflow: hidden;
}

/* Při otevřeném lightboxu skrýt spodní fixní lištu (z-index 9999),
   která by jinak prosvítala přes lightbox (z-index 1000) a překryla jeho CTA. */
body.has-lightbox-open .mobile-sticky-cta {
  display: none;
}

@media (max-width: 640px) {
  .inspirace-lightbox {
    padding: 0;
  }

  .inspirace-lightbox-dialog {
    border-radius: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .inspirace-lightbox-figure {
    flex: 1;
    min-height: 0;
  }

  .inspirace-lightbox-figure img {
    height: 100%;
    max-height: none;
  }

  .inspirace-lightbox-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .inspirace-lightbox-caption .inspirace-gallery-card-cta {
    width: 100%;
    justify-content: center;
  }

  .inspirace-lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .inspirace-lightbox-nav--prev {
    left: 8px;
  }

  .inspirace-lightbox-nav--next {
    right: 8px;
  }
}

/* Servisní stránka — typy servisu, formulář, kontaktní páry */

.service-types {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 760px) {
  .service-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-type-card {
  padding: 32px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.service-type-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}

.service-type-card--accent {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-type-badge--accent {
  background: var(--primary);
  color: var(--white);
}

.service-type-card h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 1.1875rem;
  line-height: 1.3;
}

.service-type-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-type-card li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-type-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  box-sizing: border-box;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary);
  background: var(--white);
}

.service-type-card li strong {
  color: var(--text-primary);
}

.service-form-card {
  display: grid;
  gap: 40px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 960px) {
  .service-form-card {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  }
}

.service-form-intro h2 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  line-height: 1.2;
}

.service-form-intro > p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-form-tips {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 20px;
  list-style: none;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.service-form-tips li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.service-form-tips svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary);
}

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

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

@media (min-width: 640px) {
  .service-form-row--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.service-form-label {
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.service-form-input,
.service-form-select,
.service-form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.service-form-input::placeholder,
.service-form-textarea::placeholder {
  color: var(--text-muted);
}

.service-form-input:focus,
.service-form-select:focus,
.service-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 0, 24, 0.12);
}

.service-form-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

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

.service-form-hint {
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.service-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-tertiary);
  background: var(--gray-50);
  border: 1.5px dashed var(--border-default);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
}

.service-dropzone:hover,
.service-dropzone:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
  outline: none;
}

.service-dropzone.is-dragover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(196, 0, 24, 0.12);
}

.service-dropzone svg {
  color: inherit;
  opacity: 0.7;
}

.service-dropzone-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.service-dropzone-text strong {
  color: var(--text-primary);
}

.service-dropzone .service-form-hint {
  margin-top: 0;
}

.service-dropzone.is-upload-enhanced .vx-dropzone-list {
  display: none;
}

.service-dropzone-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.service-dropzone-list[hidden] {
  display: none;
}

.service-dropzone-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  animation: inspirace-gallery-in 0.3s ease both;
}

.service-dropzone-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-base);
  background: var(--gray-100);
  color: var(--text-tertiary);
}

.service-dropzone-item-icon.has-thumbnail {
  overflow: hidden;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
}

.service-dropzone-item-thumbnail {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-dropzone-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-right: auto;
}

.service-dropzone-item-name {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-dropzone-item-size {
  color: var(--text-tertiary);
  font-size: 0.8125rem;
}

.service-dropzone-item-progress {
  width: min(180px, 100%);
  height: 4px;
  margin-top: 5px;
  accent-color: var(--primary);
}

.service-dropzone-item.is-error .service-dropzone-item-name,
.service-dropzone-item.is-error .service-dropzone-item-size {
  color: var(--primary);
}

.service-dropzone-item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--text-tertiary);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.service-dropzone-item-remove:disabled {
  cursor: wait;
  opacity: 0.35;
}

.service-dropzone-item-remove:hover {
  color: var(--white);
  background: var(--primary);
}

.service-dropzone-item-remove:disabled:hover {
  color: var(--text-tertiary);
  background: transparent;
}

.service-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
  cursor: pointer;
}

.service-form-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.service-form-consent a {
  color: var(--primary);
  transition: var(--transition);
}

.service-form-consent a:hover {
  color: var(--primary-dark);
}

@media (min-width: 1180px) {
  .contact-channels--duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Stránka Brány — hero podstránky, přehled druhů bran a detailní sekce typů */

.hero--page {
  padding: 72px 0 64px;
}

.hero--page .hero-content {
  grid-template-columns: 1fr;
}

.hero--page .hero-text {
  max-width: 640px;
}

.hero--page .hero-stats {
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-bottom: 36px;
}

.hero-actions-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: var(--transition);
}

.hero-actions-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.solution-grid--quad {
  gap: 20px;
}

@media (min-width: 760px) {
  .solution-grid:has(> :last-child:nth-child(-n+2)) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 460px));
    justify-content: center;
  }
}

@media (min-width: 640px) {
  .solution-grid--quad:has(> :last-child:nth-child(-n+3)) {
    grid-template-columns: repeat(auto-fit, minmax(280px, 460px));
    justify-content: center;
  }
}

.solution-grid:has(> :last-child:nth-child(-n+2)) .solution-card,
.solution-grid--quad:has(> :last-child:nth-child(-n+3)) .solution-card {
  min-height: auto !important;
  aspect-ratio: 4 / 3;
}

.solution-grid:has(> :last-child:nth-child(-n+2)) .solution-card > div,
.solution-grid--quad:has(> :last-child:nth-child(-n+3)) .solution-card > div {
  min-height: 100% !important;
}

@media (min-width: 640px) {
  .solution-grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .solution-grid--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.solution-card--compact,
.solution-card--compact div {
  min-height: 320px;
}

.solution-card--compact div {
  padding: 24px;
}

.solution-card--compact h3 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.solution-card--compact p {
  font-size: 0.9375rem;
}

.gate-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gate-card-badge--neutral {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
}

.gate-detail {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .gate-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
  }

  .gate-detail--flip .gate-detail-media {
    order: 2;
  }
}

@media (min-width: 1180px) {
  .gate-detail {
    gap: 72px;
  }
}

.gate-detail-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.gate-detail-content .section-title {
  margin-bottom: 16px;
}

.gate-detail-perex {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.gate-detail-facts {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.gate-detail-facts li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.gate-detail-facts svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

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

.gate-detail-actions .btn-secondary::before {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gate-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.gate-detail-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Šablona detailu produktu — breadcrumbs, hero, specifikace, vzorník, FAQ, sticky CTA */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs [aria-current] {
  color: var(--text-primary);
  font-weight: 500;
}

/* Varianta v roli eyebrow nadpisu — nahrazuje section-label nad H1 */
.breadcrumbs--label {
  margin-bottom: 12px;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs--label a {
  color: var(--text-tertiary);
}

.breadcrumbs--label a:hover {
  color: var(--primary);
}

.breadcrumbs--label [aria-current] {
  color: var(--primary);
  font-weight: 600;
}

.product-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.product-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.product-hero h1 {
  margin-bottom: 16px;
}

.product-hero-media {
  position: relative;
}

.product-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.product-hero-media .gate-card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  margin: 0;
}

.product-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.product-hero-trust strong {
  display: block;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
}

.product-hero-trust span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

/* Hvězdy vybarvené dle hodnoty: <span class="stars-rating" style="--rating: 4.4">★★★★★</span> */
.stars-rating {
  position: relative;
  display: inline-block;
  color: var(--gray-300);
  font-size: 0.9375rem;
  letter-spacing: 1px;
}

.stars-rating::before {
  content: "★★★★★";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating, 5) / 5 * 100%);
  overflow: hidden;
  color: var(--rating-gold);
  white-space: nowrap;
}

.spec-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .spec-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
  }
}

.spec-table {
  display: grid;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.spec-row dd > p {
  margin: 0;
  color: inherit;
}

.spec-row:first-child {
  border-top: 0;
}

.spec-row dt {
  color: var(--text-tertiary);
  font-weight: 600;
}

.spec-row dd {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.spec-note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.spec-aside {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.spec-aside h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.spec-aside p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.spec-aside .service-form-tips {
  margin-bottom: 24px;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

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

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}

.feature-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--primary);
}

.feature-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 1.0625rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.swatch-group + .swatch-group {
  margin-top: 40px;
}

.swatch-group h3 {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 16px;
}

.swatch-chip {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: 8px;
  background: var(--swatch, var(--gray-200));
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-xs);
}

.swatch-chip--more {
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px dashed var(--border-default);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.swatch strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.swatch span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.swatch-note {
  margin: 32px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-default);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq-item summary svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-item[open] summary svg {
  color: var(--primary);
  transform: rotate(180deg);
}

.faq-item-body {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.faq-item-body p {
  margin: 0;
}

.faq-item-body a {
  color: var(--primary);
  transition: var(--transition);
}

.faq-item-body a:hover {
  color: var(--primary-dark);
}

/* Spodní CTA lišta: sjednoceno na jedinou .mobile-sticky-cta (JS-injektovaná),
   používá se na telefonech i tabletech (≤899px). Bývalá .sticky-cta byla zrušena. */

/* Konverzní prvky — mikrocopy u CTA, srovnávací tabulka druhů, reassurance formuláře */

.cta-note {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.hero--bg-dark .cta-note {
  color: rgba(255, 255, 255, 0.72);
}

.hero--page .cta-note {
  margin: -22px 0 36px;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare-table th,
.compare-table td {
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  text-align: left;
  line-height: 1.45;
}

.compare-table thead th {
  border-top: 0;
  background: var(--gray-50);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
}

.compare-table thead th a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.compare-table thead th a:hover {
  color: var(--primary);
}

.compare-table thead th span {
  display: block;
  margin-top: 4px;
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table tbody th {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.compare-table td {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-table .is-featured {
  background: var(--gray-50);
}

.compare-table thead th.is-featured {
  border-bottom: 2px solid var(--primary);
}

.compare-note {
  max-width: 700px;
  margin: 20px auto 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}

.compare-note a {
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.compare-note a:hover {
  color: var(--primary-dark);
}

.service-form-reassurance {
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: center;
}

/* „Chci stejné řešení" — vybraná referenční fotografie ve formuláři */

.form-reference {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--gray-50);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
}

.form-reference img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.form-reference-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.form-reference-info strong {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-reference-info span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.form-reference-remove {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: auto;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.form-reference-remove:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero pozadí produktových kategorií (základ = .hero--bg s bránou) */

.hero--bg-ploty {
  background-image: url("../img/realizace/ploty-08-moderni-horizontalni-plot-hodonin.jpg?v=20260723-assets-repair1");
}

.hero--bg-pergoly {
  background-image: url("../img/bioklimaticke-pergoly.jpg?v=20260723-assets-repair1");
}

.hero--bg-rolety {
  background-image: url("../img/predokenni-rolety.jpg?v=20260723-assets-repair1");
}

.hero--bg-zaluzie {
  background-image: url("../img/venkovni-zaluzie.jpg?v=20260723-assets-repair1");
}

.hero--bg-vrata {
  background-image: url("../img/garazova-vrata.jpg?v=20260723-assets-repair1");
}

/* ==========================================================================
   Articles & Blog Styles (Redesign additions)
   ========================================================================== */

/* Featured Article Section */
.featured-article-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.featured-article-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.featured-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-article-media:hover img {
  transform: scale(1.02);
}

.featured-article-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.featured-article-content h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.featured-article-content p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.news-featured-content > p:first-child {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
}

.news-featured-content > p:nth-last-child(2) {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.news-featured-content > p:last-child {
  margin-top: 8px;
  line-height: 1;
}

.news-featured-content > p:last-child > a,
.inspirace-gallery-cta > p:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.inspirace-gallery-cta > p:last-child {
  margin: 0;
}

.inspirace-gallery-cta > p:last-child > a {
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--primary);
}

.featured-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.featured-article-meta strong {
  color: var(--text-primary);
}

@media (min-width: 900px) {
  .featured-article-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}

/* Category Filter Bar */
.articles-filter-bar {
  margin-bottom: 40px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-tab {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.filter-tab:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}

.filter-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  gap: 24px;
}

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

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Article Card */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  opacity: 1;
  transform: translateY(0);
}

.article-card.is-hidden {
  display: none;
}

.article-card.is-animating {
  opacity: 0;
  transform: translateY(12px);
}

.article-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.article-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.04);
}

.article-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

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

.article-card-date {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.article-card-title {
  margin: 0 0 10px 0;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.article-card-perex {
  margin: 0 0 20px 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
  flex-grow: 1;
}

.article-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.article-card-more svg {
  transition: transform 0.2s ease;
}

.article-card-more > p {
  margin: 0;
}

.article-card-more::after {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  content: "";
  transition: transform 0.2s ease;
}

.article-card-more:has(> svg)::after {
  display: none;
}

.article-card:hover .article-card-more {
  color: var(--primary-dark);
}

.article-card:hover .article-card-more svg {
  transform: translateX(4px);
}

.article-card:hover .article-card-more::after {
  transform: translateX(4px);
}

.articles-footer {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   Article Detail Page Styles (Redesign additions)
   ========================================================================== */

.article-detail-grid {
  display: grid;
  gap: 40px;
  align-items: start;
  max-width: none;
  min-width: 0;
  margin: 0 auto;
}

.article-main-column {
  min-width: 0;
}

@media (min-width: 1024px) {
  .article-detail-grid {
    grid-template-columns: minmax(0, 920px) minmax(320px, 380px);
    column-gap: 80px;
    justify-content: space-between;
  }
}

/* Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.article-breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.article-breadcrumbs a:hover {
  color: var(--primary);
}

.article-breadcrumbs svg {
  color: var(--border-default);
}

/* Article Title & Meta */
.article-header {
  margin-bottom: 32px;
}

.article-header-editor > h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 12px 0 20px;
  letter-spacing: 0;
}

.article-header > .breadcrumbs {
  margin-bottom: 16px;
}

.article-header-editor > :last-child,
.article-callout-editor > :last-child,
.article-related-editor > :last-child,
.sidebar-widget-editor > :last-child,
.sidebar-link-editor > :last-child,
.sidebar-product-editor > :last-child,
.sidebar-expert-editor > :last-child {
  margin-bottom: 0;
}

.article-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 12px 0 20px 0;
  letter-spacing: -0.02em;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-author-img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.article-author-info strong {
  color: var(--text-primary);
  display: block;
}

/* Featured Image */
.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Typography & Content styling */
/* === Sdílený styl WYSIWYG obsahu (.user-content) ============================
   Používají: ochrana-osobnich-udaju, obchodni-podminky, detail článku.
   Obsah je editovatelný uživatelem ve WYSIWYG editoru, proto se VŠECHNY prvky
   stylují přímo přes element selektory — bez nutnosti přidávat třídy na elementy.
   Element pravidla jsou zabalená v :where(.user-content), takže mají specificitu
   na úrovni elementu a komponentové widgety s vlastními třídami
   (.comparison-table, .pros-cons-list, .article-inline-callout …) je vždy přebijí. */
.user-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 820px;
}

.legal-header-editor > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-header-editor > h1 {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.legal-header-editor > p:last-child {
  max-width: 760px;
  margin: 0 auto 16px;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.section-header-editor > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header-editor > h1,
.section-header-editor > h2 {
  margin: 0 0 16px;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-header-editor > h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

.section-header-editor > h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section-header-editor > p:last-child {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-story-editor > h2 {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 18px;
}

.about-story-editor > h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--primary);
  content: "";
}

.about-story-editor > p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.78;
}

.about-story-editor > h2 + p {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.72;
}

.about-story-editor > p strong {
  color: var(--text-primary);
  font-weight: 750;
}

.about-story-editor > p:last-child {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-base) var(--radius-base) 0;
  background: var(--gray-50);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 550;
  line-height: 1.7;
}

.code-card-editor > h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-weight: 700;
}

.team-info-editor > p:first-child {
  margin: 0 0 4px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}

.code-card-editor > p:last-child {
  margin: 0;
  color: var(--text-secondary);
}

.team-info-editor > p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.about-career-section {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.about-career-editor {
  max-width: 700px;
  padding-top: 2px;
}

.about-career-editor > p:first-child {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
}

.about-career-editor > h2 {
  color: var(--white);
  margin: 0 0 24px;
}

.about-career-editor > p:not(:first-child) {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 36px;
}

.about-career-editor > p:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.about-career-editor > p:last-child {
  margin: 0;
}

.contact-service-editor > h2,
.contact-billing-editor > h2,
.contact-office-editor > h2 {
  margin: 0 0 6px;
  color: var(--text-primary);
}

.contact-billing-editor > h2,
.contact-office-editor > h2 {
  margin-bottom: 20px;
}

.contact-service-editor {
  gap: 0;
}

@media (min-width: 760px) {
  .contact-service-editor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    row-gap: 0;
  }

  .contact-service-editor > h2,
  .contact-service-editor > p:nth-child(2) {
    grid-column: 1;
  }

  .contact-service-editor > p:last-child {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

.contact-service-editor > p {
  margin: 0;
}

.contact-service-editor > p:nth-child(2) {
  color: var(--text-secondary);
}

.contact-service-editor > p:last-child > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.contact-service-editor > p:last-child {
  margin-top: 20px;
}

@media (min-width: 760px) {
  .contact-service-editor > p:last-child {
    margin-top: 0;
  }
}

.contact-service-editor > p:last-child > a,
.contact-office-editor > p > a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.contact-person-editor > h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
}

.contact-rep-editor > h3 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
}

.contact-rep-editor > p,
.contact-office-editor > p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-rep-editor > p {
  margin: 0 0 2px;
  font-size: 0.875rem;
}

.contact-rep-editor:has(> p) {
  margin-bottom: 4px;
}

.contact-office-editor > p:first-of-type {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.6;
}

.contact-office-editor > p:nth-of-type(2) {
  margin: 0;
}

.contact-office-editor > p:nth-of-type(2) > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.contact-office-editor > p:last-child {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.tech-hub-editor > p:first-child {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tech-hub-editor > h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.5rem;
}

.tech-hub-editor > p {
  color: var(--gray-300);
  line-height: 1.6;
}

.tech-hub-editor > p:last-child > a {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.feature-card-editor > h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
}

.feature-card-editor > p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.media-contact-editor > p:first-child {
  display: block;
  max-width: 700px;
  margin: 0 auto 12px;
  text-align: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-contact-editor > h2 {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
}

.media-contact-editor > h2 + p {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.media-contact-editor > p:last-child {
  width: calc(25% - 12px);
  min-width: 260px;
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  background: var(--gray-50);
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.media-contact-editor > p:last-child::before {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  background: var(--white) center / 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  content: "";
}

.media-contact-editor > p:last-child > strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-contact-editor > p:last-child > br {
  display: none;
}

.media-contact-editor > p:last-child > a {
  display: block;
  margin-bottom: 2px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

@media (max-width: 639px) {
  .media-contact-editor > p:last-child {
    width: 100%;
  }
}

.service-type-editor > p:first-child {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-type-card--accent .service-type-editor > p:first-child {
  background: var(--primary);
  color: var(--white);
}

.service-type-editor > h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
}

.service-type-editor > ul {
  margin: 0;
  padding: 0;
  color: var(--text-secondary);
}

.service-form-editor > ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  list-style: none;
}

.service-form-editor > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.service-form-editor > ul > li::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: center / contain no-repeat;
  content: "";
}

.service-form-editor > ul > li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

.service-form-editor > ul > li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' x2='8' y1='13' y2='13'/%3E%3Cline x1='16' x2='8' y1='17' y2='17'/%3E%3C/svg%3E");
}

.service-form-editor > ul > li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
}

.service-form-editor > h2 {
  margin: 0 0 12px;
  color: var(--text-primary);
}

.tech-list-item > p {
  display: inline;
  margin: 0;
}

.prep-card-content > h2 {
  margin: 0 0 20px;
  font-size: 2.5rem;
  line-height: 1.2;
}

.prep-card-content > p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.prep-card > h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.mock-diagram > h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

#prep-doors .mock-diagram-box {
  min-height: 160px;
}

#prep-gates .mock-diagram-box {
  height: 102.375px;
}

.checklist-header > .wiring-badge {
  margin-bottom: 8px;
}

.checklist-header > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.prep-tabs-wrapper {
  padding-bottom: 2px;
}

@media (max-width: 899px) {
  .prep-tabs-wrapper {
    padding-bottom: 4px;
  }
}

.prep-tab-btn::before,
.prep-card-content > h2::before {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  vertical-align: -2px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M9 3v18M15 3v18'/%3E%3C/svg%3E");
  content: "";
}

.prep-card-content > h2::before {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  vertical-align: -1px;
}

.tech-download-meta > p {
  margin: 0;
}

.report-modal-content > .service-form-intro {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.report-modal-content > .service-form-intro > p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 899px) {
  .prep-card-content > h2 {
    margin-bottom: 14px;
    font-size: 1.75rem;
    line-height: 1.2;
  }
}

.tech-hub-editor {
  display: grid;
  gap: 8px;
}

.tech-hub-editor > p:first-child {
  width: fit-content;
  margin: 0;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-hub-editor > h2 {
  margin: 0;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.tech-hub-editor > h2 + p {
  max-width: 720px;
  margin: 0;
  color: var(--gray-300);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tech-hub-editor > p:last-child {
  width: fit-content;
  margin: 12px 0 0;
}

.tech-hub-editor > p:last-child > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.tech-hub-editor > p:last-child > a::after {
  content: "›";
  font-size: 1.1em;
  line-height: 0;
}

.downloads-grid .download-card-btn {
  line-height: 1.6;
}

:where(.user-content) > :first-child { margin-top: 0; }
:where(.user-content) > :last-child { margin-bottom: 0; }

:where(.user-content) h1,
:where(.user-content) h2,
:where(.user-content) h3,
:where(.user-content) h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
}
:where(.user-content) h1 { font-size: 2rem; margin: 48px 0 20px; }
:where(.user-content) h2 { font-size: 1.625rem; margin: 48px 0 20px; }
:where(.user-content) h3 { font-size: 1.25rem; margin: 32px 0 16px; }
:where(.user-content) h4 { font-size: 1.0625rem; margin: 24px 0 12px; }

:where(.user-content) p { margin: 0 0 24px; }

:where(.user-content) a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}
:where(.user-content) a:hover { color: var(--primary-dark); }

:where(.user-content) strong,
:where(.user-content) b { color: var(--text-primary); font-weight: 700; }

:where(.user-content) ul,
:where(.user-content) ol { margin: 0 0 24px; padding-left: 24px; }
:where(.user-content) li { margin-bottom: 8px; }
:where(.user-content) li::marker { color: var(--primary); }
:where(.user-content) :is(ul, ol) :is(ul, ol) { margin: 8px 0 0; }

:where(.user-content) blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  background: var(--bg-subtle);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-primary);
}
:where(.user-content) blockquote p { margin: 0; }

:where(.user-content) hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 40px 0;
}

:where(.user-content) img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 24px 0;
}

:where(.user-content) table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 0.9375rem;
}

.article-content-after {
  max-width: 100%;
  overflow-x: auto;
}

.article-content-after > table {
  min-width: 680px;
}
:where(.user-content) th,
:where(.user-content) td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}
:where(.user-content) th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
}

/* Inline visual callout (conversion helper) */
.article-inline-callout {
  max-width: 820px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 32px;
  margin: 48px 0;
  box-shadow: var(--shadow-sm);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.article-inline-callout h3 {
  margin-top: 0 !important;
  font-size: 1.375rem !important;
  text-align: center;
  margin-bottom: 24px !important;
  line-height: 1.3;
}

.inline-callout-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 600px) {
  .inline-callout-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.inline-callout-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  transition: var(--transition);
}

.inline-callout-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.inline-callout-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.inline-callout-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.inline-callout-card:hover .inline-callout-thumb img {
  transform: scale(1.05);
}

.inline-callout-card span {
  display: block;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.inline-callout-card span::after {
  content: " \2192";
}

.inline-callout-card:hover span {
  color: var(--primary);
}

/* Table Style */
.comparison-table-wrapper {
  max-width: 820px;
  overflow-x: auto;
  margin: 40px 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.comparison-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(196, 0, 24, 0.02);
}

.article-content-before > ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

.article-content-before > ul > li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.article-content-before > ul > li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  content: "";
}

.article-content-before > ul > li:last-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 6-12 12'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
}

.article-card-perex > p {
  margin: 0;
}

.article-related-editor > p:first-child {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-related-editor > h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.75rem;
  line-height: 1.2;
}

.article-related-editor {
  padding-top: 2px;
}

.article-content-after-comparison {
  padding-top: 8px;
}

.article-content-after-comparison > p:last-child {
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  body .inspirace-gallery-cta > p:last-child {
    margin: 24px 0 0;
  }

  body .inspirace-gallery-cta > p:last-child > a {
    width: 100%;
    padding: 14px 28px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .gallery-section + .cta-section .consultation-cta-phone {
    align-items: center;
    line-height: 1;
  }
}

/* Sidebar Styling */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--navbar6-height, 120px) + 24px);
  transition: top 0.28s ease;
}

.navbar6.navbar6--hidden ~ * .article-sidebar {
  top: 24px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

.sidebar-widget-editor > h2,
.sidebar-widget-editor > h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 20px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  display: inline-block;
}

.sidebar-widget-editor {
  margin-bottom: 20px;
}

/* Sidebar Product widget */
.sidebar-product-card {
  text-align: center;
}

.sidebar-product-editor > p:first-child {
  margin-bottom: 20px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.sidebar-product-editor > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.sidebar-product-editor > ul > li {
  position: relative;
  padding-left: 26px;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.sidebar-product-editor > ul > li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  content: "";
}

.sidebar-product-editor > p:has(a) {
  margin: 0 0 12px;
}

.sidebar-product-editor > p:has(a) > a {
  display: block;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.sidebar-product-editor > p:has(a):last-child > a {
  padding-top: 15px;
  padding-bottom: 15px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.sidebar-product-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  object-fit: cover;
  margin-bottom: 16px;
}

.sidebar-product-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-product-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  text-align: left;
}

.sidebar-product-points li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #10B981;
}

/* Sidebar Inspiration widget */
.sidebar-inspiration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar-inspiration-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-inspiration-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sidebar-inspiration-thumb:hover img {
  transform: scale(1.06);
}

.sidebar-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.sidebar-link-more:hover {
  color: var(--primary-dark);
}

.sidebar-link-editor > p > a {
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.sidebar-link-editor > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

/* Sidebar Consultation widget */
.sidebar-expert-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.sidebar-expert-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.sidebar-expert-info strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.sidebar-expert-info span {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.sidebar-expert-editor > p {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.sidebar-expert-editor > p:first-child strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.sidebar-expert-editor a {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: none;
}

.sidebar-expert-row:has(.sidebar-expert-editor) {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 0;
  margin-bottom: 0;
}

.sidebar-expert-editor {
  display: contents;
}

.sidebar-expert-editor > p:first-child {
  grid-column: 2;
  align-self: center;
  margin: 0;
  color: var(--text-tertiary);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.sidebar-expert-editor > p:nth-child(2) {
  grid-column: 1 / -1;
  margin: 16px 0 20px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.sidebar-expert-editor > p:first-child strong {
  line-height: 1.6;
}

.sidebar-expert-editor > a {
  font-size: 0.875rem;
  line-height: 1.6;
}

.sidebar-expert-editor > a + a {
  margin-top: 10px;
}

.sidebar-expert-editor > a::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E");
  content: "";
}

.sidebar-expert-editor > a[href^="tel:"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 1 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.sidebar-expert-p {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.sidebar-expert-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-expert-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-expert-contact-link:hover {
  color: var(--primary);
}

.sidebar-expert-contact-link svg {
  color: var(--primary);
}

/* Pros & Cons List Styling */
.pros-cons-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pros-cons-list li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  line-height: 1.6;
}

.pros-cons-list li.list-item-check::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-color: #2e7d32;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.pros-cons-list li.list-item-cross::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Autocomplete search results styling */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 150;
  overflow: hidden;
  max-height: 350px;
  overflow-y: auto;
}
.navbar6-offcanvas-search .search-results-dropdown {
  left: 0;
  right: auto;
  width: 100%;
}
.search-results-item {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: pointer;
  text-align: left;
}
.search-results-item:last-child {
  border-bottom: none;
}
.search-results-item:hover, .search-results-item.is-selected {
  background: var(--gray-50);
}
.search-results-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.search-results-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
}
.search-results-empty {
  padding: 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
.search-results-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.search-results-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: search-spin 0.6s linear infinite;
}
@keyframes search-spin {
  to { transform: rotate(360deg); }
}

/* O nás - Timeline & Team styles */
.about-hero {
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
  padding: 60px 0 40px;
}
.about-story-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
@media (min-width: 900px) {
  .about-story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
.about-story-img img {
  width: 100%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--border-default);
}
@media (min-width: 768px) {
  .timeline::before {
    left: 50%;
    margin-left: -1px;
  }
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::after {
  content: "";
  display: table;
  clear: both;
}
.timeline-badge {
  position: absolute;
  top: 16px;
  left: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--border-light);
  z-index: 10;
}
@media (min-width: 768px) {
  .timeline-badge {
    left: 50%;
    margin-left: -10px;
  }
}
.timeline-panel {
  position: relative;
  width: calc(100% - 50px);
  left: 50px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .timeline-panel {
    width: 44%;
    left: 0;
  }
  .timeline-item--right .timeline-panel {
    left: 56%;
  }
}
.timeline-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-panel p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Code grid */
.code-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) {
  .code-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .code-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.code-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.code-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}
.code-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(230, 92, 0, 0.08);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.code-card-icon > svg {
  display: none;
}

.code-card-icon::before {
  width: 24px;
  height: 24px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  content: "";
}

.code-card:nth-child(2) .code-card-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
}

.code-card:nth-child(3) .code-card-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 1 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.code-card:nth-child(4) .code-card-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.code-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.code-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team section */
.team-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-info {
  padding: 20px;
}
.team-info strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.team-info span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Centrum stahování */
.downloads-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: center;
}
.downloads-filter-btn {
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}
.downloads-filter-btn:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}
.downloads-filter-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.downloads-search-wrapper {
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}
.downloads-search-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  font-size: 0.9375rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: var(--transition);
}
.downloads-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.15);
}
.downloads-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.downloads-grid {
  display: grid;
  gap: 24px;
  justify-content: center;
  transition: opacity 0.2s ease;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .downloads-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
@media (min-width: 1200px) {
  .downloads-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  }
}

.download-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
}
.download-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.download-card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(220, 38, 38, 0.08); /* PDF Red tone */
  color: #dc2626;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.download-card-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.download-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}
.download-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}
.download-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
}
.download-card-meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.download-card-btn {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.download-card-btn:hover {
  color: var(--primary-hover);
}

.downloads-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border-default);
  color: var(--text-muted);
}

/* Homepage WYSIWYG blocks: layout stays in the template, content uses semantic HTML. */
.section-editor > p:first-child,
.realization-editor > p:first-child,
.benefit-editor > p:first-child,
.process-editor > p:first-child,
.coverage-editor > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-editor > h2 {
  margin-bottom: 16px;
}

.section-editor > h2 + p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.hero-editor > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}

.hero-editor > p:first-child::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33d11b;
  content: "";
  animation: pulse 2s infinite;
}

.hero-editor > h1 {
  margin-bottom: 20px;
  color: var(--white);
}

.hero-editor > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.hero-editor > ul > li {
  min-width: 0;
}

.hero-editor > ul strong,
.hero-editor > ul small {
  display: block;
}

.hero-editor > ul strong {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
}

.hero-editor > ul small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.hero-form-editor > h3 {
  margin: 0 0 8px;
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-form-editor > p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.intro-editor > h2 {
  margin: 0 0 20px;
}

.intro-editor > ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.intro-editor > ul > li {
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  background: var(--gray-50);
}

.intro-editor > ul strong {
  display: block;
}

.intro-editor > ul small {
  display: block;
}

@media (min-width: 680px) {
  .intro-editor > ul small {
    display: inline;
  }
}

.intro-editor > ul strong {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.intro-editor > ul small {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.benefit-editor {
  text-align: center;
}

.benefit-editor > h2 {
  max-width: 760px;
  margin: 0 auto 16px;
}

.benefit-editor > h2 + p {
  max-width: 860px;
  margin: 0 auto 52px;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.benefit-editor > ol {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  text-align: left;
  list-style: none;
  counter-reset: benefit;
}

.benefit-editor > ol > li {
  min-height: 228px;
  padding: 30px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  box-shadow: 0 16px 34px -32px rgba(17,24,39,0.34);
  counter-increment: benefit;
}

.benefit-editor > ol > li::before {
  display: block;
  margin-bottom: 34px;
  color: var(--primary);
  content: counter(benefit, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.benefit-editor > ol strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text-primary);
  font-size: 1.12rem;
  line-height: 1.25;
}

.benefit-editor > ol p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.realization-editor > h2 {
  margin: 0 0 10px;
  line-height: 1.12;
}

.realization-editor > h2 + p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.65;
}

.realization-card--more > strong,
.realization-card--more > small {
  display: block;
}

.reviews-summary-editor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 18px;
}

.reviews-summary-editor > h3 {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 1.3;
}

.reviews-summary-editor > strong {
  grid-row: 2 / span 2;
  color: #4caf50;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.reviews-summary-editor > p:first-of-type {
  margin: 0;
  color: #f5a524;
  font-size: 1rem;
  letter-spacing: 0;
}

.reviews-summary-editor > a {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reviews-summary-editor > p:last-of-type {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reviews-summary-editor > small {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--text-tertiary);
  font-size: 0.86rem;
  font-weight: 700;
}

.review-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
}

.review-editor > p {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  color: #f5a524;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.review-editor > blockquote {
  grid-column: 1 / -1;
  margin: 0 0 22px;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.review-editor > strong {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.98rem;
}

.review-editor > small {
  grid-column: 1;
  color: var(--text-tertiary);
  font-size: 0.84rem;
}

.review-editor > a {
  grid-column: 2;
  grid-row: 3 / span 2;
  align-self: end;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.process-editor {
  text-align: center;
}

.process-editor > h2 {
  max-width: 700px;
  margin: 0 auto;
}

.process-editor > ol {
  display: flex;
  flex-direction: column;
  margin: 28px 0 0;
  padding: 0;
  text-align: left;
  list-style: none;
  counter-reset: process;
}

.process-editor > ol > li {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 0;
  padding-bottom: 40px;
  counter-increment: process;
}

.process-editor > ol > li::before {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  content: counter(process, decimal-leading-zero);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 12px 26px -16px rgba(196,0,24,0.45);
  grid-row: 1 / span 2;
}

.process-editor > ol > li::after {
  position: absolute;
  top: 56px;
  bottom: 0;
  left: 27px;
  width: 2px;
  background: var(--gray-200);
  content: "";
}

.process-editor > ol > li:last-child {
  padding-bottom: 0;
}

.process-editor > ol > li:last-child::after {
  display: none;
}

.process-editor > ol h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 10px 0 8px;
  color: var(--text-primary);
  font-size: 1.18rem;
}

.process-editor > ol p {
  grid-column: 2;
  grid-row: 2;
  max-width: 46ch;
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.coverage-editor > h2 {
  margin: 0 0 18px;
}

.coverage-editor > h2 + p {
  max-width: 680px;
  margin: 0 auto;
}

.coverage-editor > a {
  display: inline-flex;
  margin-top: 26px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 680px) {
  .intro-editor > ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .benefit-editor > ol {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-editor > ol {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    margin-top: 48px;
  }

  .process-editor > ol > li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .process-editor > ol > li::after {
    top: 27px;
    bottom: auto;
    left: 50%;
    width: 100%;
    height: 2px;
  }

  .process-editor > ol > li::before {
    margin-bottom: 22px;
    grid-row: auto;
  }

  .process-editor > ol h3 {
    grid-row: auto;
    margin: 0 0 8px;
  }

  .process-editor > ol p {
    grid-row: auto;
    max-width: 30ch;
    margin: 0 0 16px;
  }
}

@media (max-width: 520px) {
  .hero-editor > ul {
    grid-template-columns: 1fr;
  }

  .review-editor > a {
    grid-column: 2;
    grid-row: 3 / span 2;
    margin-top: 0;
    padding-top: 18px;
  }

  .reviews-summary-editor {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .review-slide.is-active {
    width: calc(100% + 28px);
    margin-left: -14px;
  }

  .process-editor > ol {
    margin-top: 48px;
  }
}

/* Category page WYSIWYG blocks. */
.category-hero-editor {
  display: flex;
  flex-direction: column;
}

.category-hero-editor > p:first-child {
  order: 1;
  align-self: flex-start;
}

.category-hero-editor > h1 {
  order: 2;
}

.category-hero-editor > h1 + p {
  order: 3;
}

.category-hero-editor > .hero-actions {
  order: 4;
}

.category-hero-editor > .cta-note {
  order: 5;
}

.category-hero-editor > ul {
  order: 6;
}

.category-hero-editor > p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-xs);
}

.category-hero-editor > p:first-child::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33d11b;
  content: "";
  animation: pulse 2s infinite;
}

.category-hero-editor > h1 {
  margin-bottom: 20px;
  color: var(--white);
}

.category-hero-editor > h1 + p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.7;
}

.category-hero-editor > ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.category-hero-editor > ul strong,
.category-hero-editor > ul small {
  display: block;
}

.category-hero-editor > ul strong {
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
}

.category-hero-editor > ul small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.category-card-editor > p:first-child:not(:last-child) {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-card-editor > h3 {
  margin-top: 0;
}

.category-detail-editor > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-detail-editor > h2 {
  margin: 0 0 16px;
}

.category-detail-editor > h2 + p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.category-detail-editor > ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.category-detail-editor > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.category-detail-editor > ul > li::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  content: "";
}

.category-form-editor > ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  list-style: none;
}

.category-form-editor > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.category-form-editor > ul > li::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
  content: "";
}

/* Product detail WYSIWYG blocks: layout stays in the template, typography follows semantic children. */
.product-hero-editor > h1 {
  margin-bottom: 16px;
}

.product-hero-editor > h1 + p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.product-hero-editor > ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.product-hero-editor > ul > li {
  position: relative;
  padding-left: 30px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.product-hero-editor > ul > li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  content: "";
}

.product-hero-media-editor > p {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  margin: 0;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-section-editor > p:first-child {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-section-editor > h2 {
  margin: 0 0 16px;
}

.product-section-editor > h2 + p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.benefit-section .product-section-editor > h2 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.product-benefit-editor > p:first-child {
  min-height: 1.6em;
  margin: 0 0 34px;
  color: var(--primary);
  font-size: 0.78rem;
  line-height: 1.6;
}

.product-benefit-editor > p:first-child strong {
  color: inherit;
  font-size: inherit;
  font-weight: 800;
}

.product-benefit-editor > h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.product-benefit-editor > h3 + p,
.product-card-editor > h3 + p,
.product-card-editor > p {
  margin: 0;
}

.product-card-editor > h3 {
  margin: 0 0 8px;
}

.solution-card--compact figcaption.product-card-editor {
  min-height: 320px;
  padding: 24px;
}

.spec-row.product-parameter-editor {
  display: block;
}

.product-parameter-editor > p {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  width: 100%;
  margin: 0;
}

.product-parameter-editor > p > strong {
  padding-right: 24px;
}

.product-form-editor > h2 {
  margin-top: 0;
}

.product-form-editor > ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 0;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  list-style: none;
}

.product-form-editor > ul > li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.product-form-editor > ul > li::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 18px;
  height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
  content: "";
}

.product-form-editor > ul > li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.3 8.7 15.3 2.7a1 1 0 0 0-1.4 0L2.7 13.9a1 1 0 0 0 0 1.4l6 6a1 1 0 0 0 1.4 0l11.2-11.2a1 1 0 0 0 0-1.4z'/%3E%3Cpath d='m7.5 10.5 2 2M10.5 7.5l2 2M13.5 4.5l2 2M4.5 13.5l2 2'/%3E%3C/svg%3E");
}

.product-form-editor > ul > li:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}

.product-form-editor > ul > li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

.service-form-reassurance > p {
  margin: 0;
}

.proof-strip.product-proof-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

.product-proof-editor > ul {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-proof-editor > ul > li {
  display: block;
  padding: 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-base);
  background: var(--gray-50);
}

@media (min-width: 680px) {
  .product-proof-editor > ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .proof-strip.product-proof-editor {
    grid-template-columns: 0.5fr 1.5fr;
  }
}

.product-proof-editor strong {
  display: block;
}

.product-advice-editor > ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  list-style: none;
}

.product-appearance-editor > ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.product-advice-editor > ul > li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.55;
}

.product-advice-editor > ul > li::before {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  content: "";
}

.product-appearance-editor > p:first-child {
  position: relative;
  top: 2px;
  display: block;
  max-width: 700px;
  margin: 0 auto 14px;
  text-align: center;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-appearance-editor > h2 {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
}

.product-appearance-editor > h2 + p {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.product-appearance-editor > h3 {
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.product-appearance-editor > ul + h3 {
  margin-top: 40px;
}

.product-appearance-editor > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(124px, 1fr));
  gap: 16px;
  min-height: 128px;
}

.product-appearance-editor > ul > li {
  min-height: 128px;
  padding: 0;
}

.product-appearance-editor > ul strong,
.product-appearance-editor > ul span {
  display: block;
}

.product-appearance-editor > ul strong {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.product-appearance-editor > ul span {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.product-appearance-editor > ul > li::before {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-base);
  background: var(--gray-200);
  box-shadow: var(--shadow-xs);
  content: "";
}

.product-appearance-editor > h3:first-of-type + ul > li:nth-child(1)::before { background: #383e42; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(2)::before { background: #0e0e10; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(3)::before { background: #87888a; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(4)::before { background: #44352a; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(5)::before { background: #0f4336; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(6)::before { background: #6b1c23; }
.product-appearance-editor > h3:first-of-type + ul > li:nth-child(7)::before { background: #f3f4ef; }

.product-appearance-editor > h3:first-of-type + ul > li:nth-child(8)::before {
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-default);
  background: var(--white);
  color: var(--text-secondary);
  content: "+200";
  font-size: 0.9375rem;
  font-weight: 600;
}

.product-appearance-editor > h3:nth-of-type(2) + ul > li:nth-child(1)::before {
  background: linear-gradient(110deg, #a66a2e 0%, #c8893c 45%, #9c6128 100%);
}

.product-appearance-editor > h3:nth-of-type(2) + ul > li:nth-child(2)::before {
  background: linear-gradient(110deg, #5d3f27 0%, #6b4a2f 50%, #4a3017 100%);
}

.product-appearance-editor > h3:nth-of-type(2) + ul > li:nth-child(3)::before {
  background: linear-gradient(110deg, #8a5a33 0%, #a97648 50%, #7c4e29 100%);
}

.product-appearance-editor > p:last-child {
  margin: 32px 0 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.navbar6-toggle-cb:checked ~ .mobile-sticky-cta,
.navbar6-toggle-cb:checked ~ .callback-widget {
  display: none;
}

.compare-note > p {
  margin: 0;
}

.product-feature-editor > h3,
.product-feature-editor > strong {
  display: block;
  margin: 0 0 8px;
}

.product-feature-editor > h3 {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.product-process-editor > p:first-child {
  position: relative;
  z-index: 1;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 12px 26px -16px rgba(196, 0, 24, 0.45);
  grid-row: 1 / span 2;
  margin: 0;
}

.process-step.product-process-editor {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 0 24px;
}

.product-process-editor > h3 {
  grid-column: 2;
  margin: 10px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.product-process-editor > p:last-child {
  grid-column: 2;
  max-width: 46ch;
  margin: 0 0 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (min-width: 900px) {
  .process-step.product-process-editor {
    display: flex;
    gap: 0;
  }

  .product-process-editor > p:first-child {
    margin-bottom: 22px;
  }

  .product-process-editor > h3 {
    margin: 0 0 8px;
  }

  .product-process-editor > p:last-child {
    max-width: 30ch;
  }
}

.product-realization-editor > strong,
.product-realization-editor > small {
  display: block;
}

.realization-card:not(.realization-card--more) .product-realization-editor > p {
  margin: 0;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 680px) {
  .realization-card:not(.realization-card--more) .product-realization-editor > p {
    font-size: 1.1rem;
  }
}

.product-review-summary-editor > h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.18rem;
  line-height: 1.3;
}

.product-review-summary-editor {
  display: contents;
}

.product-review-summary-editor > h3 {
  order: 1;
}

.reviews-rating-card > .reviews-rating-main {
  order: 2;
}

.product-review-summary-editor > p {
  order: 3;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.reviews-rating-card > .reviews-rating-source {
  order: 4;
}

.product-review-editor > p + p strong,
.product-review-editor > p + p span {
  display: block;
}

.product-review-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  column-gap: 16px;
}

.product-review-editor > .review-slide-stars,
.product-review-editor > p:first-of-type {
  grid-column: 1 / -1;
}

.product-review-editor > p:nth-of-type(2) {
  grid-column: 1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.45;
}

.product-review-editor > p:nth-of-type(2) > span {
  color: var(--text-tertiary);
  font-size: 0.84rem;
}

.product-review-editor > a {
  grid-column: 2;
  align-self: stretch;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.realization-header .product-section-editor > p:first-child {
  line-height: 1.6;
}

.realization-header .product-section-editor > h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

.realization-header .product-section-editor > h2 + p {
  font-size: 1.04rem;
  line-height: 1.65;
}

.reviews-rating-card .reviews-stars {
  line-height: 1;
}

.reviews-rating-card .reviews-rating-count {
  white-space: nowrap;
}

.reviews-rating-card > .reviews-rating-source {
  margin-bottom: 16px;
}

.product-consultation-editor > .consultation-cta-phone::before {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: var(--radius-base);
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / 22px no-repeat;
  content: "";
}

.product-consultation-editor > .consultation-cta-phone {
  vertical-align: top;
}

@media (max-width: 560px) {
  .product-consultation-editor > .consultation-cta-phone::before {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

@media (min-width: 901px) {
  .product-consultation-editor > h2 {
    max-width: 620px;
  }
}

.product-coverage-editor > p:first-child {
  display: inline-block;
  max-width: none;
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .product-parameter-editor > p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .category-hero-editor > ul {
    grid-template-columns: 1fr;
  }
}

/* UX/CRO: Realization card action label */
.realization-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.82;
  transition: var(--transition);
}
.realization-card:hover .realization-card-action {
  opacity: 1;
  color: var(--primary-light);
}

/* UX/CRO: Mobile Sticky CTA Bar styling */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 9999;
  border-top: 1px solid var(--border-light);
}

@media (min-width: 900px) {
  .mobile-sticky-cta {
    display: none;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 62px !important;
  }
}

.mobile-sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-sticky-cta-btn--phone {
  background: var(--gray-50);
  color: var(--text-primary);
}

.mobile-sticky-cta-btn--phone:hover {
  background: var(--gray-100);
}

.mobile-sticky-cta-btn--phone svg {
  color: #4CAF50; /* Success green for calls */
}

.mobile-sticky-cta-btn--poptavka {
  background: var(--primary);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mobile-sticky-cta-btn--poptavka:hover {
  background: var(--primary-dark);
}



/* UX/CRO: Clickable Google Reviews hero badge styling */
.hero-google-trust-link {
  transition: var(--transition);
}
.hero-google-trust-link:hover {
  color: var(--primary) !important;
}
.hero-google-trust-link:hover .stars-rating {
  transform: scale(1.05);
}

/* Color Swatch Selected Info style */
.swatch-selected-info {
  margin-top: -8px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.swatch-selected-info strong {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

.product-appearance-editor > ul > li {
  cursor: pointer;
}

.product-appearance-editor > ul > li.is-active::before {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Product-specific palettes stay outside the editor's basic WYSIWYG markup. */
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(1)::before,
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(1)::before,
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(1)::before { background: #383e42; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(2)::before,
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(2)::before,
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(2)::before { background: #87888a; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(3)::before { background: #a5a6a8; }
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(3)::before { background: #5d5e60; }
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(3)::before { background: #a5a8a9; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(4)::before,
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(4)::before,
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(4)::before { background: #f3f4ef; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(5)::before { background: #0e0e10; }
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(5)::before { background: #d2c9b1; }
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(5)::before { background: #d2c3b0; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(6)::before { background: #d1d2d4; }
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(6)::before { background: #434750; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(7)::before { background: #44352a; }
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(7)::before { background: #7c5f49; }
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(8)::before { background: #e6dec9; }

.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(9)::before,
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(6)::before,
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(8)::before {
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-default);
  background: var(--white);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}
.product-appearance-editor--c80 > ul:first-of-type > li:nth-child(9)::before,
.product-appearance-editor--f80 > ul:first-of-type > li:nth-child(6)::before { content: "+200"; }
.product-appearance-editor--z90 > ul:first-of-type > li:nth-child(8)::before { content: "+20"; }

/* Active Swatch Styling */
.swatch {
  cursor: pointer;
  transition: var(--transition);
}

.swatch-chip {
  transition: transform 0.2s ease, outline 0.2s ease, box-shadow 0.2s ease;
}

.swatch:hover .swatch-chip {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.swatch.is-active .swatch-chip {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  transform: translateY(-2px) scale(0.98);
}

/* Multi-step Form Flow */
.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Progress Bar */
.form-progress-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 36px;
  padding: 0 10px;
}

.form-progress-bar::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--gray-200);
  z-index: 1;
}

.form-progress-line {
  position: absolute;
  top: 18px;
  left: 30px;
  height: 3px;
  background: var(--primary);
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.form-progress-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  text-align: center;
}

.form-progress-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 3px solid var(--gray-200);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-progress-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: var(--transition);
}

/* Progress States */
.form-progress-step.is-active .form-progress-circle {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 0, 24, 0.1);
}

.form-progress-step.is-active .form-progress-label {
  color: var(--primary);
}

.form-progress-step.is-completed .form-progress-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.form-progress-step.is-completed .form-progress-label {
  color: var(--text-primary);
}

/* Control Buttons */
.form-steps-controls {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
}

.form-steps-controls .btn {
  flex: 1;
}

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

/* CRO/UX: Visual Select Cards styling */
.service-form-row--split-full {
  grid-template-columns: 1fr !important;
}

.service-form-group--fullwidth {
  grid-column: 1 / -1;
}

.visual-select-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  width: 100%;
}

.visual-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  background: var(--white);
  border: 1px solid var(--border-default);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.visual-select-card:hover {
  border-color: var(--text-secondary);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.visual-select-card.is-active {
  border-color: var(--primary);
  background: rgba(196, 0, 24, 0.06);
  box-shadow: 0 0 0 1px var(--primary);
}

.visual-select-icon {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.visual-select-icon svg {
  width: 32px;
  height: 32px;
}

.visual-select-card:hover .visual-select-icon {
  color: var(--text-primary);
  transform: scale(1.05);
}

.visual-select-card.is-active .visual-select-icon {
  color: var(--primary);
}

.visual-select-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.visual-select-card.is-active .visual-select-label {
  color: var(--primary);
}

/* CRO/UX: Before & After slider styles */
.before-after-section {
  background: var(--bg-light);
  padding: 60px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.before-after-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #eee;
  user-select: none;
}

.before-after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

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

.before-after-after {
  z-index: 1;
  clip-path: inset(0 0 0 50%); /* Start at 50% */
}

/* Tags */
.before-after-tag {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.tag-before {
  left: 16px;
}

.tag-after {
  right: 16px;
}

/* Handle line */
.before-after-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* Start at 50% */
  width: 0;
  z-index: 2;
  pointer-events: none;
  transform: translateX(-50%);
}

.before-after-handle-line {
  width: 3px;
  height: 100%;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.before-after-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.before-after-handle-button svg {
  width: 20px;
  height: 20px;
}

/* Invisible range input for slider control */
.before-after-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  margin: 0;
  padding: 0;
}

/* Webkit browser styling for range to fill whole slider height */
.before-after-range-input::-webkit-slider-runnable-track {
  height: 100%;
}

.before-after-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 44px;
  height: 100%;
}

/* CRO/UX: Floating Callback Widget styles */
.callback-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  font-family: inherit;
}

/* Posunout nad spodní fixní lištu .mobile-sticky-cta (z-index 9999, výška 62px),
   která se zobrazuje na telefonech i tabletech (≤899px). Rezerva 16px. */
@media (max-width: 899px) {
  .callback-widget {
    bottom: calc(62px + 16px);
  }
}

.callback-bubble {
  position: relative;
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.callback-bubble:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.callback-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: visible;
}

.callback-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.callback-status-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: callback-pulse 2s infinite;
}

@keyframes callback-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Tooltip */
.callback-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  width: 220px;
  padding: 10px 14px;
  background: rgba(26, 26, 26, 0.95);
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.callback-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(26, 26, 26, 0.95);
}

.callback-tooltip.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.callback-tooltip-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.callback-tooltip-text {
  font-size: 0.75rem;
  color: #ccc;
  line-height: 1.3;
}

/* Popup Window */
.callback-popup {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 320px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.callback-widget.is-open .callback-popup {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.callback-widget.is-open .callback-bubble {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.callback-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.callback-close:hover {
  color: var(--text-primary);
}

.callback-popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.callback-popup-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
}

.callback-popup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callback-popup-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.callback-popup-status {
  display: block;
  font-size: 0.75rem;
  color: #22c55e;
  font-weight: 600;
}

.callback-popup-form {
  padding: 16px;
}

.callback-popup-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.4;
}

.callback-input-group {
  margin-bottom: 12px;
}

.callback-tel-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font-size: 0.875rem;
  outline: none;
}

.callback-tel-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(196, 0, 24, 0.08);
}

.callback-form-error {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.callback-submit-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  justify-content: center;
}

/* Success screen */
.callback-popup-success {
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.callback-popup-success svg {
  color: #22c55e;
}

.success-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.success-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* CRO/UX: Exit-Intent Modal styles */
.exit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exit-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.exit-modal-container {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  overflow: hidden;
  animation: exitModalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes exitModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.exit-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 300;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  z-index: 10002;
  transition: color 0.2s ease;
}

.exit-modal-close:hover {
  color: var(--text-primary);
}

.exit-modal-content {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.exit-modal-image-col {
  width: 42%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--border-light);
}

.exit-modal-image-col img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.exit-modal-form-col {
  width: 58%;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exit-modal-badge {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(196, 0, 24, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.exit-modal-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
  margin-top: 0;
}

.exit-modal-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.exit-modal-input-group {
  margin-bottom: 12px;
}

.exit-modal-email-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.exit-modal-email-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(196, 0, 24, 0.08);
}

.exit-modal-submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  justify-content: center;
  margin-bottom: 10px;
}

.exit-modal-privacy {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  text-align: center;
}

/* Success screen */
.exit-modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 0;
  gap: 12px;
}

.exit-modal-success svg {
  color: #22c55e;
}

.exit-modal-success .success-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
}

.exit-modal-success .success-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 640px) {
  .exit-modal-content {
    flex-direction: column;
  }
  .exit-modal-image-col {
    width: 100%;
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .exit-modal-image-col img {
    max-height: 150px;
  }
  .exit-modal-form-col {
    width: 100%;
    padding: 24px;
  }
}

.btn-toggle-attachments:hover {
  color: #a30014 !important; /* Slightly darker shade of primary #C40018 */
}
.btn-toggle-attachments:hover svg {
  color: #a30014 !important;
}

/* Pole formulářů generovaná VEXE CMS. */
.service-form-group > label {
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.service-form-group > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.service-form-group > select,
.service-form-group > textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: var(--transition);
}

.service-form-group > textarea {
  min-height: 120px;
  resize: vertical;
}

.service-form-group > input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  line-height: normal;
}

.category-realization-section {
  padding-bottom: 38px;
}

@media (min-width: 1024px) {
  .category-realization-section {
    padding-bottom: 70px;
  }
}

.service-form-group > input:focus,
.service-form-group > select:focus,
.service-form-group > textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 0, 24, 0.12);
}

.service-form-group .errorlist {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--primary);
  font-size: 0.8125rem;
}

/* Semantic BlockHTML content follows the original form typography. */
.service-form-consent > p {
  margin: 0;
}

.vx-dropzone.service-dropzone {
  min-height: 150px;
}

.hero--bg-form-group--full,
.hero--bg-form-attachment-toggle,
.hero--bg-form-attachments-collapsible {
  grid-column: 1 / -1;
}

.hero--bg-form-attachment-toggle {
  margin-top: -8px;
  margin-bottom: 16px;
}

.btn-toggle-attachments {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--primary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.btn-toggle-attachments svg {
  transition: transform 0.3s var(--transition-bounce);
}

.hero--bg-form-attachments-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease-out;
}

.hero--bg-form-attachments-collapsible .hero--bg-form-group {
  padding-top: 4px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  body .inspirace-gallery-cta > p:last-child > a {
    border: 0;
  }

  .gallery-section + .cta-section .product-consultation-editor > .consultation-cta-phone::before {
    display: none;
  }
}

/* Stavebni pripravenost */
.technical-readiness-page {
  background: var(--gray-50);
}

.technical-readiness-page .technical-portal-intro {
  max-width: 860px;
  margin-bottom: 42px;
}

.prep-tabs-wrapper {
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.prep-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(185px, 1fr));
  min-width: 780px;
  padding: 5px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.prep-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.prep-tab-btn::before {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 0;
  background: currentColor;
  content: "";
  mask: center / contain no-repeat;
}

.prep-tab-btn[data-tab="gates"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h18v18H3V3Zm2 2v14h3V5H5Zm5 0v14h4V5h-4Zm6 0v14h3V5h-3Z'/%3E%3C/svg%3E");
}

.prep-tab-btn[data-tab="doors"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h16v18H4V3Zm2 2v3h12V5H6Zm0 5v3h12v-3H6Zm0 5v4h12v-4H6Z'/%3E%3C/svg%3E");
}

.prep-tab-btn[data-tab="shading"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h18v18H3V3Zm2 2v3h14V5H5Zm0 5v3h14v-3H5Zm0 5v4h4v-4H5Zm6 0v4h8v-4h-8Z'/%3E%3C/svg%3E");
}

.prep-tab-btn[data-tab="pergolas"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 3h18v3H3V3Zm1 5h16v2H4V8Zm0 4h16v2H4v-2Zm1 4h2v5H5v-5Zm12 0h2v5h-2v-5Z'/%3E%3C/svg%3E");
}

.prep-tab-btn:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.prep-tab-btn:focus-visible {
  outline: 3px solid rgba(196, 0, 24, 0.2);
  outline-offset: 1px;
}

.prep-tab-btn.is-active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 5px 16px rgba(196, 0, 24, 0.2);
}

.prep-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.prep-main-content,
.prep-content-section {
  min-width: 0;
}

.prep-content-section {
  display: none;
}

.prep-content-section.is-active {
  display: block;
  animation: readiness-section-in 0.22s ease-out;
}

@keyframes readiness-section-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.prep-card {
  padding: clamp(24px, 3.5vw, 38px);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.prep-card-content > h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.2;
}

.prep-card-content > h2::before {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin: 3px 0 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c40018' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L3 18v3h3l6.7-6.7a4 4 0 0 0 5-5l-2.4 2.4-3-3 2.4-2.4Z'/%3E%3C/svg%3E");
  content: "";
}

.prep-card-content > p {
  max-width: 820px;
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.prep-card > h3 {
  margin: 28px 0 14px;
  color: var(--text-primary);
  font-size: 1.125rem;
  line-height: 1.35;
}

.mock-diagram {
  margin: 4px 0 30px;
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--gray-50);
}

.mock-diagram > h3 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.mock-diagram-box {
  position: relative;
  min-height: 160px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

#prep-gates .mock-diagram-box,
#prep-doors .mock-diagram-box {
  height: auto;
  min-height: 160px;
}

.mock-diagram-box > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
  min-height: 114px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-diagram-box > ul > li {
  padding: 9px 11px;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.tech-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list-item {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.tech-list-item::before {
  position: absolute;
  top: 0.42em;
  left: 1px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  content: "";
}

.tech-list-item::after {
  position: absolute;
  top: 0.72em;
  left: 5px;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  content: "";
  transform: rotate(-45deg);
}

.tech-list-item > p {
  display: inline;
  margin: 0;
}

.wiring-box {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid #cbd5dc;
  border-left: 4px solid #23845b;
  border-radius: 8px;
  background: #f2f8f5;
}

.wiring-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #dcefe5;
  color: #17603f;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.3;
  text-transform: uppercase;
}

.wiring-box > h4 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.4;
}

.wiring-box > ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wiring-box > ul > li {
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.wiring-box > ul > li::before {
  position: absolute;
  top: 0.62em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #23845b;
  content: "";
}

.tech-downloads {
  margin-top: 24px;
}

.tech-downloads-title {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.tech-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
}

.tech-download-info {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.tech-download-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: #fbe8eb;
  color: var(--primary);
}

.tech-download-name {
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}

.tech-download-meta,
.tech-download-meta > p {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.download-card-btn {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
}

.download-card-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.prep-sidebar {
  min-width: 0;
}

.checklist-widget {
  padding: 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.checklist-headline {
  margin: 0 0 7px;
  color: var(--text-primary);
  font-size: 1.25rem;
  line-height: 1.3;
}

.checklist-header > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.checklist-progress {
  height: 7px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-200);
}

.checklist-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.checklist-widget.is-complete .checklist-progress-bar {
  background: #23845b;
}

.checklist-progress-label {
  margin: 7px 0 14px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 650;
  text-align: right;
}

#checklist-items-container {
  display: grid;
  gap: 8px;
}

.checklist-item-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--gray-50);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.checklist-item-row:hover {
  border-color: var(--border-default);
  background: var(--white);
}

.checklist-item-row:focus-visible {
  outline: 3px solid rgba(196, 0, 24, 0.18);
}

.checklist-cb {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid var(--border-default);
  border-radius: 4px;
  background: var(--white);
}

.checklist-item-row.is-checked {
  color: var(--text-primary);
}

.checklist-item-row.is-checked .checklist-cb {
  border-color: #23845b;
  background: #23845b;
}

.checklist-item-row.is-checked .checklist-cb::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  content: "";
  transform: rotate(-45deg);
}

.checklist-alert {
  margin-top: 16px;
  padding: 12px 13px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.5;
}

.checklist-alert--warning {
  border: 1px solid #eed89b;
  background: #fff9e8;
  color: #6e5716;
}

.checklist-alert--success {
  border: 1px solid #b9ddc9;
  background: #eef8f2;
  color: #175b3d;
}

.checklist-submit-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  padding-inline: 14px;
  justify-content: center;
  white-space: normal;
}

.report-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  overflow-y: auto;
  background: rgba(17, 24, 39, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.report-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.report-modal-content {
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  padding: 26px;
  overflow-y: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.28);
  transform: translateY(10px);
  transition: transform 0.2s ease;
}

.report-modal.is-open .report-modal-content {
  transform: translateY(0);
}

.report-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.report-modal-header > h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.35rem;
  line-height: 1.3;
}

.report-modal-close {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.report-modal-close:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}

.report-modal-content > .service-form-intro {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.report-form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.report-form-group > label {
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 650;
}

.report-form-group > input,
.report-form-group > select,
.report-form-group > textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}

.report-form-group > input:focus,
.report-form-group > select:focus,
.report-form-group > textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 0, 24, 0.1);
}

.report-form-group .errorlist {
  margin: 0;
  padding: 0;
  color: var(--primary);
  font-size: 0.75rem;
  list-style: none;
}

.report-form-submit {
  width: 100%;
  margin-top: 6px;
  justify-content: center;
}

body.has-readiness-modal {
  overflow: hidden;
}

@media (min-width: 1080px) {
  .prep-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
  }

  .prep-sidebar {
    position: sticky;
    top: 20px;
  }
}

@media (max-width: 760px) {
  .technical-readiness-page .technical-portal-intro {
    margin-bottom: 28px;
  }

  .prep-tabs {
    grid-template-columns: repeat(4, 170px);
    min-width: max-content;
  }

  .prep-tab-btn {
    justify-content: flex-start;
  }

  .prep-card {
    padding: 22px 18px;
  }

  .prep-card-content > h2 {
    font-size: 1.5rem;
  }

  .mock-diagram {
    padding: 14px;
  }

  .mock-diagram-box {
    min-height: 0;
    padding: 14px;
  }

  .mock-diagram-box > ul {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tech-download-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-card-btn {
    width: 100%;
    text-align: center;
  }

  .checklist-widget {
    padding: 20px 16px;
  }

  .report-modal {
    padding: 12px;
  }

  .report-modal-content {
    max-height: calc(100vh - 24px);
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .prep-content-section.is-active,
  .report-modal,
  .report-modal-content {
    animation: none;
    transition: none;
  }
}

/* Pravni dokumenty */
.legal-page {
  background: var(--gray-50);
}

.legal-hero {
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-top: clamp(54px, 7vw, 82px);
  padding-bottom: clamp(52px, 7vw, 78px);
}

.legal-hero-mark {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid #f0c8ce;
  border-radius: 8px;
  background: #fff5f6;
  color: var(--primary);
}

.legal-hero-mark::before {
  width: 34px;
  height: 34px;
  background: currentColor;
  content: "";
  mask: center / contain no-repeat;
}

.legal-page--privacy .legal-hero-mark::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5.4 3.4 9.7 8 11 4.6-1.3 8-5.6 8-11V5l-8-3Zm0 2.2L18 6.5V11c0 4.2-2.5 7.7-6 8.9-3.5-1.2-6-4.7-6-8.9V6.5l6-2.3Zm0 3.3a3 3 0 0 0-3 3V12H8v5h8v-5h-1v-1.5a3 3 0 0 0-3-3Zm0 2a1 1 0 0 1 1 1V12h-2v-1.5a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

.legal-page--terms .legal-hero-mark::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h9l5 5v15H6V2Zm2 2v16h10V8h-4V4H8Zm8 .8V6h1.2L16 4.8ZM10 10h6v2h-6v-2Zm0 4h6v2h-6v-2Z'/%3E%3C/svg%3E");
}

.legal-header-editor {
  max-width: 850px;
}

.legal-header-editor > p:first-child {
  margin: 0 0 9px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-header-editor > h1 {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
}

.legal-header-editor > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding-top: clamp(32px, 5vw, 58px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.legal-sidebar {
  display: none;
}

.legal-sidebar-inner {
  border-left: 1px solid var(--border-default);
  padding-left: 20px;
}

.legal-nav-title {
  margin: 0 0 14px;
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-toc {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  position: relative;
  display: block;
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 0.79rem;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.18s ease;
}

.legal-toc a::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -21px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
  content: "";
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--text-primary);
}

.legal-toc a.is-active {
  font-weight: 700;
}

.legal-toc a.is-active::before {
  background: var(--primary);
}

.legal-print-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.legal-print-button:hover {
  color: var(--primary-dark);
}

.legal-sidebar-help {
  display: grid;
  gap: 3px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}

.legal-sidebar-help > strong {
  color: var(--text-primary);
}

.legal-sidebar-help > a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.legal-document {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.legal-reading-progress {
  height: 4px;
  background: var(--gray-200);
}

.legal-reading-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--primary);
  transition: width 0.08s linear;
}

.legal-mobile-navigation {
  display: grid;
  gap: 7px;
  padding: 18px 18px 0;
}

.legal-mobile-navigation > label {
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-mobile-navigation > select {
  width: 100%;
  min-height: 44px;
  padding: 9px 38px 9px 12px;
  border: 1px solid var(--border-default);
  border-radius: 6px;
  background-color: var(--white);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.875rem;
}

.legal-content-editor {
  max-width: none;
  padding: clamp(26px, 5vw, 56px);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.78;
}

.legal-content-editor > h2,
.legal-content-editor > h3 {
  scroll-margin-top: calc(var(--navbar6-height, 60px) + 24px);
}

.legal-content-editor > h3 {
  position: relative;
  margin: 0;
  padding: 34px 0 14px;
  border-top: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 750;
  line-height: 1.3;
}

.legal-content-editor > h3:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-content-editor > h3::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 52px;
  height: 2px;
  background: var(--primary);
  content: "";
}

.legal-content-editor > h3:first-child::before {
  display: none;
}

.legal-content-editor > p {
  margin: 0 0 20px;
  color: var(--text-secondary);
}

.legal-content-editor > p + h3,
.legal-content-editor > ol + h3,
.legal-content-editor > ul + h3 {
  margin-top: 30px;
}

.legal-content-editor > ol,
.legal-content-editor > ul {
  display: grid;
  gap: 9px;
  margin: 4px 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: legal-list;
}

.legal-content-editor > ol > li,
.legal-content-editor > ul > li {
  position: relative;
  min-height: 34px;
  margin: 0;
  padding: 6px 0 6px 42px;
  color: var(--text-secondary);
  line-height: 1.6;
  counter-increment: legal-list;
}

.legal-content-editor > ol > li::before,
.legal-content-editor > ul > li::before {
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #efc8ce;
  border-radius: 50%;
  background: #fff7f8;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 750;
  content: counter(legal-list);
}

.legal-content-editor a {
  color: var(--primary);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(196, 0, 24, 0.3);
  text-underline-offset: 3px;
}

.legal-content-editor a:hover {
  text-decoration-color: currentColor;
}

.legal-content-editor strong {
  color: var(--text-primary);
}

.legal-document-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 clamp(26px, 5vw, 56px);
  padding: 28px 0 34px;
  border-top: 1px solid var(--border-light);
}

.legal-document-footer > div:first-child {
  display: grid;
  gap: 3px;
}

.legal-document-footer strong {
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.legal-document-footer span {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.legal-document-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
}

.legal-document-contacts > a {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .legal-layout {
    grid-template-columns: 230px minmax(0, 820px);
    justify-content: center;
    gap: 44px;
  }

  .legal-sidebar {
    display: block;
    position: sticky;
    top: calc(var(--navbar6-height, 120px) + 24px);
    align-self: start;
    transition: top 0.28s ease;
  }

  .legal-sidebar-inner {
    position: static;
  }

  .legal-mobile-navigation {
    display: none;
  }
}

@media (min-width: 992px) {
  .navbar6.navbar6--hidden ~ * .legal-sidebar {
    top: 24px;
  }
}

@media (max-width: 640px) {
  .legal-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .legal-hero-mark {
    display: none;
  }

  .legal-header-editor > h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  .legal-content-editor {
    padding: 30px 20px;
    font-size: 0.96rem;
  }

  .legal-content-editor > h3 {
    padding-top: 28px;
  }

  .legal-document-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-inline: 20px;
  }

  .legal-document-contacts {
    justify-content: flex-start;
  }
}

@media print {
  .navbar6,
  .footer4,
  .callback-widget,
  .mobile-sticky-cta,
  .legal-sidebar,
  .legal-mobile-navigation,
  .legal-reading-progress,
  .legal-document-footer {
    display: none !important;
  }

  .legal-page,
  .legal-hero {
    background: var(--white);
  }

  .legal-hero-inner,
  .legal-layout {
    display: block;
    padding: 0;
  }

  .legal-hero-mark {
    display: none;
  }

  .legal-header-editor {
    margin-bottom: 30px;
  }

  .legal-document {
    border: 0;
    box-shadow: none;
  }

  .legal-content-editor {
    padding: 0;
    color: #111;
    font-size: 10pt;
  }

  .legal-content-editor > h3 {
    break-after: avoid;
  }

  .legal-content-editor > p,
  .legal-content-editor > ol,
  .legal-content-editor > ul {
    break-inside: avoid;
  }
}

/* Media center */
.media-page {
  background: var(--white);
}

.media-hero {
  position: relative;
  display: grid;
  min-height: clamp(470px, 58vh, 590px);
  align-items: end;
  overflow: hidden;
  background: var(--gray-900) center 54% / cover no-repeat var(--media-hero-image, url("/public/img/hero-brana.jpg?v=20260724-media1"));
  isolation: isolate;
}

.media-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 14, 22, 0.9) 0%, rgba(10, 14, 22, 0.72) 47%, rgba(10, 14, 22, 0.18) 78%),
    linear-gradient(0deg, rgba(10, 14, 22, 0.56) 0%, rgba(10, 14, 22, 0) 55%);
  content: "";
}

.media-hero-inner {
  width: 100%;
  padding-top: 86px;
  padding-bottom: 76px;
}

.media-hero-editor {
  max-width: 820px;
}

.media-hero-editor > p:first-child,
.media-section-heading > p:first-child,
.media-profile-editor > p:first-child,
.media-contact-panel > p:first-child {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.media-hero-editor > h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: var(--white);
  font-size: 5.25rem;
  font-weight: 800;
  line-height: 1.02;
}

.media-hero-editor > p:last-child {
  max-width: 710px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.7;
}

.media-facts {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--gray-900);
}

.media-facts-editor > ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.media-facts-editor > ul > li {
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 5px;
  padding: 26px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.media-facts-editor > ul > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.media-facts-editor strong {
  color: var(--white);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.1;
}

.media-facts-editor span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.media-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.media-profile-editor {
  max-width: 790px;
}

.media-profile-editor > h2,
.media-section-heading > h2,
.media-topics-editor > h2,
.media-contact-panel > h2 {
  margin: 0 0 20px;
  color: var(--text-primary);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
}

.media-profile-editor > p:not(:first-child) {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.media-profile-editor > blockquote {
  position: relative;
  margin: 34px 0 0;
  padding: 26px 28px 26px 32px;
  border-left: 4px solid var(--primary);
  background: var(--gray-50);
  color: var(--text-primary);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}

.media-usage-editor {
  padding: 28px 0 0 26px;
  border-left: 1px solid var(--border-default);
}

.media-usage-editor > h3 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 750;
}

.media-usage-editor > p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.media-usage-editor > p:last-child {
  margin-bottom: 0;
}

.media-library-section {
  border-top: 1px solid var(--border-light);
  background: var(--gray-50);
}

.media-section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.media-section-heading > p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
}

.media-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.media-download-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
  min-height: 286px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.media-download-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.media-download-preview {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--gray-200);
  place-items: center;
}

.media-download-preview > img {
  width: 100%;
  height: 100%;
  min-height: 286px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.media-download-preview--logo {
  padding: 28px;
  background:
    linear-gradient(45deg, var(--gray-100) 25%, transparent 25%),
    linear-gradient(-45deg, var(--gray-100) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--gray-100) 75%),
    linear-gradient(-45deg, transparent 75%, var(--gray-100) 75%),
    var(--white);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
}

.media-download-preview--logo > img {
  width: min(190px, 90%);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.media-download-card:hover .media-download-preview:not(.media-download-preview--logo) > img {
  transform: scale(1.025);
}

.media-download-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.media-download-editor > h3 {
  margin: 0 0 9px;
  color: var(--text-primary);
  font-size: 1.25rem;
}

.media-download-editor > p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.media-download-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 750;
  text-decoration: none;
}

.media-download-action:hover {
  color: var(--primary-dark);
}

.media-topics-section {
  background: var(--gray-900);
}

.media-topics-editor > h2 {
  max-width: 740px;
  color: var(--white);
}

.media-topics-editor > h2 + p {
  max-width: 720px;
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
}

.media-topics-editor > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.media-topics-editor > ul > li {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 150px;
  align-content: center;
  padding: 28px 44px 28px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.media-topics-editor > ul > li:nth-child(even) {
  border-right: 0;
}

.media-topics-editor > ul > li::before {
  position: absolute;
  top: 34px;
  left: 0;
  width: 3px;
  height: 34px;
  background: var(--primary);
  content: "";
}

.media-topics-editor li > strong {
  color: var(--white);
  font-size: 1.05rem;
}

.media-topics-editor li > span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.875rem;
  line-height: 1.6;
}

.media-contact-section {
  background: var(--white);
}

.media-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.85fr);
  column-gap: clamp(46px, 8vw, 100px);
  align-items: center;
}

.media-contact-panel > p:first-child,
.media-contact-panel > h2,
.media-contact-panel > h2 + p {
  grid-column: 1;
}

.media-contact-panel > h2 + p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.media-contact-panel > ul {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-default);
  list-style: none;
}

.media-contact-panel > ul > li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-default);
}

.media-contact-panel li > strong {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.media-contact-panel li > a {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.media-contact-panel li > a:hover {
  color: var(--primary);
}

@media (max-width: 960px) {
  .media-hero-editor > h1 {
    font-size: 4rem;
  }

  .media-profile-editor > h2,
  .media-section-heading > h2,
  .media-topics-editor > h2,
  .media-contact-panel > h2 {
    font-size: 2.5rem;
  }

  .media-facts-editor > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-facts-editor > ul > li:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .media-facts-editor > ul > li:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .media-profile-layout,
  .media-contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-usage-editor {
    max-width: 720px;
    padding-top: 0;
  }

  .media-download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-contact-panel > ul {
    grid-column: 1;
    grid-row: auto;
    margin-top: 38px;
  }
}

@media (max-width: 640px) {
  .media-hero {
    min-height: 520px;
    background-position: 62% center;
  }

  .media-hero::before {
    background: linear-gradient(90deg, rgba(10, 14, 22, 0.92), rgba(10, 14, 22, 0.58));
  }

  .media-hero-inner {
    padding-top: 72px;
    padding-bottom: 56px;
  }

  .media-hero-editor > h1 {
    font-size: 3.1rem;
  }

  .media-profile-editor > h2,
  .media-section-heading > h2,
  .media-topics-editor > h2,
  .media-contact-panel > h2 {
    font-size: 2rem;
  }

  .media-facts-editor > ul > li {
    min-height: 112px;
    padding: 22px 18px;
  }

  .media-facts-editor strong {
    font-size: 1.45rem;
  }

  .media-profile-layout {
    gap: 42px;
  }

  .media-profile-editor > blockquote {
    padding: 22px 20px;
  }

  .media-usage-editor {
    padding-left: 20px;
  }

  .media-download-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-download-preview,
  .media-download-preview > img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .media-download-preview--logo > img {
    min-height: 0;
    aspect-ratio: auto;
  }

  .media-download-body {
    min-height: 220px;
    padding: 24px;
  }

  .media-topics-editor > ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-topics-editor > ul > li {
    min-height: 130px;
    border-right: 0;
  }

  .media-contact-panel > ul > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }
}
