/* =======================================================
   FROSTY IMPULSE REPARATURSERVICE - STYLE.CSS
   Warm, friendly, modern, mobile-first (Flexbox-ONLY)
   ======================================================= */

/* ---------------------
   RESET & BASE STYLES
--------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #fdfdfc;
  color: #2a2a2a;
  line-height: 1.6;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
  display: inline-block;
}
a {
  color: #06486b;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b9d04e;
  outline: none;
}
ul, ol {
  padding-left: 1.25rem;
}

/* Typography scale */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 2.375rem;
  color: #06486b;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
@media (min-width: 600px) {
  h1, .h1 { font-size: 3rem; }
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 18px;
  color: #05405e;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #05405e;
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}
p, li, table, span {
  font-size: 1rem;
  color: #36414b;
}
strong { font-weight: 600; }
em { color: #7a7163; }
tu, ins { text-decoration: underline; }

/* Container */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 990px) {
  .content-wrapper {
    padding: 0 10px;
  }
}

/* -----------------------
   HEADER & NAVIGATION
----------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  border-bottom: 3px solid #b9d04e13;
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background 0.18s, color 0.15s;
}
header nav a:hover, header nav a.active {
  background: #b9d04e44;
  color: #06486b;
}
header img {
  height: 46px;
  border-radius: 14px;
}

.cta-button {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  background: #b9d04e;
  color: #06486b;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1.08rem;
  box-shadow: 0 1px 7px 0 rgba(185,208,78,0.16);
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
  margin-left: 16px;
  letter-spacing: 0.05em;
  outline: none;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #cedf8a;
  color: #053551;
  box-shadow: 0 2px 12px 0 rgba(185,208,78,0.24);
}

/* Hide mobile burger menu by default (desktop) */
.mobile-menu-toggle {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 0;
  }
  header nav {
    display: none;
  }
  .cta-button {
    margin-left: 8px;
  }
  .mobile-menu-toggle {
    font-size: 2rem;
    color: #06486b;
    border: none;
    background: #f9faf8;
    border-radius: 12px;
    padding: 6px 14px;
    position: absolute;
    right: 22px;
    top: 18px;
    z-index: 90;
    display: block;
    box-shadow: 0 1px 10px 0 rgba(185,208,78,0.08);
    cursor: pointer;
    transition: background 0.15s;
  }
  .mobile-menu-toggle:focus {
    background: #b9d04e22;
    outline: 2px solid #b9d04e;
  }
}

/* ---------------------
   MOBILE NAVIGATION
--------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #f0f4f8ee;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  z-index: 200;
  transform: translateX(-105vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.4,1,.2,1), opacity 0.26s;
  box-shadow: 0 2px 32px 0 rgba(6,72,107,0.14);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2rem;
  margin: 18px 24px 0 0;
  background: #fff;
  border: none;
  border-radius: 16px;
  color: #06486b;
  box-shadow: 0 2px 12px 0 rgba(6,72,107,0.08);
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu-close:focus {
  background: #b9d04e33;
  outline: 2px solid #b9d04e;
}
.mobile-nav {
  margin-top: 44px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 0 32px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  padding: 16px 0;
  font-size: 1.19rem;
  color: #06486b;
  width: 100%;
  border-bottom: 1px solid #b9d04e22;
  background: transparent;
  border-radius: 8px;
  text-align: left;
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #b9d04e33;
  color: #053551;
}

/* ---------------
   MAIN LAYOUTS
--------------- */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
section:last-child {
  margin-bottom: 0;
}
@media (max-width: 600px) {
  section {
    padding: 30px 8px;
    margin-bottom: 38px;
  }
}

