/* ============================================================
   ČERVENÁ LÍNIA — verejný web Autodoprava Hradecký
   Finálny vizuálny smer: filmový nástup, ostrá typografia,
   skutočná flotila a jednoznačné konverzné prvky.
   ============================================================ */

:root {
  --redline-red: #ed1c24;
  --redline-red-dark: #bd0f16;
  --redline-black: #090a0b;
  --redline-coal: #191b1e;
  --redline-graphite: #303337;
  --redline-paper: #f4f2ee;
  --redline-white: #ffffff;
  --redline-silver: #d8d6d1;
  --redline-muted: #6e7277;
  --redline-green: #24a875;
  --redline-display: "Inter", "Segoe UI", Arial, sans-serif;
  --redline-body: "Inter", "Segoe UI", Arial, sans-serif;

  --color-primary: var(--redline-black);
  --color-primary-light: var(--redline-coal);
  --color-primary-dark: #000000;
  --color-accent: var(--redline-red);
  --color-accent-light: #ff444a;
  --color-accent-dark: var(--redline-red-dark);
  --color-bg-primary: var(--redline-paper);
  --color-bg-secondary: #e9e7e2;
  --color-bg-dark: var(--redline-black);
  --color-text-primary: var(--redline-black);
  --color-text-secondary: #5f6469;
  --color-border: var(--redline-silver);
  --gradient-primary: linear-gradient(135deg, #090a0b 0%, #25282c 100%);
  --gradient-accent: linear-gradient(135deg, #ed1c24 0%, #bd0f16 100%);
  --gradient-hero: linear-gradient(135deg, #090a0b 0%, #191b1e 100%);
  --radius-sm: 0;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-2xl: 8px;
  --shadow-card: 0 14px 34px rgba(9, 10, 11, 0.08);
  --shadow-card-hover: 0 20px 46px rgba(9, 10, 11, 0.14);
}

html {
  scroll-padding-top: 86px;
}

body {
  background: var(--redline-paper);
  color: var(--redline-black);
  font-family: var(--redline-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(9, 10, 11, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 10, 11, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
}

::selection {
  color: var(--redline-white);
  background: var(--redline-red);
}

:focus-visible {
  outline: 3px solid var(--redline-red);
  outline-offset: 3px;
}

.section {
  padding: 104px 0;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-title,
.about-title,
.cta-title,
.contact-form-title,
.contact-info-title {
  color: var(--redline-black);
  font-family: var(--redline-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.section-subtitle {
  max-width: 680px;
  color: var(--redline-muted);
  line-height: 1.7;
}

/* Header */
.site-header {
  top: 22px;
  left: 28px;
  right: 28px;
  width: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 7px;
  background: var(--redline-red);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 300ms ease;
}

.site-header.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.site-header.scrolled::before {
  transform: scaleX(1);
}

.header-container {
  height: 74px;
  max-width: 1480px;
  gap: 24px;
  padding: 0 28px;
}

.logo-img {
  width: auto;
  height: 42px;
}

.site-header.scrolled .logo-img {
  height: 38px;
}

.nav-list {
  gap: clamp(18px, 2.3vw, 38px);
}

.nav-link {
  color: var(--redline-coal);
  font-family: var(--redline-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-link::after {
  height: 4px;
  background: var(--redline-red);
}

.nav-link:hover,
.nav-link.active {
  color: var(--redline-red);
}

.ims-portal-btn {
  min-height: 42px;
  padding: 0 16px;
  color: var(--redline-white);
  background: var(--redline-black);
  border: 1px solid var(--redline-black);
  border-radius: 0;
  font-family: var(--redline-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ims-portal-btn:hover {
  background: var(--redline-red);
  border-color: var(--redline-red);
}

.lang-current {
  min-height: 42px;
  border: 1px solid var(--redline-silver);
  border-radius: 0;
  background: var(--redline-white);
}

.lang-current:hover {
  color: var(--redline-red);
  border-color: var(--redline-red);
}

.lang-dropdown {
  border: 1px solid var(--redline-black);
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(9, 10, 11, 0.12);
}

.lang-option:hover {
  color: var(--redline-white);
  background: var(--redline-red);
}

/* Filmový hero */
.hero {
  position: relative;
  min-height: 790px;
  padding: 0;
  overflow: visible;
  color: var(--redline-white);
  background: var(--redline-black);
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 5, 0.97) 0%, rgba(3, 4, 5, 0.88) 42%, rgba(3, 4, 5, 0.55) 74%, rgba(3, 4, 5, 0.3) 100%),
    linear-gradient(0deg, rgba(3, 4, 5, 0.58), rgba(3, 4, 5, 0.05) 62%);
  opacity: 1;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 52px;
  left: 0;
  z-index: 3;
  height: 8px;
  background: var(--redline-red);
}

.hero-container {
  z-index: auto;
  min-height: 790px;
  max-width: 1480px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.68) contrast(1.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 62vw);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--redline-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 70px;
  height: 7px;
  background: var(--redline-red);
}

.hero-badge {
  display: none;
}

.hero-title {
  max-width: 760px;
  margin: 0 0 28px;
  color: var(--redline-white);
  font-family: var(--redline-display);
  font-size: clamp(4rem, 7vw, 7.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.78;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

.hero-title-highlight {
  color: var(--redline-white);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
}

.hero-description {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  align-items: center;
  gap: 18px;
}

.hero .btn {
  min-height: 64px;
  padding: 0 30px;
  border: 0;
  border-radius: 0;
  font-family: var(--redline-display);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero .btn-primary {
  color: var(--redline-white);
  background: var(--redline-red);
  box-shadow: 8px 8px 0 var(--redline-black);
}

.hero .btn-primary:hover {
  background: var(--redline-red-dark);
  box-shadow: 4px 4px 0 var(--redline-black);
  transform: translate(4px, 4px);
}

.hero .btn-outline {
  color: var(--redline-white);
  background: rgba(9, 10, 11, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.hero .btn-outline:hover {
  color: var(--redline-black);
  background: var(--redline-white);
  border-color: var(--redline-white);
}

.hero-stats {
  position: absolute;
  right: 0;
  bottom: -98px;
  z-index: 4;
  width: min(740px, 58vw);
  min-height: 190px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(9, 10, 11, 0.97);
  border-top: 8px solid var(--redline-red);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

.stat-item {
  min-width: 0;
  padding: 40px 34px;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-item:first-child {
  border-left: 0;
}

.stat-value {
  color: var(--redline-white);
  font-family: var(--redline-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--redline-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Buttons and editorial surfaces */
.btn {
  border-radius: 0;
  font-family: var(--redline-display);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.btn-primary:hover,
.btn-accent:hover {
  background: var(--redline-red-dark);
}

.card {
  border: 1px solid var(--redline-silver);
  border-radius: 0;
  box-shadow: none;
}

.card:hover {
  border-color: var(--redline-red);
  box-shadow: 8px 8px 0 rgba(237, 28, 36, 0.12);
  transform: translateY(-4px);
}

.services {
  padding-top: 164px;
  background: var(--redline-white);
}

.services-grid {
  gap: 0;
  border-top: 7px solid var(--redline-black);
  border-bottom: 1px solid var(--redline-silver);
}

.service-card {
  min-height: 300px;
  border-width: 0 1px 0 0;
  padding: 36px 30px;
}

.service-card:last-child {
  border-right: 0;
}

.service-card::before {
  top: auto;
  bottom: 0;
  height: 7px;
  background: var(--redline-red);
}

.service-card:hover {
  color: var(--redline-white);
  background: var(--redline-black);
  box-shadow: none;
  transform: none;
}

.service-card:hover .card-title,
.service-card:hover .card-text {
  color: var(--redline-white);
}

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--redline-red);
  background: transparent;
  border: 1px solid var(--redline-red);
  border-radius: 0;
}

.card-title {
  margin-top: 34px;
  font-family: var(--redline-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.card-text {
  line-height: 1.7;
}

/* About / story */
.about {
  background: var(--redline-paper);
}

.about-grid {
  gap: clamp(48px, 7vw, 104px);
}

.about-image {
  border-bottom: 9px solid var(--redline-red);
  box-shadow: 20px 20px 0 var(--redline-black);
}

.about-image img {
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.06);
}

.about-image-badge {
  right: -26px;
  bottom: 32px;
  width: 145px;
  height: 145px;
  color: var(--redline-white);
  background: var(--redline-red);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--redline-black);
}

.about-title {
  max-width: 650px;
  font-size: clamp(2.8rem, 4.7vw, 5rem);
}

.about-text {
  max-width: 680px;
  color: var(--redline-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  gap: 0;
  border-top: 1px solid var(--redline-black);
}

.feature-item {
  min-height: 64px;
  padding: 16px 0;
  border-bottom: 1px solid var(--redline-silver);
}

.feature-icon {
  width: 28px;
  height: 28px;
  color: var(--redline-white);
  background: var(--redline-red);
  border-radius: 0;
}

.feature-text {
  font-family: var(--redline-display);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Timeline, fleet and references */
body .timeline-grid {
  gap: 0;
  border-top: 7px solid var(--redline-black);
  border-left: 1px solid var(--redline-silver);
}

body .timeline-card {
  min-height: 210px;
  padding: 34px;
  text-align: left;
  border-width: 0 1px 1px 0;
}

body .timeline-year {
  padding: 0;
  color: var(--redline-red);
  background: transparent;
  border-radius: 0;
  font-family: var(--redline-display);
  font-size: 2.1rem;
  font-weight: 900;
}

body .timeline-card p {
  margin-top: 22px;
  color: var(--redline-muted);
  line-height: 1.7;
}

body .vision-box {
  position: relative;
  padding: 58px;
  color: var(--redline-white);
  background: var(--redline-black);
  border-radius: 0;
  text-align: left;
  overflow: hidden;
}

body .vision-box::after {
  content: "2030";
  position: absolute;
  right: 30px;
  bottom: -35px;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--redline-display);
  font-size: 11rem;
  font-weight: 900;
}

body .vision-box h3 {
  position: relative;
  z-index: 1;
  color: var(--redline-white);
  font-family: var(--redline-display);
  font-size: 2.4rem;
  text-transform: uppercase;
}

body .vision-box p {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
}

body .fleet-stats-grid {
  gap: 0;
  border: 1px solid var(--redline-silver);
  border-top: 7px solid var(--redline-red);
}

body .fleet-stat-card {
  padding: 38px 24px;
  background: var(--redline-white);
  border-right: 1px solid var(--redline-silver);
  border-radius: 0;
}

body .fleet-stat-card:last-child {
  border-right: 0;
}

body .fleet-stat-value {
  color: var(--redline-black);
  font-family: var(--redline-display);
  font-size: 3rem;
  font-weight: 900;
}

body .fleet-stat-label {
  font-family: var(--redline-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body .fleet-types-grid {
  gap: 12px;
}

body .fleet-type-card {
  min-height: 82px;
  padding: 18px 22px;
  background: var(--redline-black);
  color: var(--redline-white);
  border: 0;
  border-left: 6px solid var(--redline-red);
  border-radius: 0;
  font-family: var(--redline-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body .partner-card,
.partner-logo {
  min-height: 130px;
  background: var(--redline-white);
  border: 1px solid var(--redline-silver);
  border-radius: 0;
  box-shadow: none;
}

.partner-logo:hover,
body .partner-card:hover {
  border-color: var(--redline-red);
  box-shadow: 6px 6px 0 rgba(237, 28, 36, 0.12);
}

/* Contact and order form */
body .contact-split {
  gap: 0;
  align-items: stretch;
}

body .contact-info-panel {
  top: 100px;
  min-height: 100%;
  padding: 52px 44px;
  color: var(--redline-white);
  background: var(--redline-black);
  border-radius: 0;
}

body .contact-info-title {
  color: var(--redline-white);
  font-size: 2.2rem;
}

body .contact-info-icon {
  color: var(--redline-white);
  background: var(--redline-red);
  border-radius: 0;
}

body .contact-form-panel {
  padding: 52px;
  background: var(--redline-white);
  border: 1px solid var(--redline-silver);
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
}

body .contact-form-title {
  font-size: 2.1rem;
}

body .form-field label {
  color: var(--redline-coal);
  font-family: var(--redline-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body .form-field input,
body .form-field textarea {
  min-height: 50px;
  color: var(--redline-black);
  background: #faf9f7;
  border: 1px solid var(--redline-silver);
  border-radius: 0;
}

body .form-field input:focus,
body .form-field textarea:focus {
  border-color: var(--redline-red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}

.cta {
  padding: 88px 0;
  background: var(--redline-red);
}

.cta-content {
  text-align: left;
}

.cta-title {
  color: var(--redline-white);
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.cta-text {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.cta .btn-outline {
  color: var(--redline-white);
  border-color: rgba(255, 255, 255, 0.72);
}

/* Footer */
.site-footer {
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--redline-black);
  border-top: 8px solid var(--redline-red);
}

.footer-main {
  gap: 56px;
  padding: 76px 0;
}

.footer-logo {
  height: 60px;
  padding: 8px 10px;
  background: var(--redline-white);
}

.footer-heading {
  color: var(--redline-white);
  font-family: var(--redline-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a:hover,
.contact-item a:hover {
  color: var(--redline-red);
}

.contact-item svg {
  color: var(--redline-red);
}

.social-link {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
}

.social-link:hover {
  background: var(--redline-red);
}

.footer-bottom {
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1120px) {
  .site-header {
    top: 14px;
    left: 14px;
    right: 14px;
  }

  .header-container {
    padding: 0 20px;
  }

  .hero-stats {
    width: min(760px, 72vw);
  }

  .nav-list {
    gap: 16px;
  }
}

@media (max-width: 968px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
  }

  .mobile-menu {
    top: 74px;
    padding: 14px 20px 24px;
    background: var(--redline-black);
    border-top: 7px solid var(--redline-red);
  }

  .mobile-nav-link {
    color: var(--redline-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    font-family: var(--redline-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .mobile-nav-link:hover {
    color: var(--redline-white);
    background: var(--redline-red);
  }

  .mobile-ims-link {
    border-radius: 0;
    background: var(--redline-red);
  }

  .header-container > .theme-toggle {
    display: none;
  }

  .mobile-theme-item {
    display: block;
    padding: 14px 16px 4px;
  }

  .hero,
  .hero-container {
    min-height: 780px;
  }

  .hero-content {
    width: min(720px, 92vw);
    text-align: left;
  }

  .hero-title,
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .hero-stats {
    right: 0;
    bottom: -74px;
    width: calc(100vw - 48px);
    min-height: 148px;
  }

  .stat-item {
    padding: 30px 24px;
  }

  .services {
    padding-top: 136px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .hero,
  .hero-container {
    min-height: 720px;
  }

  .hero-container {
    padding-top: 110px;
    padding-bottom: 170px;
  }

  .hero-title {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .hero .btn {
    width: 100%;
  }

  .hero-stats {
    bottom: -96px;
    width: calc(100vw - 30px);
    grid-template-columns: 1fr;
  }

  .stat-item {
    display: none;
  }

  .stat-item:first-child {
    display: block;
  }

  .services {
    padding-top: 150px;
  }

  .service-card {
    min-height: 250px;
  }

  .about-image {
    box-shadow: 10px 10px 0 var(--redline-black);
  }

  .about-image-badge {
    right: 14px;
  }

  body .contact-form-panel,
  body .contact-info-panel {
    padding: 34px 24px;
  }

  body .contact-form-panel {
    border-left: 1px solid var(--redline-silver);
  }

  body .vision-box {
    padding: 38px 26px;
  }
}

/* ============================================================
   MODERNÝ DENNÝ REŽIM
   Pokojnejšia, svetlejšia vrstva s firemnou červenou iba ako
   akcentom. Nočný režim nižšie zostáva samostatnou voľbou.
   ============================================================ */
html:not([data-theme="dark"]) {
  --redline-black: #17202b;
  --redline-coal: #283442;
  --redline-graphite: #526071;
  --redline-paper: #f6f8fb;
  --redline-silver: #e2e7ed;
  --redline-muted: #667386;
  --color-bg-secondary: #eef2f6;
  --shadow-card: 0 8px 28px rgba(23, 32, 43, 0.07);
  --shadow-card-hover: 0 14px 36px rgba(23, 32, 43, 0.11);
}

html:not([data-theme="dark"]) body::before {
  opacity: 0.28;
}

html:not([data-theme="dark"]) .section {
  padding: 88px 0;
}

html:not([data-theme="dark"]) .section-header {
  margin-bottom: 42px;
}

html:not([data-theme="dark"]) .section-title,
html:not([data-theme="dark"]) .about-title,
html:not([data-theme="dark"]) .cta-title,
html:not([data-theme="dark"]) .contact-form-title,
html:not([data-theme="dark"]) .contact-info-title {
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: none;
}

html:not([data-theme="dark"]) .section-title {
  font-size: clamp(2.35rem, 4.2vw, 4rem);
}

html:not([data-theme="dark"]) .site-header {
  top: 16px;
  left: 20px;
  right: 20px;
  border-color: rgba(226, 231, 237, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(23, 32, 43, 0.1);
}

html:not([data-theme="dark"]) .site-header::before {
  right: auto;
  bottom: -1px;
  width: 92px;
  height: 4px;
  border-radius: 0 4px 4px 16px;
  transform: none;
}

html:not([data-theme="dark"]) .site-header.scrolled {
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 26px rgba(23, 32, 43, 0.09);
}

html:not([data-theme="dark"]) .site-header.scrolled::before {
  width: 120px;
  transform: none;
}

html:not([data-theme="dark"]) .nav-link {
  font-family: var(--redline-body);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
}

html:not([data-theme="dark"]) .ims-portal-btn,
html:not([data-theme="dark"]) .lang-current,
html:not([data-theme="dark"]) .lang-dropdown {
  border-radius: 10px;
}

html:not([data-theme="dark"]) .ims-portal-btn {
  background: var(--redline-red);
  border-color: var(--redline-red);
  letter-spacing: 0.03em;
  text-transform: none;
}

html:not([data-theme="dark"]) .hero {
  min-height: 740px;
  color: var(--redline-black);
  background: #edf1f5;
}

html:not([data-theme="dark"]) .hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 42%, rgba(255, 255, 255, 0.78) 62%, rgba(255, 255, 255, 0.16) 100%),
    linear-gradient(0deg, rgba(246, 248, 251, 0.32), rgba(246, 248, 251, 0) 55%);
}

html:not([data-theme="dark"]) .hero::after {
  right: auto;
  bottom: 0;
  width: min(34vw, 480px);
  height: 5px;
}

html:not([data-theme="dark"]) .hero-container {
  min-height: 740px;
  padding-top: 126px;
  padding-bottom: 150px;
}

html:not([data-theme="dark"]) .hero-image img {
  filter: saturate(0.88) contrast(1.02) brightness(1.04);
}

html:not([data-theme="dark"]) .hero-content {
  width: min(680px, 58vw);
}

html:not([data-theme="dark"]) .hero-eyebrow {
  margin-bottom: 18px;
  color: #596679;
  letter-spacing: 0.12em;
  text-shadow: none;
}

html:not([data-theme="dark"]) .hero-eyebrow::before {
  width: 44px;
  height: 4px;
  border-radius: 999px;
}

html:not([data-theme="dark"]) .hero-title {
  max-width: 680px;
  margin-bottom: 24px;
  color: var(--redline-black);
  font-size: clamp(3.4rem, 6.1vw, 6.2rem);
  letter-spacing: -0.058em;
  line-height: 0.92;
  text-shadow: none;
  text-transform: none;
}

html:not([data-theme="dark"]) .hero-title-highlight {
  color: var(--redline-red);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--redline-red);
  -webkit-text-stroke: 0;
}

html:not([data-theme="dark"]) .hero-description {
  max-width: 620px;
  color: #4f5d6e;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
  text-shadow: none;
}

html:not([data-theme="dark"]) .hero .btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 10px;
  letter-spacing: 0.03em;
  text-transform: none;
}

html:not([data-theme="dark"]) .hero .btn-primary {
  box-shadow: 0 10px 22px rgba(237, 28, 36, 0.2);
}

html:not([data-theme="dark"]) .hero .btn-primary:hover {
  box-shadow: 0 12px 26px rgba(237, 28, 36, 0.26);
  transform: translateY(-2px);
}

html:not([data-theme="dark"]) .hero .btn-outline {
  color: var(--redline-coal);
  background: rgba(255, 255, 255, 0.82);
  border-color: #cfd6df;
}

html:not([data-theme="dark"]) .hero .btn-outline:hover {
  color: var(--redline-red);
  background: #fff;
  border-color: var(--redline-red);
}

html:not([data-theme="dark"]) .hero-stats {
  right: clamp(22px, 4vw, 64px);
  bottom: -54px;
  width: min(650px, 54vw);
  min-height: 148px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--redline-silver);
  border-top: 5px solid var(--redline-red);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(23, 32, 43, 0.13);
}

html:not([data-theme="dark"]) .stat-item {
  padding: 30px 28px;
  border-color: var(--redline-silver);
}

html:not([data-theme="dark"]) .stat-value {
  color: var(--redline-black);
}

html:not([data-theme="dark"]) .stat-label {
  color: var(--redline-muted);
  letter-spacing: 0.06em;
  text-transform: none;
}

html:not([data-theme="dark"]) .services {
  padding-top: 128px;
  background: #fff;
}

html:not([data-theme="dark"]) .services-grid {
  gap: 16px;
  border: 0;
}

html:not([data-theme="dark"]) .service-card {
  min-height: 260px;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--redline-silver);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(23, 32, 43, 0.05);
}

html:not([data-theme="dark"]) .service-card::before {
  height: 4px;
  border-radius: 0 0 16px 16px;
}

html:not([data-theme="dark"]) .service-card:hover {
  color: var(--redline-black);
  background: #fff7f7;
  border-color: #f2b8ba;
  box-shadow: 0 14px 34px rgba(23, 32, 43, 0.09);
  transform: translateY(-3px);
}

html:not([data-theme="dark"]) .service-card:hover .card-title {
  color: var(--redline-black);
}

html:not([data-theme="dark"]) .service-card:hover .card-text {
  color: var(--redline-muted);
}

html:not([data-theme="dark"]) .card-icon {
  color: var(--redline-red);
  background: #fff0f1;
  border: 0;
  border-radius: 12px;
}

html:not([data-theme="dark"]) .card-title {
  margin-top: 26px;
  letter-spacing: -0.02em;
  text-transform: none;
}

html:not([data-theme="dark"]) .about-image {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(23, 32, 43, 0.14);
}

html:not([data-theme="dark"]) .about-image-badge {
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(237, 28, 36, 0.2);
}

html:not([data-theme="dark"]) .about-title {
  font-size: clamp(2.4rem, 4vw, 4.35rem);
}

html:not([data-theme="dark"]) .feature-text {
  letter-spacing: 0;
  text-transform: none;
}

html:not([data-theme="dark"]) body .timeline-grid {
  gap: 14px;
  border: 0;
}

html:not([data-theme="dark"]) body .timeline-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--redline-silver);
  border-radius: 14px;
}

html:not([data-theme="dark"]) body .vision-box {
  padding: 48px;
  color: var(--redline-black);
  background: linear-gradient(135deg, #fff 0%, #fff4f4 100%);
  border: 1px solid #f0d7d8;
  border-radius: 18px;
}

html:not([data-theme="dark"]) body .vision-box::after {
  color: rgba(237, 28, 36, 0.06);
}

html:not([data-theme="dark"]) body .vision-box h3 {
  color: var(--redline-black);
  text-transform: none;
}

html:not([data-theme="dark"]) body .fleet-stats-grid {
  gap: 12px;
  border: 0;
}

html:not([data-theme="dark"]) body .fleet-stat-card {
  background: #fff;
  border: 1px solid var(--redline-silver);
  border-radius: 14px;
}

html:not([data-theme="dark"]) body .fleet-stat-label {
  letter-spacing: 0.03em;
  text-transform: none;
}

html:not([data-theme="dark"]) body .fleet-types-grid {
  gap: 12px;
}

html:not([data-theme="dark"]) body .fleet-type-card {
  color: var(--redline-coal);
  background: #fff;
  border: 1px solid var(--redline-silver);
  border-left: 4px solid var(--redline-red);
  border-radius: 12px;
  letter-spacing: 0;
  text-transform: none;
}

html:not([data-theme="dark"]) body .partner-card,
html:not([data-theme="dark"]) .partner-logo {
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(23, 32, 43, 0.04);
}

html:not([data-theme="dark"]) .partner-logo:hover,
html:not([data-theme="dark"]) body .partner-card:hover {
  box-shadow: 0 12px 28px rgba(23, 32, 43, 0.09);
}

html:not([data-theme="dark"]) body .contact-split {
  gap: 20px;
}

html:not([data-theme="dark"]) body .contact-info-panel,
html:not([data-theme="dark"]) body .contact-form-panel {
  padding: 46px;
  border: 1px solid var(--redline-silver);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(23, 32, 43, 0.06);
}

html:not([data-theme="dark"]) body .contact-info-panel {
  color: var(--redline-coal);
  background: #eef2f6;
}

html:not([data-theme="dark"]) body .contact-info-title {
  color: var(--redline-black);
}

html:not([data-theme="dark"]) body .contact-info-icon {
  color: var(--redline-red);
  background: #fff;
  border-radius: 10px;
}

html:not([data-theme="dark"]) body .form-field label {
  letter-spacing: 0.03em;
  text-transform: none;
}

html:not([data-theme="dark"]) body .form-field input,
html:not([data-theme="dark"]) body .form-field textarea {
  background: #fbfcfd;
  border-radius: 10px;
}

html:not([data-theme="dark"]) .cta {
  color: var(--redline-black);
  background: #fff0f1;
  border-top: 1px solid #f4d4d5;
  border-bottom: 1px solid #f4d4d5;
}

html:not([data-theme="dark"]) .cta-title {
  color: var(--redline-black);
}

html:not([data-theme="dark"]) .cta-text {
  color: var(--redline-muted);
}

html:not([data-theme="dark"]) .cta .btn-primary {
  color: #fff;
  background: var(--redline-red);
}

html:not([data-theme="dark"]) .cta .btn-outline {
  color: var(--redline-coal);
  border-color: #b8c1cb;
}

html:not([data-theme="dark"]) .btn,
html:not([data-theme="dark"]) .social-link {
  border-radius: 10px;
}

html:not([data-theme="dark"]) .site-footer {
  background: #17202b;
  border-top-width: 5px;
}

@media (max-width: 968px) {
  html:not([data-theme="dark"]) .site-header {
    border-radius: 0 0 14px 14px;
  }

  html:not([data-theme="dark"]) .mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--redline-silver);
    box-shadow: 0 18px 36px rgba(23, 32, 43, 0.12);
  }

  html:not([data-theme="dark"]) .mobile-nav-link {
    color: var(--redline-coal);
    border-color: var(--redline-silver);
    border-radius: 8px;
    letter-spacing: 0;
    text-transform: none;
  }

  html:not([data-theme="dark"]) .mobile-nav-link:hover {
    color: var(--redline-red);
    background: #fff0f1;
  }

  html:not([data-theme="dark"]) .hero-content {
    width: min(650px, 88vw);
  }

  html:not([data-theme="dark"]) .hero-stats {
    right: 24px;
    width: calc(100vw - 48px);
  }
}

@media (max-width: 720px) {
  html:not([data-theme="dark"]) .section {
    padding: 68px 0;
  }

  html:not([data-theme="dark"]) .hero,
  html:not([data-theme="dark"]) .hero-container {
    min-height: 700px;
  }

  html:not([data-theme="dark"]) .hero::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.83));
  }

  html:not([data-theme="dark"]) .hero-title {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
  }

  html:not([data-theme="dark"]) .hero-stats {
    right: 15px;
    width: calc(100vw - 30px);
  }

  html:not([data-theme="dark"]) .about-image {
    box-shadow: 0 14px 32px rgba(23, 32, 43, 0.13);
  }

  html:not([data-theme="dark"]) body .contact-info-panel,
  html:not([data-theme="dark"]) body .contact-form-panel {
    padding: 32px 24px;
  }
}

/* ============================================================
   NOČNÝ REŽIM
   Hero a červená línia zostávajú výrazné, pracovné plochy sa
   menia na uhlíkové povrchy s čitateľným kontrastom.
   ============================================================ */
html[data-theme="dark"] {
  --color-bg-primary: #101214;
  --color-bg-secondary: #1b1d20;
  --color-bg-white: #191b1e;
  --color-text-primary: #f4f2ee;
  --color-text-secondary: #b4b8bd;
  --color-text-muted: #858a90;
  --color-border: #393c41;
  --color-border-light: #292c30;
  --color-border-dark: #4a4e54;
  --redline-silver: #393c41;
  --redline-muted: #b4b8bd;
}

html[data-theme="dark"] body {
  color: #f4f2ee;
  background: #101214;
}

html[data-theme="dark"] body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.scrolled {
  background: rgba(20, 22, 25, 0.97);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .header-logo {
  padding: 4px 8px;
  background: #f7f6f2;
}

html[data-theme="dark"] .nav-link {
  color: #f4f2ee;
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: var(--redline-red);
}

html[data-theme="dark"] .lang-current,
html[data-theme="dark"] .lang-dropdown {
  color: #f4f2ee;
  background: #191b1e;
  border-color: #44484d;
}

html[data-theme="dark"] .lang-option {
  color: #e9e7e2;
}

html[data-theme="dark"] .section-title,
html[data-theme="dark"] .about-title,
html[data-theme="dark"] .contact-form-title,
html[data-theme="dark"] .contact-info-title,
html[data-theme="dark"] .card-title,
html[data-theme="dark"] .feature-text,
html[data-theme="dark"] body .fleet-stat-value {
  color: #f4f2ee;
}

html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .about-text,
html[data-theme="dark"] .card-text,
html[data-theme="dark"] body .timeline-card p,
html[data-theme="dark"] body .fleet-stat-label,
html[data-theme="dark"] .partner-since,
html[data-theme="dark"] .contact-form-subtitle {
  color: #adb1b6;
}

html[data-theme="dark"] .about,
html[data-theme="dark"] .services,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] body .timeline-card,
html[data-theme="dark"] body .fleet-stat-card,
html[data-theme="dark"] body .partner-card,
html[data-theme="dark"] .partner-logo,
html[data-theme="dark"] body .contact-form-panel {
  color: #f4f2ee;
  background: #191b1e;
  border-color: #393c41;
}

html[data-theme="dark"] .service-card:hover,
html[data-theme="dark"] body .fleet-type-card,
html[data-theme="dark"] body .contact-info-panel,
html[data-theme="dark"] body .vision-box {
  background: #08090a;
}

html[data-theme="dark"] .feature-item,
html[data-theme="dark"] body .fleet-stat-card,
html[data-theme="dark"] .services-grid,
html[data-theme="dark"] body .fleet-stats-grid {
  border-color: #393c41;
}

html[data-theme="dark"] body .partner-card img,
html[data-theme="dark"] .partner-logo img {
  padding: 8px;
  background: #f7f6f2;
}

html[data-theme="dark"] body .form-field label {
  color: #d4d6d9;
}

html[data-theme="dark"] body .form-field input,
html[data-theme="dark"] body .form-field textarea {
  color: #f4f2ee;
  background: #23262a;
  border-color: #45494f;
}

html[data-theme="dark"] body .form-field input:focus,
html[data-theme="dark"] body .form-field textarea:focus {
  background: #111315;
}

html[data-theme="dark"] .footer-logo {
  background: #f7f6f2;
}

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