/* =============================================
   Ford Focus LP — Design System + Layout
   Tmavá varianta (Černá Agate)
   ============================================= */

/* --- Custom Properties --- */
/* SYNC: critical subset also inlined in index.html <style> block */
:root {
  /* Colors — dark theme inspired by Černá Agate metallic */
  --c-bg:          #0a0a0c;
  --c-bg-elevated: #141418;
  --c-bg-card:     #1a1a20;
  --c-bg-input:    #1e1e26;
  --c-border:      #2a2a34;
  --c-border-focus:#4a6cf7;

  --c-text:        #e8e8ec;
  --c-text-muted:  #9898a4;
  --c-text-dim:    #8e8e9a;   /* WCAG AA ≥ 4.5:1 on all bg variants */

  --c-accent:      #4a6cf7;   /* Ford blue — akcentová */
  --c-accent-hover:#5d7dff;
  --c-accent-glow: rgba(74, 108, 247, 0.15);

  --c-highlight:   #f59e0b;   /* highlight badge (amber) */
  --c-success:     #22c55e;
  --c-error:       #ef4444;

  /* Typography */
  --f-nav: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-lg:   1.125rem;  /* 18px */
  --fs-xl:   1.25rem;   /* 20px */
  --fs-2xl:  1.5rem;    /* 24px */
  --fs-3xl:  1.875rem;  /* 30px */
  --fs-4xl:  2.25rem;   /* 36px */
  --fs-hero: clamp(2rem, 5vw, 3.5rem);

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Spacing */
  --s-xs:  0.25rem;
  --s-sm:  0.5rem;
  --s-md:  1rem;
  --s-lg:  1.5rem;
  --s-xl:  2rem;
  --s-2xl: 3rem;
  --s-3xl: 4rem;
  --s-4xl: 6rem;

  /* Layout */
  --max-w: 1140px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-normal: 250ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--t-fast);
}

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

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Section base --- */
.section {
  padding-block: var(--s-4xl);
}

.section__title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-2xl);
  text-align: center;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--c-accent);
  margin: var(--s-md) auto 0;
  border-radius: 2px;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background var(--t-normal), box-shadow var(--t-normal);
}

.nav--scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  position: relative;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-sm);
  font-family: var(--f-nav);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 1000;
}

.nav__logo {
  width: 42px;
  height: auto;
  opacity: 0.85;
}

.nav__brand:hover {
  color: var(--c-text);
}

.nav__links {
  display: flex;
  gap: var(--s-xl);
  list-style: none;
}

.nav__links a {
  font-family: var(--f-nav);
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--t-fast);
  position: relative;
}

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

.nav__links a.nav__link--active {
  color: var(--c-accent);
}

.nav__links a.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}

/* Hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--s-sm);
  margin-right: calc(-1 * var(--s-sm));
}

.nav__hamburger,
.nav__hamburger::before,
.nav__hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text);
  border-radius: 1px;
  transition: transform var(--t-normal), opacity var(--t-fast);
}

.nav__hamburger {
  position: relative;
}

.nav__hamburger::before,
.nav__hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__hamburger::before { top: -6px; }
.nav__hamburger::after  { top: 6px; }

/* Hamburger → X when open */
.nav__toggle[aria-expanded="true"] .nav__hamburger {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Body scroll lock for mobile menu */
body.no-scroll {
  overflow: hidden;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--s-4xl);
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Gradient overlay — top for nav readability, bottom for text */
.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 12, 0.85) 0%,
    rgba(10, 10, 12, 0.45) 12%,
    rgba(10, 10, 12, 0.15) 30%,
    rgba(10, 10, 12, 0.85) 75%,
    rgba(10, 10, 12, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s-lg);
}

.hero__subtitle {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--s-md);
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-md);
}

.hero__price {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-md);
}

.hero__usp {
  font-size: var(--fs-sm);
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-xl);
}

.hero__price span {
  color: var(--c-text-muted);
  font-size: var(--fs-lg);
  font-weight: var(--fw-normal);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: var(--s-md) var(--s-xl);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}

