/* ------------------ CSS RESET & NORMALIZATION ------------------ */
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;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1.5;
  background: #161b1d;
  color: #F7F9F9;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: #59BD59;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #F7F9F9;
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: 1em;
}

/* ------------------ FONT IMPORTS ------------------ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* ------------------ BRAND COLORS & VARIABLES ------------------ */
:root {
  --color-primary: #24565B;
  --color-secondary: #59BD59;
  --color-accent: #F7F9F9;
  --color-bg-dark: #161b1d;
  --color-bg-light: #222729;
  --color-metal: #A0ADB8;
  --color-border: #293035;
  --color-text: #F7F9F9;
  --color-text-muted: #A0ADB8;
  --color-card-bg: #222729;
  --color-shadow: rgba(36, 86, 91, 0.21);
  --color-highlight: #383f43;
}

/* ------------------ TYPOGRAPHY ------------------ */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.3rem;
  color: var(--color-secondary);
  letter-spacing: -1px;
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 0 3px 12px rgba(36,86,91,0.10);
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-accent);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  text-shadow: 0 2px 6px rgba(36,86,91,0.08);
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.17rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
p, ul, ol, li, label, textarea, input, .body-text {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-text);
}
strong, b {
  color: var(--color-secondary);
  font-weight: 700;
}

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

section, .section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0; /* Patched for consistent vertical rhythm */
  background: none;
}
/* ------------ FLEX LAYOUTS (MANDATORY CLASSES) ------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--color-card-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px;
  min-width: 280px;
  flex: 1 1 270px;
  transition: transform 0.16s, box-shadow 0.24s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 32px rgba(36,86,91,0.23);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-accent);
  color: #232829;
  border-radius: 10px;
  border: 2px solid var(--color-secondary);
  margin-bottom: 20px;
  box-shadow: 0 3px 16px rgba(50,65,40,0.11);
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: #232829;
  font-size: 1.06rem;
  line-height: 1.5;
}
.testimonial-card span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ------------------ HEADER & NAVIGATION ------------------ */
header {
  background: var(--color-bg-dark);
  border-bottom: 2px solid var(--color-border);
  padding: 8px 0 8px 0;
  position: relative;
  z-index: 24;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.5px;
  font-size: 1rem;
  position: relative;
  padding: 8px 3px;
  transition: color 0.23s;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  border-radius: 7px;
  border: none;
  padding: 12px 34px 12px 26px;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 3px 16px rgba(89, 189, 89, 0.18);
  margin-left: 22px;
  margin-right: 0;
  transition: background 0.15s, color 0.20s, transform .18s;
  text-shadow: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  outline: none;
  transform: translateY(-2px) scale(1.07);
}

/* Header Logo */
header img {
  height: 38px;
  width: auto;
}
/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  margin-left: 18px;
  cursor: pointer;
  display: none;
  transition: color 0.23s, transform .20s;
  z-index: 52;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--color-accent);
  outline: none;
  transform: scale(1.15);
}

/* ------------------ MOBILE MENU ------------------ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  background: var(--color-bg-dark);
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  box-shadow: 0 4px 38px rgba(36,86,91,0.24);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.5,.2,.2,1.0);
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.4rem;
  color: var(--color-accent);
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 10001;
  cursor: pointer;
  transition: color 0.20s, transform .20s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-secondary);
  transform: scale(1.13);
  outline: none;
}
.mobile-nav {
  margin-top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 0;
  font-size: 1.25rem;
  transition: color 0.18s, background .14s;
  border-radius: 6px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: var(--color-highlight);
  outline: none;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1020px) {
  .main-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ------------------ MAIN CONTENT ------------------ */
main {
  background: none;
  padding-bottom: 40px;
}
section:last-of-type {
  margin-bottom: 0;
}

