/* 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, figure, hr, input, button, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #2e2a24;
  background: #F9EA97;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: #224777;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #D15400;
  text-decoration: none;
}
img {
  border: 0;
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  outline: none;
  border: none;
  box-shadow: none;
  appearance: none;
}
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #AA884e; }
input:-moz-placeholder, textarea:-moz-placeholder { color: #AA884e; }
input::-moz-placeholder, textarea::-moz-placeholder { color: #AA884e; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #AA884e; }
button {
  cursor: pointer;
}

/* RETRO VINTAGE PALETTE (from brand + retro influences) */
:root {
  --primary: #224777;
  --primary-dark: #182f52;
  --secondary: #F9EA97;
  --secondary-light: #fffbe7;
  --accent: #D15400;
  --retro-blue: #4d89a4;
  --retro-cream: #f5ede1;
  --retro-brown: #7d5835;
  --retro-mustard: #e8c148;
  --retro-red: #ae4142;
  --retro-green: #4C5A4F;
  --text: #2e2a24;
  --white: #fff;
  --shadow: 0 3px 16px rgba(34, 71, 119, 0.09), 0 0.5px 2px rgba(0,0,0,0.04);
  --heading-font: 'Montserrat', 'Open Sans', Arial, sans-serif;
  --body-font: 'Open Sans', Arial, sans-serif;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 #f5ede1;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; line-height: 1.13; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.38rem; margin-bottom: 12px; }
h4 { font-size: 1.12rem; margin-bottom: 10px; }
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
}
p, ul, li, span, em, strong, label {
  font-family: var(--body-font);
  color: var(--text);
  font-size: 1rem;
}
strong { font-weight: 700; }
em { font-style: italic; }

/* SECTIONS & CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--secondary-light);
  border-radius: 22px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* FLEX LAYOUT PATTERNS */
.card-container, .feature-grid, .stats-grid, .awards-badges, .trust-icons, .blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: flex-start;
}
.card {
  background: var(--retro-cream);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 0 0 2px var(--retro-mustard),0 4px 20px 0 rgba(34,71,119,.12);
  transform: translateY(-3px) scale(1.02);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(125,88,53,0.08);
  border: 2.5px dashed var(--retro-mustard);
  max-width: 540px;
  transition: border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* CTA Section */
.cta {
  background: var(--retro-mustard);
  color: var(--text);
  box-shadow: 0 8px 48px 0 rgba(34,71,119,.14);
  border-radius: 18px;
  margin-bottom: 0 !important;
}
.cta h2 {
  color: var(--retro-blue);
  text-shadow: none;
}

/* HERO SECTION */
.hero {
  background: repeating-linear-gradient(135deg, var(--retro-mustard), var(--retro-mustard) 18px, var(--white) 18px, var(--white) 36px);
  padding: 56px 0 56px 0;
  border-bottom: 4px double var(--primary-dark);
  box-shadow: 0 4px 64px 0 rgba(34,71,119,.16);
  position: relative;
}
.hero h1 {
  font-family: var(--heading-font);
  color: var(--primary);
  font-size: 2.5rem;
  text-shadow: 0 2px 0 var(--white);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.25rem;
  color: var(--retro-brown);
  margin-bottom: 24px;
}
.hero .btn-primary {
  margin-bottom: 10px;
}

/* BUTTONS */
.btn-primary {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1rem;
  background: var(--accent);
  color: var(--secondary);
  border-radius: 30px;
  padding: 12px 40px;
  border: none;
  margin: 0 6px 6px 0;
  box-shadow: 0 2px 8px rgba(80,30,0,0.07);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  transition: background 0.18s, color 0.16s, box-shadow 0.2s, transform 0.16s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 4px 32px var(--accent),0 2px 12px rgba(125,88,53,0.07);
  transform: translateY(-2px) scale(1.02);
}
.btn-secondary {
  font-family: var(--heading-font);
  font-size: 1rem;
  background: var(--secondary);
  color: var(--primary);
  border: 1.8px solid var(--primary);
  padding: 10px 26px;
  border-radius: 20px;
  margin-right: 12px;
  transition: all 0.16s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary-dark);
  border-color: var(--accent);
  color: var(--secondary);
}

