/* ===== CSS RESET & BASE NORMALIZATION ===== */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F5F7FB; color: #113854; }
ul,ol{ list-style:none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; width: 100%; }
button { cursor:pointer; font-family: inherit; background:none; border:none; }

/* ===== BRAND VARIABLES (NO CSS custom properties) ===== */
/* Fonts: Montserrat (700) for display, Roboto (400/500/700) for body */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F7FB;
  color: #113854;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #113854;
  letter-spacing: -1px;
}
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 16px; }
h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.3rem; line-height: 1.2; margin-bottom: 12px; }
h4 { font-size: 1.15rem; line-height: 1.2; margin-bottom: 10px; }
h5, h6 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol, li, address { font-size: 1rem; }
p { margin-bottom: 16px; }
strong { font-weight: 700; }

/* ===== LAYOUT CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 960px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(17,56,84,0.07),0 1.5px 6px 0 rgba(17,56,84,0.11);
  padding: 24px;
  transition: box-shadow 0.2s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(17,56,84,0.13),0 4px 10px 0 rgba(17,56,84,0.16);
}

.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(17,56,84,0.10);
  margin-bottom: 20px;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(17,56,84,0.18);
}
.testimonial-card p {
  color: #113854;
  font-size: 1.1rem;
  font-weight: 500;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #F7C638;
  font-weight: bold;
}
.stars img {
  width: 22px; height: 22px;
  filter: drop-shadow(0 2px 2px rgba(17,56,84,0.13));
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(17,56,84,0.07);
  padding: 28px 22px 20px 22px;
  flex: 1 1 240px;
  min-width: 220px;
  transition: box-shadow .2s, transform .2s;
}
.feature-item:hover {
  box-shadow: 0 8px 32px 0 rgba(247,198,56,0.12);
  transform: translateY(-5px) scale(1.03);
}
.feature-item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 10px;
}
.feature-item h3 {
  font-size: 1.1rem;
  color: #113854;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0;
}
.feature-item p {
  font-size: 1rem;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

/* USP List */
.usp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 32px 0;
}
.usp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.12rem;
  color: #113854;
  font-weight: 600;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(17,56,84,0.07);
  padding: 12px 20px;
}
.usp-list img {
  width: 38px; height: 38px; margin-right: 8px;
}

/* ================= HEADER/NAVIGATION ================== */
header {
  background: #113854;
  color: #fff;
  padding: 0;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding-top: 0; padding-bottom: 0;
}
.logo img { height: 44px; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F7C638;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F7C638;
  color: #113854;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 30px;
  padding: 12px 32px;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(17,56,84,0.08);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  margin-left: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus {
  background: #113854;
  color: #F7C638;
  transform: scale(1.045);
}

/* ================= MOBILE MENU ================== */
.mobile-menu-toggle {
  display: none;
  background: #F7C638;
  color: #113854;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  margin-left: 16px;
  align-items: center;
  justify-content: center;
  border: none;
  transition: background 0.2s, color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fff;
  color: #113854;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,56,84,0.99);
  color: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.47,1.64,.41,.8);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #F7C638;
  color: #113854;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  align-self: flex-end;
  margin: 24px 18px 8px 0;
  transition: background 0.14s, color 0.15s;
  border: none;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #fff;
  color: #113854;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 24px 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 0;
  border-bottom: 1.5px solid rgba(247,198,56,0.1);
  transition: color 0.2s;
  text-transform: uppercase;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F7C638;
}