/* Cards and Features / Flexbox Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 3px 14px 0 rgba(6,72,107,0.09);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* Feature Items / Service Cards */
.feature-grid,
.service-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 0 0;
}
.feature-item, .service-card {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(185,208,78,0.06);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 26px 20px 22px 20px;
  width: 100%;
  max-width: 305px;
  min-width: 220px;
  min-height: 236px;
  margin-bottom: 20px;
  border: 1.5px solid #f0f4f8;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.feature-item img,
.service-card img {
  max-width: 58px;
  background: #f0f4f8;
  border-radius: 14px;
  padding: 8px;
}
.feature-item:hover,
.service-card:hover {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 4px 18px 0 rgba(185,208,78,0.13);
  border-color: #b9d04e44;
}
.service-price {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1.16rem;
  font-weight: 600;
  color: #b9d04e;
  background: #f0f4f8;
  border-radius: 12px;
  padding: 6px 18px;
  margin-top: auto;
  margin-bottom: 2px;
}

/* Feature List (as icons with labels) */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.feature {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: #f9f9f6;
  border-radius: 16px;
  padding: 12px 24px 12px 15px;
  box-shadow: 0 1px 4px 0 rgba(6,72,107,0.03);
  font-size: 1.06rem;
  color: #044161;
  min-width: 180px;
}
.feature img {
  background: #f0f4f8;
  border-radius: 8px;
  width: 32px; height: 32px;
  padding: 4px;
}
@media (max-width: 900px) {
  .feature-list { gap: 12px; }
  .feature { padding: 9px 14px; min-width: 128px; font-size: 0.97rem; }
}
@media (max-width:700px) {
  .feature-list { flex-direction: column; gap: 8px; }
  .feature { min-width: 100px; }
}

/* Testimonial Section */
.testimonials {
  background: #fffbed;
  border-radius: 20px;
  box-shadow: 0 3px 22px 0 rgba(185,208,78,0.16);
  margin-top: 20px;
  padding: 40px 0;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(6,72,107,0.09);
  border-left: 6px solid #b9d04e;
  max-width: 720px;
}
.testimonial-card p {
  font-style: italic;
  color: #2a2a2a;
  font-size: 1.13rem;
}
.testimonial-card span {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-size: 1rem;
  color: #09598a;
  opacity: .8;
  font-weight: 500;
  margin-left: 12px;
}
@media (max-width:600px) {
  .testimonials { padding: 24px 0; }
  .testimonial-card { flex-direction: column; padding: 20px 12px; }
}
/* Color contrast fix for testimonials */
.testimonial-card,
.testimonials {
  color: #212529;
  background: #fffbed;
}

/* CTA & About Sections */
.cta {
  background: #fdfbe5;
  border-radius: 26px;
  box-shadow: 0 2px 18px 0 rgba(185,208,78,0.13);
  margin: 32px 0 0 0;
  padding: 44px 0;
  text-align: center;
}
.cta .cta-button {
  margin: 22px auto 0 auto;
  display: inline-block;
}
.about-short, .about-mission {
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(6,72,107,0.08);
}

/* Service Pricing Table */
.pricing table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 30px;
  border-radius: 14px;
  box-shadow: 0 1px 18px 0 rgba(6,72,107,0.10);
  overflow: hidden;
  background: #fff;
}
.pricing th,
.pricing td {
  text-align: left;
  padding: 14px 18px;
  font-size: 1rem;
  color: #06486b;
}
.pricing th {
  background: #f0f4f8;
  font-weight: bold;
}
.pricing tbody tr:nth-child(even) td {
  background: #fdfbe5;
}
.pricing tbody tr:hover td {
  background: #cedf8a22;
}
.pricing .note {
  background: #fffbed;
  margin: 18px 0 0 0;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 11px 0 rgba(185,208,78,0.07);
  font-size: 0.97rem;
  color: #3e3f3a;
}

