:root {
  --ink: #12171c;
  --ink-soft: #26313a;
  --muted: #66747f;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --line: #dbe4e8;
  --brand: #24a7d8;
  --brand-dark: #087ba7;
  --gold: #c59a4a;
  --green: #5e8c72;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(18, 23, 28, 0.14);
  --radius: 8px;
  --container: 1180px;
  --header: 82px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

img,
svg,
iframe {
  display: block;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(18, 23, 28, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: var(--radius);
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.site-nav .nav-phone {
  margin-left: 8px;
  color: var(--ink);
  background: var(--white);
  text-transform: none;
}

.site-nav .nav-phone:hover,
.site-nav .nav-phone:focus-visible {
  color: var(--ink);
  background: #eef8fc;
}

.nav-phone svg,
.nav-toggle svg,
.button svg,
.proof-item svg,
.service-card svg,
.contact-list svg,
.footer-actions svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  cursor: pointer;
}

.hero {
  position: relative;
  height: clamp(430px, 86svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 20, 0.82) 0%, rgba(8, 14, 20, 0.55) 42%, rgba(8, 14, 20, 0.16) 100%),
    linear-gradient(0deg, rgba(8, 14, 20, 0.42), rgba(8, 14, 20, 0.08));
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--header);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.dark {
  color: var(--brand-dark);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 16px;
  font-size: clamp(4.5rem, 14vw, 8.5rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.18;
  font-weight: 760;
}

.hero-lead {
  max-width: 820px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.48;
}

.hero-lead span {
  display: block;
}

@media (min-width: 860px) {
  .hero-lead span {
    white-space: nowrap;
  }
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 18px 36px rgba(36, 167, 216, 0.26);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.11);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button.full {
  width: 100%;
}

.proof-strip {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.proof-item {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: var(--ink);
  text-align: center;
}

.proof-item svg {
  width: 26px;
  height: 26px;
  color: var(--brand);
}

.proof-item strong {
  max-width: none;
  font-size: 1rem;
  line-height: 1.25;
}

.section {
  padding: clamp(72px, 10vw, 124px) 0;
}

.intro-section,
.fleet-section,
.story-section {
  background: var(--paper);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
}

.section-copy p,
.story-copy p,
.contact-copy p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.intro-stats div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-stats span {
  display: block;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  font-weight: 820;
}

.intro-stats small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-frame figcaption {
  padding: 18px 20px;
  color: var(--ink-soft);
  font-weight: 700;
}

.services-section {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading.nowrap-heading,
.gallery-heading.nowrap-heading {
  max-width: none;
}

@media (min-width: 1080px) {
  .nowrap-heading h2 {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(2.5rem, 3.6vw, 3.2rem);
  }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 167, 216, 0.42);
  box-shadow: 0 18px 36px rgba(18, 23, 28, 0.1);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 36px;
  color: var(--brand-dark);
}

.service-card:nth-child(2) svg {
  color: var(--gold);
}

.service-card:nth-child(3) svg {
  color: var(--green);
}

.service-card p,
.fleet-card p,
.contact-form p,
.footer-grid p {
  color: var(--muted);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fleet-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.fleet-card img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.fleet-card div {
  padding: 22px;
}

.gallery-section {
  padding: clamp(72px, 10vw, 116px) 0;
  color: var(--white);
  background: var(--ink);
}

.gallery-heading h2 {
  color: var(--white);
  max-width: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.gallery-grid a {
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
}

.gallery-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 167, 216, 0.28);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-grid a:hover::after,
.gallery-grid a:focus-visible::after {
  opacity: 1;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-grid a:hover img,
.gallery-grid a:focus-visible img {
  transform: scale(1.045);
}

.story-copy {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.story-copy p {
  margin-inline: auto;
}

.legal-main {
  background: var(--paper);
}

.legal-hero {
  padding: calc(var(--header) + 92px) 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.84)),
    url("https://www.autotour.cz/res/crc-3311138141/pages/images/1920x700crop/xd-5a4d3c07b8633-dsc-7151-web-1600.jpeg") center / cover;
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.legal-section {
  padding-top: 64px;
}

.legal-content {
  max-width: 980px;
  padding: clamp(24px, 5vw, 52px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(18, 23, 28, 0.08);
}

.legal-content h2 {
  margin: 38px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ol {
  margin: 0;
  padding-left: 1.3rem;
  color: var(--muted);
}

.legal-content li + li {
  margin-top: 10px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.button.legal-back {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-section {
  padding-top: clamp(72px, 10vw, 116px);
  color: var(--white);
  background: #101820;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
  max-width: 760px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-intro span {
  display: block;
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 560px;
  margin-top: 30px;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  transition: background 160ms ease, border-color 160ms ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-list svg {
  color: var(--brand);
}

.contact-form {
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.28);
}

.contact-form h3 {
  margin-bottom: 6px;
}

.contact-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfd;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(36, 167, 216, 0.14);
}

.contact-form textarea {
  resize: vertical;
}

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

.privacy {
  margin: 16px 0 18px;
  font-size: 0.9rem;
}

.privacy a {
  color: var(--brand-dark);
  font-weight: 800;
}

.contact-form .consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
}

.contact-form .consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  padding: 0;
  box-shadow: none;
  accent-color: var(--brand);
}

.consent-field a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.map-wrap {
  width: min(100% - 32px, var(--container));
  margin: clamp(42px, 6vw, 72px) auto 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius) var(--radius) 0 0;
  background: rgba(255, 255, 255, 0.08);
}

.map-wrap iframe {
  width: 100%;
  height: min(52vw, 460px);
  min-height: 320px;
  border: 0;
  filter: saturate(0.86) contrast(1.04);
}

.map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--brand);
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 28px rgba(8, 123, 167, 0.36);
  transform: translate(-50%, -96%) rotate(-45deg);
  pointer-events: none;
}

.map-marker svg {
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0b1117;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(430px, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 8px;
}

.footer-brand img {
  width: 132px;
  height: auto;
}

.footer-tagline span {
  display: block;
  white-space: nowrap;
}

.footer-tagline {
  padding-top: 10px;
  line-height: 1.28;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  white-space: nowrap;
}

.footer-credit a {
  color: var(--white);
  font-weight: 850;
}

.footer-meta {
  padding-top: 48px;
}

.footer-meta p,
.footer-grid p {
  margin: 0;
  line-height: 1.28;
}

.footer-meta p + p {
  margin-top: 0;
}

.footer-meta p {
  white-space: nowrap;
}

.footer-meta span {
  white-space: nowrap;
}

.footer-company-name::after {
  content: ", ";
}

.footer-actions {
  justify-content: flex-end;
}

.facebook-link,
.back-top {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.facebook-link {
  width: 42px;
  padding: 0;
  font-weight: 850;
}

.facebook-mark {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #0b1117;
  background: var(--white);
  border-radius: 50%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.back-top {
  padding: 0 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 72px 24px 30px;
  background: rgba(5, 9, 13, 0.84);
  backdrop-filter: blur(18px);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease;
}

.lightbox[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

.lightbox-panel {
  width: min(100%, 1120px);
  margin: 0;
  overflow: hidden;
  color: var(--white);
  background: rgba(18, 23, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  transform: scale(1);
  transition: transform 180ms ease;
}

.lightbox[aria-hidden="true"] .lightbox-panel {
  transform: scale(0.98);
}

.lightbox-panel img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #05090d;
}

.lightbox-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.lightbox-panel small {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  z-index: 81;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.lightbox-close {
  top: 22px;
  right: 24px;
  width: 46px;
  height: 46px;
}

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

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox svg {
  width: 22px;
  height: 22px;
}

.cookie-bar {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  width: min(calc(100% - 48px), 1120px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-inline: auto;
  padding: 18px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-bar.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.cookie-bar strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.cookie-bar p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  white-space: nowrap;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.cookie-actions a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 16px;
  box-shadow: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(36, 167, 216, 0.72);
  outline-offset: 3px;
}

@media (max-width: 1020px) {
  :root {
    --header: 72px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 6px;
    padding: 14px;
    background: rgba(18, 23, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 170ms ease, transform 170ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a,
  .site-nav .nav-phone {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .brand img {
    width: 126px;
  }

  .proof-grid,
  .service-grid,
  .fleet-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    align-items: stretch;
  }
}

@media (max-width: 1180px) {
  .cookie-bar p,
  .footer-credit,
  .footer-tagline span,
  .footer-meta p {
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .hero {
    height: clamp(430px, 86svh, 640px);
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(8, 14, 20, 0.82) 0%, rgba(8, 14, 20, 0.58) 52%, rgba(8, 14, 20, 0.2) 100%),
      linear-gradient(90deg, rgba(8, 14, 20, 0.36), rgba(8, 14, 20, 0.1));
  }

  .hero-content {
    align-self: end;
    padding-bottom: 44px;
  }

  .hero-lead span {
    display: inline;
  }

  .hero-lead span + span::before {
    content: " ";
  }

  h1 {
    font-size: clamp(3.2rem, 19vw, 4.45rem);
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .section {
    padding: 64px 0;
  }

  .legal-hero {
    padding: calc(var(--header) + 56px) 0 52px;
  }

  .legal-hero h1 {
    font-size: clamp(2.35rem, 13vw, 4rem);
    line-height: 0.98;
  }

  .proof-grid,
  .service-grid,
  .fleet-grid,
  .contact-layout,
  .footer-grid,
  .intro-stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: 92px;
    padding: 20px;
  }

  .service-card {
    min-height: auto;
  }

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

  .footer-actions {
    justify-content: center;
  }

  .footer-meta {
    padding-top: 0;
  }

  .footer-grid {
    justify-items: center;
    text-align: center;
  }

  .footer-meta p {
    display: block;
  }

  .footer-company-name,
  .footer-company-details {
    display: block;
  }

  .footer-company-name::after {
    content: "";
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
  }

  .map-wrap {
    width: min(100% - 24px, var(--container));
    margin-top: 36px;
  }

  .map-wrap iframe {
    min-height: 280px;
    height: 320px;
  }

  .cookie-bar {
    align-items: stretch;
    flex-direction: column;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    gap: 14px;
    padding: 16px;
  }

  .cookie-actions {
    justify-content: space-between;
  }

  .lightbox {
    padding: 72px 12px 24px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 26px;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: translateY(-1px);
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 112px;
  }

  .header-inner {
    gap: 12px;
  }

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

  .button {
    width: 100%;
  }

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

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

  .footer-credit {
    font-size: 0.86rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
