/* === 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;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #F8F7F2;
  color: #23211e;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
ul, ol {
  list-style-position: inside;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px dotted #c39b6e;
  outline-offset: 1px;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* === VINTAGE RETRO BRAND COLORS === */
:root {
  --brand-primary: #152C44;
  --brand-secondary: #FCDE76;
  --brand-accent: #F4F6F8;
  --retro-brown: #7b5e47;
  --retro-cream: #fbf7ec;
  --retro-orange: #e0a96d;
  --retro-rust: #b24d28;
  --retro-green: #518067;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  color: var(--brand-primary);
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0px var(--brand-secondary), 0 4px 24px #fff0;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p, li, blockquote, a, span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  font-size: 1rem;
  color: #23211e;
}
blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-style: italic;
  background: var(--retro-cream);
  border-left: 5px solid var(--retro-brown);
  padding: 20px 28px;
  margin-bottom: 8px;
  color: var(--retro-brown);
}
strong {
  font-weight: 700;
  color: var(--retro-brown);
}

/* === CONTAINER & GENERAL LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  padding: 32px 0;
  background: transparent;
  border-radius: 0;
}

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: var(--retro-cream);
  border-bottom: 2px solid var(--brand-secondary);
  box-shadow: 0 2px 12px rgba(120,75,38,0.07);
  z-index: 50;
  position: relative;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 18px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.02rem;
  padding: 6px 0;
  color: var(--brand-primary);
  font-weight: 600;
  position: relative;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--brand-secondary);
  transition: width 0.3s;
  margin: 2px 0 0;
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--retro-rust);
}
.main-nav a:hover:after, .main-nav a.active:after {
  width: 100%;
  background: var(--retro-orange);
}
/* CTA header button */
.cta.primary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-radius: 25px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding: 11px 32px;
  box-shadow: 0 2px 8px rgba(210,180,111,0.08);
  border: none;
  margin-left: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.12s;
  outline: none;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--retro-orange);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  border-radius: 50%;
  font-size: 2.2rem;
  padding: 4px 13px 6px 13px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(30,8,0,0.08);
  transition: background 0.16s, color 0.16s, transform 0.12s;
  z-index: 110;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--retro-orange);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(251, 247, 236, 0.98);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 36px 24px 20px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,.8,.4,1);
  box-shadow: -4px 0 20px rgba(93,64,41,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 18px;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 2rem;
  padding: 6px 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(120,75,38,0.11);
  transition: background 0.17s, color 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  padding: 14px 0 3px 0;
  letter-spacing: 0.03em;
  color: var(--brand-primary);
  border-bottom: 1px solid var(--brand-accent);
  transition: color 0.22s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--retro-rust);
  background: var(--brand-secondary);
  border-radius: 6px;
  padding-left: 10px;
}

/* === HERO + VINTAGE PATTERNS === */
.hero {
  background: repeating-linear-gradient(135deg,var(--brand-accent),var(--brand-accent) 80px,var(--retro-cream) 80px,var(--retro-cream) 160px);
  border-bottom: 2px solid var(--brand-secondary);
}
.hero .container {
  min-height: 320px;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 40px 20px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
}
.hero h1 {
  color: var(--retro-brown);
  text-shadow: 2px 2px 0 var(--brand-secondary), 0 4px 32px #eee0;
}
.hero p {
  font-size: 1.17rem;
}

/* === SECTIONS === */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  transition: background 0.2s;
}
.accident-bg,
.accent-bg {
  background: var(--retro-cream);
  border: 1.5px solid var(--brand-secondary);
  box-shadow: 0 2px 30px 2px rgba(252,222,118,0.11);
  border-radius: 13px;
}

.features, .feature-grid {
  flex-direction: column;
  gap: 28px;
}
.features .content-wrapper {
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 260px;
  background: #fff8ed;
  border-radius: 14px;
  border: 1.5px solid var(--retro-orange);
  box-shadow: 0 2px 10px rgba(214,110,44,0.05);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.15s, transform 0.15s;
  min-width: 220px;
}
.feature img {
  width: 36px;
  height: 36px;
  margin-bottom: 15px;
  filter: drop-shadow(1px 2px 0px var(--brand-secondary));
}
.feature:hover {
  box-shadow: 0 6px 30px 2px rgba(214,110,44,0.16);
  transform: translateY(-4px) scale(1.03);
}

