/* RESET & 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,
hgroup,
menu,
nav,
output,
ruby,
section,
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: #F6F6F3;
  color: #22272C;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #B89D56;
  outline-offset: 2px;
}

/* TYPOGRAPHY =============================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #22272C;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.18;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}
p, ul li, ol li, blockquote {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.67;
  margin-bottom: 12px;
}
ul, ol {
  margin-bottom: 16px;
  margin-left: 16px;
}
strong {
  font-weight: 700;
  color: #B89D56;
}
em {
  font-style: italic;
  color: #3A2F17;
}
blockquote {
  border-left: 4px solid #B89D56;
  background: #fffbe7;
  margin: 20px 0 16px 0;
  padding: 16px 24px;
  color: #322d18;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(34, 39, 44, 0.05);
}

/* LAYOUT CONTAINERS ========================================================================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 6px 30px rgba(34, 39, 44, 0.10);
  position: relative;
  transition: box-shadow 0.2s;
}
.section:hover {
  box-shadow: 0 12px 36px rgba(34, 39, 44, 0.19);
}

/* FLEX PATTERNS FOR CARDS & LISTS ========================================================== */
.card-container, .feature-grid, .car-list-grid, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  padding: 32px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(34,39,44,0.06);
  position: relative;
  transition: box-shadow 0.2s, transform 0.15s;
  min-width: 270px;
  flex: 1 1 290px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(184, 157, 86, 0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid > div {
  min-width: 240px;
  flex: 1 1 260px;
  background: #F6F6F3;
  padding: 24px;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(184, 157, 86, 0.06);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 22px rgba(184, 157, 86, 0.13);
}
.car-list-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.car-highlight-block {
  padding: 24px 20px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 24px rgba(34,39,44,0.06);
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 290px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.car-highlight-block:hover {
  box-shadow: 0 8px 35px rgba(184,157,86,0.12);
  transform: translateY(-3px);
}

.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;
  background: #fffbe7;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(184,157,86,0.09);
  color: #22272C;
  font-style: italic;
  position: relative;
}
.testimonial-card .testimonial-meta {
  font-family: 'Playfair Display', serif;
  color: #B89D56;
  font-weight: 600;
  font-size: 1rem;
  margin-left: 16px;
}
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}
.faq-item h3 {
  cursor: pointer;
  background: #F6F6F3;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  transition: background 0.17s;
  font-size: 1.17rem;
  font-family: 'Playfair Display', serif;
}
.faq-item h3:hover {
  background: #fffbe7;
}
.faq-item > div {
  background: #fff;
  padding: 8px 14px 16px 14px;
  border-radius: 0 0 12px 12px;
  color: #22272C;
}

/* SECTION SPACING ENFORCEMENT ============================================================= */
section {
  margin-bottom: 60px;
}

/* HEADER & NAVIGATION ===================================================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 24px rgba(184,157,86,0.07);
  z-index: 35;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  width: 100%;
  gap: 28px;
}
.main-nav .logo {
  display: flex;
  align-items: center;
  margin-right: 24px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #22272C;
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.18s, background 0.2s;
}
.main-nav a:hover,
.main-nav li.active > a {
  background: #fffbe7;
  color: #B89D56;
}
.main-nav .cta.primary {
  background: #B89D56;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  padding: 10px 22px;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(184,157,86,0.10);
  border: none;
  transition: background 0.19s, color 0.19s;
  margin-left: 16px;
}
.main-nav .cta.primary:hover {
  background: #22272C;
  color: #fffbe7;
}

/* MOBILE MENU & BURGER BUTTON ============================================================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 19px;
  background: #F6F6F3;
  border: 2px solid #B89D56;
  color: #B89D56;
  font-size: 2.1rem;
  border-radius: 13px;
  padding: 0 13px;
  height: 42px;
  width: 52px;
  cursor: pointer;
  z-index: 99;
  transition: background 0.22s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #B89D56;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #22272C;
  color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(0.83,0,0.17,1);
  box-shadow: 0 0 45px rgba(34,39,44,0.25);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 24px 0 0;
  background: transparent;
  border: none;
  color: #B89D56;
  font-size: 2.3rem;
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-close:hover {
  color: #fffbe7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  align-items: flex-start;
  padding: 30px 30px 0 38px;
}
.mobile-nav a {
  color: #fffbe7;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 11px 0px 8px 2px;
  border-radius: 8px;
  display: block;
  width: 100%;
  transition: background 0.22s, color 0.17s;
}
.mobile-nav a:hover {
  background: #B89D56;
  color: #22272C;
}
/* Force menu overlay above everything */
.mobile-menu {
  box-shadow: 0 6px 36px 9px rgba(184,157,86,0.29);
}

