@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/css/fonts/montserrat-600.woff2") format("woff2"),
       url("/css/fonts/montserrat-600.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/css/fonts/montserrat-700.woff2") format("woff2"),
       url("/css/fonts/montserrat-700.woff") format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/css/fonts/montserrat-800.woff2") format("woff2"),
       url("/css/fonts/montserrat-800.woff") format("woff");
}

:root {
  --de-navy-950: #031e4a;
  --de-navy-900: #062b63;
  --de-blue-700: #075ddf;
  --de-blue-600: #0b6ff4;
  --de-cyan-500: #08c7ff;
  --de-ink: #08245a;
  --de-slate: #42577b;
  --de-muted: #687b9e;
  --de-ice: #f3f8fe;
  --de-border: #c9dcf5;
  --de-orange: #ff6a00;
  --de-font-heading: "Montserrat", Arial, Helvetica, sans-serif;
  --de-font-body: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; overflow-x: hidden; }
body.home-page {
  margin: 0;
  color: var(--de-ink);
  background: #f4f8fd;
  font-family: var(--de-font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--de-cyan-500);
  outline-offset: 2px;
}

.home-header {
  background: #fff;
  border-bottom: 2px solid var(--de-blue-600);
}
.home-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 14px 48px;
  flex-wrap: nowrap;
}
.home-logo {
  display: block;
  width: min(100%, 300px);
  flex: 0 0 300px;
}
.home-logo img {
  width: 300px;
  max-width: 100%;
  height: auto;
}
.home-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px 22px;
  flex: 1 1 auto;
  font-family: var(--de-font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--de-navy-900);
}
.home-nav a {
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.home-nav a:hover { color: var(--de-blue-700); }
.home-nav a[aria-current="page"] {
  color: var(--de-navy-950);
  border-bottom-color: var(--de-navy-950);
}
.home-phone {
  margin: 0;
  color: var(--de-navy-900);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  flex: 0 0 auto;
  white-space: nowrap;
}
.home-phone strong {
  color: var(--de-navy-950);
  font-weight: 800;
}

.home-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 28px 48px 0;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: 24px 28px;
  align-items: stretch;
}

.home-hero-left {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 4px;
  padding-bottom: 4px;
}
.home-hero-left h1 {
  margin: 0 0 12px;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--de-navy-950);
}
.home-hero-left > p {
  margin: 0 0 18px;
  max-width: none;
  color: var(--de-slate);
  font-size: 16px;
  line-height: 1.4;
}

.alert-warning,
.alert-box {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 14px;
}
.alert-warning {
  background: #fff8e6;
  border: 1px solid #f0e0a8;
  color: #6b5a1e;
}
.alert-success-box { background: #e8f6ee; color: #1f6b3f; }
.alert-error-box { background: #fdeeee; color: #8a2f2f; }

.home-search {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: none;
}
.home-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--de-border);
  border-radius: 12px;
}
.home-search-field svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--de-blue-700);
}
.home-search-field input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--de-ink);
  font-size: 16px;
  min-height: 40px;
}
.home-search-field input::placeholder { color: var(--de-muted); }
.home-search-btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  min-height: 48px;
  background: var(--de-cyan-500);
  color: #fff;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
.home-search-btn:hover { background: #00b7ee; }

.home-hero-right {
  position: relative;
  min-width: 0;
  min-height: 530px;
}
.home-photo {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 530px;
  border-radius: 24px;
  background: #d7e6f5;
}
.home-photo img {
  position: absolute;
  top: 0;
  left: calc(-58% - 95px);
  width: 160%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 46% 24%;
}
.home-photo-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(3, 30, 74, 0.9) 0%,
    rgba(3, 30, 74, 0.72) 16%,
    rgba(3, 30, 74, 0.38) 28%,
    rgba(3, 30, 74, 0.1) 38%,
    rgba(3, 30, 74, 0) 48%
  );
}
.home-photo-copy {
  position: absolute;
  z-index: 1;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 12.25rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(3, 30, 74, 0.8), 0 0 16px rgba(3, 30, 74, 0.45);
  pointer-events: none;
}
.home-photo-title {
  margin: 0 0 10px;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.home-photo-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}
