/* =============================================================================
   CSS RESET & NORMALIZE
============================================================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #171B21;
  color: #F6F7F8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
}

/* =============================================================================
   VARIABLES
============================================================================= */
:root {
  --color-primary: #17416D;
  --color-primary-dark: #112f4e;
  --color-secondary: #F6F7F8;
  --color-secondary-dark: #C8CACC;
  --color-accent: #F9B233;
  --color-accent-dark: #b77f1b;
  --color-bg: #171B21;
  --color-surface: #232936;
  --color-surface-alt: #1d222c;
  --color-border: #343943;
  --color-metallic: #95A5A6;
  --color-white: #FFF;
  --color-black: #000;
  --color-success: #96C125;
  --color-error: #C1392B;
  --font-display: 'Montserrat', "Arial Narrow", Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* =============================================================================
   TYPOGRAPHY
============================================================================= */
body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-secondary);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-secondary);
  margin-bottom: 18px;
  line-height: 1.15;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.3rem;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li {
  font-size: 1rem;
  color: var(--color-metallic);
}
.text-section h1,
.text-section h2,
.text-section h3 {
  color: var(--color-accent);
}
strong {
  font-weight: 700;
  color: var(--color-white);
}
em {
  color: var(--color-accent);
  font-style: italic;
}

/* =============================================================================
   LAYOUT STRUCTURE & SPACING PATTERNS
============================================================================= */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 rgba(13,19,23,0.18);
  transition: box-shadow 0.18s, border-color 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-width: 360px;
  padding: 28px 22px;
}
.card:hover {
  box-shadow: 0 5px 22px 0 rgba(40,40,42,0.22);
  border-color: var(--color-accent);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--color-secondary);
  color: var(--color-black);
  border-radius: 10px;
  box-shadow: 0 2px 12px 0 rgba(23,36,48,0.11);
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 600px;
  border-left: 5px solid var(--color-accent);
  border-bottom: 1px solid var(--color-border);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px 0;
}

/* List Styles */
ul, ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 0;
}
li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-metallic);
}
ul li img, ol li img {
  width: 22px;
  height: 22px;
  filter: grayscale(45%) brightness(1.15);
}

/* Tables (price & fleet) */
table {
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0 20px 0;
  border: 1px solid var(--color-border);
  font-size: 1rem;
}
thead th {
  background: var(--color-primary-dark);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.08rem;
}
tbody td {
  color: var(--color-metallic);
  border-bottom: 1px solid var(--color-border);
}
tbody tr:last-child td {
  border-bottom: none;
}

/* =============================================================================
   NAVIGATION & HEADER
============================================================================= */
header {
  width: 100%;
  background: var(--color-surface);
  box-shadow: 0 2px 11px 0 rgba(17, 31, 54, 0.09);
  position: sticky;
  top: 0;
  z-index: 20;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  padding: 15px 18px 15px 8px;
}
.main-nav > a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 16px;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: .02em;
  position: relative;
}
.main-nav > a.cta {
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: none;
  border-radius: 7px;
  margin-left: 10px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 11px 0 rgba(249,178,51,0.11);
}
.main-nav > a.cta:hover,
.main-nav > a.cta:focus {
  background: var(--color-accent-dark);
  color: var(--color-white);
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--color-primary-dark);
  color: var(--color-accent);
}
.main-nav > a img {
  height: 37px;
  width: auto;
  margin: 0 12px 0 0;
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-accent);
  margin-left: auto;
  z-index: 22;
}

/* =============================================================================
   MOBILE MENU
============================================================================= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-surface-alt);
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.76,.05,.86,.06);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding-top: 38px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 12px 0;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 10px 32px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.mobile-nav a {
  padding: 13px 0;
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.15rem;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-white);
  background: var(--color-primary-dark);
  border-radius: 4px;
  padding-left: 10px;
}

/* Show mobile toggle and menu on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 1020px) {
  .mobile-menu {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* =============================================================================
   BUTTONS & CTA
============================================================================= */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 13px 32px;
  font-size: 1.12rem;
  border: none;
  border-radius: 7px;
  margin-top: 8px;
  margin-bottom: 8px;
  box-shadow: 0 3px 12px 0 rgba(249,178,51,0.18);
  transition: background 0.18s, color 0.18s, transform 0.13s;
  letter-spacing: .03em;
  text-shadow: none;
}
.cta:hover,
.cta:focus {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.025);
}

