/* RESET & BASE TYPOGRAPHY ---------------------------------------------------------- */
/* Modern CSS Reset + Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #253243;
  background: #fcfcfc;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: 1rem;
}
img,svg {
  max-width: 100%;
  display: block;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ffc34d;
  outline: none;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}

/* ----------- VARIABLES & LUXURY STYLE COLOR THEME --------------------------- */
:root {
  --primary: #22577A;
  --secondary: #38A3A5;
  --accent: #F7F1E5;
  --dark: #202122;
  --almost-black: #18191c;
  --gold: #cfb053;
  --gold-dark: #b4992b;
  --offwhite: #fcfcfc;
  --gray: #58616B;
  --bg-section: #f8f9fa;
  --shadow: 0 4px 20px 0 rgba(34, 87, 122, 0.07), 0 1.5px 6px 0 rgba(207, 176, 83, .05);
  --radius: 14px;
  --radius-small: 8px;
  --radius-lg: 22px;
  --transition: all .35s cubic-bezier(.65,.05,.36,1);
}

/* ----------- TYPOGRAPHY ----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--almost-black);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: .5px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.subtitle, .subheadline {
  font-size: 1.125rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray);
  margin-bottom: 20px;
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: var(--primary);
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 8px;
  margin-top: 0;
}
cite {
  display: block;
  font-size: .98rem;
  color: var(--gold-dark);
  margin-top: 2px;
}

/* ----------- CONTAINER & LAYOUT --------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ----------- HEADER & NAVIGATION ------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fcfcfc;
  border-bottom: 1.5px solid var(--accent);
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px 18px;
}
header img {
  height: 48px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.nav a {
  padding: 6px 6px 6px 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.01rem;
  color: var(--primary);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}
.nav a:hover, .nav a:focus,
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  outline: none;
}

.cta-button-primary,
.cta-button-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 16px 0 rgba(207,176,83,0.085);
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: .5px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  border: none;
  text-align: center;
  margin-right: 10px;
  margin-bottom: 10px;
}
.cta-button-primary {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--gold);
}
.cta-button-primary:hover, .cta-button-primary:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(34, 87, 122, 0.15);
}
.cta-button-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--gold);
}
.cta-button-secondary:hover, .cta-button-secondary:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--secondary);
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 130;
  margin-left: 10px;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: var(--gold);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(31, 35, 45, 0.97);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.73,.21,.28,1);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 22px 22px;
  justify-content: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: var(--gold);
  border: none;
  margin-bottom: 16px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.mobile-nav a {
  color: var(--accent);
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  border-radius: var(--radius);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  background: rgba(207,176,83,0.09);
  border-bottom: 2px solid var(--gold);
}

/* ----- HERO SECTION --------------------------------------------------------- */
.hero {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 85%, var(--gold) 100%);
  color: var(--accent);
  padding: 68px 0 52px 0;
  box-shadow: 0 4px 18px 0 rgba(34,87,122,0.070);
  margin-bottom: 40px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1,
.hero .subheadline {
  color: #fff;
}
.hero .cta-button-primary {
  margin: 16px 0 0 0;
  box-shadow: 0 6px 34px 0 rgba(34,87,122,0.13);
  font-size: 1.15rem;
}

/* ----- SECTIONS --------------------------------------*/
.features, .about, .services, .testimonial, .cta, .contact, .route-features {
  width: 100%;
  margin-bottom: 48px;
}
.features .container,
.about .container,
.services .container,
.testimonial .container,
.cta .container,
.contact .container {
  padding: 0 0;
  gap: 0;
}
.features h2,
.about h2,
.services h2,
.testimonial h2,
.cta h2,
.contact h2 {
  color: var(--primary);
  margin-bottom: 18px;
}

.content-wrapper {
  margin-bottom: 0px;
  padding: 0;
}

.features ul,
.features .feature_grid,
.services ul,
.route-list,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  margin-bottom: 20px;
  align-items: flex-start;
  width: 100%;
}
.features ul li, .features .feature_grid li, .services ul li, .service-list li, .route-list li {
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 22px 22px;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1.5px solid var(--gold);
  transition: transform .25s, box-shadow .23s;
}
.features ul li:hover, .features .feature_grid li:hover,
.services ul li:hover, .service-list li:hover, .route-list li:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 8px 40px 0 rgba(34,87,122,0.13);
  border-color: var(--gold-dark);
}
.features ul li img, .features .feature_grid li img {
  width: 38px; margin-bottom: 14px;
}
.features ul li h3, .service-list li h3, .route-list li h3 {
  color: var(--primary);
  font-size: 1.15rem;
}

