/* 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAF8F2; color: #193155; min-height: 100vh; }
img, picture, svg { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 8px; border-bottom: 1px solid #e5decf; text-align: left; }
th { background: #F3E7D9; color: #193155; font-weight: bold; }

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');

:root {
  --primary: #183152; /* Dark navy blue (brand primary) */
  --secondary: #21A179; /* Teal/Racing green (brand) */
  --accent: #F5F8FA; /* Light accent */
  --vintage-bg: #F3E7D9; /* Retro creamy beige background */
  --retro-orange: #F9B24B; /* Nostalgic orange */
  --retro-brown: #8F6D45;  /* Woody brown */
  --retro-red: #BD5456;
  --retro-yellow: #F6E27A;
  --retro-green: #20A179;
  --border-radius: 16px;
  --shadow: 0 4px 16px rgba(120,96,80,0.11), 0 2px 1px rgba(0,0,0,0.04);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--vintage-bg);
  color: #183152;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1.2px;
}
h1 { font-size: 2.7rem; color: var(--retro-red); text-shadow: 1px 2px 0px #FFD599, 2px 2px 8px #fff8e6; }
h2 { font-size: 2rem; color: var(--primary); }
h3 { font-size: 1.3rem; color: var(--retro-brown); }

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.main, main { width: 100%; }

/* --- HEADER & NAV --- */
header {
  background: #F3E7D9;
  padding: 0px 0 0px 0;
  border-bottom: 2px solid var(--retro-orange);
  box-shadow: 0 2px 8px rgba(112,50,24,0.05);
  position: relative;
  z-index: 900;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 16px 20px;
}
header nav {
  display: flex;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 8px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  position: relative;
  letter-spacing: .06em;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}
.logo, header img {
  max-height: 42px;
  margin-right: 8px;
}
.btn-primary {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1.4px;
  font-size: 1.1rem;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  padding: 12px 34px;
  border-radius: 48px;
  box-shadow: 0 2px 8px rgba(249,178,75,0.09);
  cursor: pointer;
  margin-left: 24px;
  transition: background .21s, color .21s, transform .13s;
  outline: none;
  text-shadow: 0 1px 0 #92795b;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  transform: translateY(-2px) scale(1.03);
}

.mobile-menu-toggle {
  display: none;
  background: var(--retro-brown);
  color: #fff;
  font-size: 2rem;
  padding: 7px 16px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  transition: background .18s;
  line-height: 1;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--retro-orange);
  color: var(--primary);
}

/* --- MOBILE NAV --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #fffafa;
  box-shadow: 0 0 18px rgba(80,43,19,.14);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.55,.2,.2,1);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 0 0;
  font-size: 2rem;
  color: var(--retro-brown);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 50%;
  transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--retro-yellow);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.4rem;
  background: none;
  padding: 10px 0;
  border-radius: 14px;
  width: 85vw;
  text-align: center;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}

/* --- SECTION LAYOUTS --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid, .provider-logo-grid, .team-member-list, .info-cards, .offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  justify-content: space-between;
}
.feature-grid > div, .provider-logo-grid > div, .team-member-list > div, .info-cards > div, .offer-card {
  flex: 1 1 250px;
  min-width: 220px;
  background: #fffefb;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: 2.5px solid var(--retro-yellow);
  padding: 25px 20px 22px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.offer-card h3 {
  color: var(--retro-red);
  margin-bottom: 8px;
}
.offer-card .btn-primary {
  margin-top: 18px;
  margin-left: 0;
}

/* LIST & OL STYLES (retro dotted, numbered, etc.) */
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 13px;
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 2.2em;
  position: relative;
}
ul li::before {
  content: '';
  position: absolute;
  left: 0.9em;
  min-width: 16px;
  min-height: 16px;
  background: var(--retro-orange);
  border-radius: 50%;
  width: 9px; height: 9px;
  top: 0.7em;
}
ol li {
  counter-increment: retro-li;
}
ol {
  counter-reset: retro-li;
}
ol li::before {
  content: counter(retro-li) '. ';
  color: var(--retro-brown);
  font-weight: bold;
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
}

