@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

#select-age {
  scroll-margin-top: 16px;
}

img {
  max-width: 100%;
}

body {
  background: #fff;
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.site-header {
  padding-top: 10px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-row {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.advertorial-badge {
  grid-column: 2;
  justify-self: center;
  font-family: "Open Sans", sans-serif;
  font-style: italic;
  font-size: 13px;
  color: #333;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.header-quote-btn {
  grid-column: 3;
  justify-self: end;
  display: inline-block;
  background: #ea292a;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 2vw, 16px);
  padding: 10px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.header-quote-btn:hover {
  background: #c91f1f;
}

.ico-img {
  height: 48px;
  width: auto;
  max-width: 52px;
  flex-shrink: 0;
}

.name-img {
  height: 40px;
  width: auto;
  max-width: 220px;
}

.divider {
  margin: 10px 0 20px;
  border: 0;
  height: 1px;
  background: #ddd;
}

.page-title {
  margin-top: 0;
  text-align: left;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.2;
  color: #262626;
}

.eligible-line {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 500;
  color: #262626;
  margin: 12px 0 20px;
}

.hero-img {
  width: 100%;
  max-width: 932px;
  display: block;
  margin: 0 auto 20px;
  border-radius: 4px;
}

.body-text {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.5;
  color: #262626;
  margin-bottom: 30px;
}

.body-text p {
  margin-bottom: 16px;
}

.body-text p:last-child {
  margin-bottom: 0;
}

.article-block {
  margin-bottom: 30px;
}

.article-block h2 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 26px);
  color: #262626;
  text-align: left;
  margin-bottom: 12px;
}

.section-title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  color: #262626;
  text-align: left;
}

.section-title.centered {
  text-align: center;
}

.step-text {
  font-family: "Open Sans", sans-serif;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #262626;
  margin-top: 6px;
}

.region-header {
  background: #ea292a;
  padding: 16px 10px;
  border-radius: 4px 4px 0 0;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 3.5vw, 30px);
  font-weight: 600;
}

.region-sub {
  background: #0a6aa9;
  padding: 12px 10px;
  border-radius: 0 0 4px 4px;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(14px, 2.5vw, 20px);
  font-weight: 500;
  margin-bottom: 30px;
}

.provinces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.province-label {
  background: #ea292a;
  border-radius: 8px;
  padding: 14px 8px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(13px, 2vw, 18px);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 0;
  max-width: 100%;
  word-break: break-word;
  text-decoration: none;
}

.province-label:hover {
  background: #c91f1f;
}

.age-section-title {
  text-align: center;
  margin-bottom: 20px;
}

.age-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.age-card {
  flex: 0 1 280px;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  padding: 0;
  border: 1px solid #111;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.age-card-top {
  border-bottom: 1px solid #111;
  line-height: 0;
}

.age-card-top img {
  display: block;
  width: 100%;
  height: auto;
}

.age-card-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 3vw, 24px);
  text-align: center;
  padding: 12px 8px;
  color: #111;
  background: #fff;
  line-height: 1.2;
}

.cta-wrap {
  margin: 30px 0 40px;
}

.cta-btn {
  display: block;
  width: 100%;
  background: #ea292a;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 700;
  padding: 18px 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  word-break: break-word;
  box-sizing: border-box;
}

.cta-btn:hover {
  background: #c91f1f;
}

.site-footer {
  background: #f5f5f5;
  padding: 20px 0;
  margin-top: 30px;
  width: 100%;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  font-size: 1rem;
  text-transform: uppercase;
}

.site-footer p {
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 6px;
  word-break: break-word;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-link {
  color: #000;
  font-size: 1rem;
  text-decoration: underline;
  cursor: pointer;
  text-transform: uppercase;
}

.footer-link:hover {
  opacity: 0.7;
}

.modal {
  display: flex;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  max-width: 420px;
  width: 90%;
  border-radius: 12px;
  padding: 24px 20px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  word-break: break-word;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

.modal-close:hover {
  color: #000;
}

.modal h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #1c1c1c;
}

.modal h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 18px 0 8px;
}

.modal p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.step select,
.step input {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  margin: 8px 0 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.step .btn-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.step .btn-group button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.btn-next,
.btn-submit {
  background: #ea292a;
  color: #fff;
}

.btn-prev {
  background: #ccc;
  color: #333;
}

.btn-next:hover,
.btn-submit:hover {
  background: #c91f1f;
}

.btn-prev:hover {
  background: #b3b3b3;
}

#fullscreen-iframe-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: #fff;
}

#fullscreen-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 700px) {
  .provinces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }

  .brand-row {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
  }

  .header-quote-btn {
    grid-column: 2;
    grid-row: 1;
  }

  .advertorial-badge {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    word-break: break-all;
  }

  .container {
    padding: 0 12px;
  }

  .age-cards {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .modal-content {
    padding: 20px 14px;
  }

  .cta-btn {
    padding: 14px 20px;
  }
}