button.cta {
  border: none;
  outline: none;
  cursor: pointer;
}

/* =============================================================================
   FOOTER
============================================================================= */
footer {
  width: 100%;
  background: var(--color-surface);
  color: var(--color-metallic);
  padding-top: 36px;
  padding-bottom: 20px;
  border-top: 2.5px solid var(--color-border);
  box-shadow: 0 -2px 14px 0 rgba(23,36,48,0.08);
}
.footer-nav {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
}
.footer-nav nav {
  display: flex;
  gap: 22px;
}
.footer-nav nav a {
  color: var(--color-secondary-dark);
  text-decoration: underline;
  font-size: .98rem;
  opacity: .92;
  transition: color 0.18s;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  color: var(--color-accent);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 0 16px;
}
.footer-contact a {
  color: var(--color-white);
  text-decoration: underline;
  transition: color 0.16s;
}
.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--color-accent);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 6px;
  margin-bottom: 10px;
}
.footer-social img {
  width: 28px;
  height: 28px;
  filter: grayscale(65%) brightness(2);
  transition: filter 0.17s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: none;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  opacity: 0.65;
  color: var(--color-metallic);
}

/* =============================================================================
   HERO SECTIONS AND TEXT-IMAGE FLEX SECTIONS
============================================================================= */
section {
  background: transparent;
  width: 100%;
}
.text-image-section {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}
.text-image-section > * {
  flex: 1 1 0;
  min-width: 0;
}

/* =============================================================================
   TABLET & MOBILE RESPONSIVE DESIGN
============================================================================= */
@media (max-width: 980px) {
  .main-nav > a {
    font-size: 0.98rem;
    padding: 5px 10px;
  }
  .container {
    max-width: 97vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  .container,
  .content-wrapper,
  .card-container,
  .content-grid,
  .feature-item {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  .text-image-section,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav {
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px;
  }
  .section {
    margin-bottom: 44px;
    padding: 22px 2px;
  }
  h1 {
    font-size: 1.63rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .testimonial-card {
    max-width: 98vw;
    font-size: 0.97rem;
  }
  .footer-nav nav {
    flex-direction: column;
    gap: 9px;
    align-items: center;
  }
  .footer-contact {
    padding: 4px;
    font-size: .94rem;
  }
  .footer-bottom {
    font-size: .92rem;
  }
  table th, table td {
    font-size: .97rem;
    padding: 8px;
  }
  .card,
  .testimonial-card {
    padding: 13px 10px;
    min-width: 160px;
    font-size: 0.95rem;
  }
}

/* =============================================================================
   ANIMATIONS / TRANSITIONS / MICRO-INTERACTIONS
============================================================================= */
a, .cta, .btn, button {
  transition: background 0.18s, color 0.18s, border 0.18s, box-shadow 0.18s, filter 0.16s, transform 0.13s;
}
section, .card, .testimonial-card {
  transition: box-shadow 0.14s;
}
.cta:active {
  transform: translateY(1px) scale(.99);
}

/* =============================================================================
   UTILITIES & INDUSTRIAL MODERN AESTHETICS
============================================================================= */
.section {
  background: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 rgba(31,46,61,0.15);
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  box-shadow: 0 1.5px 8px 0 rgba(28, 34, 39, 0.09);
  background: transparent;
  border-radius: 7px;
  margin-left: auto;
  margin-right: auto;
}

hr {
  border: none;
  border-top: 1.5px solid var(--color-border);
  margin: 18px 0;
}

/* metallic accents on selected components */
.card, .testimonial-card, table, .section {
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px 0 rgba(59,60,61,0.07);
}

/* accent separators */
h2:after, h3:after {
  content: "";
  display: block;
  width: 46px;
  height: 3.5px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--color-accent);
}

/* industrial font for headings */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display), 'Roboto Condensed', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0.03em;
}

/* industrial icon/label accents */
li img, p img {
  border-radius: 4px;
  background: var(--color-border);
  padding: 2px;
  object-fit: contain;
  box-shadow: 0 1px 3px rgba(19,20,28,0.15);
}