/* COOKIE CONSENT BANNER & MODAL =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #22272C;
  color: #fff;
  padding: 22px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 -7px 32px rgba(34,39,44,0.13);
  gap: 24px;
  flex-wrap: wrap;
  transition: transform 0.33s, opacity 0.23s;
}
.cookie-banner .cookie-text {
  flex: 1 1 220px;
  font-size: 1rem;
  margin-right: 12px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex: 1 1 120px;
}
.cookie-banner button {
  border: none;
  padding: 10px 22px;
  border-radius: 20px;
  font-size: 1rem;
  margin: 0 4px;
  font-weight: 700;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(184,157,86,0.14);
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: #B89D56;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #fffbe7;
  color: #B89D56;
  box-shadow: 0 2px 12px rgba(184,157,86,0.22);
}
.cookie-banner .reject {
  background: #fffbe7;
  color: #22272C;
}
.cookie-banner .reject:hover {
  background: #B89D56;
  color: #fff;
}
.cookie-banner .settings {
  background: #22272C;
  color: #B89D56;
  border: 1.5px solid #B89D56;
}
.cookie-banner .settings:hover {
  background: #B89D56;
  color: #fff;
}

/* COOKIE PREF MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 110vh);
  background: #fff;
  min-width: 300px;
  max-width: 90vw;
  width: 430px;
  z-index: 600;
  border-radius: 22px;
  box-shadow: 0 8px 60px rgba(34,39,44,0.31);
  padding: 38px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.87,0,0.13,1), opacity 0.22s;
}
.cookie-modal.open {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h2 {
  color: #B89D56;
  margin-bottom: 7px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.cookie-category input[type=checkbox] {
  width: 21px;
  height: 21px;
  accent-color: #B89D56;
}
.cookie-category .always {
  font-size: 0.97rem;
  color: #828282;
  font-style: italic;
  background: #fffbe7;
  border-radius: 10px;
  padding: 2px 10px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}
.cookie-modal button {
  border: none;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.13s, color 0.12s, box-shadow 0.15s;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(184,157,86,0.14);
}
.cookie-modal .accept {
  background: #B89D56; color: #fff;
}
.cookie-modal .reject {
  background: #fffbe7; color: #22272C;
}
.cookie-modal .close {
  background: transparent;
  border: 1.5px solid #B89D56;
  color: #B89D56;
}
.cookie-modal .close:hover {
  background: #B89D56; color: #fff;
}

/* BUTTONS & CTAs NOTE ===================================================================== */
.cta, .cta.primary {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: #B89D56;
  padding: 12px 32px;
  border-radius: 24px;
  box-shadow: 0 2px 15px rgba(184,157,86,0.13);
  transition: background 0.20s, color 0.17s, box-shadow 0.16s, transform 0.15s;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}
.cta.primary:hover, .cta:hover {
  background: #22272C;
  color: #fffbe7;
  box-shadow: 0 6px 23px rgba(34,39,44,0.13);
  transform: translateY(-2px) scale(1.04);
}
.cta:active {
  background: #8d7c41;
  color: #fff;
}

/* FORM & INPUTS =========================================================================== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #B89D56;
  border-radius: 10px;
  background: #fff;
  transition: border 0.15s;
  margin-bottom: 12px;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #22272C;
  outline: none;
}
label {
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #22272C;
  font-weight: 400;
}

/* FOOTER ================================================================================== */
footer {
  background: #22272C;
  color: #fffbe7;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 0;
  margin-top: 70px;
  width: 100%;
  box-shadow: 0 -3px 22px rgba(34,39,44,0.13);
}
.footer-top {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid #444;
  padding: 32px 0 14px 0;
}
.footer-nav {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fffbe7;
  transition: color 0.15s;
  padding: 3px 6px;
  border-radius: 7px;
}
.footer-nav a:hover {
  color: #B89D56;
  background: #fffbe7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 13px 0;
  font-size: 0.99rem;
}
.contact-footer {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fffbe7;
  font-size: 1rem;
  flex-wrap: wrap;
}
.contact-footer img {
  width: 19px;
  margin-right: 5px;
}
.copy {
  color: #B89D56;
  font-size: 0.97rem;
}

/* MAP EMBED MINI SECTION ================================================================== */
.map-embed {
  background: #F6F6F3;
  border-radius: 13px;
  padding: 18px 21px;
  box-shadow: 0 1px 8px rgba(184,157,86,0.06);
  margin: 18px 0 10px 0;
  font-family: 'Roboto', Arial, sans-serif;
}

