/* ---------------- 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, 
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;
}
html { 
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #133366;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
}
a {
  color: #133366;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus { outline: 2px solid #F6C338; outline-offset: 2px; }

ol, ul { list-style: none; }
button { font-family: inherit; font-size: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; color: #133366; line-height: 1.12; }
h1 { font-size: 2.3rem; margin-bottom: 18px; }
h2 { font-size: 1.6rem; margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 8px; }
strong, b { font-weight: 700; }

/* ---------------- THEME VARIABLES & UTILITIES ------------------- */
:root {
  --primary: #133366;
  --secondary: #F6C338;
  --accent: #fff;
  --bg-light: #FAFAFA;
  --bg-section: #fff;
  --border-color: #E6EAF1;
  --shadow: 0 2px 8px rgba(19,51,102,0.07);
  --shadow-lg: 0 4px 18px rgba(19,51,102,0.13);
  --radius: 14px;
  --radius-xs: 7px;
  --text-main: #133366;
  --text-light: #666F81;
  --text-dark: #111827;
  --link-hover: #F6C338;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}
.content-wrapper {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------------- HEADER & NAVIGATION ------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: #fff;
  box-shadow: 0 1px 8px rgba(19,51,102,0.03);
  transition: box-shadow 0.2s;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}
header img {
  height: 42px;
  margin-right: 30px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-size: 1rem;
  color: var(--text-main);
  font-family: 'Roboto', Arial, sans-serif;
  padding: 6px 0px;
  transition: color 0.19s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 28px;
  color: var(--accent);
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.04em;
  transition: background 0.22s, color 0.22s, box-shadow 0.18s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--accent);
  border-radius: var(--radius);
  margin-left: 12px;
  color: var(--primary);
  transition: background 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
.mobile-menu-toggle:hover {
  background: #F6C33810;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: var(--accent);
  z-index: 3300;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 18px 36px 18px;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.39,.575,.565,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 0 2px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 0;
  font-weight: 600;
  border-bottom: 1px solid #F0F4F7;
  transition: color 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav a:hover {
  color: var(--secondary);
}

@media (max-width: 990px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 991px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ---------------- MAIN LAYOUT, SECTIONS & SPACING ------------------- */
main {
  background: var(--bg-light);
  min-height: 70vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: none;
}
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background: var(--bg-section);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 48px;
  padding: 56px 16px 56px 16px;
}
.services-section, .testimonials-section, .cta-banner-section {
  background: var(--bg-section);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.cta-banner-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-banner-section .btn-primary {
  margin-top: 20px;
}

.content-wrapper {
  width: 100%;
}

@media (max-width: 649px) {
  .content-wrapper { padding: 0 0px; }
}

/* ---------------- FLEX PATTERNS - GRID REPLACEMENTS --------------- */
.feature-grid, .car-categories-grid, .service-list, .service-grid, .testimonial-slider, .location-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 25px;
}
.feature-item, .fleet-category, .service-item, .location-item {
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xs);
  padding: 24px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, border-color 0.18s;
}
.feature-item:hover, .service-item:hover, .fleet-category:hover, .location-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
  z-index: 2;
}
.service-list, .service-grid {
  gap: 24px;
}
.service-item {
  flex: 1 1 220px;
  min-width: 220px;
}
.car-categories-grid {
  gap: 24px;
}
.location-grid {
  gap: 24px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 28px 18px 26px;
  background: #fff;
  color: #133366;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  max-width: 340px;
  min-width: 220px;
  flex: 1 1 220px;
  font-size: 1rem;
  transition: box-shadow 0.21s, border-color 0.2s;
}
.testimonial-card p {
  color: #133366;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #24436d;
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.88;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  padding: 24px;
  min-width: 220px;
  flex: 1 1 220px;
}

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

.category-descriptions {
  margin-top: 18px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow);
  padding: 16px 16px 10px 16px;
  transition: box-shadow 0.19s, border-color 0.17s;
}
.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}
.faq-item h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 17px 0 28px 0;
  background: none;
}
.process-steps ol {
  color: var(--primary);
  padding-left: 21px;
  font-size: 1rem;
  margin-bottom: 0;
  list-style: decimal;
}

.infographic {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
}
.infographic img {
  width: 40px;
  height: 40px;
  filter: grayscale(0%) contrast(0.87);
}

/* Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: #fff;
  margin: 28px 0 8px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comparison-table th, .comparison-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}
.comparison-table th {
  background: #f5faff;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Legal/text-section */
.legal-section .text-section {
  margin-top: 12px;
  padding: 20px 0;
  color: var(--text-main);
}

.text-section {
  margin-top: 9px;
  margin-bottom: 12px;
  color: var(--text-light);
  font-size: 1rem;
}
.text-section ul {
  list-style: disc inside;
  margin-left: 16px;
}
.text-section li {
  margin-bottom: 7px;
}
.text-section .tagline {
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  margin-top: 10px;
}