.home-quote-card {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: 340px;
  max-width: calc(100% - 36px);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  color: var(--de-ink);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(3, 30, 74, 0.18);
  padding: 16px 16px 12px;
}
.home-quote-card h2 {
  margin: 0 0 10px;
  font-family: var(--de-font-heading);
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--de-navy-900);
}
.home-quote-form {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  position: relative;
}
.home-quote-form > input[type="hidden"] {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.home-quote-form > label {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--de-slate);
}
.home-quote-form input,
.home-quote-form textarea,
.home-quote-form button {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.home-quote-form input,
.home-quote-form textarea {
  margin-top: 3px;
  border: 1px solid var(--de-border);
  border-radius: 10px;
  padding: 7px 12px;
  min-height: 34px;
  height: 34px;
  background: #fff;
  color: var(--de-ink);
  font-size: 14px;
  line-height: 1.2;
}
.home-quote-form textarea { min-height: 34px; height: 34px; resize: vertical; }
.home-quote-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  height: 44px;
  width: 100%;
  background: #ff6a00;
  color: #fff;
  font-family: var(--de-font-heading);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.home-quote-btn:hover { background: #e85f00; }
.home-quote-note {
  margin: 2px 0 0;
  color: var(--de-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.home-reassure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 8px;
  padding: 18px 0 16px;
  border-top: 1px solid #d7e4f4;
}
.home-reassure article:not(:last-child) {
  border-right: 1px solid #d7e4f4;
}
.home-reassure article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}
.home-reassure-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f6ff;
  color: var(--de-blue-700);
  border: 1px solid var(--de-border);
}
.home-reassure-icon svg { width: 20px; height: 20px; }
.home-reassure strong {
  font-family: var(--de-font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--de-navy-900);
}

.home-directory {
  background: #fff;
  border-top: 1px solid var(--de-border);
  margin: 24px 0 0;
  padding: 36px 0 42px;
}
.home-directory-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
}
.home-directory-section + .home-directory-section { margin-top: 36px; }
.home-directory h2 {
  margin: 0 0 12px;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--de-navy-900);
}
.home-directory p {
  margin: 0 0 12px;
  color: var(--de-slate);
  font-size: 16px;
  line-height: 1.55;
}
.home-copy-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 36px;
}
.home-copy-columns p { margin: 0; }
.how-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.how-card {
  background: #fff;
  border: 1px solid var(--de-border);
  border-radius: 16px;
  padding: 16px 16px 18px;
}
.how-card-step {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--de-blue-700);
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.how-card h3 {
  margin: 0 0 6px;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: 17px;
}
.how-card p { margin: 0; font-size: 14px; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.link-grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--de-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--de-navy-900);
  font-family: var(--de-font-heading);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.link-grid a:hover { color: var(--de-blue-700); border-color: #9ec4f4; }

.site-footer {
  color: #fff;
  background: linear-gradient(90deg, #021536, #031e4a 40%, #062b63);
  border-top: 2px solid rgba(8, 199, 255, 0.45);
  padding: 16px 0 18px;
  margin: 0;
}
.footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 8px 18px;
}
.footer-col { font-size: 11px; line-height: 1.3; }
.footer-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--de-font-heading);
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 2px;
}
.footer-heading svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--de-cyan-500); }
.footer-col p { margin: 0 0 0 18px; color: rgba(255, 255, 255, 0.86); }
.footer-links { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-left: 18px; }
.footer-links a { color: #fff; }
.footer-links .muted { color: rgba(255, 255, 255, 0.58); cursor: default; }

@media (max-width: 1100px) {
  .home-header-inner,
  .home-wrap { padding-left: 24px; padding-right: 24px; }
  .home-directory-inner,
  .footer-grid { padding-left: 24px; padding-right: 24px; }
  .home-header-inner { flex-wrap: wrap; }
  .home-nav { flex-wrap: wrap; justify-content: flex-start; width: 100%; }
  .home-phone { text-align: left; }
}
@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; }
  .home-hero-left {
    padding-top: 0;
    padding-bottom: 0;
    justify-content: flex-start;
  }
  .home-hero-left h1 { font-size: clamp(32px, 8vw, 42px); }
  .home-hero-left > p { margin-bottom: 24px; max-width: none; }
  .home-hero-right {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }
  .home-photo {
    height: 280px;
    min-height: 280px;
  }
  .home-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    object-position: 62% 12%;
  }
  .home-photo-copy {
    left: 16px;
    right: 16px;
    top: 20px;
    transform: none;
    max-width: 16rem;
  }
  .home-photo-title { font-size: 22px; margin-bottom: 6px; }
  .home-photo-text { font-size: 13px; }
  .home-quote-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% - 32px);
    max-width: none;
    margin: -72px 16px 0;
    padding: 22px 22px 18px;
  }
  .home-quote-card h2 { font-size: 1.25rem; margin-bottom: 14px; }
  .home-quote-form { gap: 12px; }
  .home-quote-form > label { font-size: 13px; }
  .home-quote-form input,
  .home-quote-form textarea { margin-top: 4px; padding: 11px 12px; font-size: 16px; min-height: 0; height: auto; }
  .home-quote-form textarea { min-height: 96px; height: auto; }
  .home-quote-btn { min-height: 48px; height: auto; }
  .home-quote-note { font-size: 13px; }
  .how-cards, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-copy-columns { grid-template-columns: 1fr; }
  .home-reassure { grid-template-columns: 1fr; }
  .home-reassure article { justify-content: flex-start; }
  .home-reassure article:not(:last-child) { border-right: 0; padding-bottom: 12px; border-bottom: 1px solid #d7e4f4; }
}
@media (max-width: 768px) {
  .home-header-inner { padding: 10px 16px; }
  .home-wrap { padding: 18px 16px 0; }
  .home-directory { padding: 28px 0 34px; }
  .home-directory-inner,
  .footer-grid { padding-left: 16px; padding-right: 16px; }
  .home-phone { text-align: left; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid, .how-cards, .link-grid { grid-template-columns: 1fr; }
}
@media (min-width: 981px) {
  .home-wrap {
    width: 90%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}
