/*
Theme Name:  Metalix
Theme URI:   https://metalix.local.dev
Description: Custom theme for Metalix – Nerezová výroba. Light mode, rotating banner, editable sections.
Author:      Metalix
Version:     2.0.6
Text Domain: metalix
*/

/* ─── Brand Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Surface */
  --color-bg:          #ffffff;
  --color-bg-subtle:   #f5f7f9;
  --color-bg-dark:     #1D1D1B;

  /* Brand */
  --color-accent:      #58B7D0;
  --color-accent-dark: #0B667D;
  --color-secondary:   #515253;
  --color-border:      #e2e7ec;
  --color-cta:         #0B667D;

  /* Text */
  --color-text:        #1D1D1B;
  --color-text-muted:  #6b7280;
  --color-white:       #ffffff;

  /* Type */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;

  /* Shape */
  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Glass — light surface */
  --glass-bg:     rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.07);
  --glass-blur:   blur(14px);

  /* Shadow */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 12px 40px rgba(0, 0, 0, 0.12);

  --transition: 0.25s ease;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--color-cta);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

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

ul { list-style: none; }

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main { flex: 1; }

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Navigation ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0; /* remove inline-block gap */
}

.site-logo__img {
  display: block;
  height: 40px;       /* fits comfortably inside 64px nav */
  width: auto;        /* preserve aspect ratio (333×100 → 133px wide at 40px height) */
  max-width: 160px;
  object-fit: contain;
}

.primary-menu {
  display: flex;
  gap: 0.15rem;
}

.primary-menu a {
  display: block;
  padding: 0.4rem 0.9rem;
  color: var(--color-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--color-cta);
  background: rgba(11, 102, 125, 0.07);
}

/* ─── Rotating Banner ───────────────────────────────────────────────────────── */
.site-banner {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide backgrounds — gradient overlay on top of photograph */
.banner-slide--1 {
  background-color: #1D1D1B;
  background-image:
    linear-gradient(135deg, rgba(13, 13, 11, 0.78) 0%, rgba(11, 102, 125, 0.45) 100%),
    url('assets/images/banner/slide-1.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.banner-slide--2 {
  background-color: #0B667D;
  background-image:
    linear-gradient(135deg, rgba(11, 102, 125, 0.70) 0%, rgba(88, 183, 208, 0.35) 60%, rgba(13, 13, 11, 0.65) 100%),
    url('assets/images/banner/slide-2.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.banner-slide--3 {
  background-color: #1a1a18;
  background-image:
    linear-gradient(135deg, rgba(13, 13, 11, 0.80) 0%, rgba(42, 42, 40, 0.55) 50%, rgba(11, 102, 125, 0.55) 100%),
    url('assets/images/banner/slide-3.webp');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.banner-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--color-white);
}

.banner-title em {
  font-style: normal;
  color: var(--color-accent);
}

.banner-subtitle {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: rgba(189, 196, 202, 0.85);
  max-width: 46ch;
  line-height: 1.7;
}

.banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* Slide counter / progress bar */
.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 10;
}

.banner-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 5s linear;
}

.banner-progress-bar.running {
  width: 100%;
}

/* Arrows */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--transition);
  backdrop-filter: blur(6px);
}

.banner-arrow:hover {
  background: rgba(88, 183, 208, 0.35);
}

.banner-prev { left: 1.5rem; }
.banner-next { right: 1.5rem; }

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
  padding: 0;
}

.banner-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.35);
}

/* ─── Section Base ──────────────────────────────────────────────────────────── */
.section {
  padding-block: 5rem;
}

.section--subtle {
  background: var(--color-bg-subtle);
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.section--dark .section-lead {
  color: rgba(189, 196, 202, 0.8);
}

/* ─── Cards ─────────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(88, 183, 208, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--color-text);
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cta);
}

.card-link::after { content: ' →'; }

/* ─── Intro / About ─────────────────────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.intro-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.intro-text h2 span { color: var(--color-accent); }

.intro-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

/* ─── Feature List ──────────────────────────────────────────────────────────── */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item__icon {
  font-size: 1.75rem;
  line-height: 1;
}

.feature-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.feature-item__text {
  font-size: 0.875rem;
  color: rgba(189, 196, 202, 0.75);
  line-height: 1.7;
}

/* ─── CTA Section ───────────────────────────────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-cta);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--color-cta);
  border: 1.5px solid var(--color-cta);
}

.btn-outline:hover {
  background: var(--color-cta);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-cta);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-cta);
  transform: translateY(-1px);
}

/* ─── Generic Page ──────────────────────────────────────────────────────────── */
.page-header {
  padding-block: 4rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  background: var(--color-accent);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.page-content {
  padding-bottom: 5rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* ─── Contact Page ──────────────────────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #0f2a33 100%);
  padding-block: 4rem 3rem;
}

.contact-hero .section-label { color: var(--color-accent); }

.contact-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-top: 0.5rem;
}

.contact-hero__lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: rgba(189, 196, 202, 0.8);
}

