/* --- 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 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F7F9FB;
}
body {
  color: #1d2533;
  background: #F7F9FB;
  line-height: 1.65;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: #2C4D73;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #171717;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
}
th, td {
  padding: 14px 20px;
  text-align: left;
  background: #fff;
  border: 1px solid #DFE5ED;
}
th {
  background: #e6eaf0;
  font-weight: 700;
}

/* --- BRAND FONTS & COLORS --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
:root {
  --color-primary: #171717;
  --color-secondary: #F3D374;
  --color-accent: #FFFFFF;
  --color-blue: #2C4D73;
  --color-lightblue: #EFF3F8;
  --color-gray: #f6f6f8;
  --color-gray-med: #dbe2ea;
  --color-gray-dark: #acb3bb;
  --color-shadow: rgba(25,49,78,0.07);

  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: -1px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul li, ol li, td, th {
  font-size: 1rem;
  font-family: var(--font-body);
  color: #262D36;
}
p.subheadline {
  font-size: 1.25rem;
  color: var(--color-gray-dark);
  font-weight: 400;
  margin-bottom: 28px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* --- CONTAINER STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER --- */
header {
  background: var(--color-accent);
  box-shadow: 0 4px 18px -3px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 10px;
  color: var(--color-blue);
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-lightblue);
  color: var(--color-primary);
}
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-blue);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 30px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.2s, box-shadow 0.18s, color 0.19s, transform 0.17s;
  cursor: pointer;
  margin-left: 14px;
  text-align: center;
  letter-spacing: 0.03em;
}
.cta-button:hover,
.cta-button:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 4px 16px var(--color-shadow);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-blue);
  font-size: 2rem;
  margin-left: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  line-height: 1;
  transition: background 0.18s, color 0.18s;
  z-index: 202;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(38,45,54,0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.75,0,.23,1);
  z-index: 2002;
  opacity: 1;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2.4rem;
  margin: 26px 0 10px 24px;
  cursor: pointer;
  z-index: 2003;
  align-self: flex-start;
  transition: color 0.18s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin: 24px 0 0 34px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 9px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  header nav {
    gap: 16px;
  }
  header .container {
    gap: 12px;
    height: 70px;
  }
  .cta-button {
    padding: 10px 21px;
    font-size: 1rem;
    margin-left: 8px;
  }
}
@media (max-width: 820px) {
  .cta-button {
    padding: 10px 10px;
    min-width: 120px;
    font-size: 0.99rem;
    margin-left: 6px;
  }
}

