/* --- CSS 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, summary,
time, mark, audio, video {
  margin: 0; padding: 0; border: 0; font-size: 100%; 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.5;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F4F8F9;
  color: #003B5C;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #003B5C; text-decoration: none; transition: color 0.2s ease; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #003B5C;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.3rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 1.7rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; }
p { font-size: 1.05rem; margin-bottom: 18px; color: #12263A; }

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');
body {
  font-size: 16px;
}
.cta-primary, .cta-primary:visited {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background-color: #60A3D9;
  border: none;
  border-radius: 40px;
  font-weight: 900;
  font-size: 1rem;
  padding: 15px 36px;
  margin-top: 16px;
  cursor: pointer;
  text-shadow: 1px 1px 0 #003B5C18;
  box-shadow: 0 2px 14px #003B5C22;
  box-sizing: border-box;
  letter-spacing: 1px;
  transition: background 0.3s, transform 0.15s, box-shadow 0.3s;
  display: inline-block;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background-color: #003B5C;
  color: #fff;
  transform: translateY(-3px) scale(1.04) rotate(-1deg);
  box-shadow: 0 8px 36px #60A3D966, 0 1.5px 10px #003B5C36;
  outline: none;
}
.cta-primary:active {
  background-color: #60A3D9;
  transform: translateY(1px) scale(0.98);
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px #003B5C0D;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px #003B5C12;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px #60A3D933;
  transform: translateY(-4px) rotate(1.5deg);
  z-index: 2;
}
.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;
  padding: 20px;
  min-width: 240px;
  background: #F4F8F9;
  color: #003B5C;
  border-radius: 16px;
  box-shadow: 0 2px 10px #60A3D91a;
  margin-bottom: 20px;
  font-size: 1.07rem;
  position: relative;
  flex: 1 1 330px;
  transition: box-shadow 0.25s, transform 0.12s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px #003B5C28;
  transform: translateY(-3px) rotate(-0.5deg) scale(1.03);
}
.testimonial-card p {
  color: #12263A;
  font-style: italic;
  font-size: 1.09rem;
  margin-bottom: 0;
}
.testimonial-card span {
  color: #003B5C;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HEADER, NAVIGATION & HERO --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 28px #003B5C05;
  padding: 0 0 0 0;
  position: sticky;
  top: 0; z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
/* Logo */
header > a > img {
  height: 54px; margin: 16px 0 12px 0;
  transition: transform 0.22s;
}
header > a:hover > img {
  transform: rotate(-8deg) scale(1.06);
}
.main-menu {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px;
  margin-bottom: 0;
}
.main-menu a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 7px 14px;
  border-radius: 22px;
  position: relative;
  background: transparent;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.main-menu a:not(.cta-primary):hover, .main-menu a:not(.cta-primary):focus {
  background: #60A3D9;
  color: #fff;
  outline: none;
}
.main-menu .cta-primary {
  margin-left: 6px;
}