.contact-section { padding-top: 3.5rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 3rem;
  align-items: stretch;
}

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

/* Info column */
.contact-info__heading {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.contact-info__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.contact-info__item a,
.contact-info__item address,
.contact-info__item p {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-info__item a:hover { color: var(--color-cta); }

.contact-map {
  aspect-ratio: 4/3;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-map__placeholder {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-border);
}

/* Contact persons */
.contact-persons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.contact-person {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-person--general {
  background: var(--color-bg-subtle);
  border-color: transparent;
}

.contact-person__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.contact-person__role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.contact-person__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-person__links a {
  font-size: 0.88rem;
  color: var(--color-cta);
  text-decoration: none;
}

.contact-person__links a:hover { text-decoration: underline; }

/* Form card — stretches to match map height */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
}

.contact-form-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

/* Propagate flex down through CF7 wrapper divs */
.contact-form-card > .wpcf7 {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-card .wpcf7-form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.contact-form-card__lead {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* ─── CF7 Form Fields ───────────────────────────────────────────────────────── */
.mxf-fields { display: flex; flex-direction: column; gap: 0; flex: 1; }

/* Textarea row grows to fill remaining height */
.mxf-row--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mxf-field--grow {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mxf-field--grow .wpcf7-form-control-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mxf-field--grow .wpcf7-textarea {
  flex: 1;
}

.mxf-row {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.mxf-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

@media (max-width: 560px) {
  .mxf-row--2col { grid-template-columns: 1fr; }
}

.mxf-field { display: flex; flex-direction: column; gap: 0.4rem; }

.mxf-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.mxf-req { color: var(--color-accent); margin-left: 1px; }

/* Inputs / select / textarea — override CF7 defaults */
.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--color-bg-subtle);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  display: block;
}

.wpcf7-form .wpcf7-form-control:not(.wpcf7-submit):focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(88, 183, 208, 0.15);
  background: var(--color-bg);
}

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

.wpcf7-form .wpcf7-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23515253' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Invalid state */
.wpcf7-form .wpcf7-not-valid {
  border-color: #e05c5c;
  box-shadow: 0 0 0 3px rgba(224, 92, 92, 0.12);
}

.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #e05c5c;
  margin-top: 0.3rem;
  display: block;
}

/* File upload field */
.mxf-hint {
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 400;
}
.wpcf7-file {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
}
.wpcf7-file:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Submit button */
.mxf-submit { margin-top: 0.5rem; }

.wpcf7-form .wpcf7-submit {
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.01em;
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--color-cta);
  transform: translateY(-1px);
}

.wpcf7-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Response message */
.wpcf7-response-output {
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  border: none !important;
}

.wpcf7-mail-sent-ok,
.wpcf7 .wpcf7-response-output.wpcf7-mail-sent-ok {
  background: rgba(88, 183, 208, 0.1);
  color: var(--color-cta);
  border-left: 3px solid var(--color-accent) !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background: rgba(224, 92, 92, 0.08);
  color: #c04040;
  border-left: 3px solid #e05c5c !important;
}

/* Spinner */
.wpcf7 .ajax-loader {
  display: none !important;
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-block: 3.5rem 0;
  font-size: 0.875rem;
  color: rgba(189,196,202,0.7);
}

/* 3-col grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand column */
.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-desc {
  margin-top: 1.1rem;
  line-height: 1.7;
  color: rgba(189,196,202,0.6);
  font-size: 0.85rem;
  max-width: 320px;
}

/* Generic column */
.footer-col__heading {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact-list__icon {
  font-size: 0.95rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.footer-contact-list a,
.footer-contact-list address {
  color: rgba(189,196,202,0.75);
  font-style: normal;
  line-height: 1.5;
  transition: color var(--transition);
}

.footer-contact-list a:hover { color: var(--color-accent); }

/* Nav list */
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list a {
  color: rgba(189,196,202,0.75);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-nav-list a:hover { color: var(--color-accent); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.25rem;
  font-size: 0.78rem;
  color: rgba(189,196,202,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

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

/* Social links (shared — footer + kontakt) */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-border);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Labeled variant (kontakt stránka) */
.social-link--labeled {
  width: auto;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
}

.social-link--labeled:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Contact social wrapper */
.contact-social-wrap {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-social__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact-social-wrap .social-links {
  margin-top: 0;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section        { padding-block: 3.5rem; }
  .banner-arrow   { display: none; }
  .cta-box        { padding: 2.5rem 1.5rem; }
  .primary-menu   { display: none; }    /* hidden — mobile-menu used instead */
}

/* ─── Hamburger Button ──────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;              /* shown only on mobile via media query below */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.nav-toggle:hover {
  border-color: var(--color-accent);
  background: rgba(88, 183, 208, 0.06);
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

/* Animate to × when open */
.nav-open .nav-toggle .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-open .nav-toggle .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Mobile Drawer ─────────────────────────────────────────────────────────── */
.mobile-menu {
  position: absolute;
  top: 100%;        /* sits flush below the header bar */
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, visibility 0s linear 0.35s;
  z-index: 190;
}

.nav-open .mobile-menu {
  max-height: 480px;
  visibility: visible;
  transition: max-height 0.35s ease, visibility 0s linear 0s;
}

.mobile-menu__list {
  list-style: none;
  padding: 1rem 0 1.25rem;
}

.mobile-menu__list li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__list li:last-child {
  border-bottom: none;
}

.mobile-menu__list a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition), background var(--transition);
}

.mobile-menu__list a:hover,
.mobile-menu__list .current-menu-item > a,
.mobile-menu__list .current_page_item > a {
  color: var(--color-cta);
  background: rgba(11, 102, 125, 0.05);
}

/* ─── Overlay ───────────────────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 29, 27, 0.45);
  backdrop-filter: blur(2px);
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* ─── Show hamburger on mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
}

/* Prevent body scroll when drawer is open */
body.nav-open {
  overflow: hidden;
}

/* ─── Zakázková výroba page ─────────────────────────────────────────────────── */

/* Hero */
.zv-hero {
  background-color: #1D1D1B;
  background-image:
    linear-gradient(135deg, rgba(13,13,11,0.82) 0%, rgba(11,102,125,0.50) 100%),
    url('assets/images/banner/slide-4.jpg');
  background-size: cover;
  background-position: center 40%;
  padding-block: 5rem 4rem;
}

.zv-hero .section-label { color: var(--color-accent); }

.zv-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.05;
  margin-top: 0.5rem;
}

.zv-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.zv-hero__lead {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(189,196,202,0.85);
  max-width: 50ch;
}

/* Intro grid */
.zv-intro-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 960px) {
  .zv-intro-grid { grid-template-columns: 1fr; }
}

.zv-intro-text__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 0.5rem 1.25rem;
}

.zv-intro-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

/* Material card */
.zv-material-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  position: sticky;
  top: 80px;
}

.zv-material-card__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.zv-material-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.zv-material-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.zv-material-list li:last-child { border-bottom: none; padding-bottom: 0; }

.zv-material-list__grade {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.zv-material-list__desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
}

.zv-material-card__divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: 1.25rem;
}

