@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/heebo-latin.woff2") format("woff2");
}

@font-face {
  font-family: "FontAwesome";
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url("/assets/fonts/fontawesome-webfont.woff2") format("woff2");
}

:root {
  --navy: #11305e;
  --navy-deep: #0c2348;
  --card: #193e69;
  --orange: #f47d1d;
  --orange-soft: #f9b57e;
  --ink: #11305e;
  --muted: #5e6772;
  --aside: 270px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Heebo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  background: #fff url("/images/backgrounds/bg-sd15.jpg") no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; }

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

button, input, textarea, select { font: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--navy);
  padding: 0.4rem 0.7rem;
  z-index: 80;
}

.skip:focus { top: 0.5rem; }

.fa {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}

.fa-star:before { content: "\f005"; }
.fa-bars:before { content: "\f0c9"; }

.nav-toggle {
  display: none;
  position: absolute;
  top: 0.7rem;
  left: 0.65rem;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(8, 24, 58, 0.82);
  color: var(--orange);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle .fa { font-size: 1.35rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--aside);
  position: relative;
}

.page-interior .hero,
.page-simple .hero { min-height: 250px; }

.is-home .hero { min-height: 520px; }

.hero-main { position: relative; min-width: 0; }

.page-interior .hero-main::after,
.page-simple .hero-main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
  padding: 0.65rem 1.2rem 0.4rem 1.15rem;
  position: relative;
  z-index: 6;
}

.logo { display: block; flex: 0 0 auto; line-height: 0; }
.logo img { height: 58px; width: auto; }

.desktop-nav { margin-left: 6%; }

.menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--orange);
  background: transparent;
  border: 0;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 1.02rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

a.menu-label:hover,
button.menu-label:hover,
.menu-item.is-open > .menu-label { color: #ffb067; }

.menu-item.is-active > .menu-label {
  background: rgba(8, 24, 58, 0.72);
  color: var(--orange);
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--orange);
  display: inline-block;
}

.has-children { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 420px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  padding: 0.45rem;
  grid-template-columns: 1fr 1fr;
  z-index: 30;
}

.has-children:hover > .dropdown,
.has-children:focus-within > .dropdown,
.has-children.is-open > .dropdown { display: grid; }

.dropdown ul { list-style: none; margin: 0; padding: 0.2rem; }

.dropdown a {
  display: block;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
}

.dropdown a:hover,
.dropdown li.is-active a { color: var(--orange); background: rgba(244, 125, 29, 0.08); }

.hero-aside {
  background: rgba(17, 48, 94, 0.58);
  color: #fff;
  padding: 1.15rem 1.25rem 1.4rem;
}

.header-content h5 {
  margin: 0;
  color: #fff;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.45;
}

.header-content p { margin: 0.35rem 0; }

.header-content em {
  color: #e6eef8;
  font-weight: 300;
  font-size: 0.98rem;
}

.header-content h3 {
  margin: 0.85rem 0 0.35rem;
  font-size: 1.65rem;
  line-height: 1.1;
}

.phone-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
}

.phone-link:hover { text-decoration: underline; }

.header-content h2 {
  margin: 0.35rem 0 0.85rem;
  color: #fff;
  font-size: 1.72rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-content img { display: block; margin-top: 0.2rem; }

.slideshow {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.slideshow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 92%);
  pointer-events: none;
  z-index: 2;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  opacity: 0;
  pointer-events: none;
  padding: 0.5rem 1rem 3.5rem;
}

.slide.is-active { opacity: 1; }

.slide-logo { width: min(420px, 72%); height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18)); }
.slide-logo.small { width: min(300px, 58%); }
.slide-line { width: min(520px, 78%); height: auto; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35)); }
.slide-logos { width: min(640px, 86%); height: auto; background: rgba(255, 255, 255, 0.82); border-radius: 6px; }
.slide-auto { width: min(520px, 80%); height: auto; }

.slide.is-active .delay-0 { animation: line-in 0.7s ease both; }
.slide.is-active .delay-1 { animation: line-in 0.7s ease 1.5s both; }
.slide.is-active .delay-2 { animation: line-in 0.7s ease 3s both; }

@keyframes line-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sheet { background: #fff; position: relative; z-index: 1; }

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.showcase { padding: 0.4rem 0 0.6rem; }

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem 1.15rem;
  align-items: start;
}