/* === CARD, TESTIMONIALS, BLOG PREVIEW === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff9ea;
  border-radius: 11px;
  border: 1.5px solid var(--retro-green);
  box-shadow: 0 2px 8px rgba(81,128,103,0.03);
  transition: box-shadow 0.2s, transform 0.16s;
  padding: 20px 20px 20px 26px;
}
.card:hover {
  box-shadow: 0 6px 26px 2px rgba(81,128,103,0.14);
  transform: translateY(-2px) scale(1.03);
}
.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;
}
.testimonials {
  background: var(--retro-cream);
  border-radius: 13px;
  border: 1.5px solid var(--retro-orange);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffefb;
  border-radius: 15px;
  border: 1.5px dashed var(--retro-brown);
  box-shadow: 0 2px 19px 2px rgba(123,94,71,0.09);
  min-width: 220px;
  transition: box-shadow 0.15s, transform 0.12s;
}
.testimonial-card:last-child {
  margin-bottom: 0;
}
.testimonial-card blockquote {
  color: #23211e;
  font-size: 1.15rem;
}
.testimonial-card p {
  color: var(--brand-primary);
  font-weight: 600;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

.blog-preview {
  background: #fbf3e0;
  border-radius: 12px;
  border: 1px solid var(--retro-brown);
  box-shadow: 0 2px 12px rgba(241,192,85,0.07);
  padding: 22px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.blog-preview:hover {
  box-shadow: 0 8px 28px 5px rgba(176,77,40,0.12);
  transform: translateY(-2px) scale(1.02);
}
.blog-preview h3 {
  color: var(--retro-brown);
  font-size: 1.23rem;
}
.blog-preview a {
  color: var(--retro-green);
  font-weight: 700;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.blog-preview a:hover {
  text-decoration: underline;
}

/* === FEATURES, CERTIFICATES, TEAM === */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.certificates, .team-awards, .trust-signals {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  font-size: 1.07rem;
  color: var(--retro-brown);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.certificates img,
.team-awards img,
.trust-signals img {
  width: 28px;
  height: 28px;
}

.team-profile {
  background: #fff8ed;
  border-radius: 13px;
  border: 1.3px solid var(--retro-green);
  padding: 24px 17px 17px 17px;
  margin-bottom: 23px;
  box-shadow: 0 2px 15px 3px rgba(81,128,103,0.07);
}
.team-profile h3 {
  color: var(--retro-green);
  margin-bottom: 9px;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 20px;
  padding-left: 0;
  margin-left: 15px;
}
li {
  margin-bottom: 10px;
  padding-left: 3px;
  font-size: 1.03rem;
}
ul > li::marker, ol > li::marker {
  color: var(--retro-green);
  font-size: 1.1em;
}

/* === ACCORDION FAQ STYLE === */
.faq-list {
  background: #fffce8;
  border-radius: 8px;
  border: 1px solid var(--brand-secondary);
  padding: 18px 17px 12px 17px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(252,222,118,0.09);
}
.faq-list h3 {
  color: var(--retro-brown);
  margin-bottom: 7px;
  font-size: 1.09rem;
}
.faq-list p {
  font-size: 0.97rem;
}

/* === CONTACT PAGE === */
.contact-details, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details div, .footer-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--brand-primary);
}
.contact-details img, .footer-contact img {
  width: 22px;
  height: 22px;
}
.contact-cta {
  background: #fff8ed;
  border-radius: 10px;
  padding: 19px 19px 16px 19px;
  margin-top: 18px;
  border: 1.2px solid var(--retro-green);
  box-shadow: 0 1px 6px rgba(81,128,103,0.05);
}
.contact-cta h3 {
  color: var(--retro-green);
}

/* === FOOTER === */
footer {
  background: var(--retro-cream);
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -1px 14px rgba(123,94,71,0.03);
  padding: 30px 0 18px 0;
  margin-top: 60px;
  position: relative;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
footer .footer-nav {
  display: flex;
  flex-direction: row;
  gap: 19px;
  flex: 1 1 200px;
}
footer .footer-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.17s, color 0.17s;
}
footer .footer-nav a:hover {
  color: var(--retro-brown);
  border-bottom: 2px solid var(--retro-brown);
}
footer .footer-logo {
  flex: 1 1 120px;
  min-width: 60px;
  margin-top: 10px;
}
footer .footer-logo img {
  width: 50px;
  height: auto;
}
.footer-credit {
  font-size: 0.97rem;
  color: var(--retro-brown);
  margin-top: 18px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  width: 100%;
}

/* === THANK YOU PAGE === */
.thank-you {
  background: var(--brand-accent);
  border-radius: 12px;
  border: 2px solid var(--brand-secondary);
  box-shadow: 0 2px 25px 0px rgba(252,222,118,0.09);
}
.thank-you h1 {
  color: var(--retro-brown);
}

/* === MISC Section Patterns === */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.events-list, .blog-list, .faq {
  gap: 16px;
}