/* CARDS FLEX CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
}

/* CONTENT GRID */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TESTIMONIALS */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffefa;
  border: 2px solid var(--retro-orange);
  border-radius: 20px;
  box-shadow: 0 2px 15px rgba(227,186,119,0.13);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 0;
  max-width: 560px;
  transition: box-shadow .18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(149,74,34,0.18);
  border-color: var(--retro-brown);
}
.testimonial-card p {
  color: #1b2030;
  font-family: var(--font-body);
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.testimonial-card span {
  display: block;
  color: var(--primary);
  letter-spacing: 0.2px;
  margin-top: 0px;
  font-size: 0.97em;
}
.testimonial-card strong { color: var(--retro-red); }

/* TABLES (vintage) */
table {
  width: 100%;
  background: #fffefb;
  border-radius: 16px 16px 7px 7px;
  overflow: hidden;
  font-size: 1rem;
  margin: 22px 0 25px 0;
  box-shadow: 0 1px 9px #eedbb0cc;
}
thead th {
  font-family: var(--font-display);
  color: var(--retro-brown);
  background: #f6e2b5;
  font-weight: 700;
}
tr:nth-child(even) td { background: #faf5ea; }
tr:hover td {
  background: var(--retro-yellow);
  color: var(--retro-brown);
}

/* --- HERO & CTA --- */
.hero {
  background: repeating-linear-gradient(135deg, #F3E7D9 0px, #F3E7D9 24px, #FFE7B6 80px, #FFE7B6 100px);
  margin-bottom: 54px;
  padding: 56px 0 40px 0;
}
.hero .container {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.7rem;
}
.cta {
  background: linear-gradient(90deg, #fffef6 70%, #F9B24B 100%);
  border-radius: 56px;
  box-shadow: 0 3px 12px #e6c89636;
  margin-top: 40px;
  margin-bottom: 56px;
  padding: 38px 20px;
  text-align: center;
}
.cta h2 {
  color: var(--retro-brown);
  font-size: 2.1rem;
}
.cta p {
  color: var(--primary);
}
.cta .btn-primary {
  margin-top: 13px;
}

/* --- FOOTER --- */
footer {
  background: #183152;
  color: #efe7d3;
  padding: 44px 0 12px 0;
  border-top: 7px dotted var(--retro-orange);
  letter-spacing: 0.05em;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo img {
  max-width: 140px;
}
.footer-menu {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 12px 0 6px 0;
}
.footer-menu a {
  color: #ffe7bc;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 9px;
  transition: background .14s, color .16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  background: var(--retro-orange);
  color: #183152;
}
.company-info {
  font-size: 0.96em;
  color: #ffe7bc;
  margin-bottom: 6px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin: 13px 0 13px 0;
}
.footer-social a img {
  background: #fffefa;
  border-radius: 30%;
  box-shadow: 0 0px 2px #fad79096;
  width: 32px; height: 32px;
  transition: background .15s;
}
.footer-social a:hover img {
  background: var(--retro-yellow);
}
.copyright {
  color: #e2ceab;
  font-size: 0.94em;
  margin-top: 10px;
}

/* --- CARDS --- */
.card {
  min-width: 240px;
  background: #fffefa;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 18px;
  border: 2px solid var(--retro-yellow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 20px;
}
.offer-card {
  background: #FFF;
  box-shadow: var(--shadow);
  border-radius: 18px;
  border: 2px solid var(--retro-orange);
  padding: 26px 16px 20px 16px;
  flex: 1 1 270px;
  min-width: 225px;
}
.offer-card h3 { color: var(--retro-brown); }
.offer-card ul li { font-size: 0.97em; }
.offer-card .btn-primary { margin-left: 0; min-width: 130px; }

/* FAQ accordion retro styling */
.faq-accordion > div {
  background: #FFE7B6;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 7px #f6cb836c;
  border: 1.5px dashed var(--retro-brown);
  color: #193155;
  font-size: 1rem;
  transition: box-shadow 0.17s;
}
.faq-accordion > div:hover {
  box-shadow: 0 3px 18px #f3a65135;
}

.checklists ul li {
  color: var(--retro-brown);
  font-weight: bold;
  font-size: 1rem;
}

/* --- FORMS, BUTTONS, INPUTS -- VINTAGE TOUCH --- */
input, textarea, select {
  font-family: var(--font-body);
  padding: 10px 14px;
  border: 2px solid var(--retro-yellow);
  border-radius: 9px;
  margin-bottom: 18px;
  font-size: 1rem;
  background: #fff;
  color: #193155;
  transition: border-color .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--retro-orange);
  outline: none;
}

/* Content Sections: minimum 20px between all cards/sections */
main > section, .benefits, .filters, .infoboxes, .about, .team, .advantages, .support-info, .review-submission, .thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*********************** COOKIE BANNER ************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2001;
  background: #F9B24B;
  color: #1b2030;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 18px 24px 18px 16px;
  box-shadow: 0 -5px 30px #edb24b33;
  font-family: var(--font-body);
  font-size: 1.1em;
  animation: cookie-banner-in .55s cubic-bezier(.55,.2,.2,1);
}
@keyframes cookie-banner-in {
  0% { transform: translateY(120%); opacity: 0; }
  77%{ opacity: 0.9; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex-grow: 1;
  margin: 0 12px 0 0;
}
.cookie-banner .cookie-btn {
  background: var(--retro-brown);
  color: #fffef6;
  font-family: var(--font-display);
  border: none;
  border-radius: 36px;
  padding: 8px 26px;
  margin-left: 9px;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0;
  transition: background .18s, color .18s, transform .11s;
  box-shadow: 0 2px 8px #c4984a2c;
  cursor: pointer;
}
.cookie-banner .cookie-btn.settings { background: var(--retro-orange); color: var(--primary); }
.cookie-banner .cookie-btn:hover {
  background: var(--retro-yellow);
  color: var(--retro-brown);
  transform: translateY(-2px) scale(1.03);
}

/*********************** COOKIE MODAL POPUP *******************/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(29,24,19,0.44);
  width: 100vw; height: 100vh;
  z-index: 2010;
  justify-content: center;
  align-items: center;
}
.cookie-modal-overlay.active { display: flex; }
.cookie-modal {
  background: #fffefa;
  border-radius: 20px;
  max-width: 420px;
  width: 80vw;
  box-shadow: 0 8px 42px #d7a87347;
  padding: 32px 28px 24px 28px;
  position: relative;
  animation: cookie-modal-in .36s cubic-bezier(.55,.22,.28,1.1);
  display: flex;
  flex-direction: column;
}
@keyframes cookie-modal-in {
  0% { transform: scale(0.9); opacity: 0.56; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 17px;
  color: var(--primary);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.08em;
  color: var(--retro-brown);
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--retro-orange);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  padding: 9px 19px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 18px;
  background: none;
  border: none;
  font-size: 1.3em;
  color: var(--retro-orange);
  cursor: pointer;
  border-radius: 50%;
  transition: background .18s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--retro-yellow);
}
hr {
  border: 0; border-top: 1.5px solid #fae6bb;
  margin: 18px 0 18px 0;
}

/******************** UTILS, MISC, VINTAGE ELEMENTS ***********/
::selection { background: #FFD599; color: #183152; }
code, pre {
  font-family: 'Fira Mono', 'Inconsolata', monospace, monospace;
  background: #fff5e1;
  color: #8f6d45;
  font-size: 95%;
  padding: 2px 8px;
  border-radius: 6px;
}
.mark, mark {
  background: var(--retro-yellow);
  color: var(--retro-brown);
  border-radius: 3px;
  padding: 1px 5px;
}

/********************* RESPONSIVE *****************************/
@media (max-width: 1080px) {
  .container { max-width: 95vw; }
  .feature-grid, .provider-logo-grid, .team-member-list, .info-cards, .offer-cards {
    gap: 17px;
  }
  .card, .offer-card {
    min-width: 160px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .provider-logo-grid, .team-member-list, .info-cards, .offer-cards {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .feature-grid > div, .provider-logo-grid > div, .team-member-list > div, .info-cards > div, .offer-card {
    min-width: 200px;
    flex: 1 1 90%;
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.26rem; }
  h3 { font-size: 1.07rem; }
  .hero, .cta {
    padding: 37px 0 27px 0;
  }
  .container, header .container {
    padding: 0 8px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    margin-left: 10px;
    padding: 11px 18px;
    font-size: 0.98rem;
  }
  .mobile-menu-toggle {
    display: inline-block;
    font-size: 2rem;
    margin-left: 6px;
  }
  .feature-grid, .provider-logo-grid, .team-member-list, .info-cards, .offer-cards {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div, .provider-logo-grid > div, .team-member-list > div, .info-cards > div, .offer-card {
    min-width: 0;
  }
  .text-image-section{
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .testimonial-card { max-width: 98vw; }
  footer .container {
    padding: 0 8px;
    gap: 12px;
  }
  .footer-social { gap: 8px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.34rem; }
  h2 { font-size: 1.06rem; }
  .footer-logo img { max-width: 85px; }
  .card, .offer-card, .testimonial-card, .faq-accordion > div {
    padding: 11px 7px;
  }
  .hero, .cta, .section, .filters, .benefits, .infoboxes, .about, .team, .advantages, .support-info, .review-submission, .thank-you {
    padding: 23px 4px;
  }
  .cookie-banner { flex-direction: column; gap: 10px; padding: 12px 6px; text-align: center; }
  .cookie-banner p { margin-bottom: 6px; }
  .cookie-banner .cookie-btn { width: 100%; margin: 4px 0; }
}

/* --- VINTAGE PATTERNS, BORDERS, ETC. --- */
.section, .hero, .cta, .card, .offer-card, .testimonial-card, .faq-accordion > div, .cookie-modal {
  position: relative;
}
.section::before, .card::before, .offer-card::before, .testimonial-card::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  left: 12px; top: 12px;
  width: 60px; height: 23px;
  background: repeating-linear-gradient(-45deg, #FFD599 0 7px, transparent 7px, transparent 14px);
  opacity: .22;
  border-radius: 11px;
  pointer-events: none;
}
/* Make sure these do not interfere with content */
.card > *, .offer-card > *, .testimonial-card > * {
  position: relative;
  z-index: 1;
}

/***************** ACCESSIBILITY & FOCUS STYLES ****************/
a:focus, button:focus, .btn-primary:focus, .mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px var(--retro-orange);
  outline: none;
}

/***************** MICROINTERACTIONS (hover, transition) ********/
.btn-primary, .footer-menu a, header nav a, .mobile-nav a, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.16s, box-shadow 0.12s, transform .09s;
}
.card, .offer-card, .testimonial-card, .faq-accordion > div {
  transition: box-shadow 0.2s, transform 0.13s, border-color 0.155s;
}
.card:hover, .offer-card:hover {
  box-shadow: 0 8px 24px #f9b24b32;
  border-color: var(--retro-brown);
  transform: translateY(-3px) scale(1.01);
}

::-webkit-scrollbar { width: 10px; background: var(--vintage-bg); }
::-webkit-scrollbar-thumb { background: #FFD599; border-radius: 8px; }

/* END CSS */