.intro-title {
  margin: 0.15rem 0 1rem;
  text-align: center;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.4;
}

.g-infolist.g-2cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.g-infolist-item {
  background: var(--card);
  color: #fff;
  padding: 1.05rem 1.15rem 1.25rem;
  min-height: 100%;
}

.g-infolist-item-title {
  color: var(--orange);
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
}

.g-infolist-item-icon-inline { margin-right: 0.35rem; }

.g-infolist-item-desc h5,
.g-infolist-item-desc p {
  margin: 0;
  color: #fff;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.45;
}

.services-box,
.counties-box {
  background: linear-gradient(to bottom, var(--orange), var(--orange-soft));
  color: #fff;
  text-align: center;
  padding: 0.95rem 0.7rem 1.15rem;
}

.services-box h3,
.counties-box h3 {
  margin: 0 0 0.55rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.services-box ul,
.counties-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-box li,
.counties-box li {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.42;
}

.interior-wrap { padding: 1.35rem 0 0.4rem; }

.interior {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 210px;
  gap: 1.15rem;
  align-items: start;
}

.page-title {
  margin: 0.15rem 0 1rem;
  color: var(--navy);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
}

.article h4 {
  margin: 0.35rem 0;
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.45;
}

.article .g-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.25rem;
}

.article .g-block { min-width: 0; }
.article .g-block.size-50 { width: 50%; }
.article .g-block.size-33 { width: 33.333%; }

.article ul { list-style: none; }

.article a { color: var(--orange); font-weight: 700; text-decoration: none; }
.article a:hover { text-decoration: underline; }

.article img { display: block; }

.simple-page { padding: 2rem 0 3rem; }
.narrow { max-width: 720px; }
.simple-page p { font-size: 1.1rem; }

.banner-wrap {
  margin-top: 1.4rem;
  background:
    radial-gradient(90% 80% at 8% 80%, rgba(244, 125, 29, 0.28), transparent 62%),
    radial-gradient(70% 80% at 78% 10%, rgba(255, 214, 176, 0.85), transparent 60%),
    linear-gradient(#fff, #fff8f3);
}

.banner-wrap img { display: block; width: 100%; height: auto; }

.site-footer { background: #fff; padding: 0.85rem 0 1.4rem; }

.footer-content,
.footer-content p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.offcanvas {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(18rem, 86vw);
  background: var(--navy);
  color: #fff;
  z-index: 60;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  overflow: auto;
}

.offcanvas.is-open { transform: none; }

.offcanvas-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.offcanvas-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav ul { list-style: none; margin: 0; padding: 0.35rem 0; }

.mobile-nav a,
.mobile-nav button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.mobile-nav li.is-active > a,
.mobile-nav a:hover,
.mobile-nav button:hover { background: #ec700b; }

.mobile-sub { background: #0d274c; }
.mobile-back { font-weight: 500; letter-spacing: 0; opacity: 0.85; }

.offcanvas-shade {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 50;
}

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .interior { grid-template-columns: 1fr; }
  .services-box, .counties-box { max-width: 420px; }
  .article .g-block.size-50,
  .article .g-block.size-33 { width: 100%; }
}

@media (max-width: 816px) {
  body { background-attachment: scroll; }
  .nav-toggle { display: inline-flex; }
  .desktop-nav { display: none; }
  .nav-bar { padding-left: 4rem; min-height: 72px; }
  .header-content h2 { font-size: 1.45rem; }
  .header-content h3 { font-size: 1.35rem; }
  .hero, .showcase-grid, .g-infolist.g-2cols { grid-template-columns: 1fr; }
  .is-home .hero { min-height: 0; }
  .page-interior .hero, .page-simple .hero { min-height: 0; }
  .slideshow { height: 230px; }
  .slide-logo { width: min(260px, 78%); }
  .hero-aside { background: rgba(17, 48, 94, 0.78); }
  .page-title { font-size: 1.55rem; }
  .wrap { width: min(1180px, calc(100% - 1.4rem)); }
}

@media (prefers-reduced-motion: reduce) {
  .slide { position: relative; opacity: 1; display: none; }
  .slide.is-active { display: flex; }
  .slide.is-active .delay-0,
  .slide.is-active .delay-1,
  .slide.is-active .delay-2 { animation: none; }
  .offcanvas { transition: none; }
}
