/* --- RESET AND BASE --- */
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, main, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F4F6F8;
  color: #1b2733;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #17518D;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E49221;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
  margin-left: 0;
  padding-left: 0;
}
button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* --- BRAND TYPOGRAPHY --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #17518D;
  margin-bottom: 24px;
  line-height: 1.13;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1b2733;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #17518D;
  margin-bottom: 12px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #1b2733;
  margin-bottom: 8px;
}
p, ul li, ol li, address {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}
strong {
  font-weight: 700;
  color: #17518D;
}

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

/* --- SECTIONS & SPACING --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(23, 81, 141, 0.04);
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- HEADER --- */
header {
  background: #FFFFFF;
  border-bottom: 1.5px solid #EEF1F4;
  padding: 0;
  position: relative;
  z-index: 1030;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  color: #17518D;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}
header nav a.cta.primary {
  background: #E49221;
  color: #FFFFFF;
  border-radius: 35px;
  padding: 10px 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 16px 0 rgba(23, 81, 141, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
  margin-left: 8px;
}
header nav a.cta.primary:hover, header nav a.cta.primary:focus {
  background: #A96504;
  color: #FFF;
  box-shadow: 0 4px 18px 0 rgba(23,81,141,0.13);
}
header nav a:hover, header nav a:focus {
  color: #E49221;
}

/* --- HAMBURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 32px;
  color: #17518D;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  margin-left: 20px;
  line-height: 1;
  z-index: 1202;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #EEF1F4;
}

/* Mobile Menu Drawer Styles */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  background: rgba(244,246,248,0.98);
  box-shadow: 0 10px 32px 0 rgba(23,81,141,0.13);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.78,.01,.22,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  gap: 24px;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  transition: transform 0.28s cubic-bezier(.55,.12,.54,.97);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #17518D;
  background: none;
  border: 0;
  margin-left: 24px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 6px;
  padding: 4px 14px;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #EEF1F4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #17518D;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 0 8px 0;
  border-bottom: 1px solid #e4e9ed;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E49221;
}

/* --- HERO --- */
.hero {
  background: #F4F6F8;
  border-radius: 0 0 32px 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  box-shadow: none;
  padding: 48px 20px 48px 20px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  max-width: 680px;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  margin-bottom: 14px;
  color: #17518D;
}
.hero p {
  font-size: 1.22rem;
  color: #374151;
  margin-bottom: 18px;
}

/* --- BUTTONS --- */
.cta.primary, .cta.primary:visited {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  background: #E49221;
  border-radius: 32px;
  padding: 13px 34px;
  box-shadow: 0 2px 14px 0 rgba(23, 81, 141, 0.07);
  border: none;
  transition: background 0.21s, box-shadow 0.21s;
  margin-right: 6px;
  margin-top: 8px;
  cursor: pointer;
  text-align: center;
}
.cta.primary:hover, .cta.primary:focus {
  background: #A96504;
  color: #FFF;
  box-shadow: 0 4px 18px 0 rgba(23,81,141,0.14);
}
.cta {
  text-decoration: none;
}

/* --- FLEX CONTAINERS --- */
.card-container, .features, .content-grid, .benefit-icons, .car-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.content-grid { 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;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(23, 81, 141, 0.06);
  padding: 28px 24px;
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px rgba(23,81,141,0.12);
  transform: translateY(-2px) scale(1.01);
}

/* --- GENERAL FLEX WRAPS --- */
ul, ol {
  margin-bottom: 16px;
}
ul li, ol li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 400;
  color: #374151;
}
ul li img, ol li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 8px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(23,81,141,0.08);
  padding: 20px 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 0;
}
.testimonial-card p {
  color: #1b2733;
  font-weight: 500;
  font-size: 1.06rem;
  flex: 1 1 260px;
  margin-bottom: 0;
}
.testimonial-card div {
  min-width: 120px;
  color: #8e98a5;
}
.testimonial-card strong {
  color: #17518D;
}
.testimonial-card:hover {
  box-shadow: 0 8px 28px rgba(23,81,141,0.16);
  transform: translateY(-2px) scale(1.01);
}

.overall-rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 20px;
  font-size: 1.21rem;
  font-weight: 700;
  color: #17518D;
}

