/* --- CSS 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F6F7F9;
  color: #28414C;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #28414C;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D0A95D;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}

/* --- BRAND COLORS & VARS --- */
:root {
  --color-primary: #28414C;
  --color-secondary: #F6F7F9;
  --color-accent: #D0A95D;
  --color-white: #fff;
  --color-gray-100: #EDF0F2;
  --color-gray-200: #d9e1e6;
  --color-gray-300: #c1ccd2;
  --color-text: #28414C;
  --color-text-dark: #212B33;
  --color-text-light: #6A7780;
  --color-shadow: rgba(40,65,76,.08);
}

/* --- TYPOGRAPHY --- */
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: var(--color-text);
  font-size: 16px;
  background: var(--color-secondary);
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem; /* 40px */
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem; /* 20px */
  margin-bottom: 12px;
}
p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}
strong, b {
  font-weight: 700;
  color: var(--color-text-dark);
}

@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
}

/* --- LAYOUT STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 4px 24px var(--color-shadow);
}
section:last-child,
.section:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  .section, section {
    padding: 32px 12px;
    margin-bottom: 36px;
  }
}
@media (max-width: 600px) {
  .section, section,
  .content-wrapper {
    padding: 24px 6px !important;
    gap: 10px;
  }
}

/* --- FLEXBOX PATTERNS & CONTENT GRIDS --- */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 20px var(--color-shadow);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow .18s, transform .18s;
}
.card:hover, .article-card:hover {
  box-shadow: 0 12px 32px rgba(40,65,76,0.16);
  transform: translateY(-4px) scale(1.02);
}
.content-grid, .feature-grid, .services-grid, .service-highlights, .article-cards {
  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;
  border-radius: 14px;
  box-shadow: 0 2px 14px var(--color-shadow);
  background: #fff;
  margin-bottom: 20px;
  min-width: 250px;
  flex: 1 1 290px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 10px;
}

.article-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.article-card {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--color-shadow);
  padding: 28px 20px;
  flex: 1 1 300px;
  min-width: 210px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
}

/* Tables */
.pricing-table {
  background: var(--color-white);
  border-radius: 14px;
  overflow-x: auto;
  box-shadow: 0 1px 10px var(--color-shadow);
  margin-bottom: 32px;
}
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.pricing-table th, .pricing-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-gray-200);
  color: var(--color-text);
  text-align: left;
}
.pricing-table th {
  background: var(--color-gray-100);
  font-weight: 700;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* --- HERO & SPECIAL SECTIONS --- */
.hero, .tips-hero {
  background: linear-gradient(90deg, #F6F7F9 60%, #e3e9ee 100%);
  padding-top: 56px;
  padding-bottom: 56px;
  border-radius: 0 0 30px 30px;
}
.hero .content-wrapper, .tips-hero .content-wrapper {
  align-items: flex-start;
  gap: 10px;
}
@media(max-width: 768px) {
  .hero, .tips-hero {
    padding: 34px 0 30px;
    border-radius: 0 0 18px 18px;
  }
  .content-grid, .feature-grid, .services-grid, .service-highlights, .article-cards {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-slider, .services-grid, .service-highlights, .feature-grid {
    flex-direction: column;
  }
  .card-container, .card-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-wrapper {
    gap: 10px;
    padding: 0;
  }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-white);
  box-shadow: 0 2px 18px var(--color-shadow);
  padding-top: 0;
  padding-bottom: 0;
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--color-text-dark);
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-gray-100);
  color: var(--color-primary);
}
.cta-btn {
  background: var(--color-accent);
  color: var(--color-white) !important;
  border-radius: 6px;
  font-weight: 700;
  padding: 9px 24px;
  box-shadow: 0 2px 8px rgba(208, 169, 93, .16);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, transform 0.18s;
  margin-left: 10px;
  display: inline-block;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #b88b39;
  color: var(--color-white);
  box-shadow: 0 4px 18px rgba(208,169,93,0.21);
  transform: translateY(-2px) scale(1.035);
}

/* --- HAMBURGER MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 102;
  transition: background 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #b88b39;
}
@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(40,65,76,0.09);
  transform: translateX(-102vw);
  transition: transform 0.38s cubic-bezier(.37,.64,.37,1.07);
  z-index: 1001;
  padding: 28px 24px 16px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  transition: transform 0.38s cubic-bezier(.37,.64,.37,1.07);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--color-text);
  border: none;
  background: none;
  margin-bottom: 22px;
  cursor: pointer;
  z-index: 1002;
  padding: 0 6px;
  transition: color .17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: var(--color-primary);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-gray-200);
  transition: background 0.19s, color 0.19s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gray-100);
  color: var(--color-accent);
}

@media(min-width: 1101px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 38px 0 0 0;
  box-shadow: 0 -2px 10px var(--color-shadow);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: var(--color-white);
  font-size: 1rem;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
}
.footer-contact {
  font-size: 0.98rem;
  color: #EEE;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.footer-contact a {
  color: #EEE;
  text-decoration: underline;
  transition: color 0.18s;
}
.footer-contact a:hover { color: var(--color-accent); }
.footer-copy {
  color: #b1c1c7;
  font-size: 0.92rem;
  text-align: center;
  padding: 18px 0 16px 0;
}

@media (max-width: 800px) {
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav nav {
    gap: 10px;
  }
  .footer-contact {
    font-size: 0.97rem;
    flex-direction: column;
    gap: 4px;
  }
}

/* --- BUTTONS --- */
button,
input[type="submit"],
.cta-btn {
  font-family: inherit;
  outline: none;
  border: none;
  transition: background 0.2s, box-shadow 0.18s, color 0.18s, transform 0.14s;
}
button:active { transform: scale(0.98); }