@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    height: 60px;
    gap: 4px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* --- SECTION SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .benefits, .fleet-preview, .services-preview, .testimonials-preview, .contact-cta, .cta {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- CARD AND GRID PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 32px 28px;
  margin-bottom: 24px;
  border-left: 6px solid var(--color-blue);
  transition: box-shadow 0.18s, border-color 0.19s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px var(--color-shadow);
  border-left: 6px solid var(--color-secondary);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--color-gray-dark);
  font-family: var(--font-body);
}
.stars {
  color: var(--color-secondary);
  font-size: 1.25rem;
  letter-spacing: 1.5px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 18px;
  justify-content: flex-start;
}
.feature-grid li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: 10px;
  padding: 26px 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
  max-width: 280px;
  margin-bottom: 22px;
  transition: box-shadow 0.16s, transform 0.15s;
}
.feature-grid li img {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
}
.feature-grid li h3 {
  font-size: 1.16rem;
  font-family: var(--font-display);
  color: var(--color-blue);
}
.feature-grid li:hover {
  box-shadow: 0 8px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.020);
  border-left: 4px solid var(--color-secondary);
}
@media (max-width: 992px) {
  .feature-grid {
    gap: 16px;
  }
  .feature-grid li {
    min-width: 160px;
    max-width: 360px;
    padding: 20px 14px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid li {
    max-width: 100%;
    width: 100%;
  }
}

/* --- PRICING TABLE --- */
.pricing-table {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.pricing-table th {
  color: var(--color-blue);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.pricing-table td {
  font-family: var(--font-body);
}
@media (max-width: 520px) {
  .pricing-table th, .pricing-table td {
    font-size: 0.93rem;
    padding: 6px 6px;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(120deg, #e8edf4 60%, #fff 110%);
  display: flex;
  align-items: center;
  min-height: 370px;
  padding-top: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eaeaea;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero h1 {
  color: #222A35;
  font-size: 2.8rem;
  font-family: var(--font-display);
  font-weight: 700;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: 260px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}

/* --- CTA / CONTACT SECTIONS --- */
.contact-cta, .cta {
  background: #eff3f8;
  border-radius: 14px;
  margin-bottom: 60px;
  padding: 40px 20px;
}
.contact-snippet {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 6px;
}
.contact-snippet li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #253146;
  font-family: var(--font-body);
}
.contact-snippet img {
  width: 24px;
  height: 24px;
}
.locations .text-section {
  margin-top: 12px;
}

/* --- FOOTER --- */
footer {
  background: #20232a;
  color: #dde6f2;
  padding-top: 32px;
  border-top: 1px solid #e9ecef;
  position: relative;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-main img {
  width: 54px;
  margin-bottom: 18px;
}
.footer-main nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-main nav a {
  color: #dde6f2;
  font-size: 1rem;
  font-family: var(--font-body);
  padding: 2px 0;
  opacity: 0.92;
  transition: color 0.16s, opacity 0.16s;
}
.footer-main nav a:hover {
  color: var(--color-secondary);
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: middle;
}
.footer-bottom {
  border-top: 1px solid #343741;
  text-align: center;
  margin-top: 14px;
  padding: 10px 0 12px 0;
  color: #9bacbe;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .footer-main {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-contact {
    gap: 8px;
  }
  .footer-main img {
    margin-bottom: 2px;
  }
  footer .container {
    padding: 0 8px;
  }
}

/* --- TEXT SECTION --- */
.text-section {
  margin-top: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin-left: 18px;
  list-style: disc;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 5px;
  font-size: 1rem;
  color: #37404A;
}
.text-section h3, .text-section h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* --- FAQ STYLES --- */
.faq dl {
  margin-top: 16px;
}
.faq dt {
  font-family: var(--font-display);
  color: var(--color-blue);
  font-weight: 600;
  margin-top: 18px;
  font-size: 1.15rem;
}
.faq dd {
  margin-left: 0;
  margin-top: 4px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #212A34;
}

/* --- UTILITIES --- */
.hide {
  display: none !important;
}

/* --- RESPONSIVE: MOBILE-FIRST --- */
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.28rem;
  }
  .section, .features, .benefits, .fleet-preview, .testimonials-preview, .contact-cta, .cta {
    padding: 18px 4px;
    margin-bottom: 28px;
  }
  .card-container {
    gap: 12px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card, .testimonial-card {
    padding: 18px 9px;
    border-radius: 9px;
  }
}

/* --- ANIMATIONS --- */
.cta-button, .card, .testimonial-card, .feature-grid li, .mobile-menu, .mobile-menu-close {
  transition: box-shadow 0.18s, transform 0.14s, border 0.18s, color 0.15s, background 0.13s;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  background: #1d2533;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 18px 16px 18px;
  box-shadow: 0 -4px 24px var(--color-shadow);
  gap: 28px;
  flex-wrap: wrap;
  min-height: 72px;
  transition: transform 0.25s ease, opacity 0.28s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100vh);
  pointer-events: none;
}
.cookie-banner__message {
  font-size: 1rem;
  max-width: 520px;
  color: #fff;
  margin-right: 32px;
}
.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--color-blue);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 5px;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.13s, color 0.15s;
  box-shadow: 0 2px 6px var(--color-shadow);
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-blue);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 8px 18px 8px;
  }
  .cookie-banner__message {
    margin-right: 0;
    max-width: 100%;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 4000;
  left: 0; top:0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(38,45,54,0.67);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.17s;
}
.cookie-modal {
  background: #fff;
  color: #222A35;
  border-radius: 14px;
  max-width: 420px;
  min-width: 290px;
  box-shadow: 0 6px 36px var(--color-shadow);
  padding: 32px 28px;
  z-index: 4001;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInModal 0.3s cubic-bezier(.4,2,.8,1.4);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--color-blue);
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-blue);
  width: 18px;
  height: 18px;
}
.cookie-category .cookie-essential {
  font-weight: bold;
  color: #365072;
}
.cookie-category .cookie-locked {
  font-size: 1.2em;
  margin-left: 3px;
  color: var(--color-blue);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  min-width: 120px;
  font-size: 1rem;
}
@media (max-width: 420px) {
  .cookie-modal {
    padding: 16px 3vw;
    min-width: 0;
    max-width: 98vw;
  }
}

/* --- Misc --- */
div[aria-hidden="true"] {
  display: none !important;
}

/* --- FOCUS STYLES & ACCESSIBILITY --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
  background: #fff7e1;
}

/* --- END OF CSS --- */