.zv-material-card__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Reasons grid — 2×2 */
.zv-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 700px) {
  .zv-reasons-grid { grid-template-columns: 1fr; }
}

.zv-reason-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.zv-reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.zv-reason-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.zv-reason-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.65rem;
}

.zv-reason-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.zv-reason-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 0;
}

.zv-reason-card__list li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.zv-reason-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
}

/* Areas grid — 3 col */
.zv-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .zv-areas-grid { grid-template-columns: 1fr; }
}

.zv-area-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.zv-area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.zv-area-card--accent {
  background: linear-gradient(145deg, var(--color-cta) 0%, var(--color-accent) 100%);
  border-color: transparent;
  color: var(--color-white);
}

.zv-area-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.zv-area-card__icon { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }

.zv-area-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.zv-area-card--accent .zv-area-card__title { color: var(--color-white); }

.zv-area-card__intro {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.zv-area-card--accent .zv-area-card__intro { color: rgba(255,255,255,0.8); }

.zv-area-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.zv-area-card__list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.zv-area-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.zv-area-card--accent .zv-area-card__list li { color: rgba(255,255,255,0.85); }
.zv-area-card--accent .zv-area-card__list li::before { color: rgba(255,255,255,0.6); }

.zv-area-card__links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Process strip (dark section) */
.zv-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

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

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

.zv-process-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.zv-process-item__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(88,183,208,0.25);
  line-height: 1;
  letter-spacing: -0.03em;
}

