/* =====================================
   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, 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;
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #18303A;
  background-color: #F6FBF9;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(148deg, #F6FBF9 0%, #E3F5F5 100%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #184C6A;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: #24A8AC;
}

/* =====================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #184C6A;
  letter-spacing: 0.02em;
  font-weight: 700;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #28495E;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

section ul, section ol {
  padding-left: 1em;
  margin-bottom: 18px;
}
section ul li, section ol li {
  margin-bottom: 6px;
  color: #285C6B;
  position: relative;
}
section ul li:before {
  content: '•';
  color: #A7E7E5;
  margin-right: .6em;
  font-size: 1.1em;
}

/* =====================================
   CONTAINER & LAYOUT
======================================== */
.container {
  width: 100%;
  margin: 0 auto;
  max-width: 1140px;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  background: #FCFEFE;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(102,181,186,0.08);
  padding: 28px 22px;
}

.cta-section {
  align-items: center;
  text-align: center;
  background: #EBF6F6;
  border-radius: 30px;
  box-shadow: 0 4px 18px 0 rgba(102,181,186,0.07);
}

.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;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FBFEFD;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(102,181,186,0.07);
  padding: 20px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .service-card:hover, .feature:hover {
  box-shadow: 0 6px 18px 0 rgba(102,181,186,0.12);
  transform: translateY(-3px) scale(1.02);
}

.service-cards, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-card, .service-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(170,198,238,0.06);
  padding: 26px 18px 22px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  flex: 1 1 220px;
}
.service-card img, .service-item img {
  max-width: 64px;
  margin-bottom: 14px;
}
.service-card h3, .service-item h3 {
  text-align: center;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 200px;
  background: #F4F6FB;
  border-radius: 15px;
  padding: 18px 16px;
  box-shadow: 0 1px 6px rgba(102,181,186,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature img {
  max-width: 44px;
}

/****
Testimonials
****/
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #FFF;
  box-shadow: 0 3px 12px rgba(102,181,186,0.10);
  flex: 1 1 280px;
  margin-bottom: 20px;
  min-width: 250px;
  transition: box-shadow 0.19s, transform 0.19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 26px 0 rgba(102,181,186,0.16);
  transform: translateY(-4px) scale(1.03);
}
.testimonial-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08em;
  font-weight: 600;
  color: #184C6A;
  margin-bottom: 4px;
}
.testimonial-meta {
  font-size: 0.97em;
  color: #24A8AC;
  font-family: 'Montserrat', Arial, sans-serif;
  font-style: italic;
}
.testimonial-card p {
  color: #224050;
  text-align: center;
  font-size: 1.04em;
  font-family: 'Roboto', Arial, sans-serif;
}

/****
Comparison & Pricing Tables
****/
.comparison-table, .pricing-tables {
  background: #F4F8FB;
  border-radius: 18px;
  margin-bottom: 24px;
  padding: 14px;
  overflow-x: auto;
}
.comparison-table table, .pricing-tables table {
  width: 100%;
  border-collapse: collapse;
  background: none;
}
.comparison-table th, .pricing-tables th {
  text-align: left;
  padding: 14px 12px;
  background: #EFF7FA;
  color: #184C6A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
  font-weight: 600;
  border-bottom: 2px solid #D2F2F2;
}
.comparison-table td, .pricing-tables td {
  padding: 14px 12px;
  color: #264A6C;
  border-bottom: 1px solid #EBF6F6;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6FBF9;
}
.comparison-table tr:last-child td, .pricing-tables tr:last-child td {
  border-bottom: none;
}

.price-highlights ul, .included-services ul, .benefit-icons ul {
  margin: 0 0 20px 0;
}
.price-highlights li, .included-services li, .benefit-icons li {
  background: #E1F5FA;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  color: #245A64;
  font-size: 1em;
  margin-bottom: 9px;
}
.benefit-icons img {
  max-height: 24px;
}