/* ----- TESTIMONIALS --------------------------------------------------------- */
.testimonial .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 270px;
  max-width: 380px;
  border: 2px solid var(--gold);
  margin-bottom: 20px;
  transition: box-shadow .23s, border-color .2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 34px 0 rgba(34,87,122,0.135);
  border-color: var(--primary);
}
.testimonial-card img {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--gold);
}
.testimonial-card blockquote {
  color: var(--dark);
  border-left: 2.5px solid var(--gold);
  font-size: 1.07rem;
  margin-bottom: 0;
  padding-left: 13px;
}
.testimonial-card cite {
  color: var(--primary);
  margin-left: 4px;
  font-size: .97rem;
}

/* --- CARD & FLEX PATTERNS -- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 220px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: 0 10px 48px 0 rgba(34,87,122,0.115);
  border-color: var(--primary);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- ABOUT / LEGAL / INFO PAGES ------------------------------------- */
.about .text-section,
.contact .text-section,
.text-section {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  margin-bottom: 16px;
  border: 1.5px solid var(--gold);
}

/* ----------- CTA SECTION ---------------------------------------------------- */
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  padding: 28px 0 8px 0;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ----------- FOOTER --------------------------------------------------------- */
footer {
  background: var(--almost-black);
  color: #f8f9fa;
  padding: 36px 0 8px 0;
  margin-top: 56px;
  font-size: .99rem;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-menu {
  display: flex;
  gap: 32px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-menu a {
  color: var(--gold);
  font-weight: 600;
  transition: color 0.18s, border-bottom 0.19s;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
  color: var(--accent);
}
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  width: 22px; height: 22px;
}
footer p {
  margin-top: 10px;
  color: #c0bfae;
  font-size: 0.97rem;
}

/* ----------- COOKIE CONSENT BANNER & MODAL ---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffbe8;
  box-shadow: 0 -2px 16px 0 rgba(207,176,83,.12);
  border-top: 2px solid var(--gold);
  z-index: 2500;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  animation: cookieBannerIn .42s cubic-bezier(.76,.14,.45,1);
  font-size: 1rem;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  border-radius: var(--radius);
  padding: 10px 22px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0;
  box-shadow: 0 2px 15px 0 rgba(207,176,83,.09);
  cursor: pointer;
  transition: var(--transition);
}
.cookie-banner .accept {
  background: var(--gold);
  color: var(--primary);
  border: 2px solid var(--gold);
}
.cookie-banner .accept:hover {
  background: var(--primary);
  color: var(--gold);
  border-color: var(--primary);
}
.cookie-banner .reject {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner .reject:hover {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--dark);
  border: 2px solid var(--gold-dark);
}
.cookie-banner .settings:hover {
  background: var(--gold);
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* Cookie Consent Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(34,87,122,0.23);
  z-index: 3100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .32s cubic-bezier(.39,.575,.565,1.000);
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fffefb;
  padding: 32px 24px 24px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 44px 0 rgba(34,87,122,0.13);
  width: 95vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-size: 1.05rem;
}
.cookie-modal-content h2 {
  color: var(--primary);
  font-size: 1.28rem;
  margin-bottom: 16px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  border: none;
  color: var(--gold-dark);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal-close:hover {
  color: var(--primary);
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--gold);
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 11px;
}
.cookie-modal-actions button {
  min-width: 105px;
}

/* ------ SPACING & FLEXBOX PATTERNS (MANDATORY) ------------------------------ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ------- UTILITY CLASSES ---------------------------------------------------- */
.hide {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden; border: 0; clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ------- RESPONSIVE DESIGN (MOBILE FIRST) ----------------------------------- */
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding: 0 10px;
  }
  header .container {
    padding: 11px 8px;
  }
  .footer-menu {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .nav {
    gap: 18px;
  }
  .features ul,
  .features .feature_grid,
  .services ul,
  .route-list,
  .testimonial .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    padding: 9px 4.5vw 9px 11px;
    gap: 0;
  }
  .nav {
    display: none;
  }
  .cta-button-primary {
    margin-right: 0;
    padding: 13px 24px;
    font-size: 1.08rem;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 13px;
  }
  .features ul,
  .features .feature_grid,
  .services ul,
  .route-list {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .about .text-section, .contact .text-section, .text-section {
    padding: 22px 10px;
  }
}
@media (max-width: 530px) {
  html { font-size: 15px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .hero {
    padding: 38px 0 25px 0;
  }
  .hero .content-wrapper {
    gap: 9px;
  }
  .cta-button-primary, .cta-button-secondary {
    padding: 9px 16px;
    font-size: .97rem;
  }
  .card, .features ul li, .testimonial-card, .about .text-section, .contact .text-section {
    padding: 13px 8px 12px 8px;
  }
  .cookie-modal-content {
    padding: 14px 4px 16px 4px;
  }
}

/* ---------------- End Luxury Premium Theme (Ruta Voltia) ------------------- */