.zv-process-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.zv-process-item__text {
  font-size: 0.875rem;
  color: rgba(189,196,202,0.7);
  line-height: 1.65;
}

/* ─── Vířivky page ──────────────────────────────────────────────────────────── */

/* Hero */
.vv-hero {
  background-color: #0B667D;
  background-image:
    linear-gradient(135deg, rgba(11,102,125,0.72) 0%, rgba(13,13,11,0.75) 100%),
    url('assets/images/banner/slide-2.webp');
  background-size: cover;
  background-position: center center;
  padding-block: 5rem 4rem;
}

.vv-hero .section-label { color: var(--color-accent); }

.vv-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.05;
  margin-top: 0.5rem;
}

.vv-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.vv-hero__lead {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(189,196,202,0.85);
  max-width: 50ch;
}

.vv-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Intro grid */
.vv-intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .vv-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.vv-intro-text__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 0.5rem 1.25rem;
}

.vv-intro-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

/* Stats highlights */
.vv-intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.vv-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.75rem 1.5rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  gap: 0.35rem;
}

.vv-highlight-item:last-child { border-bottom: none; }

.vv-highlight-item__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.vv-highlight-item__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Benefits grid — 3+2 */
.vv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

@media (max-width: 560px) {
  .vv-benefits-grid { grid-template-columns: 1fr; }
}

.vv-benefit-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.vv-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.vv-benefit-card__num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.vv-benefit-card__icon {
  font-size: 1.85rem;
  line-height: 1;
}

.vv-benefit-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.vv-benefit-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.vv-benefit-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.vv-benefit-card__list li {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.vv-benefit-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.75rem;
}

/* Comparison table */
.vv-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.vv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 520px;
}

.vv-table thead tr {
  background: var(--color-bg-dark);
}

.vv-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(189,196,202,0.8);
  white-space: nowrap;
}

.vv-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.vv-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.vv-table tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: middle;
}

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

.vv-table tbody tr:not(.vv-table__row--winner):hover td {
  background: var(--color-bg-subtle);
}

/* Winner row */
.vv-table__row--winner td {
  background: rgba(88,183,208,0.06);
  color: var(--color-text);
  font-weight: 500;
}

.vv-table__badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
  vertical-align: middle;
}

.vv-table__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
}

.vv-table__rating--high {
  color: var(--color-cta);
  font-weight: 600;
}

.vv-table__rating--high::before {
  content: '✓';
  font-size: 0.75rem;
}

/* Usage grid */
.vv-usage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.vv-usage-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.vv-usage-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.vv-usage-item__icon {
  font-size: 2rem;
  line-height: 1;
}

.vv-usage-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.vv-usage-item__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Summary grid (dark section) */
.vv-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

.vv-summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 2rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(189,196,202,0.1);
  border-radius: var(--radius-lg);
}

.vv-summary-item__icon {
  font-size: 2rem;
  line-height: 1;
}

.vv-summary-item p {
  font-size: 0.9rem;
  color: rgba(189,196,202,0.85);
  line-height: 1.6;
}

/* ─── Bazény page ───────────────────────────────────────────────────────────── */

.bz-hero {
  background-color: #0a3d4d;
  background-image:
    linear-gradient(135deg, rgba(10,61,77,0.78) 0%, rgba(13,13,11,0.72) 100%),
    url('assets/images/banner/slide-1.webp');
  background-size: cover;
  background-position: center 30%;
  padding-block: 5rem 4rem;
}

.bz-hero .section-label { color: var(--color-accent); }

.bz-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1.05;
  margin-top: 0.5rem;
}

.bz-hero__title em { font-style: normal; color: var(--color-accent); }

.bz-hero__lead {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: rgba(189,196,202,0.85);
  max-width: 50ch;
}

.bz-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.bz-intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .bz-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.bz-intro-text__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 0.5rem 1.25rem;
}

.bz-intro-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

/* Skimmer vs Přeliv */
.bz-sys-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) { .bz-sys-grid { grid-template-columns: 1fr; } }