@media (max-width: 1080px) {
  .main-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .main-nav { gap: 9px; font-size: 0.93rem; }
  .btn-primary { font-size: .98rem; padding: 12px 20px; }
}
@media (max-width: 900px) {
  header .container {
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav, .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
}

/* ================= HERO ================== */
.hero {
  background: linear-gradient(90deg, #113854 75%, #F7C638 100%);
  color: #fff;
  padding: 60px 0 60px 0;
  text-align: left;
  position: relative;
  border-radius: 0 0 44px 44px;
  overflow: hidden;
}
.hero .container { padding-top: 24px; padding-bottom: 24px; }
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
  gap: 16px;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 12px;
}
.hero p {
  color: #F5F7FB;
  font-size: 1.18rem;
  margin-bottom: 32px;
}
.hero .btn-primary {
  background: #F7C638;
  color: #113854;
  font-size: 1.09rem;
  margin-left: 0;
  margin-top: 4px;
  box-shadow: 0 8px 20px 0 rgba(247,198,56,0.08);
}
.hero .btn-primary:hover {
  background: #fff;
  color: #113854;
}

/* ================= CARDS/FEATURES ================== */
.service-highlights, .service-packages, .parts-pricing, .blog-highlights {
  margin: 24px 0;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 12px 0 rgba(247,198,56,0.10);
}
.service-packages ul, .parts-pricing ul, .faq-list {
  margin-top: 10px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(17,56,84,0.08);
  padding: 22px;
  flex: 1 1 210px;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 1rem;
  transition: box-shadow .17s, transform .12s;
}
.service-item:hover {
  box-shadow: 0 8px 32px 0 rgba(247,198,56,0.13);
  transform: scale(1.025);
}

.pricing-table {
  width: 100%;
  margin: 24px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(17,56,84,0.07);
  border: none;
  overflow: hidden;
}
.pricing-table th, .pricing-table td {
  padding: 16px;
  text-align: left;
  font-size: 1.02rem;
}
.pricing-table th {
  background: #113854;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
}
.pricing-table tbody tr:nth-child(even) td {
  background: #F5F7FB;
}

.faq-list li {
  background: #fff;
  border-radius: 10px;
  padding: 16px 16px 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 10px 0 rgba(17,56,84,0.07);
  font-size: 1rem;
  line-height: 1.6;
}

.latest-posts-list li {
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 1px 8px 0 rgba(17,56,84,0.05);
  margin-bottom: 10px;
}

/* ================ TESTIMONIALS ================ */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}

/* ================ CTA SECTIONS ================ */
.cta-section {
  background: #F7C638;
  color: #113854;
  border-radius: 28px;
  box-shadow: 0 1.5px 16px 0 rgba(247,198,56,0.13);
  margin: 44px 0 44px 0;
  padding: 40px 18px;
  text-align: center;
}
.cta-section h2 {
  color: #113854;
  font-size: 2rem;
  margin-bottom: 8px;
}
.cta-section p {
  font-size: 1.11rem;
  margin-bottom: 24px;
}
.cta-section .btn-primary {
  font-size: 1.12rem;
  background: #113854;
  color: #F7C638;
}
.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus {
  background: #fff;
  color: #113854;
}
.cta-form {
  margin-top: 16px;
  font-size: 1rem;
}

/* ================ FOOTER ================ */
footer {
  background: #113854;
  color: #fff;
  padding: 36px 0 20px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 10px 0 rgba(17,56,84,0.09);
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}
.footer-main > a img {
  height: 40px; margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #F7C638;
}
.footer-nav a {
  color: #F7C638;
  font-size: 1rem;
  transition: color 0.18s;
  padding: 2px 0;
}
.footer-nav a:hover {
  color: #fff;
}
footer address {
  font-style: normal;
  color: #F5F7FB;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
footer address a {
  color: #F7C638;
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s;
}
footer address a:hover {
  color: #fff;
}
footer address img { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 10px;
  padding-top: 12px;
  font-size: 0.96rem;
  color: #F7C638;
  text-align: center;
}

/* ================ MISC ================ */
ul li, ol li {
  margin-bottom: 10px;
}

/* Hide empty content-wrapper on some simple content (privacy, etc) */
.content-wrapper:empty { display: none; }

/* ============= CONTACT/DETAILS CARDS ============= */
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 30px 0;
  font-size: 1.13rem;
}
.contact-details img { width: 25px; height: 25px; margin-right: 8px; vertical-align: middle; }