.hero__cta:hover {
  background: var(--c-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.hero__cta:active {
  transform: translateY(0);
}

/* =============================================
   PARAMS — spec strip (Lucid/Tesla style)
   Pure typography, no icons.
   ============================================= */
.params {
  background: var(--c-bg-elevated);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.params__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  list-style: none;
}

.params__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-2xl) var(--s-sm);
  position: relative;
}

/* Vertical dividers between items */
.params__item + .params__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--c-border);
}

.params__icon {
  font-size: var(--fs-3xl);
  color: var(--c-accent);
  margin-bottom: var(--s-sm);
  opacity: 0.85;
}

.params__value {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: var(--lh-tight);
  margin-bottom: var(--s-xs);
  letter-spacing: -0.02em;
}

.params__label {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--fw-medium);
}

/* =============================================
   VÝBAVA
   ============================================= */
.equip {
  background: var(--c-bg-elevated);
}

.equip__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-xl);
  margin-bottom: var(--s-2xl);
}

.equip__group {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--s-xl);
}

.equip__group-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-md);
}

.equip__tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.equip__tags li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: var(--s-md);
  position: relative;
}

.equip__tags li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.6;
}

/* (infotainment strip removed — replaced by equip card) */

/* Gallery CTA */
.gallery__cta {
  display: block;
  text-align: center;
  margin: var(--s-2xl) auto 0;
  padding: var(--s-md) var(--s-2xl);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius);
  width: fit-content;
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}

.gallery__cta:hover {
  background: var(--c-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* =============================================
   GALERIE — endless carousel
   ============================================= */
.gallery {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding-bottom: var(--s-2xl);
}

.gallery .section__title {
  padding-inline: var(--s-lg);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  gap: var(--s-sm);
  padding: 0 var(--s-lg) var(--s-md);
}

.gallery__filter {
  padding: 0.4em 1.2em;
  border: 1px solid var(--c-accent);
  border-radius: 2em;
  background: transparent;
  color: var(--c-accent);
  font-family: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}

.gallery__filter:hover,
.gallery__filter--active {
  background: var(--c-accent);
  color: var(--c-bg);
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade edges */
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.gallery__cta {
  position: relative;
  z-index: 1;
}

.carousel__track {
  display: flex;
  gap: var(--s-md);
  width: max-content;
  animation: carousel-scroll 40s linear infinite;
}

.carousel__slide {
  flex-shrink: 0;
  width: 360px;
  height: 270px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-normal);
}

.carousel__slide:hover img {
  transform: scale(1.05);
}

@keyframes carousel-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-normal), visibility var(--t-normal);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  transition: opacity 200ms ease;
}

.lightbox img.lightbox__img--fade {
  opacity: 0;
}

.lightbox__close {
  position: absolute;
  top: var(--s-lg);
  right: var(--s-lg);
  background: none;
  border: none;
  color: #fff;
  font-size: var(--fs-2xl);
  cursor: pointer;
  padding: var(--s-sm);
  line-height: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-4xl);
  cursor: pointer;
  padding: var(--s-md);
  transition: color var(--t-fast);
}

.lightbox__nav:hover {
  color: #fff;
}

.lightbox__nav--prev { left: var(--s-lg); }
.lightbox__nav--next { right: var(--s-lg); }

.lightbox__caption {
  position: absolute;
  bottom: var(--s-lg);
  left: 50%;
  transform: translateX(-50%);
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  text-align: center;
  max-width: 80%;
}

/* =============================================
   O VOZE
   ============================================= */
.about {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.about__content {
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Accordion */
.about__item {
  background: var(--c-bg-elevated);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t-fast);
}

.about__item:last-child {
  border-bottom: none;
}

.about__item[open] {
  background: var(--c-bg-card);
}

.about__summary {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  padding: var(--s-md) var(--s-xl);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--t-fast), background var(--t-fast);
}

.about__summary::-webkit-details-marker {
  display: none;
}

.about__summary::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-text-dim);
  border-bottom: 2px solid var(--c-text-dim);
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-left: var(--s-md);
  transition: transform var(--t-normal);
  transform-origin: center;
}

.about__item[open] > .about__summary::after {
  transform: rotate(-135deg);
}

.about__summary:hover {
  color: var(--c-accent);
  background: rgba(74, 108, 247, 0.05);
}