.bz-sys-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bz-sys-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.bz-sys-card--premium {
  background: linear-gradient(145deg, var(--color-cta) 0%, #0a7a96 100%);
  border-color: transparent;
}

.bz-sys-card__header { display: flex; align-items: flex-start; gap: 1rem; }
.bz-sys-card__icon { font-size: 2rem; line-height: 1; flex-shrink: 0; margin-top: 0.15rem; }

.bz-sys-card__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.bz-sys-card__tag--light { color: rgba(255,255,255,0.7); }

.bz-sys-card__title { font-size: 1.2rem; font-weight: 700; color: var(--color-text); line-height: 1.2; }
.bz-sys-card--premium .bz-sys-card__title { color: var(--color-white); }

.bz-sys-card__desc { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.7; }
.bz-sys-card--premium .bz-sys-card__desc { color: rgba(255,255,255,0.8); }

.bz-sys-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .bz-sys-card__cols { grid-template-columns: 1fr; } }

.bz-sys-card__col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.bz-sys-card--premium .bz-sys-card__col-label { color: rgba(255,255,255,0.55); }

.bz-sys-card__list { display: flex; flex-direction: column; gap: 0.4rem; }

.bz-sys-card__list li {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.bz-sys-card__list li::before { content: '›'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.bz-sys-card--premium .bz-sys-card__list li { color: rgba(255,255,255,0.8); }
.bz-sys-card--premium .bz-sys-card__list li::before { color: rgba(255,255,255,0.5); }

/* Technology cards */
.bz-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.bz-tech-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bz-tech-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bz-tech-card__icon { font-size: 1.75rem; line-height: 1; }
.bz-tech-card__title { font-size: 1rem; font-weight: 700; color: var(--color-text); line-height: 1.3; }

.bz-tech-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-accent);
  padding: 0.15rem 0.55rem;
  border-radius: 99px;
  width: fit-content;
}

.bz-tech-card__text { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.65; }

.bz-tech-card__list { display: flex; flex-direction: column; gap: 0.35rem; margin-top: auto; padding-top: 0.25rem; }

.bz-tech-card__list li {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.bz-tech-card__list li::before { content: '→'; position: absolute; left: 0; color: var(--color-accent); font-size: 0.7rem; }

/* ASEKO box */
.bz-aseko-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, #0f2a33 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .bz-aseko-box { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; }
}

.bz-aseko-box__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.bz-aseko-box__title { font-size: 1.4rem; font-weight: 800; color: var(--color-white); letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.bz-aseko-box__desc { font-size: 0.9rem; color: rgba(189,196,202,0.8); line-height: 1.7; margin-bottom: 1rem; }

.bz-aseko-box__list { display: flex; flex-direction: column; gap: 0.4rem; }

.bz-aseko-box__list li {
  font-size: 0.85rem;
  color: rgba(189,196,202,0.75);
  padding-left: 1.1rem;
  position: relative;
}

.bz-aseko-box__list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-accent); font-size: 0.75rem; }

.bz-aseko-box__cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; flex-shrink: 0; }
.bz-aseko-box__cta-note { font-size: 0.78rem; color: rgba(189,196,202,0.6); max-width: 18ch; line-height: 1.5; }

/* Lighting cards */
.bz-lighting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

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

.bz-lighting-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(189,196,202,0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: background var(--transition);
}

.bz-lighting-card:hover { background: rgba(88,183,208,0.08); }
.bz-lighting-card__icon { font-size: 1.75rem; line-height: 1; }
.bz-lighting-card__title { font-size: 1rem; font-weight: 700; color: var(--color-white); }
.bz-lighting-card__text { font-size: 0.85rem; color: rgba(189,196,202,0.75); line-height: 1.65; }

.bz-lighting-card__list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: auto; }

.bz-lighting-card__list li {
  font-size: 0.8rem;
  color: rgba(189,196,202,0.65);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}

.bz-lighting-card__list li::before { content: '›'; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }


/* ─── Zábradlí page (zb-) ───────────────────────────────────────────────────── */

/* Hero */
.zb-hero {
  background-color: #1D1D1B;
  background-image:
    linear-gradient(135deg, rgba(13,13,11,0.82) 0%, rgba(11,102,125,0.38) 100%),
    url('assets/images/banner/slide-3.webp');
  background-size: cover;
  background-position: center 35%;
  padding-block: 5rem 4rem;
}

.zb-hero .section-label { color: var(--color-accent); }
.zb-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin: 0.6rem 0 1.1rem;
}
.zb-hero__title em { font-style: normal; color: var(--color-accent); }
.zb-hero__lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.zb-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Intro grid */
.zb-intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: center;
}