/* Contact Page Blocks */
.contact-details, .contact-form-placeholder {
  background: #f9f8ef;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 20px 0 16px 0;
  box-shadow: 0 2px 8px 0 rgba(6,72,107,0.06);
}
.contact-details ul,
.contact-form-placeholder ul {
  margin: 10px 0 0 0;
  padding-left: 22px;
}
.contact-details a {
  color: #06486b;
  font-weight: 500;
}
.map-embed {
  margin: 28px 0 0 0;
  background: #eef6fb;
  border-radius: 13px;
  padding: 14px 16px;
  text-align: center;
}
.map-embed a {
  color: #b9d04e;
  font-weight: 600;
  font-size: 1.085rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffbed;
  color: #333;
  z-index: 3000;
  box-shadow: 0 -4px 24px 0 rgba(6,72,107,0.14);
  border-top: 2px solid #b9d04e;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 20px 22px 20px;
  font-size: 1rem;
  transition: transform 0.35s, opacity 0.25s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cookie-banner button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 22px;
  border: none;
  border-radius: 16px;
  margin: 0 2px;
  box-shadow: 0 1px 8px 0 rgba(6,72,107,0.07);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept-cookies {
  background: #b9d04e;
  color: #06486b;
}
.cookie-banner .accept-cookies:hover {
  background: #a5be43;
  color: #053551;
}
.cookie-banner .reject-cookies {
  background: #eef6f8;
  color: #B92424;
}
.cookie-banner .reject-cookies:hover {
  background: #e8ebf2;
}
.cookie-banner .settings-cookies {
  background: #f0f4f8;
  color: #06486b;
}
.cookie-banner .settings-cookies:hover {
  background: #b9d04e33;
}
@media (max-width: 560px) {
  .cookie-banner { font-size: 0.99rem; padding: 20px 8px 8px 8px; }
  .cookie-banner .cookie-buttons { gap: 5px; }
  .cookie-banner button { font-size: 0.98rem; }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(6, 72, 107, 0.12);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.24s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal .modal-content {
  background: #fff;
  color: #222;
  padding: 34px 24px 28px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(6,72,107,0.21);
  min-width: 310px;
  max-width: 95vw;
  width: 400px;
  text-align: left;
  animation: fadeInScale 0.3s cubic-bezier(.41,.69,.37,1.55);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.24rem;
  color: #06486b;
  margin-bottom: 6px;
}
.cookie-modal .modal-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.cookie-modal input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: #b9d04e;
}
.cookie-modal .toggle-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 20px;
  border: none;
  border-radius: 14px;
  background: #f0f4f8;
  color: #06486b;
  cursor: pointer;
  transition: background 0.14s, color 0.15s;
}
.cookie-modal button.accept-cookies {
  background: #b9d04e;
  color: #053551;
}
.cookie-modal button.accept-cookies:hover {
  background: #a5be43;
}
@media (max-width: 520px) {
  .cookie-modal .modal-content { width: 98vw; min-width: 0; }
}

/* -----------------
   FOOTER
----------------- */
footer {
  background: #f0f4f8;
  border-top: 2px solid #b9d04e44;
  box-shadow: 0 -2px 20px 0 rgba(6,72,107,0.08);
  padding: 32px 0 20px 0;
  margin-top: auto;
}
footer .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer img {
  height: 36px;
  border-radius: 12px;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer nav a {
  color: #06486b;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 1rem;
  background: none;
  transition: background 0.15s;
}
footer nav a:hover {
  background: #b9d04e33;
}
footer p {
  font-size: 0.98rem;
  color: #424c54;
  white-space: normal;
  margin-top: 6px;
}
@media (max-width: 750px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 4px;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* ------------------------
   SPACING & UTILITIES
------------------------ */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

.m-t-32 { margin-top: 32px; }
.m-b-20 { margin-bottom: 20px; }
.m-b-40 { margin-bottom: 40px; }
.m-b-0 { margin-bottom: 0!important; }
.p-0 { padding: 0!important; }

/* Responsive adjustments for main grids */
@media (max-width: 900px) {
  .feature-grid, .service-blocks {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}
@media (max-width: 600px) {
  .feature-grid, .service-blocks {
    flex-direction: column;
    gap: 10px;
  }
}

/* -------------------
   MICRO-INTERACTIONS
------------------- */
button, .cta-button, input[type=button], input[type=submit] {
  transition: background 0.18s, color 0.14s, box-shadow 0.16s, border 0.14s, transform 0.12s;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid #b9d04e;
  outline-offset: 1.5px;
  background: #f0f4f8;
}

/* Hide scroll if mobile menu/cookie modal is open (utility class) */
.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
}

/* ---------------
   PRINT SUPPORT
--------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, main, section, .container { background: #fff !important; box-shadow: none !important; }
}

/* ---------------------------------------------------
   FONTS: Montserrat & Roboto
   (Assumed loaded via <link> or @import externally)
--------------------------------------------------- */

/* Add user-select and tap highlights for better accessibility */
button, .cta-button, a {
  user-select: none;
  -webkit-tap-highlight-color: #b9d04e66;
}