/* --- BURGER MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #003B5C;
  color: #fff;
  font-size: 2rem;
  padding: 8px 20px 8px 16px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  z-index: 1101;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #60A3D9;
  outline: 2px solid #003B5C;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 2550;
  transform: translateX(-110vw);
  transition: transform 0.43s cubic-bezier(.55,1.2,.25,1.0);
  box-shadow: 0 10px 44px #003B5C44;
  padding-top: 28px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #60A3D9;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 46px;
  height: 46px;
  align-self: flex-end;
  margin: 0 16px 12px 0;
  cursor: pointer;
  box-shadow: 0 1px 12px #003B5C18;
  transition: background 0.2s, color 0.15s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #003B5C;
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #003B5C;
  background: #F4F8F9;
  border-radius: 24px;
  padding: 13px 24px;
  margin: 0 0 4px 0;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #60A3D9;
  color: #fff;
  outline: none;
}

/* --- HERO --- */
.hero {
  width: 100%;
  background: #60A3D9;
  color: #fff;
  border-radius: 0 0 40px 40px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 7px 32px #003B5C18;
  animation: slideInHero 1.3s .1s ease both;
}
@keyframes slideInHero {
  from {opacity: 0; transform: translateY(-22px);}
  to {opacity: 1; transform: none;}
}
.hero .container {
  padding-top: 46px;
  padding-bottom: 46px;
}
.hero .content-wrapper {align-items: flex-start;}
.hero h1, .hero p {color: #fff;}
.hero .cta-primary {
  background: #fff;
  color: #003B5C;
  box-shadow: 0 4px 24px #003B5C26;
  margin-top: 30px;
}
.hero .cta-primary:hover {background: #003B5C; color: #fff;}

/* --- FEATURES/ADVANTAGES --- */
.features, .core-values, .repair-features {
  background: #E1F1FB;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 8px 32px #60A3D912;
}
.features ul, .core-values ul, .repair-features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 38px;
  align-items: flex-start;
  margin-top: 12px;
}
.features ul li, .core-values ul li, .repair-features ul li {
  background: #fff;
  color: #003B5C;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 24px 17px 18px 17px;
  border-radius: 18px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 2.5px 14px #60A3D91c;
  min-width: 235px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.1s;
  position: relative;
}
.features ul li img, .core-values ul li img, .repair-features ul li img {
  width: 36px; height: 36px; flex-shrink: 0;}
.features ul li:hover, .core-values ul li:hover, .repair-features ul li:hover {
  box-shadow: 0 8px 24px #60A3D933;
  transform: scale(1.04) rotate(-1.5deg);
}

/* --- SERVICE LISTS --- */
.services, .services-overview, .service-details, .repair-services {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 4px 18px #003B5C12;
}
.services ul, .services-overview ul, .service-details ul, .repair-services ul, .repair-services ol {
  display: flex;
  flex-direction: column;
  gap: 14px; margin-bottom: 20px;
  font-size: 1.07rem;
}
.services ul li, .services-overview ul li, .service-details ul li,
.repair-services ul li, .repair-services ol li {
  position: relative;
  padding-left: 32px;
  color: #12263A;
}
.services ul li::before, .service-details ul li::before, .repair-services ul li::before {
  content: "★";
  position: absolute;
  left: 0; top: 1px;
  color: #60A3D9;
  font-weight: bold;
  font-size: 1.05em;
  opacity: 0.65;
}
.services-overview ul li::before {content: "✓"; color: #60A3D9; left: 0;}

/* --- CONTACT BOX & MAP --- */
.contact-box {
  background: #F4F8F9;
  border-radius: 18px;
  box-shadow: 0 2px 14px #60A3D925;
  padding: 20px 22px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.contact-box h3 {margin-bottom: 7px; font-family:'Montserrat'; font-size: 1.1rem; }
.contact-box ul {
  display: flex;
  flex-direction: column;
  gap: 9px; }
.contact-box li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-placeholder {
  background: #E1F1FB;
  border-radius: 15px;
  padding: 12px 15px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #003B5C;
  box-shadow: 0 1px 4px #003B5C13;
}
.map-placeholder img {
  margin-right: 7px;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #003B5C;
  color: #fff;
  padding: 43px 0 30px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 64px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  padding: 7px 10px;
  border-radius: 18px;
  transition: background 0.17s, color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #60A3D9;
  color: #fff;
  opacity: 1;
}
.footer-contact {
  margin-bottom: 20px;
  font-size: 0.98rem;
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: center; align-items: center;
}
footer .cta-primary {
  background: #60A3D9;
  color: #fff;
  box-shadow: 0 2px 16px #60A3D922;
  margin: 12px auto 0 auto;
  display: block;
}

/* --- UTILITY ANIMATIONS --- */
@keyframes bounceIn {
  0% {transform: scale(0.7); opacity: 0;}
  60% {transform: scale(1.08); opacity: 1;}
  80% {transform: scale(0.95);}
  100% {transform: none;}
}

/* Fun Card Animation */
.card, .testimonial-card {
  animation: bounceIn 0.9s cubic-bezier(.29,1.65,.52,1.01) both;
}

/* --- RESPONSIVE: MOBILE-FIRST --- */
@media (max-width: 1100px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .features ul, .core-values ul, .repair-features ul {
    gap: 18px 10px;
    justify-content: flex-start;
  }
}
@media (max-width: 800px) {
  .hero { border-radius: 0 0 22px 22px; }
  footer { border-radius: 22px 22px 0 0; }
}
@media (max-width: 768px) {
  html, body { font-size: 15px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
  .card-container,
  .content-grid,
  .footer-contact,
  .features ul, .core-values ul, .repair-features ul {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: stretch !important;
  }
  .section, .features, .core-values, .repair-features,
  .services, .services-overview, .service-details, .repair-services {
    padding: 22px 6px;
  }
  .main-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 10px; top: 20px;
  }
  header {
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
  }
  header > a > img {
    margin: 14px 0 10px 14px; height: 42px;
  }
  footer, .footer-nav, .footer-contact {
    padding-left: 0; padding-right: 0;
    flex-direction: column; align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 16px; }
}
@media (max-width: 525px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .hero .container { padding: 22px 2px; }
  header > a > img { height: 36px; }
  .hero { border-radius: 0; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fff;
  color: #003B5C;
  box-shadow: 0 -3px 38px #003B5C28;
  padding: 27px 14px 27px 14px;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 26px;
  justify-content: space-between;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  animation: slideCookie 0.65s cubic-bezier(.29,1.65,.52,1.01) both;
}
@keyframes slideCookie {from {opacity:0; transform:translateY(65px);} to {opacity:1; transform:none;} }
.cookie-banner .cookie-message {flex: 1;}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  background: #60A3D9;
  border: none;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: .98rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 22px;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.18s, transform 0.18s;
  box-shadow: 0 1px 10px #60A3D91b;
}
.cookie-banner button:last-child {margin-right: 0;}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #003B5C;
  transform: scale(1.06);
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #003B5C;
  border: 2px solid #60A3D9;
  transition: background 0.12s, color 0.15s;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: #60A3D9; color: #fff;
}
@media (max-width:700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 17px;
    padding: 18px 2px;
    font-size: 0.99rem;
  }
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed; left: 0; top: 0;
  width: 100vw; height: 100vh; background: #003B5C99;
  display: flex; align-items: center; justify-content: center;
  z-index: 5000;
  animation: fadeInCookieModal 0.3s forwards;
}
@keyframes fadeInCookieModal {from {opacity: 0;} to {opacity: 1;}}
.cookie-modal {
  background: #fff;
  color: #003B5C;
  border-radius: 18px;
  box-shadow: 0 4px 42px #003B5C36;
  padding: 28px 26px 22px 26px;
  width: 93vw;
  max-width: 430px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  animation: bounceIn 0.7s cubic-bezier(.29,1.65,.52,1.01) both;
}
.cookie-modal h2 {
  margin-bottom: 18px; font-family:'Montserrat'; font-size: 1.25rem; color: #003B5C;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: #60A3D9;
  border-radius: 5px;
  margin-right: 6px;
}
.cookie-modal .cookie-category label {
  font-size: 1.03rem;
  font-weight: 600;
}
.cookie-modal .always-on {
  color: #60A3D9;
  font-size: 0.97rem;
  font-weight: 700;
  margin-left: 5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 11px; justify-content: flex-end;margin-top: 19px;
}
.cookie-modal button {
  background: #60A3D9;
  border: none;
  color: #fff;
  font-family: 'Montserrat'; font-size: .97rem; font-weight: 700;
  padding: 10px 18px;
  border-radius: 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.15s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #003B5C;
  color: #fff;
}
.cookie-modal .cookie-modal-close {
  background: #fff;
  color: #003B5C;
  border: 2px solid #60A3D9;
  margin-right: auto;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  background: #60A3D9; color: #fff;
}

/* --- "PLAYFUL_DYNAMIC" EXTRAS --- */
h1, h2, h3, h4 {
  text-shadow: 2px 4px 0 #60A3D90a;
}
.section, .features, .core-values, .repair-features {
  position: relative;
}
.section:before, .features:before, .core-values:before, .repair-features:before {
  content: '';
  display: block;
  position: absolute;
  left: -32px; top: -36px;
  width: 70px; height: 70px;
  border-radius: 80px 44px 70px 44px;
  background: #60A3D9;
  opacity: 0.07;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-17deg);
  animation: floatShape 4s ease-in-out infinite alternate;
}
@keyframes floatShape {
  0%{transform:translateY(-9px) scale(1.09) rotate(-19deg);}
  100%{transform:translateY(13px) scale(0.96) rotate(-17deg);}
}

