/* =======================================
   CleandiLac Bikes Vintage_Retro Theme CSS
   =======================================
   Branding colors: #15536A (primary), #F2F8F2 (background), #F9B233 (accent), + retro pops
   Fonts: Montserrat (display), Open Sans (body), + retro alternates for headings
   Layout: Flexbox only (no grid/columns), mobile-first, responsive
   =======================================
*/
:root {
  --primary: #15536A;
  --secondary: #F2F8F2;
  --accent: #F9B233;
  --retro1: #F9DC5C; /* sunny yellow */
  --retro2: #B95763; /* faded magenta */
  --retro3: #316B83; /* teal blue */
  --retro4: #FFF6E0; /* light cream */
  --retro5: #A78D58; /* tan brown */
  --retro6: #DCC7AA; /* parchment beige */
  --white: #fff;
  --black: #222;
  --border-radius: 18px;
  --shadow: 0 3px 18px rgba(35, 41, 34, 0.10);
  --pattern1: repeating-linear-gradient(135deg, var(--retro4), var(--retro4) 24px, var(--retro1) 27px, var(--retro1) 54px);
  --trans: 0.25s cubic-bezier(.59,.03,.65,1.3);
}

/* =======
  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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: var(--secondary);
  color: var(--black);
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--trans);
}
a:focus { outline: 2px solid var(--accent); }
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ============
  Typography - Vintage Heading Fonts
============== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 24px;
}
h1 {
  font-size: 2.5rem;
  text-shadow: 1px 2px 0 var(--retro1), 3px 4px 0 rgba(249,178,51,0.08);
  margin-top: 0;
}
h2 {
  font-size: 2rem;
  border-bottom: 3px double var(--retro5);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 24px;
}
h3 {
  font-size: 1.3rem;
  color: var(--retro3);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, li, ul, ol {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
}
.legal-text {
  font-size: 0.97rem;
  color: #3e3326;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--retro2);
  margin-bottom: 24px;
  font-weight: 600;
  text-shadow: 0 1px 0 var(--retro4);
}
.strong, strong {
  font-weight: 700;
  color: var(--retro5);
}

/* =========================
  Layout Containers & Spacing
=========================== */
.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  background: var(--retro4);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 38px 26px 40px 26px;
  margin-bottom: 50px;
}
@media (max-width: 820px) {
  .container {
    padding-left: 12px; padding-right: 12px; 
  }
  .content-wrapper { padding: 24px 10px 26px 10px; }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--pattern1);
}
@media(max-width:768px){
  .section { padding: 28px 4px; }
  .content-wrapper { margin-bottom: 34px; }
}

/* =================
  Vintage Patterns as BG
================= */
body {
  background: var(--pattern1);
}
header, footer {
  background: var(--retro6);
  border-bottom: 4px solid var(--retro5);
}
footer {
  border-top: 4px solid var(--retro5);
  border-bottom: none;
}

/* ==================
  Header & Navigation
==================== */
header {
  width: 100%;
  position: sticky;
  top: 0; left: 0;
  z-index: 40;
  box-shadow: 0 6px 16px -6px rgba(35,41,34,0.07);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 13px 0 13px 0;
}
.logo {
  margin-right: 26px; margin-left: 10px;
  display: flex; align-items: center;
  transition: transform var(--trans);
}
.logo:hover { transform: rotate(-3deg) scale(1.04); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1 1 auto;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 1rem;
  transition: background var(--trans), color var(--trans);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro1);
  color: var(--retro5);
}
.cta-header {
  background: var(--accent);
  color: var(--black);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 26px;
  border-radius: 18px;
  font-weight: 700;
  margin-left: 26px;
  letter-spacing: 0.06em;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(249, 178, 51, 0.09);
  border: none;
  transition: box-shadow var(--trans), background var(--trans);
  cursor: pointer;
}
.cta-header:hover, .cta-header:focus {
  background: var(--retro2);
  color: var(--retro4);
  box-shadow: 0 4px 16px rgba(185,87,99,0.18);
}

/* ========= MOBILE NAVIGATION ========= */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249, 178, 51, 0.09);
  transition: background var(--trans), color var(--trans);
  z-index: 103;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--retro3); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--retro6);
  z-index: 110;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.85,-0.01,.51,1.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 0 2px 28px rgba(21,83,106,0.10);
}
.mobile-menu.open {
  transform: translateX(0); 
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none; border: none;
  color: var(--retro2);
  margin: 22px 24px 12px 0;
  cursor: pointer;
  transition: color var(--trans);
}
.mobile-menu-close:focus { outline: 2px solid var(--retro1); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
  padding: 10px 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 14px 4px;
  border-bottom: 1px dashed var(--retro5);
  width: 100%;
  transition: background var(--trans), color var(--trans);
  border-radius: 0;
  font-weight: 600;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--retro1);
  color: var(--retro5);
}

