/*! RESET & NORMALIZE */
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;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #fff;
  color: #212428;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
strong, b {
  font-weight: 600;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
}
@media (max-width: 900px) {
  section {
    padding: 32px 10px;
    margin-bottom: 40px;
  }
}

/*! TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #111;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    margin-bottom: 16px;
  }
  h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  h3 {
    font-size: 1.1rem;
  }
}
p {
  margin-bottom: 14px;
  color: #2B2D2F;
}
.text-section p:last-child,
p:last-child {
  margin-bottom: 0;
}

/*! CONTAINER AND MAIN WRAPPERS */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 1200px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  align-items: flex-start;
}

/*! SPACING & FLEX PATTERNS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: #fff;
  color: #191a1a;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 28px rgba(30,30,30,0.12);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .22s, transform .15s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(17,17,17,0.18);
  transform: translateY(-4px) scale(1.011);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(30,30,30,0.08);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
  max-width: 620px;
}
.testimonial-card p {
  color: #111;
  font-style: italic;
}
.testimonial-card span {
  font-size: .95em;
  color: #333;
  font-weight: 500;
  align-self: flex-end;
}

/*! HEADER & NAVIGATION */
header {
  background: #181A1C;
  border-bottom: 2px solid #1c2326;
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img[alt="AutoQuay"] {
  width: 130px;
  max-width: 90vw;
  margin-right: 28px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.018em;
  padding: 0 6px;
  opacity: 0.82;
  transition: color .15s, opacity .21s;
  position: relative;
}
header nav a:hover {
  color: #FFB800;
  opacity: 1;
}
header .btn-primary {
  margin-left: 22px;
}

/* HAMBURGER MENU STYLES */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  display: none;
  margin-left: 9px;
}
@media (max-width:900px) {
  header nav, header .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 26px;
    top: 18px;
    z-index: 201;
  }
}
@media (max-width:520px) {
  .mobile-menu-toggle {
    right: 12px;
    top: 10px;
  }
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #191c1f;
  color: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.76,0,.24,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0 0 0;
  box-shadow: -8px 0 32px rgba(30,30,30,0.13);
  overflow-y: auto;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  position: absolute;
  right: 16px;
  top: 22px;
  z-index: 302;
  cursor: pointer;
  transition: color .18s;
  padding: 10px;
}
.mobile-menu-close:hover { color: #FFB800; }
.mobile-nav {
  width: 100%;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.17rem;
  letter-spacing: 0.012em;
  padding: 12px 0;
  border-bottom: 1px solid #24272C;
  display: block;
  width: 95%;
  opacity: 0.93;
  transition: color .17s, opacity .18s;
}
.mobile-nav a:hover {
  color: #FFB800;
  opacity: 1;
}

/*! BUTTONS & LINKS */
.btn-primary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  padding: 12px 36px;
  border: none;
  border-radius: 23px;
  cursor: pointer;
  transition: background .17s, color .14s, transform .13s;
  font-weight: 600;
  box-shadow: 0 1.5px 5px rgba(20,20,20,0.09);
  margin-top: 15px;
  outline: none;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFB800;
  color: #111;
  transform: scale(1.045);
}
.btn-secondary {
  background: #fff;
  color: #191a1a;
  border: 1.5px solid #d7d7d8;
  font-family: 'Montserrat', Arial;
  font-size: 1rem;
  padding: 10px 26px;
  border-radius: 23px;
  transition: border .14s, background .12s, color .11s;
  font-weight: 500;
  margin-left: 8px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #f5f5f8;
  border-color: #111;
  color: #111;
}

/* Accent Links */
a.accent-link {
  color: #163041;
  text-decoration: underline;
  font-weight: 500;
  transition: color .13s;
}
a.accent-link:hover {
  color: #FFB800;
}

/*! HERO & HIGHLIGHT SECTIONS */
.product-highlight {
  background: #f5f6f8;
  border-left: 6px solid #111;
  border-radius: 10px;
  padding: 18px 24px;
  margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(29,29,32,0.07);
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  max-width: 420px;
  transition: box-shadow .19s;
}
.product-highlight h3 {
  color: #163041;
  margin-bottom: 0;
}
.product-highlight a {
  color: #163041;
  font-weight: 600;
  font-family: 'Montserrat', Arial;
  text-decoration: underline;
  transition: color .15s;
}
.product-highlight a:hover {
  color: #FFB800;
}
.product-highlight:hover {
  box-shadow: 0 8px 28px rgba(23,23,23,0.12);
}

/*! FEATURES, TEAM, CATEGORIES (icon lists) */
.content-wrapper > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.content-wrapper > ul > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: #fafbfc;
  border-radius: 9px;
  box-shadow: 0 1.5px 8px rgba(40,40,42,0.06);
  padding: 22px 18px 16px;
  min-width: 200px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  transition: box-shadow .18s, border .15s;
  border-left: 4px solid #163041;
}
.content-wrapper > ul > li img {
  width: 38px;
  margin-bottom: 4px;
}
.content-wrapper > ul > li:hover {
  box-shadow: 0 4px 18px rgba(40,40,50,0.10);
  border-left: 4px solid #FFB800;
}
@media (max-width: 900px) {
  .content-wrapper > ul {
    flex-direction: column;
    gap: 16px;
  }
}