/* ---------- SERVICE CARDS, HIGHLIGHT CARDS, FAQ ---------- */
.service-card-grid, .highlight-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.service-card {
  background: var(--color-card-bg);
  border: 1.5px solid var(--color-secondary);
  border-radius: 12px;
  box-shadow: 0 3px 18px var(--color-shadow);
  min-width: 230px;
  padding: 28px 20px 22px 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.27s;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 7px 40px #59bd5925;
  border-color: var(--color-primary);
}
.service-card img {
  height: 36px;
  margin-bottom: 14px;
  filter: grayscale(60%) contrast(1.3) brightness(1.08);
}
.service-card span {
  margin-top: 10px;
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.12rem;
}
.route-highlight {
  background: var(--color-card-bg);
  border: 2px solid var(--color-metal);
  box-shadow: 0 3px 16px var(--color-shadow);
  border-radius: 11px;
  padding: 18px 18px 14px 18px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  min-width: 230px;
  transition: box-shadow 0.21s, border-color 0.13s;
}
.route-highlight:hover {
  box-shadow: 0 10px 36px #A0ADB844;
  border-color: var(--color-secondary);
}
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq-item {
  flex: 1 1 300px;
  background: var(--color-highlight);
  border: 1.5px solid var(--color-metal);
  border-radius: 9px;
  padding: 22px 18px 12px 20px;
  box-shadow: 0 2px 11px #22272930;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, border-color 0.16s;
}
.faq-item h3 {
  margin-bottom: 9px;
  font-size: 1.14rem;
  color: var(--color-secondary);
  font-weight: 700;
}
.faq-item p {
  font-size: 1rem;
  color: var(--color-accent);
}
.faq-item:hover {
  box-shadow: 0 5px 25px #59bd5933;
  border-color: var(--color-secondary);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--color-card-bg);
  border-radius: 10px;
  padding: 32px 26px;
  border: 1.5px solid var(--color-metal);
  box-shadow: 0 2px 12px #22272920;
  margin-bottom: 22px;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 3px;
}
.contact-form input, .contact-form textarea {
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-light);
  color: var(--color-accent);
  padding: 9px 12px;
  border-radius: 6px;
  margin-bottom: 0;
  font-size: 1rem;
  transition: border-color 0.17s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
}
.contact-form a.cta-btn {
  margin: 6px 0 0 0;
  width: 100%;
  justify-content: center;
  text-align: center;
}
.contact-form input[disabled],
.contact-form textarea[disabled] {
  background: #222e24;
  color: #64776A;
  cursor: not-allowed;
}

/* ---------- SEARCH BAR ---------- */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--color-card-bg);
  border-radius: 7px;
  border: 1.5px solid var(--color-border);
  padding: 8px 16px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 440px;
}
.search-bar input[type="text"] {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 1.05rem;
  flex: 1 1 0;
  padding: 6px 0;
  outline: none;
}
.search-bar input[disabled] {
  color: #979c98;
}

.stations-list {
  margin-bottom: 20px;
}
.stations-list li {
  color: var(--color-metal);
  margin-bottom: 12px;
  font-size: 1rem;
  padding-left: 1em;
  position: relative;
}
.stations-list li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
}

.partners-logos {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 16px;
  margin-top: 8px;
}

/* ---------- TESTIMONIAL SLIDER ---------- */
.testimonial-slider {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--color-bg-dark);
  border-top: 2px solid var(--color-border);
  padding: 32px 0 14px 0;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: var(--color-metal);
  font-size: 1rem;
  transition: color 0.18s, text-decoration .11s;
  text-underline-offset: 4px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  max-width: 230px;
}
footer img {
  height: 34px;
}