/* Hide nav for mobile, show burger */
@media (max-width: 950px) {
  .main-nav { display: none; }
  .cta-header { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 951px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
}

/* ==============
  Hero + CTA Buttons
============== */
.cta-main {
  display: inline-block;
  background: var(--accent);
  color: var(--black);
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 16px 42px;
  border: 0;
  border-radius: 26px;
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  margin-top: 20px;
  box-shadow: 0 3px 12px rgba(249,178,51,0.13);
  position: relative;
  cursor: pointer;
  transition: background var(--trans), box-shadow var(--trans), color var(--trans), transform .07s ease;
  outline: none;
}
.cta-main:hover, .cta-main:focus {
  background: var(--retro2);
  color: var(--white);
  box-shadow: 0 8px 30px 0 rgba(185, 87, 99, 0.25);
  transform: translateY(-3px) scale(1.03);
}

/* ==============
  Feature Grids & Cards
============== */
.feature-grid, .feature-list, .tariff-comparison, .locations-list, .faq-accordion, .thankyou-message, .next-steps-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 27px;
}
.feature-grid li, .feature-list li, .locations-list li, .faq-item, .thankyou-message, .next-steps-info {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(21,83,106,0.08);
  padding: 22px 20px;
  margin-bottom: 20px;
  min-width: 220px;
  transition: box-shadow var(--trans), transform var(--trans);
  position: relative;
}
.feature-grid li:hover, .feature-list li:hover, .locations-list li:hover, .faq-item:hover {
  box-shadow: 0 5px 22px 0 rgba(249, 178, 51, 0.15);
  transform: translateY(-3px) scale(1.022);
  z-index: 2;
}
.feature-grid img, .feature-list img, .locations-list img, .contact-info img, .footer-contact img {
  width: 36px; height: 36px; margin-bottom: 8px;
  filter: drop-shadow(1px 2px 0 var(--retro1));
}
.feature-grid h3 {
  margin: 10px 0 4px 0;
  color: var(--retro3);
  font-size: 1.1rem;
}

/* ============== TABLES (Vintage Card Style) ============= */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--retro4);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(21,83,106,0.05);
  overflow: hidden;
  margin-bottom: 30px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.045rem;
}
.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
}
.price-table thead tr {
  background: var(--retro1);
  color: var(--black);
  font-weight: 700;
  letter-spacing: .03em;
}
.price-table tbody tr {
  border-top: 2px solid var(--retro5);
  background: var(--white);
}
.price-table tbody tr:nth-child(even) {
  background: var(--retro6);
}
.price-table td strong {
  color: var(--primary);
}

/* ============== FAQ Accordion ============= */
.faq-accordion {
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  cursor: pointer;
  border-left: 5px solid var(--retro3);
  transition: border-color var(--trans), background var(--trans);
}
.faq-item.active, .faq-item:focus, .faq-item:hover {
  background: var(--retro1);
  border-left: 7px solid var(--accent);
}
.faq-item h3 { margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p {
  color: var(--black);
  font-size: 0.98rem;
  margin-left: 0;
}

/* ============== Testimonials ============= */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--retro1);
  color: var(--black);
  border-radius: 18px;
  box-shadow: 0 2px 14px rgba(21,83,106,.10);
  padding: 28px 24px 20px 24px;
  min-width: 250px;
  max-width: 370px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  position: relative;
  font-size: 1rem;
  transition: box-shadow var(--trans);
}
.testimonial-card:hover {
  box-shadow: 0 8px 22px #A78D5880;
  z-index: 4;
}
.testimonial-card p {
  font-style: italic;
  color: #3a3530;
  margin-bottom: 6px;
}
.testimonial-author {
  margin-top: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--retro5);
  letter-spacing: .03em;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 0;
}
.testimonial-stars img { width: 22px; height: 22px; }

/* ============ Contact & Locations =========== */
.contact-info ul, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info li, .footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--retro3);
}
.opening-hours p, .address-details p {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--retro2);
}

/* ============ Footer ============= */
footer {
  padding: 44px 0 24px 0;
  font-size: 1rem;
  background: var(--retro6);
  border-top: 4px solid var(--retro5);
  position: relative;
  z-index: 30;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 3px 0;
  margin-bottom: 4px;
  text-decoration: underline dotted var(--retro3);
}
.footer-contact {
  flex: 1 1 220px;
  gap: 8px;
  font-size: 1rem;
  color: var(--retro3);
}
.footer-copy {
  font-size: 0.96rem;
  color: var(--retro5);
  margin-top: 30px;
  width: 100%;
}

