/* Concept C — faithful rebuild of automotiveassurance.com (values mined from the live Webflow CSS) */
:root {
  --grey: #676770;
  --ink: #192024;
  --blue: #2e9dff;
  --blue-dark: #0082f3;
  --blue-light: #69b9ff;
  --page: #edeff2;
  --footer: #f2f2f5;
  --rule: #d5d5e0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--grey); background: var(--page); font-family: "Open Sans", Arial, sans-serif; font-size: 16px; line-height: 1.5; padding-top: 100px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.w-container { max-width: 940px; margin: 0 auto; padding: 0 10px; }

/* header */
.navigation-bar { position: fixed; top: 0; left: 0; right: 0; height: 100px; background: #fff; color: var(--grey); box-shadow: 1px 1px 3px rgba(0,0,0,.6); z-index: 50; }
.nav-container { max-width: 940px; margin: 0 auto; padding: 16px 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; }
.brand-image { height: 70px; width: auto; }
.navigation-menu { display: flex; align-items: center; gap: 2px; }
.nav-link { font-family: "Open Sans", Arial, sans-serif; font-size: 16px; color: #222; padding: 20px; text-decoration: none; background: none; border: 0; cursor: pointer; line-height: 1.25; }
.nav-link:hover { color: var(--blue-dark); }
.nav-link.w--current { color: var(--blue-dark); }
.dropdown { position: relative; }
.dropdown-icon { font-size: 12px; margin-left: 4px; }
.dropdown-list { display: none; position: absolute; top: 100%; left: 0; min-width: 300px; background: rgba(0,0,0,.77); margin-top: 0; padding: 6px 0; }
.dropdown.open .dropdown-list { display: block; }
.dropdown-links { display: block; color: #fff; padding: 10px 20px; text-decoration: none; font-size: 15px; }
.dropdown-links:hover { color: #000; background: rgba(255,255,255,.92); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #222; margin: 5px 0; }

/* hero */
.hero-video-flex { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #2b2b2b url("/assets/img/hero-poster.jpg") center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-overlay-logo { position: relative; width: 600px; max-width: 86%; height: auto; padding-top: 86px; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* sections */
.section { background: #fff; padding: 50px 10px; }
.section-title-group { margin-bottom: 0; }
.page-heading { color: var(--grey); text-align: left; padding-top: 80px; margin: 20px 0 10px; font-size: 46px; line-height: 48px; font-weight: 300; }
.page-heading.no-top-pad { padding-top: 0; }
.page-heading-services { color: var(--grey); padding: 0 0 25px; margin: 0; font-size: 32px; line-height: 36px; font-weight: 300; text-align: left; }
.rtb { color: var(--grey); }
.rtb p { text-align: left; font-size: 16px; line-height: 20px; margin: 0 0 12px; }
.pad-bottom { padding-bottom: 30px; }
.section-header { background: #fff; padding: 50px 10px 0; text-align: center; }
.section-header.top-pad-100 { text-align: left; padding-top: 100px; }
.post-heading { color: var(--grey); text-align: left; padding-top: 20px; margin: 0; font-size: 36px; line-height: 38px; font-weight: 300; }
.post-image { width: 100%; margin: 23px 0 15px; }
.post-body { text-align: left; padding: 7px 0 17px; }
.dyn-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-block { color: var(--grey); text-decoration: none; display: block; margin-bottom: 20px; }
.dynamic-image { box-shadow: 0 0 6px rgba(0,0,0,.9); aspect-ratio: 40 / 21; object-fit: cover; width: 100%; }
.dynamic-heading { padding-top: 13px; margin: 0; font-size: 23px; line-height: 26px; font-weight: 300; text-align: center; color: var(--grey); }
.link-block:hover .dynamic-heading { color: var(--blue-dark); }
.link-block:target .dynamic-heading { color: var(--blue-dark); }

/* footer */
.footer { background-color: var(--footer); background-image: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.88)), url("/assets/img/footer-bg.jpg"); background-position: 0 0, 50%; background-size: auto, cover; background-repeat: repeat, no-repeat; padding: 30px 10px 40px; }
.three-up { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-heading { font-family: "Raleway", "Open Sans", sans-serif; text-align: center; margin: 10px 0 12px; font-size: 14px; font-weight: 400; letter-spacing: 4px; text-transform: uppercase; color: var(--grey); }
.footer-instructions { text-align: center; font-size: 12px; font-style: italic; font-weight: 300; margin: 0 0 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-link-text { color: var(--grey); text-align: left; border-bottom: 1px solid var(--rule); margin: 0 0 6px 30px; padding: 0 0 6px; font-size: 14px; font-weight: 300; text-decoration: none; display: block; }
a.footer-link-text:hover { color: var(--blue-dark); }
.footer-link-wrapper { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin-left: 20px; }
.footer-link-wrapper svg { width: 18px; height: 18px; color: var(--grey); margin-top: 2px; }
.footer-link-wrapper .footer-link-text { margin-left: 0; }
.reverse-button { color: var(--grey); background: transparent; border: 1px solid var(--grey); margin: 20px 0 0 30px; padding: 10px 15px; font-size: 14px; font-weight: 300; text-decoration: none; display: inline-block; }
.reverse-button:hover { color: #fff; background: #000; border-color: #fff; }
.copyright-section { background: #000; }
.copyright { color: #fff; text-align: center; padding: 15px 10px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; max-width: 940px; margin: 0 auto; }
.copyright-text { font-size: 12px; }
.bmg-link { color: #fff; }
.preview-note { font-size: 11px; color: #bbb; }

/* responsive */
@media (max-width: 991px) {
  .w-container, .nav-container, .three-up { max-width: 728px; }
  .hero-video-flex { height: 350px; }
  .video-overlay-logo { padding-top: 97px; }
  .dyn-items { grid-template-columns: repeat(2, 1fr); }
  .nav-link { padding: 20px 12px; }
}
@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .navigation-menu { display: none; position: absolute; top: 100px; left: 0; right: 0; background: rgba(0,0,0,.9); flex-direction: column; align-items: stretch; padding: 10px 0; }
  .navigation-menu.open { display: flex; }
  .navigation-menu .nav-link { color: #fff; padding: 14px 20px; text-align: left; }
  .navigation-menu .nav-link.w--current { color: var(--blue-light); }
  .dropdown-list { position: static; background: rgba(255,255,255,.08); min-width: 0; }
  .hero-video-flex { height: 300px; }
  .video-overlay-logo { width: 400px; }
  .page-heading { font-size: 36px; line-height: 40px; }
  .three-up { grid-template-columns: 1fr; }
  .footer-link-text, .reverse-button { margin-left: 0; }
  .footer-link-wrapper { margin-left: 0; }
  .section-header.top-pad-100 { padding-top: 40px; }
}
@media (max-width: 479px) {
  body { padding-top: 90px; }
  .navigation-bar { height: 90px; }
  .nav-container { padding-top: 10px; }
  .navigation-menu { top: 90px; }
  .page-heading { font-size: 30px; line-height: 34px; }
  .post-heading { font-size: 27px; line-height: 30px; }
  .dyn-items { grid-template-columns: 1fr; }
  .hero-video-flex { height: 240px; }
  .video-overlay-logo { padding-top: 40px; }
}