/* ---------- SPACING BETWEEN ELEMENTS ---------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .highlight-cards, .service-card-grid, .faq-list, .testimonial-slider {
  gap: 24px;
}
.card, .service-card, .route-highlight, .faq-item, .testimonial-card {
  margin-bottom: 20px;
}

/* ---------- UTILITY CLASSES ---------- */
.mt-4 { margin-top: 32px !important; }
.mt-2 { margin-top: 12px !important; }
.mb-2 { margin-bottom: 12px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mr-1 { margin-right: 8px !important; }
.gap-2 { gap: 12px !important; }
.center { text-align: center; align-items: center; justify-content: center; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8000;
  background: var(--color-highlight);
  color: var(--color-accent);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 -2px 20px #22272950;
  padding: 18px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.25s, transform 0.5s cubic-bezier(.4,1.22,.33,1);
}
.cookie-banner.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  border: none;
  border-radius: 6px;
  padding: 8px 22px;
  cursor: pointer;
  margin-right: 0;
  box-shadow: 0 2px 8px #59bd5920;
  transition: background 0.15s, color .17s, transform 0.13s;
}
.cookie-btn:last-child {margin-right: 0;}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  outline: none;
  transform: scale(1.07);
}
.cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-bg-dark);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
  padding: 8px 13px;
  border-radius: 5px;
  margin-left: 2px;
  transition: background .18s, color .18s;
}
.cookie-settings-btn:hover,
.cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
}

/* --------- COOKIE PREFERENCES MODAL --------- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,86,91,.56);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.8,.04,.19,.98);
}
.cookie-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-card-bg);
  color: var(--color-accent);
  border-radius: 13px;
  max-width: 400px;
  width: 90vw;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 2px 20px #0a2227a5;
  border: 2px solid var(--color-secondary);
  z-index: 12001;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-secondary);
  cursor: pointer;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-accent);
  outline: none;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
  cursor: pointer;
}
.cookie-category input[disabled] {
  accent-color: var(--color-metal);
  opacity: 0.8;
  cursor: not-allowed;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: flex-end;
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 980px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .content-wrapper {max-width: 98vw;}
  .card-container, .service-card-grid, .highlight-cards, .faq-list, .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .service-card, .card, .route-highlight, .faq-item, .testimonial-card {
    min-width: 90vw;
    flex: 1 1 100%;
    margin-bottom: 18px;
  }
  .footer-nav {
    gap: 12px;
    font-size: .95rem;
  }
  footer .container {
    flex-direction: column;
    gap: 19px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  section, .section {
    padding: 23px 5px 30px 5px;
    margin-bottom: 38px;
  }
  h1, .h1 { font-size: 1.38rem; }
  h2, .h2 { font-size: 1.13rem; }
  h3, .h3 { font-size: 1.02rem; }
  .testimonial-card, .service-card, .card, .route-highlight, .faq-item {
    padding: 15px 9px;
    min-width: 0;
    font-size: .97rem;
  }
  .testimonial-slider, .faq-list, .service-card-grid, .highlight-cards, .card-container {
    gap: 12px;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
  .content-wrapper {padding: 0 2px;}
}
@media (max-width: 520px) {
  header .container {
    flex-direction: row;
    gap: 2px;
    padding: 0 3px;
  }
  .cta-btn {
    min-width: 0;
    padding: 10px 15px;
    font-size: .98rem;
    margin-left: 0;
  }
  .main-nav {gap: 7px;}
  footer {
    padding: 17px 0 8px 0;
  }
  .card, .service-card, .route-highlight, .faq-item {
    padding: 10px 5px;
    font-size: .94rem;
  }
}

/* ------------------ MICRO-INTERACTIONS ------------------ */
button, a.button, .cta-btn, .cookie-btn, .cookie-settings-btn {
  transition: background 0.15s, color 0.17s, transform 0.13s, box-shadow 0.18s;
}
input:focus, textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
  background: #212e2a;
}
textarea {
  resize: vertical;
}

/* ------------------ ACCESSIBILITY ------------------ */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ------------------ SPECIAL CASES FOR INFOS ------------------ */
.card .price, .service-card span, .service-block span {
  background: #2a3b2b;
  color: var(--color-secondary);
  font-size: 1.12rem;
  border-radius: 4px;
  padding: 2px 11px;
  margin-top: 8px;
}
ul li, .content-wrapper ul li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 11px;
}
ul li:before, .content-wrapper ul li:before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin-right: 11px;
  position: absolute;
  left: 0;
  top: 7px;
}

/* ---------------------- SCROLLBAR STYLE ---------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #232829;
}
::-webkit-scrollbar-thumb {
  background: #363b41;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ===================== END OF STYLE.CSS ===================== */