/****
FAQ Accordion & Contact Details Styling
****/
.faq-accordion-list > div {
  background: #F5FEFD;
  border-radius: 13px;
  margin-bottom: 18px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 10px rgba(102,181,186,0.04);
}
.faq-accordion-list h2 {
  font-size: 1.10em;
  color: #247C8C;
  margin-bottom: 8px;
}
.faq-accordion-list p {
  color: #3C667E;
}
.faq-contact-prompt {
  margin: 24px 0 0 0;
  text-align: center;
}
.next-steps ul {
  margin: 0 0 18px 0;
}
.contact-details {
  background: #EFFAF9;
  border-radius: 15px;
  padding: 24px 18px 16px 18px;
  margin-bottom: 13px;
}
.contact-details p {
  margin-bottom: 10px;
  font-size: 1em;
  color: #184C6A;
}
.contact-details a {
  color: #24A8AC;
}

.map-embed {
  background: #E8F3F3;
  padding: 12px 16px;
  border-radius: 13px;
  color: #205869;
  margin-top: 10px;
  font-size: 1em;
}

/****
   HEADER & MAIN NAVIGATION
****/
header {
  background: #F6FBF9;
  box-shadow: 0 2px 14px -4px rgba(53,161,167,0.07);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  min-height: 68px;
}
header img[alt="Bristle Rise Auto Spa"] {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
}
.main-nav a {
  color: #184C6A;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
  display: inline-block;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  background: #E1F5FA;
  color: #24A8AC;
}
.btn-primary {
  background: #24A8AC;
  color: #fff !important;
  border-radius: 25px;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  transition: background 0.18s, box-shadow 0.16s, transform 0.15s;
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(36,168,172,0.08);
  border: none;
  display: inline-block;
  cursor: pointer;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #54C4C2;
  color: #fff;
  box-shadow: 0 5px 14px 0 rgba(36,168,172,0.17);
  transform: translateY(-2px) scale(1.035);
}

/****
    MOBILE MENU & BURGER NAV
****/
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.15em;
  color: #24A8AC;
  cursor: pointer;
  display: none;
  padding: 4px 11px 2px 11px;
  margin-left: 15px;
  border-radius: 8px;
  transition: background 0.13s;
  z-index: 1041;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #d4ecf4;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(236,248,248,0.97);
  z-index: 2202;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 18px 80px 0 rgba(24,76,106,0.17);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 30px 8px 0;
  background: none;
  font-size: 2.3em;
  border: none;
  color: #24A8AC;
  cursor: pointer;
  z-index: 2205;
  transition: color 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #184C6A;
}
.mobile-nav {
  margin-top: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 6px 26px 18px 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16em;
  color: #184C6A;
  font-weight: 600;
  border-radius: 11px;
  padding: 13px 0 13px 14px;
  transition: background 0.18s, color 0.18s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DBF7F5;
  color: #24A8AC;
}

