/* =====================
   CSS RESET & BASELINE
======================= */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F1FAEE;
  color: #1D3557;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul,
ol {
  list-style: none;
}
a {
  color: #1D3557;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #457B9D;
}
strong {
  font-weight: 700;
}

/* =====================
   TYPOGRAPHY
======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  color: #1D3557;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  letter-spacing: .01em;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 14px;
  color: #24304A;
}
.text-section p,
.text-section ul,
.text-section ol {
  color: #24304A;
}

/* =====================
   LAYOUT & CONTAINERS
======================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 650px;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgb(33 50 100/0.10);
  overflow: hidden;
  position: relative;
  transition: transform 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.2s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus-within {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 6px 32px 0 rgb(33 50 100/0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 28px 22px 28px;
}
.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: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgb(33 50 100/0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 0;
  flex: 1 1 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   HEADER & NAVIGATION
======================= */
header {
  background: #fff;
  box-shadow: 0 1px 14px 0 rgb(33 50 100/0.08);
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
header img {
  width: 150px;
  margin-right: 32px;
  flex-shrink: 0;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  color: #1D3557;
  padding: 8px 14px;
  position: relative;
  border-radius: 6px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a.active {
  color: #fff;
  background: #457B9D;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 42px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  text-align: center;
  padding: 10px 24px;
  transition: background 0.16s, color 0.16s, box-shadow 0.25s;
  box-shadow: 0 2px 8px 0 rgb(33 50 100/0.07);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-primary {
  background: #1D3557;
  color: #F1FAEE;
}
.btn-primary:hover, .btn-primary:focus {
  background: #457B9D;
  color: #fff;
  box-shadow: 0 8px 32px 0 rgb(33 50 100/0.13);
}
.btn-secondary {
  background: #457B9D;
  color: #fff;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #1D3557;
  color: #F1FAEE;
}
.btn-accent {
  background: #F1FAEE;
  color: #1D3557;
  border: 2px solid #1D3557;
  box-shadow: none;
}
.btn-accent:hover, .btn-accent:focus {
  background: #1D3557;
  color: #fff;
}

/* Hamburger Button */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #457B9D;
  color: #fff;
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.18s;
  box-shadow: 0 2px 8px rgb(70 123 157 / 0.13);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #1D3557;
}

/* =====================
   MOBILE MENU OVERLAY
======================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #1D3557;
  color: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 16px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: -2px 0 40px rgba(29,53,87,0.10);
}
.mobile-menu.show {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #fff;
  color: #1D3557;
  border: none;
  font-size: 2.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-bottom: 16px;
  cursor: pointer;
  align-self: flex-end;
  box-shadow: 0 2px 8px rgb(33 50 100/0.07);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #457B9D;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: #F1FAEE;
  padding: 14px 0 14px 8px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #457B9D;
  color: #fff;
}

/* Hide nav, show mobile on mobile */
@media (max-width: 1024px) {
  header nav,
  .btn.btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none!important;
  }
  header nav {
    display: flex !important;
  }
  .btn.btn-primary {
    display: inline-flex;
  }
}

/* =====================
   HERO SECTION
======================= */
.hero {
  background: #1D3557;
  color: #fff;
  padding: 52px 0 44px 0;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .hero h2, .hero h3 {
  color: #F1FAEE;
  text-shadow: 0 4px 12px rgba(20,40,80,0.13);
}
.hero .text-section {
  text-align: center;
}
.hero .btn {
  margin-top: 22px;
  min-width: 170px;
}

/* =====================
   FEATURES SECTION
======================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgb(33 50 100/0.10);
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 254px;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: box-shadow 0.21s, transform 0.19s;
  position: relative;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 36px 0 rgb(33 50 100/0.15);
  transform: translateY(-5px) scale(1.03);
}
.feature img {
  width: 48px;
  margin-bottom: 10px;
}
.feature h3 {
  color: #1D3557;
}

/* =====================
   TESTIMONIALS
======================= */
.testimonials {
  padding-bottom: 64px;
}
.testimonial-card {
  background: #fff;
  color: #1D3557;
  border-left: 8px solid #457B9D;
  box-shadow: 0 6px 32px 0 rgb(33 50 100/0.10);
  margin-bottom: 24px;
  min-width: 0;
  flex: 1 1 310px;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: #1D3557;
  font-weight: 600;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #457B9D;
  font-size: .98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

/* =====================
   ROUTE CARDS (ROUTEN.HTML)
======================= */
.route-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 28px;
  justify-content: flex-start;
}
.route-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgb(33 50 100/0.10);
  padding: 28px 22px 20px 22px;
  flex: 1 1 290px;
  min-width: 240px;
  max-width: 360px;
  position: relative;
  transition: transform 0.13s, box-shadow 0.18s;
  margin-bottom: 0;
}
.route-card:hover, .route-card:focus-within {
  box-shadow: 0 8px 32px 0 rgb(33 50 100/0.13);
  transform: translateY(-4px) scale(1.02);
}

/* =====================
   FAQ (FAQ.HTML)
======================= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  background: #fff;
  border-left: 6px solid #457B9D;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgb(33 50 100/0.08);
  padding: 22px 22px 16px 20px;
  transition: box-shadow 0.20s, background 0.18s;
}
.faq-item h2 {
  font-size: 1.28rem;
  color: #1D3557;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 8px;
}
.faq-item p {
  margin: 0;
  color: #24304A;
}

/* =====================
   CALLOUT SECTION
======================= */
.callout {
  background: #457B9D;
  color: #fff;
  border-radius: 26px;
  padding: 38px 0;
  margin-bottom: 56px;
  box-shadow: 0 6px 32px 0 rgb(33 50 100/0.10);
}
.callout .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.callout .text-section {
  text-align: center;
}
.callout h2 {
  color: #F1FAEE;
}
.callout p {
  color: #F1FAEE;
}

/* CONFIRMATION PAGE (THANK-YOU.HTML) */
.confirmation {
  padding: 52px 0 40px 0;
  text-align: center;
}
.confirmation h1 {
  color: #457B9D;
}
.confirmation ul {
  list-style: disc inside;
  text-align: left;
  display: inline-block;
  margin-left: 0;
}

/* =====================
   CONTACT PAGE
======================= */
.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.contact-block {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgb(33 50 100/0.08);
  padding: 18px 16px 8px 16px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex: 1 1 140px;
}
.contact-block img {
  width: 35px;
  height: 35px;
  margin-bottom: 4px;
}
.info-text {
  margin-bottom: 18px;
}

/* =====================
   LEGAL TEXT PAGES
======================= */
.legal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1px 16px 0 rgb(33 50 100/0.10);
  padding: 36px 24px;
  margin: 58px 0 58px 0;
  color: #1D3557;
  font-size: 1.09rem;
}
.legal h1, .legal h2, .legal h3 {
  color: #457B9D;
  margin-bottom: 10px;
}
.legal ul, .legal ol {
  margin-bottom: 14px;
  margin-left: 20px;
  list-style-type: disc;
}