/* NAVIGATION */
header {
  background: var(--retro-blue);
  border-bottom: 3.5px solid var(--retro-mustard);
  box-shadow: 0 6px 32px 0 rgba(68,38,0,0.07);
  position: relative;
  z-index: 1002;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 18px;
  min-height: 64px;
}
header img {
  max-height: 46px;
}
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
header nav a {
  font-family: var(--heading-font);
  font-size: 1.08rem;
  color: var(--white);
  background: none;
  padding: 10px 10px;
  border-radius: 9px;
  text-decoration: none;
  border: none;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-mustard);
  color: var(--accent);
}
header nav .btn-primary {
  color: var(--secondary);
  background: var(--accent);
  border-radius: 30px;
  margin-left: 12px;
  border: none;
  padding: 8px 24px;
  font-size: 1.0rem;
  box-shadow: none;
}
header nav .btn-primary:hover{ background: var(--white); color: var(--accent); }

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--white);
  font-size: 1.85rem;
  border-radius: 7px;
  width: 44px;
  height: 44px;
  border: none;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--primary-dark);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 370px;
  height: 100vh;
  background: var(--retro-cream);
  box-shadow: -6px 0 40px 10px rgba(159,107,0,0.09);
  z-index: 1102;
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px 36px;
  transform: translateX(105%);
  transition: transform 0.33s cubic-bezier(.56,.06,.28,1.1);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 2rem;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 18px;
  transition: background 0.15s;
}
.mobile-menu-close:hover {
  background: var(--primary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
}
.mobile-nav a {
  font-size: 1.16rem;
  color: var(--primary);
  padding: 9px 7px;
  border-radius: 7px;
  background: none;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--white);
}

@media (max-width: 1024px) {
  header nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 26px 6px; margin-bottom: 33px; }
  .content-wrapper { gap: 20px; }
  .card, .testimonial-card { padding: 16px 10px; }
  .feature-grid, .card-container, .stats-grid { gap: 16px; }
  .text-image-section, .content-grid { flex-direction: column !important; gap: 13px; }
  .cta { padding: 24px 8px; }
}

/* FOOTER */
footer {
  background: var(--retro-green);
  color: var(--secondary);
  padding: 36px 0 18px 0;
  box-shadow: 0 -2px 24px 0 rgba(34,71,119,.07);
  border-top: 4px solid var(--primary);
  margin-top: 46px;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
footer img {
  max-height: 36px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: var(--retro-mustard);
  font-family: var(--body-font);
  font-size: 1rem;
  margin-bottom: 2px;
  background: none;
  text-decoration: underline;
  border: none;
  transition: color 0.18s;
}
footer nav a:hover,footer nav a:focus {
  color: var(--accent);
}
footer .social-icons {
  display: flex;
  align-items: center;
  gap: 13px;
}
footer .social-icons img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  transition: filter 0.16s;
}
footer .social-icons img:hover {
  filter: brightness(0.8);
}
footer p, footer address {
  color: var(--secondary);
  font-size: 1rem;
}
@media (max-width: 768px) {
  footer .content-wrapper { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer .container { padding: 0 2px; }
}

/* BLOG & FAQ & STAT GRIDS */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--heading-font);
  font-size: 1rem;
  color: var(--accent);
  margin-top: 8px;
}
.stats-grid, .awards-badges, .trust-icons  {
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
}
.stats-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--retro-blue);
  color: var(--secondary);
  border-radius: 10px;
  padding: 18px 28px;
  min-width: 130px;
  margin-bottom: 16px;
  font-size: 1rem;
  box-shadow: var(--shadow);
}
.stats-grid h3 {
  font-size: 2.5rem;
  color: var(--retro-mustard);
  margin: 0;
}

@media (max-width: 768px) {
  .stats-grid, .awards-badges, .trust-icons, .blog-categories {
    gap: 9px;
  }
  .stats-grid > div {
    padding: 8px 8px;
    min-width: 92px;
    font-size: 0.98rem;
  }
}

/* ACCORDION FAQ */
.accordion-faq-list > div {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 18px 18px;
  box-shadow: 0 3px 9px rgba(34,71,119,0.06);
  transition: box-shadow 0.18s;
}
.accordion-faq-list > div:hover { box-shadow: var(--shadow); }
.accordion-faq-list h3 {
  font-size: 1.13rem;
  margin-bottom: 8px;
  color: var(--accent);
}

/* CARDS & FEATURE-GRID */
.feature-grid > div {
  background: var(--retro-cream);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
  margin-bottom: 18px;
  text-align: left;
  min-width: 200px;
  flex: 1 1 220px;
  border: 2.2px solid var(--retro-mustard);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, border-color 0.14s;
}
.feature-grid > div:hover, .feature-grid > div:focus {
  box-shadow: 0 0 0 2px var(--accent),0 6px 24px 0 rgba(34,71,119,.09);
  border-color: var(--accent);
}
.feature-grid img, .trust-icons img, .awards-badges img {
  max-width: 42px;
  margin-bottom: 8px;
}