@media (max-width: 1060px) {
  .main-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 7px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* =====================================
   HERO SECTION
======================================== */
.hero {
  min-height: 390px;
  background: linear-gradient(135deg, #ECFBFF 0%, #E7F5FA 100%);
  display: flex;
  align-items: center;
  padding: 56px 0 48px 0;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 2px 18px 0 rgba(66,170,170,0.075);
  margin-bottom: 30px;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #184C6A;
  margin-bottom: 7px;
}
.hero h2 {
  font-size: 1.35rem;
  color: #32A1A8;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 21px;
}

/* =====================================
   FOOTER STYLES
======================================== */
footer {
  background: #F6FBF9;
  border-top: 1px solid #DBF7F5;
  padding: 38px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 44px;
}
.footer-brand {
  max-width: 290px;
  font-size: 1em;
  color: #245A64;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-brand img {
  height: 36px;
  margin-bottom: 4px;
}
.footer-menus {
  display: flex;
  flex-direction: row;
  gap: 34px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-nav a {
  color: #184C6A;
  font-size: 1em;
  font-weight: 500;
  padding: 2px 0;
  transition: color .16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #24A8AC;
}
footer address {
  font-size: .97em;
  font-style: normal;
  color: #205869;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1px;
}
footer address img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: bottom;
  display: inline-block;
}
.footer-copy {
  width: 100%;
  font-size: .95em;
  color: #9ab1c7;
  text-align: center;
  margin: 23px 0 8px 0;
}

/* =====================================
   COOKIE CONSENT BANNER & MODAL
======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: #E9F7F8;
  box-shadow: 0 -2px 16px 0 rgba(36,168,172,.07);
  padding: 23px 12px 21px 12px;
  z-index: 2500;
  font-size: 1.04em;
  gap: 22px;
  animation: bannerIn .55s cubic-bezier(.76,-0.25,.44,1.36);
}
@keyframes bannerIn {
  0% { transform: translateY(150px); opacity: 0; }
  85% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  color: #215664;
  margin: 0 11px 0 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-btn {
  border: none;
  border-radius: 21px;
  padding: 10px 19px;
  background: #24A8AC;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin: 0 6px 0 0;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.17s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #54C4C2;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-preferences-btn {
  background: #E1F5FA;
  color: #184C6A;
  border: 1px solid #B2E6EA;
  margin-right: 0;
  margin-left: 7px;
}
.cookie-banner .cookie-preferences-btn:hover, .cookie-banner .cookie-preferences-btn:focus {
  background: #DBF7F5;
  color: #24A8AC;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(76,126,134,0.22);
  z-index: 2502;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn .38s cubic-bezier(.82,.11,.72,1.12);
}
@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #FAFEFD;
  border-radius: 19px;
  box-shadow: 0 8px 38px 0 rgba(36,168,172,0.13);
  max-width: 400px;
  width: 94vw;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalSlideIn .51s cubic-bezier(.94,-0.04,.5,1.21);
}
@keyframes modalSlideIn {
  0% { transform: scale(.92) translateY(120px); opacity: 0; }
  80% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22em;
  margin-bottom: 3px;
  color: #184C6A;
  font-weight: 600;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 19px;
  background: none;
  color: #24A8AC;
  border: none;
  font-size: 2em;
  cursor: pointer;
}
.cookie-modal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-weight: 500;
  color: #247C8C;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: #24A8AC;
  margin-right: 5px;
}
.cookie-modal .cookie-btn {
  margin-top: 9px;
  min-width: 110px;
}

.cookie-category .cookie-essential {
  font-size: .92em;
  color: #aecbcc;
  margin-left: 3px;
}

/****
   RESPONSIVE
****/
@media (max-width: 990px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .footer-brand {
    max-width: 220px;
  }
}
@media (max-width: 820px) {
  .features, .testimonial-list, .service-cards, .service-list, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-menus {
    flex-direction: column;
    gap: 18px;
  }
  footer .container {
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .section {
    margin-bottom: 31px;
    padding: 25px 7px;
  }
  .text-section, .cta-section {
    padding: 18px 7px;
  }
  .service-card, .feature, .testimonial-card {
    min-width: 185px;
    padding: 14px 8px 15px 8px;
  }
  .cookie-modal {
    padding: 25px 7px 18px 12px;
  }
  .hero {
    padding: 32px 0 30px 0;
    border-radius: 0 0 26px 26px;
    min-height: 240px;
  }
  .footer-brand {
    max-width: 99vw;
  }
  .pricing-tables, .comparison-table {
    padding: 7px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.32rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.1rem;
  }
  .main-nav, .footer-menus {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .features, .testimonial-list, .service-cards, .service-list, .content-grid {
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
  }
  .container {
    padding: 0 5px;
  }
  .hero .content-wrapper {
    padding: 0 7px;
  }
  .footer-brand p {
    font-size: .98em;
  }
}

@media (max-width: 530px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 15px 4px 13px 4px;
  }
  .cookie-banner p {
    margin: 0 0 8px 0;
    font-size: .95em;
  }
}

/****
   MICRO-INTERACTIONS & BUTTON FOCUS
****/
:focus {
  outline: 2px solid #24A8AC;
  outline-offset: 2px;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.97);
  filter: brightness(0.98);
}

/****
   MISCELLANEOUS
****/
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #E0F6F6;
  border-radius: 8px;
}
::-webkit-input-placeholder { color: #BFD4DE; }
::-moz-placeholder { color: #BFD4DE; }
:-ms-input-placeholder { color: #BFD4DE; }
::placeholder { color: #BFD4DE; }

/****
   PRINT SAFETY
****/
@media print {
  body, .container, .content-wrapper, header, footer {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .footer-brand {
    display: none !important;
  }
  .main-nav, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/****
   FONT LOAD (FONTS FALLBACKS & HINT)
****/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: local('Montserrat'), local('Montserrat-Regular');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular');
}