.map-embed, .operating-hours, .contact-confirmation {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(247,198,56,0.10);
  padding: 13px 16px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 1.02rem;
}
.operating-hours h2 {
  color: #113854;
  font-size: 1.15rem;
}

/* =================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .feature-grid, .services-grid, .testimonial-list, .card-container, .content-grid {
    gap: 14px;
  }
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 96vw; }
  .footer-main { gap: 16px; flex-direction: column; align-items: flex-start; }
  .card, .feature-item, .service-item, .testimonial-card { min-width: 0; }
}

@media (max-width: 900px) {
  .feature-grid, .services-grid, .testimonial-list {
    flex-direction: column;
    gap: 12px;
  }
  .hero h1 { font-size: 2.1rem; }
  .cta-section { padding: 32px 5px; }
}
@media (max-width: 768px) {
  .feature-grid, .services-grid, .usp-list, .testimonial-list, .card-container, .content-grid {
    flex-direction: column; gap: 10px;
    align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 26px; }
  .section { padding: 28px 8px; margin-bottom: 38px; }
  .hero, .cta-section { border-radius: 0; padding: 30px 8px 26px 8px; }
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1rem; }
  footer .container { padding-left: 5px; padding-right: 5px; }
}
@media (max-width: 500px) {
  .container, .content-wrapper {
    padding-left: 0; padding-right: 0; max-width: 99vw;
  }
  .footer-main { gap: 6px; }
  .footer-nav { font-size: 0.95rem; }
}

/* ================ INTERACTIONS ================ */
a, button, .btn-primary { outline: none; }
a:focus, button:focus, .btn-primary:focus {
  box-shadow: 0 0 0 2px #F7C638 inset;
  outline: none;
}

/* Nice micro-interaction */
.btn-primary:active {
  transform: scale(0.97);
}

/* =========== COOKIE BANNER & MODAL ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1999;
  background: #113854;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 0 rgba(17,56,84,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 24px 28px;
  animation: fadeinbottom 0.45s cubic-bezier(.43,.74,.29,1.18);
}
@keyframes fadeinbottom { from { opacity: 0; transform: translateY(50px);} to { opacity: 1; transform:none; } }
.cookie-banner p {
  margin: 0;
  font-size: 1rem;
  flex: 1 1 170px;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #F7C638;
  color: #113854;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  font-size: 1rem;
  padding: 10px 22px;
  border: none;
  margin-right: 0;
  margin-bottom: 0;
  transition: background 0.18s, color 0.15s;
}
.cookie-banner button.cookie-settings-btn {
  background: #fff;
  color: #113854;
  border: 1px solid #F7C638;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #113854;
  color: #F7C638;
}

@media (max-width: 708px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    padding: 13px 8px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-btns { justify-content: stretch; }
}

.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 2001;
  background: #fff;
  color: #113854;
  border-radius: 21px;
  box-shadow: 0 4px 32px 0 rgba(17,56,84,0.21);
  min-width: 330px;
  max-width: 94vw;
  padding: 40px 28px 32px 28px;
  transition: opacity 0.21s, transform 0.22s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
  animation: fadeinbottom 0.44s;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.cookie-modal label {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 8px;
}
.cookie-modal input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #F7C638;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 25px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal button {
  background: #113854;
  color: #F7C638;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 20px;
  font-size: 1rem;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  transition: background 0.16s, color 0.15s;
}
.cookie-modal button.cookie-modal-cancel {
  background: #fff;
  color: #113854;
  border: 1px solid #F7C638;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #F7C638;
  color: #113854;
}

/* === Overlays for modal === */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(17,56,84,0.45);
  z-index: 2000;
  animation: fadeinbottom 0.34s;
}
.cookie-modal.open + .cookie-modal-backdrop {
  display: block;
}

/* =========== UTILITY CLASSES =========== */
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.flex-col { flex-direction: column; }
.gap-20 { gap: 20px; }

/* =========== PRINT & MISC =========== */
@media print { header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; } }
