/* ============================================================
   DAZMAC — Specialist Vehicle Insurance — page-specific styles
   Inherits everything from styles.css
   ============================================================ */

/* Hero — keep the imported car visible on the right */
.hero-insurance .hero-media {
  background-position: 62% center !important;
  transform: scale(1.04);
}

/* Non-linking placeholder nav items (menu mirrors the live site) */
.nav-placeholder { cursor: default; }
.nav-placeholder:hover { color: #E8EEF5; }
.nav-placeholder:hover::after { display: none; }

/* This menu carries 8 items, so tighten it to fit on 15in laptops */
.header-nav { gap: 18px; }
.header-nav a {
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Tidy the intro column so the quote button is not floated by centering */
.section-intro .trust-grid { align-items: start; }
.section-intro .trust-list .check-list { gap: 18px; }
.section-intro .trust-list .btn { margin-top: 26px; }

/* ============================================================
   STANDARD INSURERS FALL SHORT (dark)
   ============================================================ */
.section-shortfall { padding: 130px 0 170px; }
.shortfall-shape {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(217,60,46,.12), transparent 55%);
  pointer-events: none;
}
.shortfall-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.shortfall-lead {
  font-size: 16.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 560px;
}
.shortfall-conclusion {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  padding: 20px 24px;
  background: rgba(111,174,200,.10);
  border-left: 3px solid var(--button-blue);
  border-radius: 0 8px 8px 0;
}
.shortfall-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px -25px rgba(0,0,0,.6);
}
.shortfall-image::before {
  content:'';
  position: absolute;
  top: -14px; right: -14px;
  width: 80px; height: 80px;
  border-top: 4px solid var(--accent-red);
  border-right: 4px solid var(--accent-red);
  z-index: 2;
}
.shortfall-image img {
  width: 100%; height: 480px; object-fit: cover; display: block;
}

/* ============================================================
   WHY CHOOSE MB — benefit cards
   ============================================================ */