/* =====================
   FOOTER
======================= */
footer {
  background: #1D3557;
  color: #F1FAEE;
  padding: 40px 0 26px 0;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.footer-links a {
  color: #F1FAEE;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: underline dotted #457B9D 2px;
  padding: 2px 4px;
  border-radius: 4px;
}
.footer-links a:hover, .footer-links a:focus {
  background: #457B9D;
  color: #fff;
}
.footer-contact p {
  color: #F1FAEE;
  font-size: .93rem;
}
footer p {
  color: #AFC8D9;
  font-size: .91rem;
  margin-top: 8px;
}

/* =====================
   COOKIE CONSENT BANNER
======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  background: #fff;
  color: #1D3557;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 -2px 36px 0 rgb(33 50 100/0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  justify-content: center;
  transition: transform 0.32s cubic-bezier(.42,0,.3,1);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.cookie-banner.hide {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner__text {
  flex: 1 1 220px;
  font-size: 1.02rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #1D3557;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner .btn-cookie {
  border-radius: 7px;
  padding: 9px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  border: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.20s;
}
.btn-cookie-accept {
  background: #1D3557;
  color: #F1FAEE;
}
.btn-cookie-accept:hover, .btn-cookie-accept:focus {
  background: #457B9D;
  color: #fff;
}
.btn-cookie-reject {
  background: #F1FAEE;
  color: #1D3557;
  border: 2px solid #1D3557;
}
.btn-cookie-reject:hover, .btn-cookie-reject:focus {
  background: #457B9D;
  color: #fff;
  border-color: #457B9D;
}
.btn-cookie-settings {
  background: #fff;
  color: #1D3557;
  border: 2px solid #457B9D;
}
.btn-cookie-settings:hover, .btn-cookie-settings:focus {
  background: #457B9D;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 4100;
  left: 0; top: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 53, 87, 0.55);
  animation: fadeIn 0.22s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgb(29 53 87/0.13);
  padding: 36px 24px 22px 24px;
  min-width: 300px;
  max-width: 97vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: slideModal 0.25s cubic-bezier(.8,0,.18,1);
}
@keyframes slideModal {
  from { transform: translateY(40px); }
  to   { transform: translateY(0); }
}
.cookie-modal__close {
  position: absolute;
  right: 18px;
  top: 8px;
  background: #fff;
  color: #1D3557;
  border: none;
  font-size: 2rem;
  border-radius: 32px;
  cursor: pointer;
  transition: background 0.18s;
  width: 38px;
  height: 38px;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  background: #457B9D;
  color: #fff;
}
.cookie-modal__title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 6px;
  color: #1D3557;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #1D3557;
}
.cookie-option input[type="checkbox"], .cookie-option input[type="radio"] {
  width: 21px;
  height: 21px;
  accent-color: #457B9D;
}
.cookie-option .cookie-option-label {
  font-weight: 600;
}
.cookie-option .cookie-option-desc {
  font-size: .92rem;
  color: #457B9D;
}
.cookie-option--essential input[type="checkbox"] {
  accent-color: #1D3557;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* =====================
   RESPONSIVE DESIGN
======================= */
@media (max-width: 992px) {
  .feature-grid,
  .route-cards,
  .contact-details {
    gap: 18px;
  }
}
@media (max-width: 820px) {
  .feature-grid,
  .route-cards,
  .contact-details {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }
  header .container {
    min-height: 66px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
@media (max-width: 768px) {
  body, p, ul, ol, .text-section p {
    font-size: 15px;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.36rem;
  }
  .hero {
    padding: 34px 0 30px 0;
    margin-bottom: 28px;
  }
  .callout {
    padding: 24px 0;
    border-radius: 18px;
    margin-bottom: 30px;
  }
  .legal {
    margin: 29px 0 34px 0;
    padding: 22px 9px;
    border-radius: 12px;
  }
  .feature-grid, .route-cards {
    flex-direction: column;
    gap: 18px;
    align-items: stretch!important;
  }
  .text-image-section,
  .content-grid
  {
    flex-direction: column;
    gap: 18px;
    align-items: stretch!important;
  }
  .contact-details {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
  .about img {
    margin-bottom: 18px;
  }
}
@media (max-width: 420px) {
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .btn,
  .btn-cookie {
    min-width: 100px;
    font-size: .94rem;
    padding: 10px 10px;
  }
  .cookie-modal__dialog {
    padding: 18px 6px 10px 6px;
    min-width: 0;
    width: 96vw;
  }
}

/* =====================
   UTILITY CLASSES
======================= */
.text-center { text-align: center!important; }
.mr-16 { margin-right: 16px; }
.d-flex { display: flex!important; }
.flex-col { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items: center!important; }
.align-start { align-items: flex-start!important; }
.gap-16 { gap: 16px!important; }
.gap-8 { gap: 8px!important; }
.mt-32 { margin-top: 32px!important; }
.mb-32 { margin-bottom: 32px!important; }

/* =====================
   VISUAL & INTERACTION ENHANCEMENTS
======================= */
.card, .route-card, .feature, .testimonial-card,
.faq-item, .legal, .contact-block {
  box-shadow: 0 2px 16px 0 rgb(33 50 100/0.10);
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .route-card:hover, .feature:hover {
  box-shadow: 0 8px 38px 0 rgb(33 50 100/0.15);
}

/* Micro-interactions */
.btn, .btn-cookie, .footer-links a,
header nav a, .mobile-nav a {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border-color 0.18s;
}

/* Geometric shapes accent (decorative only) */
section.hero::before {
  content: '';
  position: absolute;
  top: 0; left: -4vw;
  width: 62vw; height: 100%;
  background: rgba(70,123,157, 0.07);
  clip-path: polygon(0 0,100% 0,86% 100%,0 100%);
  z-index: 1;
  pointer-events: none;
  display: block;
}
@media (max-width: 900px) {
  section.hero::before {
    width: 80vw;
  }
}

/* =====================
   PRINT STYLES
======================= */
@media print {
  header, .mobile-menu, .cookie-banner, footer { display: none !important; }
  .container { width: 100%!important; padding: 0!important; }
}