/* --- CARDS & FEATURES --- */
.feature-grid, .service-highlights, .services-grid {
  gap: 24px;
}
.feature, .service-item {
  flex: 1 1 250px;
  background: var(--color-secondary);
  border-radius: 13px;
  box-shadow: 0 1px 7px var(--color-shadow);
  padding: 26px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.feature h3 { margin-bottom: 10px; font-size: 1.13rem; }

@media(max-width: 800px) {
  .feature, .service-item {
    min-width:160px;
    padding: 16px 10px;
  }
}

.service-item h2, .service-item h3 {
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}

.service-item {
  margin-bottom: 20px;
}

/* --- TESTIMONIALS --- */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
}
.testimonial-card {
  background: #fff;
  color: var(--color-text-dark);
  border-left: 5px solid var(--color-accent);
  font-size: 1.1rem;
  min-width: 260px;
  max-width: 380px;
  flex: 1 1 280px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* --- ACCORDION FAQ --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--color-secondary);
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 1px 6px var(--color-shadow);
  margin-bottom: 8px;
  cursor: pointer;
  transition: box-shadow 0.18s, background 0.18s;
}
.faq-item:hover, .faq-item:focus {
  box-shadow: 0 3px 16px var(--color-shadow);
  background: #e8eff5;
}
.faq-item h3 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.faq-item p {
  margin-top: 0;
  color: var(--color-text-light);
}

/* --- CONTACT INFO --- */
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-secondary);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 1px 8px var(--color-shadow);
  min-width: 200px;
}
.contact-detail img {
  width: 32px;
  height: 32px;
  opacity: 0.90;
}

@media(max-width: 900px) {
  .contact-section {
    flex-direction: column;
    gap: 14px;
  }
  .contact-detail {
    width: 100%;
  }
}

.text-section {
  margin-bottom: 20px;
}

.map-embed {
  margin: 16px 0 8px 0;
  background: var(--color-gray-100);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
}

/* --- MISC. --- */
.service-inclusions ul, .parts-and-guarantee ul, .brand-list ul {
  margin-top: 4px;
  margin-bottom: 18px;
}
.brand-list p {
  font-weight: 500;
  color: #28414C;
}
.brand-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 32px;
  list-style: disc inside;
}

.policy-content, .gdpr-policy, .cookies-policy, .terms-content, .disclaimer-note {
  font-size: 1rem;
  color: var(--color-text-light);
  background: #F6F7F9;
  padding: 18px 18px 18px 18px;
  border-radius: 9px;
  margin-bottom: 20px;
}
.disclaimer-note {
  background: #fffbe6;
  color: #382f13;
  border-left: 6px solid var(--color-accent);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  color: var(--color-white);
  z-index: 1300;
  padding: 20px 32px;
  box-shadow: 0 -2px 22px rgba(40,65,76,0.14);
  font-size: 1rem;
  gap: 22px;
  flex-wrap: wrap;
}
.cookie-consent-banner .cookie-message {
  flex: 1 1 220px;
  color: var(--color-white);
  margin-right: 14px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 7px;
  padding: 8px 22px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.21s, color 0.21s, box-shadow 0.14s;
  min-width: 106px;
  font-size: 1em;
}
.cookie-btn.cookie-btn-accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-btn.cookie-btn-reject {
  background: #e4e9ee;
  color: var(--color-text);
}
.cookie-btn.cookie-btn-settings {
  background: var(--color-white);
  color: var(--color-primary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b88b39;
  color: #fff;
  box-shadow: 0 2px 8px rgba(208, 169, 93, .22);
}
@media(max-width: 600px){
  .cookie-consent-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 7px;
  }
  .cookie-consent-banner .cookie-message {
    margin-right: 0;
  }
}

/* --- COOKIE MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1400;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(40,65,76,0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  opacity: 1;
  transition: opacity .28s;
}
.cookie-modal {
  background: #fff;
  border-radius: 19px;
  max-width: 440px;
  width: 92vw;
  box-shadow: 0 2px 32px rgba(40,65,76,0.27);
  color: #212B33;
  padding: 38px 32px 24px 32px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 21px;
  font-size: 1rem;
  animation: modalPopIn .35s cubic-bezier(.26,.84,.22,1.08);
}
@keyframes modalPopIn {
  0% {
    transform: translateY(70px) scale(0.93);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-8px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  background: none;
  border: none;
  color: var(--color-text-dark);
  font-size: 2rem;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-categories-list {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 0 0 4px 0;
}
.cookie-category .toggle-label {
  flex: 1 1 120px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.08rem;
}
.cookie-category .category-desc {
  color: #5F6C74;
  font-size: 0.93rem;
}
.toggle-switch {
  position: relative;
  display: flex;
  width: 54px;
  height: 28px;
  align-items: center;
}
.toggle-switch input { display: none; }
.toggle-slider {
  background: #c1ccd2;
  border-radius: 14px;
  width: 100%;
  height: 100%;
  transition: background .16s;
  position: absolute;
}
.toggle-slider:before {
  content: '';
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 1px 4px rgba(28,44,53,0.14);
  transition: left .14s cubic-bezier(.53,.23,.59,1.27);
}
.toggle-switch input:checked + .toggle-slider {
  background: var(--color-accent);
}
.toggle-switch input:checked + .toggle-slider:before {
  left: 29px;
}
.toggle-switch input:disabled + .toggle-slider, .toggle-switch input[aria-disabled="true"] + .toggle-slider {
  background: #e7e7e7;
  filter: grayscale(0.6);
}
.toggle-switch input:disabled + .toggle-slider:before {
  background: #f9f9f9;
}


/* --- UTILS --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 20px !important; }
.mb-5 { margin-bottom: 32px !important; }

/* --- FOCUS VISIBLE --- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- END --- */