/* === BUTTONS, FORMS & CTA === */
button, .cta {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  padding: 12px 28px;
  margin-bottom: 0;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 1px 7px rgba(210,180,111,0.07);
  transition: background 0.16s, color 0.17s, transform 0.11s;
  display: inline-block;
  text-align: center;
}
button:active, .cta:active {
  transform: scale(0.97);
}
button.secondary, .cta.secondary {
  background: var(--retro-brown);
  color: #fff;
}
button.secondary:hover, .cta.secondary:hover {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
button:focus-visible, .cta:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 1px;
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; right: 0;
  width: 100vw;
  background: #fff8ed;
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 -2px 24px rgba(120,75,38,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9999;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 6vw 20px 6vw;
  font-size: 1.07rem;
  animation: cookieBannerIn 0.35s ease;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-right: 14px;
  color: var(--brand-primary);
  flex: 1 1 auto;
  line-height: 1.65;
}
.cookie-controls {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button,
.cookie-banner .btn {
  min-width: 110px;
  font-size: 1rem;
  border-radius: 19px;
  padding: 9px 17px;
  border: none;
  margin: 0;
  box-shadow: 0 1px 5px rgba(140,69,10,0.04);
  cursor: pointer;
  font-weight: 700;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transition: background 0.13s, color 0.13s, transform 0.1s;
}
.cookie-banner button:hover, .cookie-banner .btn:hover, .cookie-banner button:focus {
  background: var(--retro-rust);
  color: #fff;
}
.cookie-banner .btn-secondary {
  background: var(--retro-brown);
  color: #fff;
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--retro-orange);
  color: #fff;
}

/* COOKIE PREFERENCE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 95vw;
  max-width: 410px;
  background: #fffefb;
  border: 2px solid var(--brand-secondary);
  border-radius: 18px;
  box-shadow: 0 12px 50px 2px rgba(120,75,38,0.14);
  z-index: 12001;
  padding: 35px 28px 28px 28px;
  transform: translate(-50%,-40%) scale(0.85);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.29s;
}
.cookie-modal.open {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  pointer-events: auto;
}
.cookie-modal h3 {
  color: var(--brand-primary);
  font-size: 1.22rem;
  margin-bottom: 16px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 19px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-option label {
  font-size: 1.03rem;
  color: var(--retro-brown);
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--retro-green);
  transform: scale(1.22);
  margin-top: 0;
}
.cookie-modal .modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .btn-close-modal {
  position: absolute;
  top: 14px; right: 16px;
  background: var(--retro-orange);
  color: #fff;
  border: none;
  padding: 4px 13px;
  border-radius: 17px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .btn-close-modal:hover, .cookie-modal .btn-close-modal:focus {
  background: var(--retro-brown);
  color: var(--brand-secondary);
}

/* === RESPONSIVE DESIGN (Mobile First) === */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    gap: 14px;
  }
  .footer-nav {
    gap: 9px!important;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 0;
    align-items: center;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    display: none;
  }
  .hero .container {
    align-items: flex-start;
    padding: 20px 6px 34px 6px;
    min-height: 180px;
  }
  .content-wrapper, .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 19px !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-contact {
    gap: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  section {
    padding: 27px 7px;
  }
  .testimonial-card {
    padding: 15px 7px;
    margin-bottom: 17px;
  }
}
@media (max-width:600px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.12rem; }
  .container {
    padding: 0 3px;
    max-width: 99vw;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 11px 2vw 15px 2vw;
    gap: 13px;
  }
  .cookie-controls {
    width: 100%;
    flex-direction: column;
    gap: 7px;
  }
  .cookie-modal {
    padding: 18px 7px 9px 12px;
    max-width: 98vw;
  }
}

/* === UTILITIES === */
.hide, .d-none {
  display: none !important;
}
.d-flex {
  display: flex !important;
}
.flex-wrap {
  flex-wrap: wrap;
}
.align-center {
  align-items: center !important;
}
.align-start {
  align-items: flex-start !important;
}
.justify-center {
  justify-content: center !important;
}
.justify-between {
  justify-content: space-between !important;
}
.gap-20 {
  gap: 20px !important;
}
.gap-24 {
  gap: 24px !important;
}
.mr-12 {
  margin-right: 12px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.mt-24 {
  margin-top: 24px !important;
}

/* === MICRO-INTERACTIONS & TRANSITIONS === */
a, button, .card, .feature, .testimonial-card, .blog-preview {
  transition: all 0.21s cubic-bezier(.4,.56,.44,1);
}
.button:disabled, button[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
}

/* Decorative retro patterns for headings and accents */
h1, h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 40px;
  height: 5px;
  background: var(--brand-secondary);
  border-radius: 9px;
  margin-top: 8px;
}

/* === PRINT STYLES === */
@media print {
  header, footer, .cookie-banner, .mobile-menu, .cta.primary { display: none !important; }
  body { color: #222; background: #fff; }
}