.about__item[open] > .about__summary {
  color: var(--c-accent);
  border-bottom: 1px solid var(--c-border);
}

.about__body {
  padding: var(--s-sm) var(--s-xl) var(--s-md);
}

.about__body p {
  font-size: var(--fs-base);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-md);
}

.about__body p:last-child {
  margin-bottom: 0;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  margin-top: var(--s-sm);
}

.about__list li {
  font-size: var(--fs-base);
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  padding-left: var(--s-lg);
  position: relative;
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.6;
}

/* =============================================
   KONTAKT
   ============================================= */
.contact {
  background: var(--c-bg-elevated);
}

.contact__lead {
  text-align: center;
  color: var(--c-text-muted);
  margin-bottom: var(--s-2xl);
}

.contact__form {
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}

.contact__field label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
}

.contact__optional {
  color: var(--c-text-dim);
  font-weight: var(--fw-normal);
}

.contact__field input,
.contact__field textarea {
  background: var(--c-bg-input);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--s-sm) var(--s-md);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-base);
  transition: border-color var(--t-fast);
}

.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--c-border-focus);
}

.contact__field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__submit {
  align-self: center;
  padding: var(--s-md) var(--s-2xl);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}

.contact__submit:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px);
}

.contact__submit:active {
  transform: translateY(0);
}

.contact__trust {
  font-size: var(--fs-xs);
  color: var(--c-text-dim);
  margin-top: var(--s-sm);
  text-align: center;
}

.contact__success {
  text-align: center;
  color: var(--c-success);
  padding: var(--s-3xl) 0;
  max-width: 560px;
  margin-inline: auto;
}

.contact__success p {
  margin-bottom: var(--s-sm);
}

.contact__success p:last-child {
  margin-bottom: 0;
  color: var(--c-text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding-block: var(--s-2xl);
  border-top: 1px solid var(--c-border);
  text-align: center;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
}

.footer__main {
  margin-bottom: var(--s-md);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-sm) var(--s-lg);
  margin-bottom: var(--s-md);
}

.footer__links a {
  color: var(--c-text-muted);
  transition: color var(--t-fast);
}

.footer__links a:hover {
  color: var(--c-text);
}

.footer a {
  color: var(--c-text-muted);
}

.footer a:hover {
  color: var(--c-text);
}

.footer__copy {
  color: var(--c-text-dim);
}

/* =============================================
   EQUIPMENT — link to modal
   ============================================= */
.equip__more {
  display: block;
  text-align: center;
  margin-top: var(--s-xl);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--c-accent);
  cursor: pointer;
}

.equip__more:hover {
  color: var(--c-accent-hover);
}

/* =============================================
   MODAL — generic
   ============================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-normal), visibility var(--t-normal);
  padding: var(--s-lg);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__container {
  background: var(--c-bg-elevated);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-lg) var(--s-xl);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}

.modal__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
}

.modal__close {
  background: none;
  border: none;
  color: var(--c-text-muted);
  font-size: var(--fs-2xl);
  cursor: pointer;
  padding: var(--s-xs);
  line-height: 1;
  transition: color var(--t-fast);
}

.modal__close:hover {
  color: var(--c-text);
}

.modal__body {
  overflow-y: auto;
  padding: var(--s-xl);
  flex: 1;
}

/* =============================================
   EQUIPMENT MODAL — structured list
   ============================================= */
.equip-modal__section {
  margin-bottom: var(--s-2xl);
}

.equip-modal__section:last-child {
  margin-bottom: 0;
}

.equip-modal__section-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--s-lg);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--c-border);
}

.equip-modal__categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-lg);
}

.equip-modal__cat-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--c-text);
  margin-bottom: var(--s-sm);
}

.equip-modal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-xs);
}

.equip-modal__list li {
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
  padding-left: var(--s-md);
  position: relative;
}

.equip-modal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-text-dim);
  opacity: 0.6;
}

.equip-modal__item--highlight {
  color: var(--c-text) !important;
  font-weight: var(--fw-medium);
}

.equip-modal__item--highlight::before {
  background: var(--c-accent) !important;
  opacity: 1 !important;
}

/* Kupní smlouva modal body */
.modal__body h1,
.modal__body h2,
.modal__body h3 {
  color: var(--c-text);
  margin-bottom: var(--s-md);
}

