:root {
  --navy: #1b3a6b;
  --blue: #2f68a6;
  --pale-blue: #f5f8fc;
  --border: #d8e1ec;
  --text: #263548;
  --muted: #5e6b7a;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: var(--navy);
}

a:hover,
a:focus-visible {
  color: var(--blue);
}

.demo-notice {
  margin: 0;
  padding: 6px 16px;
  color: #ffffff;
  background: #10294e;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.site-header,
.site-footer {
  background: var(--white);
}

.header-inner,
.footer-inner,
.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.site-name {
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.header-button {
  display: inline-block;
  padding: 9px 20px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.header-button:hover,
.header-button:focus-visible {
  color: var(--navy);
  background: var(--white);
}

.global-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.global-nav ul {
  justify-content: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 11px 0;
}

.global-nav a,
.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.global-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 480px;
  padding: 100px 0;
  color: var(--white);
  background:
    linear-gradient(rgba(20, 40, 80, 0.62), rgba(20, 40, 80, 0.62)),
    url("img/pex-3847465.jpg") center / cover no-repeat;
}

.hero-content {
  position: relative;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.35;
}

.hero p {
  max-width: 700px;
  margin: 0 0 30px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-title {
  padding: 48px 0;
  color: var(--white);
  background: var(--navy);
}

.photo-title {
  padding: 64px 0;
  background:
    linear-gradient(rgba(20, 40, 80, 0.62), rgba(20, 40, 80, 0.62)),
    url("img/pex-15440777.jpg") center / cover no-repeat;
}

.page-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
}

.button {
  display: inline-block;
  padding: 12px 26px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--white);
  background: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: var(--navy);
  background: var(--white);
}

.hero .button {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.hero .button:hover,
.hero .button:focus-visible {
  color: var(--white);
  background: transparent;
}

.hero .button-outline {
  color: var(--white);
  background: transparent;
}

.hero .button-outline:hover,
.hero .button-outline:focus-visible {
  color: var(--navy);
  background: var(--white);
}

.content-section {
  padding: 70px 0;
}

.content-section.alt {
  background: var(--pale-blue);
}

.section-heading {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.45;
  text-align: center;
}

.lead {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(27, 58, 107, 0.07);
  overflow: hidden;
}

.card-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}

.card h3,
.business-detail h2,
.policy-item h2 {
  margin-top: 0;
  color: var(--navy);
}

.card p:last-child,
.business-detail p:last-child,
.policy-item p:last-child {
  margin-bottom: 0;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reason-list li {
  text-align: center;
}

.reason-list strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.reason-list p {
  margin: 8px 0 0;
}

.reason-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 22px;
  font-weight: 700;
}

.narrow {
  max-width: 820px;
}

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

.new-business p {
  margin: 0 0 24px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.info-table th,
.info-table td {
  padding: 15px 18px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 28%;
  color: var(--navy);
  background: var(--pale-blue);
}

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
}

.business-lines {
  margin: 0;
  padding-left: 1.3em;
}

.cta-band {
  padding: 54px 0;
  color: var(--white);
  background: var(--navy);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 22px;
  font-size: 27px;
}

.cta-phone {
  margin: -8px 0 20px;
  font-size: 18px;
}

.cta-band .button {
  border-color: var(--white);
  color: var(--navy);
  background: var(--white);
}

.message-block,
.business-detail,
.policy-item {
  max-width: 860px;
  margin: 0 auto 38px;
}

.business-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.business-detail > img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.business-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.audience {
  padding: 10px 14px;
  background: var(--pale-blue);
}

.map-placeholder,
.form-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 32px;
  border: 2px dashed #a9b9cd;
  color: var(--muted);
  background: var(--pale-blue);
  text-align: center;
}

.access-note {
  margin-top: 18px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 24px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
}

.step strong {
  display: block;
}

.step p {
  margin: 8px 0 0;
}

.step-number {
  display: block;
  color: var(--blue);
  font-weight: 700;
}

.flow-notes {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: var(--white);
}

.flow-notes p {
  margin: 0;
}

.flow-notes p + p {
  margin-top: 6px;
}

.policy-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.policy-item h2 {
  font-size: 21px;
}

.site-footer {
  padding: 44px 0 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  display: grid;
  gap: 22px;
}

.footer-company {
  margin: 0;
}

.copyright {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

@media (max-width: 760px) {
  .header-inner {
    gap: 14px;
  }

  .header-contact {
    gap: 12px;
  }

  .header-phone span {
    display: none;
  }

  .header-button {
    padding: 8px 13px;
  }

  .global-nav ul {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .hero {
    padding: 64px 0;
  }

  .content-section {
    padding: 52px 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .business-detail {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table td {
    border-top: 0;
  }
}

@media (max-width: 430px) {
  .header-inner,
  .footer-inner,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-contact {
    width: 100%;
    justify-content: space-between;
  }

  .site-name {
    font-size: 19px;
  }

  .global-nav ul {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 420px;
    padding: 70px 0;
  }

  .card-body {
    padding: 22px;
  }
}