/* ============ Cookie Consent Banner ============= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--retro6);
  color: var(--black);
  border-top: 4px solid var(--retro5);
  box-shadow: 0 -2px 32px 0 rgba(21,83,106,.07);
  padding: 28px 18px 20px 18px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 30px;
  z-index: 200;
  font-size: 1.08rem;
  animation: cookie-slidein 0.7s cubic-bezier(.73,1,.74,1.19);
}
@keyframes cookie-slidein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-banner .banner-msg {
  flex: 1 1 280px;
  font-size: 1rem;
  color: var(--black);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-btn {
  appearance: none;
  background: var(--accent);
  color: var(--primary);
  padding: 10px 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  border-radius: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 2px;
  box-shadow: 0 1px 8px rgba(249,178,51,0.11);
  transition: background var(--trans), color var(--trans);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--retro2);
  color: var(--white);
}
.cookie-btn.settings {
  background: var(--retro1);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--retro2);
  color: var(--white);
}
/* Modal popup */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,31,22,0.45);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein .28s;
}
@keyframes fadein { from { opacity:0; } to { opacity:1; } }
.cookie-modal {
  background: var(--retro4);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 #2222;
  max-width: 430px;
  width: 90vw;
  padding: 30px 28px;
  color: var(--black);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 23px;
  animation: modal-glide 0.34s cubic-bezier(.67,.1,.81,.97);
}
@keyframes modal-glide { from{ transform: translateY(70px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: none; border: none;
  font-size: 2.0rem;
  color: var(--retro2);
  cursor: pointer;
}
.cookie-modal h2 {
  color: var(--retro3);
  margin: 0 0 10px 0;
  font-size:1.25rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.category-label {
  flex:1;
}
.toggle-switch {
  display: inline-flex; align-items: center;
}
.toggle-switch input[type="checkbox"] {
  width: 32px; height: 18px;
  appearance: none;
  background: var(--retro6);
  border: 2px solid var(--retro5);
  border-radius: 16px;
  position: relative;
  outline: none;
  transition: background .22s;
  margin-right:7px;
}
.toggle-switch input[type="checkbox"]:checked {
  background: var(--accent);
}
.toggle-switch input[type="checkbox"]:before {
  content: '';
  position: absolute;
  left: 3px; top: 2.5px;
  width: 13px; height: 13px;
  background: var(--retro2);
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input[type="checkbox"]:checked:before {
  background: var(--retro3);
  transform: translateX(12px);
}
.toggle-switch input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Category always enabled label */
.category-label.disabled { color: #b5a85c; font-style: italic; }

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 24px 7px 18px 7px;
    font-size:1rem;
  }
  .cookie-banner .cookie-actions { flex-direction: column; gap: 10px; }
  .cookie-modal { padding: 24px 9px;}
}

/* ===================
  Responsive FLEX PATTERNS
=================== */
.card-container, .testimonial-slider, .feature-grid, .feature-list, .tariff-comparison, .locations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .card-container,
  .testimonial-slider,
  .feature-grid,
  .feature-list,
  .locations-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid { flex-direction: column; gap: 15px; }
}

/* Used for .testimonial-card layout */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-direction: column;
  min-width: 220px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 0;
}

/* .legal-text visually distinct */
.legal-text {
  background: var(--retro6);
  border-radius: 11px;
  padding: 21px 13px;
  margin-bottom: 10px;
  color: #4b3217;
  font-size: 0.98rem;
}

/* Thank you page cards */
.thankyou-message, .next-steps-info {
  background: var(--retro1);
  border-radius: 14px;
  padding: 18px 17px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(249,178,51,0.08);
  color: var(--black);
}
.next-steps-info ul {
  margin: 0;
}
.next-steps-info li { margin-bottom: 6px; }

/* ========== Misc & Transitional ========== */
::-webkit-scrollbar { width: 9px; background: var(--retro4); }
::-webkit-scrollbar-thumb { background: var(--retro1); border-radius: 7px; }

/* Transitions */
*, *:before, *:after { box-sizing: border-box; transition-property: color, background, box-shadow, border-color, transform; transition-duration: 0.2s; }

/* Hide visually, keep for screen readers */
.visually-hidden {
  border: 0; clip: rect(0 0 0 0); height: 1px;
  margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px;
}

/* ===== Input Focus Style for a11y ===== */
button:focus, .cta-main:focus, a:focus {
  outline: 3px solid var(--retro1);
  outline-offset: 1px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
}

/* =============================
   Retro/Nostalgic Micro-details
============================= */
.card, .feature-grid li, .feature-list li, .faq-item, .locations-list li {
  border: 2px solid var(--retro6);
  box-shadow: 0 1.5px 6px rgba(167, 141, 88, 0.09);
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 13px, rgba(249,220,92,0.15) 13px, rgba(249,220,92,0.22) 26px ) var(--white);
}
.cta-main, .cta-header {
  box-shadow: 0 2px 11px 0 rgba(21, 83, 106, 0.06), 0 2px 0 0 var(--retro4) inset;
}

/* ================================
   Media Queries: General Responsive
================================ */
@media (max-width: 580px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
  .container { padding-left: 7px; padding-right: 7px; }
  .content-wrapper { padding: 10px 2px 18px 2px; }
  .section { padding: 18px 1.5vw 12px 1.5vw; }
  .footer-contact { font-size: 0.96rem; }
  .main-nav { gap: 7px; }
  .feature-grid li, .feature-list li { min-width: 0; padding: 14px 7px; }
  .testimonial-card { padding: 13px 8px; }
}

/* ========== Z-index fixes ========== */
header, .mobile-menu, .cookie-banner, .cookie-modal-overlay { z-index: 999 !important; }

/* ========== Alignment Per Flexbox Mandate =========== */
.section, .container, .content-wrapper, .testimonial-slider, .locations-list, .feature-grid, .feature-list, .tariff-comparison, .faq-accordion, .contact-info ul, .card-container {
  gap: 20px !important;
}

/* =============== END =============== */