address {
  font-style: normal;
  color: var(--text-light);
  font-size: 0.98rem;
  margin-top: 19px;
  line-height: 1.7;
}
address a {
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
  text-decoration: underline dotted #F6C338;
  transition: color 0.16s;
}
address a:hover {
  color: var(--secondary);
}
address img {
  vertical-align: text-bottom;
  height: 1em;
  width: 1em;
  margin-right: 4px;
  opacity: 0.7;
}

/* CTA banner inside forms or contact */
.cta-banner {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 6px;
}

/* Contact info */
.contact-info-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

/* Footer ------------------- */
footer {
  background: #fff;
  padding: 32px 0 16px 0;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 1rem;
  box-shadow: 0 -1px 7px rgba(19,51,102,0.05);
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-wrapper img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0 0 0;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
}

/* ---------------- COOKIE CONSENT BANNER ------------------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 4000;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px 3px rgba(19,51,102,0.12);
  padding: 22px 18px 22px 12px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: opacity 0.3s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cookie-banner .cookie-banner-message {
  flex: 1 1 240px;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cookie-banner button {
  border: none;
  font-size: 1rem;
  padding: 7px 20px;
  border-radius: var(--radius-xs);
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  transition: background 0.16s, color 0.14s;
}
.banner-btn-accept {
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
  border: 2px solid var(--primary);
}
.banner-btn-accept:hover, .banner-btn-accept:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.banner-btn-settings {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border: 2px solid var(--secondary);
}
.banner-btn-settings:hover, .banner-btn-settings:focus {
  background: var(--primary);
  color: var(--accent);
  border-color: var(--primary);
}
.banner-btn-reject {
  background: #EFEBE2;
  color: #888;
  border: 2px solid #E6EAF1;
}
.banner-btn-reject:hover, .banner-btn-reject:focus {
  background: #eaeaee;
  color: #bf9900;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  z-index: 9000;
  left: 0; right: 0; top: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(19,51,102,0.19);
  animation: cookieModalBgIn 0.3s;
}
@keyframes cookieModalBgIn { 0%{ background:rgba(19,51,102,0.00);} 100%{background:rgba(19,51,102,0.19);} }
.cookie-modal.open { display: flex; }
.cookie-modal-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  max-width: 95vw;
  padding: 36px 30px;
  position: relative;
  text-align: left;
  animation: cookieModalIn 0.3s cubic-bezier(.45,.21,.57,1);
}
@keyframes cookieModalIn {
  0%{ transform:scale(0.95); opacity:0; } 100%{transform:scale(1);opacity:1;}
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: #F6C33822;
  color: var(--primary);
  font-size: 1.28rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.19s, color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
  color: var(--accent);
}
.cookie-category-options {
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--text-main);
}
.cookie-cat input[type="checkbox"] {
  width: 19px;
  height: 19px;
}
.cookie-cat .label {
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-cat .always-on {
  font-size: 0.98em;
  color: #6d6d76;
  margin-left: 7px;
}
.cookie-modal-actions {
  margin-top: 24px;
  display: flex;
  gap: 14px;
}

/* ------------------- MEDIA QUERIES ----------------- */
@media (max-width: 1100px) {
  .feature-grid, .car-categories-grid, .service-list, .service-grid, .testimonial-slider, .location-grid {
    flex-direction: row;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
  }
  .feature-item, .fleet-category, .service-item, .card, .testimonial-card, .location-item {
    flex-basis: 44%;
    min-width: 170px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none !important;
  }
  .hero-section, section {
    padding: 24px 5px;
  }
  .feature-grid, .car-categories-grid, .service-list, .service-grid, .testimonial-slider, .location-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-item, .fleet-category, .service-item, .card, .testimonial-card, .location-item {
    min-width: 0;
    width: 100%;
    flex-basis: 100%;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .infographic {
    flex-direction: row;
    gap: 16px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 13px;
    padding: 14px 8px;
    left: 7px; right: 7px; bottom: 7px;
    font-size: 0.99rem;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.04rem; }
  h3 { font-size: 0.95rem; }
  .btn-primary, .cookie-banner button {
    font-size: 0.97rem;
    padding: 9px 14px;
  }
  .cookie-modal-content {
    padding: 18px 9px;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .footer-wrapper img {
    height: 28px;
  }
}

/* ------------- Animations/Microinteractions ------------- */
a, .btn-primary, .footer-nav a, .main-nav a, .mobile-nav a, .feature-item, .fleet-category, .testimonial-card {
  transition: color 0.18s, background 0.21s, box-shadow 0.19s, border-color 0.19s;
}

.btn-primary:active {
  transform: scale(0.97);
}
.feature-item:active, .fleet-category:active, .testimonial-card:active {
  transform: scale(0.99);
}

/* -------------- Print Simplify (Minimal Print) --------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  section, .container, main { box-shadow: none !important; background: #fff !important; }
}

/* ------------- Utility classes -------------- */
.hide { display: none !important; }
.show { display: block !important; }

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