.zb-intro-text__heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 0.5rem 1.25rem;
}

.zb-intro-text p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

/* Products grid */
.zb-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.zb-product-card {
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.zb-product-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.zb-product-card--accent {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #0d7a94 100%);
  border-color: transparent;
  color: #fff;
}

.zb-product-card__icon { font-size: 2rem; line-height: 1; }
.zb-product-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}
.zb-product-card--accent .zb-product-card__title { color: #fff; }

.zb-product-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}
.zb-product-card--accent .zb-product-card__text { color: rgba(255,255,255,0.82); }

.zb-product-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.25rem 0;
}

.zb-product-card__list li {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.45;
}
.zb-product-card--accent .zb-product-card__list li { color: rgba(255,255,255,0.75); }

.zb-product-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.zb-product-card--accent .zb-product-card__list li::before { color: rgba(255,255,255,0.7); }

/* Type grid (custom vs system) */
.zb-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.zb-type-card {
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition);
}
.zb-type-card:hover { box-shadow: var(--shadow-card); }

.zb-type-card--premium {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, #0d7a94 100%);
  border-color: transparent;
}

.zb-type-card__header { display: flex; align-items: flex-start; gap: 1rem; }
.zb-type-card__icon { font-size: 2rem; line-height: 1; flex-shrink: 0; margin-top: 0.15rem; }

.zb-type-card__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-accent-dark);
  margin: 0 0 0.2rem;
}
.zb-type-card__tag--light { color: rgba(255,255,255,0.75); }

.zb-type-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
  margin: 0;
}
.zb-type-card--premium .zb-type-card__title { color: #fff; }

.zb-type-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.zb-type-card--premium .zb-type-card__desc { color: rgba(255,255,255,0.82); }

.zb-type-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.zb-type-card__list li {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.zb-type-card--premium .zb-type-card__list li { color: rgba(255,255,255,0.8); }
.zb-type-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.zb-type-card--premium .zb-type-card__list li::before { color: rgba(255,255,255,0.6); }

/* Responsive */
@media (max-width: 900px) {
  .zb-intro-grid { grid-template-columns: 1fr; }
  .zb-product-grid { grid-template-columns: 1fr; }
  .zb-type-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .zb-hero__actions { flex-direction: column; }
}

/* ─── Vířivky · Fotogalerie ─────────────────────────────────────────────────── */

.vv-gallery-wrap {
  position: relative;
  padding: 0 3rem;
}

.vv-gallery-viewport {
  overflow: hidden;
}

.vv-gallery-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.vv-gallery-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.vv-gallery-item__btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.vv-gallery-item__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.vv-gallery-item__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition);
}

.vv-gallery-item__btn:hover .vv-gallery-item__img {
  transform: scale(1.04);
}

.vv-gallery-item__caption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

/* Arrows */
.vv-gallery-arrow {
  position: absolute;
  top: calc(50% - 1.25rem);
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.vv-gallery-arrow:hover:not(:disabled) {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.vv-gallery-arrow:disabled { opacity: 0.3; cursor: default; }
.vv-gallery-arrow--prev { left: 0; }
.vv-gallery-arrow--next { right: 0; }

/* Dots */
.vv-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.vv-gallery-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.vv-gallery-dot.is-active {
  background: var(--color-accent);
  transform: scale(1.35);
}

/* ─── Lightbox ───────────────────────────────────────────────────────────────── */

.vv-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.vv-lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 90vw;
  max-height: 90vh;
}

.vv-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.vv-lightbox__caption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  text-align: center;
  margin: 0;
}

.vv-lightbox__close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.vv-lightbox__close:hover { background: rgba(255, 255, 255, 0.25); }

.vv-lightbox__prev,
.vv-lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.vv-lightbox__prev { left: 1rem; }
.vv-lightbox__next { right: 1rem; }

.vv-lightbox__prev:hover,
.vv-lightbox__next:hover { background: rgba(255, 255, 255, 0.25); }

.vv-lightbox__prev:disabled,
.vv-lightbox__next:disabled { opacity: 0.3; cursor: default; }

/* Responsive gallery */
@media (max-width: 768px) {
  .vv-gallery-wrap  { padding: 0 2.5rem; }
}

@media (max-width: 480px) {
  .vv-gallery-wrap  { padding: 0 2rem; }
  .vv-lightbox__prev { left: 0.25rem; }
  .vv-lightbox__next { right: 0.25rem; }
}