/* NEWSLETTER FORM (Blog) */
.newsletter-signup-form {
  display: flex;
  flex-direction: column;
  background: var(--secondary-light);
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(89,88,80,0.07);
  gap: 10px;
  color: var(--retro-brown);
}
.newsletter-signup-form em { color: var(--accent); }

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 14px 0 8px 0;
}
.contact-info img {
  margin-right: 11px;
  display: inline-block;
  vertical-align: middle;
  width: 23px;
  height: 23px;
}
.contact-info strong { font-family: var(--heading-font); font-weight: 700; }

/* TESTIMONIALS ACCESSIBILITY */
.testimonial-card p {
  color: #2e2a24;
  font-size: 1.08rem;
}
.testimonial-card span { color: var(--retro-green); font-size: 1rem; font-style: italic; }

/* Spacing for min 20px between each card/section */
section { margin-bottom: 60px; }
.card, .testimonial-card, .feature-grid > div, .stats-grid > div { margin-bottom: 20px; }

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2300;
  width: 100vw;
  background: var(--retro-brown);
  color: var(--secondary);
  font-family: var(--body-font);
  padding: 20px 12px 20px 12px;
  box-shadow: 0 -2px 24px 0 rgba(34,71,119,.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: cookie-fadeIn 0.8s;
}
@keyframes cookie-fadeIn {
  from { opacity: 0; transform: translateY(64px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 7px;
}
.cookie-banner button, .cookie-banner .btn-primary {
  font-family: var(--heading-font);
  font-size: 1rem;
  border-radius: 17px;
  padding: 8px 20px;
  border: none;
  margin-right: 0;
  margin-bottom: 0;
  outline: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-banner .btn-primary {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-banner .btn-primary:hover { background: var(--primary-dark); }
.cookie-banner .btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--retro-mustard);
}
.cookie-banner .btn-secondary:hover {
  background: var(--primary-dark);
  color: var(--secondary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2400;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(34, 71, 119, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--secondary-light);
  color: var(--retro-brown);
  border-radius: 15px;
  box-shadow: 0 6px 48px 0 rgba(34, 71, 119, 0.12);
  width: 94vw;
  max-width: 440px;
  padding: 38px 32px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: modalPopIn 0.3s cubic-bezier(.16,.74,.6,1.03);
}
@keyframes modalPopIn { from { scale: .97; opacity: 0; } to { scale: 1; opacity: 1;} }
.cookie-modal h3 {
  color: var(--primary);
  font-family: var(--heading-font);
  margin-bottom: 13px;
  text-shadow: none;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--body-font);
  font-size: 1.05rem;
  color: var(--retro-brown);
}
.cookie-category label {
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--accent);
  width: 22px;
  height: 22px;
  border-radius: 8px;
  margin-right: 7px;
}
.cookie-category .locked {
  color: var(--primary-dark);
  font-size: .95em;
  opacity: 0.67;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 9px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 19px;
  background: none;
  color: var(--primary);
  font-size: 1.7rem;
  border: none;
  cursor: pointer;
}

@media (max-width: 520px) {
  .cookie-modal { padding: 22px 8px 20px 8px; }
}

/* SIMPLE ANIMATIONS */
.btn-primary, .btn-secondary, .mobile-menu-toggle, .mobile-menu-close, .cookie-banner button { transition: background 0.19s, color 0.19s, box-shadow 0.18s, border 0.12s, transform 0.14s; }

/* UTILITIES */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
@media (max-width: 520px) {
  .section { padding: 9px 1px; }
  .hero { padding: 23px 0 24px 0; }
}

/* RETRO VINTAGE NOSTALGIC ELEMENTS */
.section, .card, .testimonial-card, .feature-grid > div, .stats-grid > div, .newsletter-signup-form {
  border: 2.5px solid var(--retro-mustard);
  background-image: repeating-linear-gradient(135deg, rgba(234, 209, 140,.054) 0 8px, transparent 8px 24px);
  background-blend-mode: multiply;
}
.section {
  background-color: var(--secondary-light);
  box-shadow: 0 6px 34px rgba(125,88,53,0.11);
}

/* CLASSIC PATTERNS: header separator border, dashed for testimonial, retro card backgrounds are covered above */