/*! LISTS WITHOUT ICONS */
.text-section ul {
  padding-left: 0;
  margin-top: 14px;
  margin-bottom: 14px;
  gap: 10px;
}
.text-section ul li {
  margin-bottom: 7px;
  padding-left: 0;
  color: #2B2D2F;
  font-size: 1.04em;
  line-height: 1.6;
}

/*! FORMS & CONTACT */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1em;
  border-radius: 7px;
  border: 1px solid #ddd;
  padding: 9px 16px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color .15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #163041;
}

/*! CARDS (for any generic card pattern) */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  align-items: flex-start;
}

/*! FOOTER */
footer {
  background: #181A1C;
  color: #e7e7ea;
  font-size: .97em;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 36px 0 16px;
  border-top: 2px solid #1c2326;
}
footer .container {
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-bottom: 8px;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  min-width: 160px;
}
.footer-nav nav a {
  color: #d1d1d3;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  letter-spacing: 0.005em;
  transition: color .15s;
  padding: 2px 0;
  opacity: .77;
}
.footer-nav nav a:hover {
  color: #FFB800;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px 36px;
  margin-bottom: 5px;
  color: #d9d9db;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.footer-contact img {
  width: 19px;
  opacity: .7;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-social a:hover img {
  filter: grayscale(0) brightness(1.35);
}
footer p:last-child {
  text-align: center;
  color: #777;
  font-size: 0.93em;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .footer-nav, .footer-contact, .footer-social {flex-direction: column; gap: 9px;}
}

/*! COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right:0;
  bottom: 0;
  background: #181A1C;
  color: #fff;
  z-index: 3500;
  width: 100vw;
  box-shadow: 0 -8px 28px rgba(33,33,38,.08);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 12px 22px;
  font-size: 1em;
  transition: transform .34s cubic-bezier(.76,0,.24,1), opacity .16s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(140%);
}
.cookie-banner .cookie-msg {
  max-width: 540px;
  margin-right: 30px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border-radius: 19px;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
  transition: background .13s, color .12s, border .12s;
}
.cookie-banner .accept {
  background: #FFB800;
  color: #181A1C;
}
.cookie-banner .reject {
  background: #181A1C;
  color: #fff;
  border: 1.5px solid #FFB800;
}
.cookie-banner .settings {
  background: #fff;
  color: #181A1C;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  opacity: .88;
  background: #163041;
  color: #fafbfc;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-left: 10px; padding-right: 10px;
  }
  .cookie-banner .cookie-msg {margin-right: 0; margin-bottom: 10px; }
}

/*! COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left:0; right:0; top:0; bottom:0;
  background: rgba(26, 28, 31, 0.72);
  z-index: 4100;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity .21s;
}
.cookie-modal {
  background: #fff;
  color: #181A1C;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(20,20,20,0.28);
  max-width: 430px;
  width: 92vw;
  padding: 38px 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInModal .42s cubic-bezier(.5,1,.5,1);
}
@keyframes fadeInModal {
  from {transform: translateY(65px) scale(.96); opacity:0; }
  to {transform: none; opacity:1; }
}
.cookie-modal h3 {
  margin-bottom: 13px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.34em;
  color: #111;
}
.cookie-modal .cookie-category {
  padding: 11px 0 11px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #f1f1f1;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.09em;
  color: #222;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal label {
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
.cookie-modal input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #FFB800;
  cursor: pointer;
  margin-right: 9px;
}
.cookie-modal .always-on {
  color: #aaa;
  font-size: .96em;
  margin-left: 6px;
  font-style: italic;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 18px;
  top: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #181A1C;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .close-cookie-modal:hover { color: #FFB800; }
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 19px;
  font-size: 1.03em;
  border: none;
  padding: 9px 24px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 0;
}
.cookie-modal .modal-actions .accept {
  background: #FFB800;
  color: #181A1C;
}
.cookie-modal .modal-actions .reject {
  background: #181A1C;
  color: #fff;
  border: 1.5px solid #FFB800;
}
.cookie-modal .modal-actions .close {
  background: #fff;
  color: #181A1C;
  border: 1.5px solid #d7d7d8;
}
.cookie-modal .modal-actions button:hover, .cookie-modal .modal-actions button:focus {
  background: #163041;
  color: #fff;
}

/*! GENERAL UTILITY */
.mt-0 {margin-top: 0 !important;}
.mb-0 {margin-bottom: 0 !important;}

/*! RESPONSIVE STYLES */
@media (max-width: 768px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.07rem; }
  h3 { font-size: .97rem; }
  .card, .testimonial-card, .content-wrapper > ul > li {
    padding: 18px 13px;
  }
  .card, .testimonial-card, .product-highlight {
    max-width: 97vw;
  }
  .content-wrapper, .container {
    gap: 0;
  }
}
@media (max-width: 600px) {
  html, body {
    font-size: 15px;
  }
  .container {
    padding: 0 4px;
  }
  section {
    padding: 24px 2px;
    margin-bottom: 24px;
  }
  header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
::selection {
  background: #FFB800;
  color: #181A1C;
}