.section-benefits {
  background: linear-gradient(180deg, var(--paper) 0%, var(--off-white) 100%);
  padding: 130px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.benefit-card {
  padding: 38px 30px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: 0 12px 30px -16px rgba(11,30,46,.12);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(11,30,46,.22);
  border-color: rgba(111,174,200,0.45);
}
.benefit-icon {
  width: 60px; height: 60px;
  background: rgba(111,174,200,.14);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--teal-mid);
  margin-bottom: 22px;
}
.benefit-icon svg { width: 30px; height: 30px; }
.benefit-card h4 {
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.benefit-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}
/* CTA tile inside the grid */
.benefit-card-cta {
  background: var(--dark-grad);
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.benefit-card-cta::before {
  content:'';
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 3px;
  background: var(--accent-red);
}
.benefit-card-cta h4 { color: #fff; font-size: 21px; }
.benefit-card-cta p { color: rgba(255,255,255,.82); margin-bottom: 22px; }

/* ============================================================
   VEHICLE TYPES — slightly more padding before curve
   ============================================================ */
.section-vehicles { padding-bottom: 190px; }

/* ============================================================
   THREE-STEP PROCESS
   ============================================================ */
.section-steps3 { padding: 130px 0; }
.steps3-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}
.step3-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 44px 32px 38px;
  text-align: center;
  position: relative;
  box-shadow: 0 14px 34px -18px rgba(11,30,46,.16);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step3-num {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 8px 18px -6px rgba(217,60,46,.5);
}
.step3-icon {
  width: 76px; height: 76px;
  color: var(--teal-mid);
  margin: 10px 0 20px;
}
.step3-icon svg { width: 76px; height: 76px; }
.step3-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.step3-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.65;
}
.step3-card-accent {
  background: var(--dark-grad);
  border: none;
  box-shadow: 0 28px 56px -22px rgba(11,30,46,.5);
}
.step3-card-accent h3 { color: #fff; }
.step3-card-accent p { color: rgba(255,255,255,.84); }
.step3-card-accent .step3-icon { color: var(--button-blue); }
.step3-link {
  margin-top: 18px;
  color: var(--button-blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.step3-link:hover { color: #fff; }
.step3-connector {
  display: grid;
  place-items: center;
  color: rgba(111,174,200,.7);
  padding: 0 14px;
}
.step3-connector svg { width: 30px; height: 30px; }

/* ============================================================
   FOOTER (matches the live Dazmac footer)
   ============================================================ */
.dz-footer {
  background:
    radial-gradient(ellipse at 80% 120%, rgba(58,42,110,.30), transparent 60%),
    linear-gradient(180deg, #05080d 0%, #080711 100%);
  color: #fff;
  padding: 70px 0 0;
}
.dz-footer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 54px;
}
.dz-footer-logo { height: 30px; width: auto; }
.dz-footer-brand { padding-top: 4px; }

.dz-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dz-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.86);
  line-height: 1.4;
}
.dz-contact-icon {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--button-blue);
  margin-top: 1px;
}
.dz-contact-icon svg { width: 20px; height: 20px; }
.dz-contact-link { transition: color .2s ease; }
.dz-contact-link:hover { color: #fff; }
.dz-footer-social {
  margin-top: 10px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #0a0a14;
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.dz-footer-social svg { width: 22px; height: 22px; }
.dz-footer-social:hover { transform: translateY(-2px); background: var(--button-blue); color: #fff; }

.dz-footer-col-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.dz-footer-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.dz-footer-list a {
  font-size: 15px;
  color: rgba(255,255,255,.66);
  transition: color .2s ease;
  cursor: pointer;
}
.dz-footer-list a:hover { color: #fff; }

.dz-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .dz-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .dz-footer-brand { grid-column: 1 / -1; }
  .shortfall-grid { grid-template-columns: 1fr; gap: 44px; }
  .shortfall-image img { height: 380px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps3-grid { grid-template-columns: 1fr; gap: 34px; }
  .step3-connector { transform: rotate(90deg); padding: 4px 0; }

  /* Restack vehicle cards so text is never clipped: image banner + text panel */
  .section-vehicles .origins-grid { grid-auto-rows: auto; }
  .section-vehicles .origin-card,
  .section-vehicles .origin-card-large {
    grid-row: auto;
    height: auto;
    background: linear-gradient(180deg, #0d2336 0%, #0a1c2d 100%);
    display: flex;
    flex-direction: column;
  }
  .section-vehicles .origin-card-image {
    position: relative;
    inset: auto;
    height: 220px;
    flex-shrink: 0;
  }
  .section-vehicles .origin-card-shade {
    height: 220px;
    bottom: auto;
    background: linear-gradient(180deg, rgba(6,21,34,.45) 0%, rgba(6,21,34,0) 55%);
  }
  .section-vehicles .origin-card-body {
    position: static;
    padding: 22px 26px 26px;
  }
  .section-vehicles .origin-card h3,
  .section-vehicles .origin-card-large h3 {
    font-size: 23px;
    text-shadow: none;
  }
  .section-vehicles .origin-card p,
  .section-vehicles .origin-card-large p {
    font-size: 14.5px;
    max-width: none;
    text-shadow: none;
  }
  .section-vehicles .origin-card:hover { transform: none; }
}

/* General-information block in the dark "Who We Protect" section */
.import-info {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  color: rgba(226, 234, 242, 0.82);
}
.import-info-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.import-info p {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.import-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}
.import-info-list li {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}
.import-info-note {
  font-size: 13px;
  font-style: italic;
  color: rgba(226, 234, 242, 0.55);
  margin-top: 4px;
}
@media (max-width: 720px) {
  .import-info { margin-bottom: 40px; }
  .import-info-title { font-size: 19px; }
}

/* Statements & disclaimers section */
.section-legal { padding-top: 40px; }
.legal-block {
  max-width: 760px;
  margin: 0 auto 28px;
}
.legal-block:last-child { margin-bottom: 0; }
.legal-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0d2336;
  margin: 0 0 10px;
}
.legal-block p {
  font-size: 15px;
  line-height: 1.75;
  color: #5a6675;
  margin: 0 0 12px;
}
.legal-block ul {
  margin: 0;
  padding-left: 20px;
}
.legal-block li {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6675;
  margin-bottom: 6px;
}

/* Referral disclosure under the mid CTA quote button */
.cta-bar-inner p.cta-referral-note {
  max-width: 560px;
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}
.cta-bar-inner p.cta-referral-note a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cta-bar-inner p.cta-referral-note a:hover { color: #fff; }

/* Referral / general-advice disclaimer under the benefits grid */
.benefits-disclaimer {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #7c8896;
  font-style: italic;
}

@media (max-width: 720px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .benefits-disclaimer { font-size: 12.5px; margin-top: 30px; }
  .section-shortfall { padding: 90px 0 130px; }
  .dz-footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .dz-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-vehicles .origin-card-image { height: 190px; }
  .section-vehicles .origin-card-shade { height: 190px; }
}