/* Subtle playful border on hero */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: -54px; top: 36px;
  width: 90px; height: 170px;
  border-radius: 120px 50px 60px 44px;
  background: #fff;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
  filter: blur(2px);
  animation: heroFloat 5.4s ease-in-out infinite alternate;
}
@keyframes heroFloat {
  0%{transform:translateY(-15px) scale(1.04);}
  100%{transform:translateY(14px) scale(1.09);}
}

/* Fun playful pointer on CTA button */
.cta-primary::after {
  content: '\1F6A3';
  margin-left: 9px;
  font-size: 1.2em;
  vertical-align: middle;
  opacity: 0.58;
  position: relative;
  top: 0.5px;
  transition: transform 0.25s cubic-bezier(.29,1.65,.52,1.01);
  display: inline-block;
}
.cta-primary:hover::after, .cta-primary:focus::after {
  transform: translateY(-3px) scale(1.16) rotate(-10deg);
  opacity: 1;
}

/* --- ACCESSIBLE FOCUS STYLES --- */
a:focus, button:focus, input:focus {
  outline: 2px solid #60A3D9 !important;
  outline-offset: 2px;
}

/* --- PRINT COLOR ADJUSTMENT --- */
@media print {
  body { background: #fff; color: #003B5C; }
  .hero, .features, .core-values, .repair-features, .section,
  .services, .services-overview, .service-details, .repair-services {
    box-shadow: none !important;
    color:#003B5C !important;
    background: #fff !important;
  }
  footer, header { background: #fff !important; color: #003B5C !important;}
  a { color: #003B5C !important; text-decoration: underline;}
}