/* =============================================================================
   COOKIE CONSENT BANNER
============================================================================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2300;
  background: var(--color-surface-alt);
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -4px 22px 0 rgba(24,35,45,0.17);
  color: var(--color-white);
  font-size: 1rem;
  padding: 19px 12px 16px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  animation: cookieBannerIn .6s cubic-bezier(.76,.05,.86,.06);
  flex-wrap: wrap;
}
@keyframes cookieBannerIn {
  from {transform: translateY(100%);} to {transform: translateY(0);}
}
.cookie-banner__msg {
  flex: 1;
  color: var(--color-white);
  max-width: 600px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-black);
  font-family: var(--font-display);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 9px 21px;
  margin: 0 3px;
  box-shadow: 0 2px 9px 0 rgba(249,178,51,0.11);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
}
.cookie-btn.reject {
  background: var(--color-error);
  color: var(--color-white);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(23,29,33, 0.87);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .3s cubic-bezier(.76,.05,.86,.06);
}
@keyframes fadeInCookieModal {
  from {opacity:0;} to {opacity:1;}
}
.cookie-modal__dialog {
  background: var(--color-surface);
  padding: 36px 28px 26px 28px;
  border-radius: 14px;
  min-width: 340px;
  box-shadow: 0 7px 35px 0 rgba(24,31,45,0.23);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 13px;
  max-width: 95vw;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 15px;
  background: transparent;
  border: none;
  color: var(--color-accent);
  font-size: 1.72rem;
  line-height: 1;
  cursor: pointer;
  z-index: 999;
}
.cookie-modal__close:hover,
.cookie-modal__close:focus {
  color: var(--color-white);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  background: var(--color-surface-alt);
  border-radius: 7px;
  padding: 13px 12px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-left: 5px solid var(--color-accent);
  margin-bottom: 4px;
}
.cookie-category__title {
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  margin-bottom: 3px;
}
.cookie-category__desc {
  color: var(--color-metallic);
  font-size: .96rem;
}
.cookie-category__switch {
  margin-left: auto;
  min-width: 58px;
}

/* Switches (for Analytics / Marketing toggles) */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-accent-dark);
  border-radius: 24px;
  transition: background 0.22s;
}
.switch input:checked + .switch-slider {
  background: var(--color-success);
}
.switch-slider:before {
  content: '';
  position: absolute;
  left: 4px;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--color-white);
  border-radius: 50%;
  transition: transform 0.22s;
}
.switch input:checked + .switch-slider:before {
  transform: translateX(22px);
}

/* Essential cookie - always on (disabled switch look) */
.switch input[disabled] + .switch-slider {
  background: var(--color-border);
  opacity: .66;
}
.switch input[disabled] + .switch-slider:before {
  background: var(--color-secondary);
}

/* =============================================================================
   RESPONSIVE: COOKIE BANNER/MODAL
============================================================================= */
@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    font-size: .98rem;
    padding: 13px 2vw 16px 2vw;
  }
  .cookie-banner__actions {
    justify-content: flex-start;
    gap: 8px;
  }
  .cookie-modal__dialog {
    min-width: 92vw;
    padding: 18px 9px 16px 11px;
  }
}

/* =============================================================================
   ACCESSIBILITY / FOCUS VISIBLE
============================================================================= */
a:focus-visible, .cta:focus-visible, button:focus-visible,
.cookie-btn:focus-visible, .mobile-menu-close:focus-visible {
  outline: 2.5px solid var(--color-accent);
  outline-offset: 2.5px;
}

/* =============================================================================
   PRINT SUPPORT (basic)
============================================================================= */
@media print {
  body, .container, .content-wrapper, .section, section, .footer-contact, .main-nav {
    box-shadow: none !important;
    background: #fff !important;
    color: #111 !important;
  }
  header, .main-nav, .mobile-menu, .cookie-banner, .cookie-modal, .footer-social { display: none !important; }
  footer { color: #111 !important; background: #fff !important; border-top: none; }
  .card, .testimonial-card { border: 1px solid #ccc !important; background: #fff !important; color: #333 !important; }
}