/* --- Cards for Car Rentals --- */
.car-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.car-categories-grid > div {
  background: #F4F6F8;
  border-radius: 15px;
  padding: 22px 16px;
  flex: 1 1 180px;
  min-width: 210px;
  box-shadow: 0 2px 10px rgba(23,81,141,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.car-categories-grid > div:hover {
  box-shadow: 0 7px 22px rgba(23,81,141,0.12);
  transform: translateY(-1.5px) scale(1.01);
}

/* --- OL / STEPS --- */
ol {
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ol li {
  margin-bottom: 0px;
  padding-left: 0;
  color: #374151;
  font-weight: 500;
}

/* --- ADDRESS / CONTACT --- */
address {
  font-style: normal;
  color: #17518D;
  line-height: 1.5;
}

.footer-contact div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #1b2733;
  font-size: 1rem;
}
.footer-contact div img {
  width: 22px;
  height: 22px;
}

/* --- FOOTER --- */
footer {
  background: #F4F6F8;
  font-size: 1rem;
  color: #253446;
  border-top: 1.5px solid #EEF1F4;
  padding: 38px 0 24px 0;
  margin-top: 16px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 80px;
  margin-right: 18px;
  gap: 10px;
}
.footer-links {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links nav a {
  color: #17518D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.footer-links nav a:hover {
  color: #E49221;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 215px;
}
.footer-contact h3 {
  margin-bottom: 5px;
  color: #17518D;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .footer-links { gap: 24px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 9px;
  }
  .section, section {
    padding: 28px 7px;
    margin-bottom: 34px;
    border-radius: 12px;
  }
  header .container {
    flex-wrap: wrap;
    padding-top: 4px;
    min-height: 60px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .car-categories-grid, .card-container, .features, .content-grid, .benefit-icons {
    flex-direction: column;
    gap: 18px;
  }
  .hero {
    padding: 26px 8px 32px 8px;
    border-radius: 0 0 16px 16px;
    min-height: 180px;
  }
  .hero .container {
    flex-direction: column;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 10px;
    padding: 18px 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 480px) {
  h1, .h1 { font-size: 1.5rem; }
  h2, .h2 { font-size: 1.1rem; }
  .hero p, .testimonial-card p { font-size: 1rem; }
  .cta.primary { font-size: 0.99rem; padding: 10px 18px; }
  .car-categories-grid > div, .card {
    min-width: initial;
    padding: 14px 7px;
  }
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 5050;
  background: #FFF;
  box-shadow: 0 -6px 24px 0 rgba(23,81,141,0.14);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 30px;
  gap: 20px;
  border-radius: 16px 16px 0 0;
  animation: slideUpCookie 0.4s ease;
}
@keyframes slideUpCookie {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 1 1 380px;
  margin-bottom: 0;
  color: #1b2733;
  font-size: 0.99rem;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  border: none;
  border-radius: 28px;
  padding: 8px 22px;
  transition: background 0.18s, color 0.16s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: #E49221;
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #A96504;
}
.cookie-btn.reject {
  background: #EEF1F4;
  color: #17518D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #d9e3ea;
}
.cookie-btn.settings {
  background: #F4F6F8;
  color: #1b2733;
  font-weight: 500;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #e9f0f6;
}

@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 19px 7px;
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,81,141,0.13);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(23,81,141,0.17);
  max-width: 425px;
  width: 98vw;
  padding: 34px 24px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: popModal 0.26s cubic-bezier(.45,.9,.45,1.3);
}
@keyframes popModal {
  from { transform: scale(0.7) translateY(20%); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #17518D;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}
.cookie-category-label {
  flex: 1 1 80px;
  color: #1b2733;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-toggle {
  accent-color: #E49221;
  width: 21px;
  height: 21px;
  min-width: 21px;
  min-height: 21px;
  border-radius: 6px;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  min-width: 105px;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #17518D;
  cursor: pointer;
  border-radius: 5px;
  padding: 1px 8px;
}
.cookie-modal-close-btn:focus, .cookie-modal-close-btn:hover {
  background: #EEF1F4;
}

/* --- FORM ELEMENTS --- */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid #d9e3ea;
  border-radius: 9px;
  padding: 8px 13px;
  background: #F9FBFC;
  margin-bottom: 12px;
  transition: border 0.2s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: #E49221;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1b2733;
  margin-bottom: 6px;
}

/* --- MISC/UTILITIES --- */
hr {
  border: none;
  border-bottom: 1.5px solid #EEF1F4;
  margin: 22px 0;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- NATURAL MATERIAL CARD SHADOW & ROUNDEDNESS (SCANDINAVIAN CLEAn) --- */
.card, .testimonial-card, .car-categories-grid > div, .cookie-modal, .section, section {
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(23, 81, 141, 0.04);
}

/* --- SCANDINAVIAN EFFECTS --- */
.card, .testimonial-card, .car-categories-grid > div, .section, section {
  background: #FFFFFF;
}
/* Slightly muted accent on accent icons */
ul li img, ol li img {
  background: #F4F6F8;
  border-radius: 8px;
  padding: 5px;
  box-shadow: 0 1px 4px rgba(164,149,4,0.01);
}

/* --- VISUAL MICRO-INTERACTIONS & HOVER EFFECTS --- */
button, .cta.primary, .cookie-btn {
  transition: background 0.17s, color 0.14s, box-shadow 0.18s, transform 0.15s;
}
button:active, .cta.primary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* --- OVERLAPPING PREVENTION & SPACING --- */
.card, .testimonial-card, .car-categories-grid > div, .section, section, .feature-item, .card-container > *, .content-grid > *, .benefit-icons > *, .text-image-section > * {
  margin-bottom: 0;
}
.card, .testimonial-card, .car-categories-grid > div {
  margin-bottom: 20px;
}

/* --- GENERAL MINIMUM MARGINS BETWEEN BLOCKS --- */
.card + .card, .testimonial-card + .testimonial-card, .section + .section, section + section {
  margin-top: 20px;
}

/* --- Remove unwanted absolute position except for decorative icons, modal close --- */

/* --- PRINT FONT FAMILY Fallbacks --- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular');
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans-Regular');
  font-display: swap;
}

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