/* ARTISTIC & CREATIVE ACCENTUATION ======================================================== */
.section {
  border: 3px dashed #B89D56;
  background: linear-gradient(110deg, #fffbe7 65%, #F6F6F3 100%);
  box-shadow: 0 10px 30px rgba(184,157,86,0.10), 0 2px 9px rgba(34,39,44,0.11);
}
.feature-grid > div,
.card,
.car-highlight-block {
  border-left: 7px solid #B89D56;
  border-top: 2.5px solid #fffbe7;
  border-radius: 22px 6px 20px 18px;
  background-image: linear-gradient(101deg, #fffbe7 62%, #F6F6F3 100%);
}
.text-section {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 7px rgba(184,157,86,0.07);
  padding: 17px 18px 13px 18px;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #22272C;
}

/* COLORFUL, HAND-PAINTED MARK STYLES (ARTISTIC DETAIL) ===================================== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: 34px; top: 7px;
  width: 65px; height: 30px;
  background: rgba(184,157,86,0.09);
  border-radius: 12px 24px 13px 7px;
  z-index: 1;
  filter: blur(2.2px);
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: 56px; bottom: 17px;
  width: 44px; height: 22px;
  background: rgba(34,39,44,0.04);
  border-radius: 19px 7px 16px 11px;
  z-index: 1;
  filter: blur(1.4px);
}

/* ARTISTIC FONTS & CREATIVE HEADLINES ===================================================== */
h1, h2 {
  letter-spacing: 0.017em;
  position: relative;
  z-index: 5;
}
h2::after {
  content: '';
  display: inline-block;
  margin-left: 10px;
  width: 34px;
  height: 8px;
  background: #B89D56;
  border-radius: 7px 14px 9px 13px;
  opacity: 0.14;
  vertical-align: 6px;
}
h1 {
  font-family: 'Playfair Display', cursive, serif;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(184,157,86,0.06);
}

/* MICROINTERACTIONS, EFFECTS ============================================================= */
button, .cta {
  transition: background 0.18s, color 0.18s, box-shadow 0.14s, transform 0.11s;
}
.testimonial-card:hover {
  background: #faf2c7;
  box-shadow: 0 4px 15px rgba(184,157,86,0.12);
  transform: scale(1.013) translateY(-2px);
}
.card, .feature-grid > div, .car-highlight-block {
  transition: box-shadow 0.16s, transform 0.13s;
}

/* RESPONSIVE DESIGN ======================================================================= */
@media (max-width: 1025px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid, .car-list-grid, .card-grid {
    gap: 16px;
  }
  .card, .feature-grid > div, .car-highlight-block {
    min-width: 180px;
    flex-basis: 220px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 12px;
  }
  .main-nav .cta.primary {
    padding: 9px 12px;
    font-size: 1.01rem;
  }
}
@media (max-width: 768px) {
  /* FLEX COLUMNS TO ROWS */
  .main-nav ul, .footer-nav {
    flex-direction: column;
    gap: 0;
  }
  .main-nav, .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  
  .content-wrapper, .section, .feature-grid, .card-container, .car-list-grid, .card-grid, .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }
  .section {
    padding: 26px 5px;
    margin-bottom: 42px;
  }
  .card, .feature-grid > div, .car-highlight-block {
    min-width: 98px;
    flex-basis: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav .cta.primary {
    display: none;
  }
  .footer-nav {
    gap: 7px;
    font-size: 0.98rem;
    align-items: flex-start;
    padding-left: 0;
    margin-top: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 19px 7px 27px 7px;
  }
  .cookie-banner .cookie-actions {
    flex-wrap: wrap;
    gap: 9px;
  }
  .cookie-banner .cookie-text {
    font-size: 0.99rem;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 14px 0 14px 0;
    margin-bottom: 32px;
    border-width: 2px;
    border-radius: 14px;
  }
  .container {
    padding-left: 3.5vw;
    padding-right: 3.5vw;
  }
  .content-wrapper {
    gap: 11px;
  }
  h1 {
    font-size: 1.38rem;
    margin-bottom: 9px;
  }
  h2 {
    font-size: 1.13rem;
    margin-bottom: 7px;
  }
  .feature-grid > div, .card, .car-highlight-block {
    padding: 17px 9px;
  }
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 9px;
    padding: 17px 0 9px 0;
  }
  .footer-nav {
    font-size: 0.89rem;
  }
}

/* ACCESSIBILITY & FOCUS STYLES ============================================================ */
a:focus, button:focus, .cta:focus {
  outline: 2.5px dashed #B89D56;
  outline-offset: 2px;
  background: #fffbe7;
}

/* Z-INDEX MANAGEMENT ====================================================================== */
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 150;
}

/* END */