.modal__body p,
.modal__body li {
  color: var(--c-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--s-sm);
}

/* =============================================
   SKIP LINK (a11y)
   ============================================= */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s-lg);
  z-index: 200;
  padding: var(--s-sm) var(--s-md);
  background: var(--c-accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius);
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: var(--s-sm);
  color: #fff;
}

/* =============================================
   FOCUS VISIBLE (a11y)
   ============================================= */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.contact__field input:focus-visible,
.contact__field textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
  border-color: var(--c-border-focus);
}

/* =============================================
   FORM — validation, honeypot, loading, error
   ============================================= */

/* Honeypot field — hidden from humans */
.contact__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Per-field error message */
.contact__field .contact__error {
  font-size: var(--fs-xs);
  color: var(--c-error);
  min-height: 1.2em;
}

/* Invalid field border */
.contact__field--invalid input,
.contact__field--invalid textarea {
  border-color: var(--c-error);
}

.contact__field--invalid input:focus,
.contact__field--invalid textarea:focus {
  border-color: var(--c-error);
}

/* Loading state */
.contact__submit--loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.contact__submit--loading::after {
  content: '';
  position: absolute;
  right: var(--s-md);
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Error message block (form-level) */
#contact-error {
  text-align: center;
  color: var(--c-error);
  padding: var(--s-3xl) 0;
  max-width: 560px;
  margin-inline: auto;
}

#contact-error p {
  margin-bottom: var(--s-sm);
}

#contact-error p:last-child {
  margin-bottom: 0;
  color: var(--c-text-muted);
}

/* =============================================
   LIGHTBOX — loading indicator
   ============================================= */
.lightbox--loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  z-index: 1;
}

/* =============================================
   HUGEICONS CDN FALLBACK
   ============================================= */
.no-icons .params__icon {
  display: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Landscape mobile — prevent hero text overlap with nav */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: var(--s-2xl);
  }

  .hero__subtitle {
    font-size: var(--fs-sm);
    margin-bottom: var(--s-xs);
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }

  .hero__price {
    font-size: var(--fs-xl);
  }

  .hero__usp {
    font-size: var(--fs-xs);
  }
}

/* Tablet */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
    position: relative;
    z-index: 1000;
  }

  .equip-modal__categories {
    grid-template-columns: 1fr;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-2xl);
    background: var(--c-bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-normal), visibility var(--t-normal);
  }

  .nav__links--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    font-size: var(--fs-2xl);
  }

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

  /* Reset vertical dividers for new row starts */
  .params__item:nth-child(4)::before {
    display: none;
  }

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

  .carousel__slide {
    width: 280px;
    height: 210px;
  }

  .hero {
    min-height: 100svh;
  }

  /* Stronger gradient on mobile — text covers more of the image */
  .hero__image::after {
    background: linear-gradient(
      to bottom,
      rgba(10, 10, 12, 0.92) 0%,
      rgba(10, 10, 12, 0.65) 12%,
      rgba(10, 10, 12, 0.5) 30%,
      rgba(10, 10, 12, 0.6) 50%,
      rgba(10, 10, 12, 0.85) 70%,
      rgba(10, 10, 12, 1) 100%
    );
  }

  .hero__content {
    padding-top: 4.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  }

  .section {
    padding-block: var(--s-3xl);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .params__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .params__item:nth-child(odd)::before {
    display: none;
  }

  .params__item {
    padding: var(--s-lg) var(--s-sm);
  }

  .params__value {
    font-size: var(--fs-xl);
  }

  .hero {
    min-height: 100svh;
    padding-bottom: var(--s-2xl);
  }

  .hero__content {
    padding-top: 5rem;
  }

  .hero__subtitle {
    font-size: var(--fs-sm);
    letter-spacing: 0.08em;
  }

  .hero__title {
    font-size: var(--fs-3xl);
  }

  .hero__price {
    font-size: var(--fs-2xl);
  }

  .hero__usp {
    font-size: var(--fs-xs);
    line-height: var(--lh-relaxed);
  }

  .section__title {
    font-size: var(--fs-2xl);
  }

  .carousel__slide {
    width: 240px;
    height: 180px;
  }

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