:root {
  --jjmb-bg: #f7fbff;
  --jjmb-text: #0f1b3d;
  --jjmb-primary: #0b1f57;
  --jjmb-accent: #2b7fff;
  --jjmb-soft: #e8f1ff;
  --jjmb-white: #ffffff;
  --jjmb-border: rgba(11, 31, 87, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--jjmb-text);
  background:
    radial-gradient(circle at 7% 8%, rgba(43, 127, 255, 0.2), transparent 30%),
    radial-gradient(circle at 95% 2%, rgba(11, 31, 87, 0.14), transparent 35%),
    var(--jjmb-bg);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: clamp(48px, 7vw, 92px) 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 251, 255, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--jjmb-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.site-branding__title {
  text-decoration: none;
  color: var(--jjmb-primary);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-nav__menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__menu a {
  text-decoration: none;
  color: var(--jjmb-primary);
  font-weight: 600;
}

.site-nav__menu a:hover {
  color: var(--jjmb-accent);
}

.site-nav-toggle {
  display: none;
  align-items: center;
  gap: 0;
  border: 0;
  background: transparent;
  color: var(--jjmb-primary);
  border-radius: 0;
  padding: 6px 2px;
  font-weight: 400;
  cursor: pointer;
}

.site-nav-toggle__icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.site-nav-toggle__icon::before,
.site-nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-nav-toggle__icon::before {
  top: -6px;
}

.site-nav-toggle__icon::after {
  top: 6px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--jjmb-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--jjmb-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.lead {
  font-size: 1.05rem;
}

.top-hero {
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #f3f8ff;
}

.top-hero .eyebrow,
.top-hero h1,
.top-hero p {
  color: #f3f8ff;
}

.top-hero__content {
  max-width: 760px;
}

.btn-outline-light {
  border-color: #f3f8ff;
  color: #0b1f57;
  background: #f3f8ff;
}

.btn-outline-light:hover {
  background: #dbe9ff;
  color: #071740;
}

.home-hero__grid,
.subpage-hero__grid,
.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.home-hero {
  background: #ffffff;
}

.home-hero__media img,
.subpage-hero__media img,
.about__media img {
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(11, 31, 87, 0.2);
}

.subpage-hero {
  padding-top: clamp(34px, 4vw, 64px);
}

.subpage-cards {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.9), rgba(247, 251, 255, 0.95));
}

.subpage-about {
  background: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
}

.btn-primary {
  color: var(--jjmb-white);
  background: linear-gradient(120deg, #2b7fff, #57a0ff);
}

.btn-outline {
  color: var(--jjmb-primary);
  border: 1px solid var(--jjmb-primary);
  background: #ffffff;
}

.btn-outline:hover {
  background: #e9f1ff;
  color: #071740;
}

.services {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.9), rgba(247, 251, 255, 0.95));
}

.section-head {
  max-width: 740px;
  margin: 0 auto 26px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--jjmb-white);
  border: 1px solid var(--jjmb-border);
  border-radius: 16px;
  padding: 20px 18px 22px;
  box-shadow: 0 12px 32px rgba(11, 31, 87, 0.08);
}

.service-card__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--jjmb-primary);
  background: none;
  box-shadow: none;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  text-transform: none;
  margin-bottom: 8px;
}

.service-card p {
  margin: 0;
}

.info-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.info-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #d7e4fb;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(8, 24, 66, 0.08);
  overflow: hidden;
}

.info-feature__content {
  padding: 34px 32px;
  order: 2;
}

.info-feature__content h2 {
  text-transform: none;
  margin-bottom: 10px;
}

.info-feature__content p {
  margin: 0;
}

.info-feature__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.info-feature__list li {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #edf4ff 0%, #f8fbff 100%);
  border-left: 3px solid var(--jjmb-accent);
}

.info-feature__list strong {
  display: block;
  color: #09255f;
  margin-bottom: 2px;
}

.info-feature__list span {
  display: block;
  margin: 0;
}

.info-feature__media {
  position: relative;
  min-height: 360px;
  order: 1;
}

.info-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-feature__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(9, 37, 95, 0.9);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(3, 13, 36, 0.25);
}

.service-areas {
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 55%, #ffffff 100%);
}

.service-areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.service-areas__content h2 {
  text-transform: none;
  margin-bottom: 12px;
}

.service-areas__content p {
  margin: 0 0 12px;
}

.service-areas__content p:last-child {
  margin-bottom: 0;
}

.service-areas__cities {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.service-areas__cities li {
  position: relative;
  padding-left: 12px;
  line-height: 1.35;
}

.service-areas__cities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--jjmb-accent);
}

.service-areas__map {
  padding-left: 0;
  border-left: 0;
}

.service-areas__map #service-areas-map {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 1px solid var(--jjmb-border);
  border-radius: 10px;
}

.about-page-hero {
  min-height: clamp(320px, 54vh, 520px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #f3f8ff;
}

.about-page-hero .eyebrow,
.about-page-hero h1,
.about-page-hero p {
  color: #f3f8ff;
}

.about-page-hero__content {
  max-width: 760px;
}

.about-page-content .entry-content > *:first-child {
  margin-top: 0;
}

.faq-page {
  background: #ffffff;
}

.faq-page__wrap {
  max-width: 1120px;
}

.faq-item {
  border: 1px solid var(--jjmb-border);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 31, 87, 0.06);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--jjmb-primary);
  padding: 16px 20px;
  position: relative;
  padding-right: 52px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--jjmb-accent);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  border-top: 1px solid rgba(11, 31, 87, 0.1);
  padding: 14px 20px 18px;
}

.faq-item__answer p {
  margin: 0;
}

.contact-page__wrap {
  max-width: 920px;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.contact-page__details-card,
.contact-page__card {
  background: #ffffff;
  border: 1px solid var(--jjmb-border);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 10px 26px rgba(11, 31, 87, 0.08);
}

.contact-page__details-card h2 {
  margin: 0 0 14px;
  text-transform: none;
}

.contact-page__details {
  display: grid;
  gap: 12px;
}

.contact-page__detail-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-page__detail-icon {
  width: 20px;
  height: 20px;
  color: var(--jjmb-accent);
  margin-top: 2px;
}

.contact-page__detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact-page__detail-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--jjmb-primary);
  font-weight: 700;
}

.contact-page__detail-value {
  margin: 2px 0 0;
  color: var(--jjmb-text);
  line-height: 1.45;
}

.contact-page__detail-value a {
  color: var(--jjmb-primary);
  text-decoration: none;
}

.contact-page__detail-value a:hover {
  text-decoration: underline;
}

.contact-page__card .ff-el-form-control,
.contact-page__card .ff-el-group input,
.contact-page__card .ff-el-group select,
.contact-page__card .ff-el-group textarea {
  border-radius: 10px;
}

.contact-page__card .ff-btn-submit {
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, #0b1f57, #2b7fff);
  padding: 12px 22px;
}

.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style {
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, #2b7fff, #57a0ff);
  color: #ffffff;
  padding: 12px 22px;
}

.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_style:hover {
  background: linear-gradient(120deg, #1f70ea, #4b97fa);
}

.contact {
  background: #06143f;
}

.contact h2,
.contact p {
  color: #f3f8ff;
}

.contact .eyebrow {
  color: #9ec4ff;
}

.contact__details {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact__detail-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.contact__detail-icon {
  width: 20px;
  height: 20px;
  color: #9ec4ff;
  margin-top: 2px;
}

.contact__detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact__detail-label {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ec4ff;
  font-weight: 700;
}

.contact__detail-value {
  margin: 2px 0 0;
  color: #f3f8ff;
  line-height: 1.45;
}

.contact__detail-value a {
  color: #f3f8ff;
  text-decoration: none;
}

.contact__detail-value a:hover {
  text-decoration: underline;
}

.contact__form {
  background: #fff;
  border-radius: 16px;
  padding: clamp(20px, 3vw, 34px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.contact__form .ff-el-form-control,
.contact__form .ff-el-group input,
.contact__form .ff-el-group select,
.contact__form .ff-el-group textarea {
  border-radius: 10px;
}

.contact__form .ff-btn-submit {
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, #0b1f57, #2b7fff);
  padding: 12px 22px;
}

.content-card {
  background: #fff;
  border: 1px solid var(--jjmb-border);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(11, 31, 87, 0.08);
}

.site-footer {
  background: #040f2d;
  color: #9ec4ff;
  padding: 5px 0;
  text-align: center;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer__links a {
  color: #d7e8ff;
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .info-feature {
    grid-template-columns: 1fr;
  }

  .info-feature__content {
    padding: 26px 22px 8px;
    order: 1;
  }

  .info-feature__media {
    min-height: 260px;
    order: 2;
  }

  .service-areas__grid {
    grid-template-columns: 1fr;
  }

  .service-areas__map {
    padding-left: 0;
    border-left: 0;
  }

  .service-areas__cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 781px) {
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    position: relative;
  }

  .site-branding {
    flex: 1;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 40;
  }

  .site-nav__menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 0;
    padding: 10px 14px;
    border: 1px solid var(--jjmb-border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(11, 31, 87, 0.14);
  }

  .site-nav__menu li a {
    display: block;
    padding: 10px 4px;
  }

  .site-nav.is-open .site-nav__menu {
    display: flex;
  }

  .home-hero__grid,
  .subpage-hero__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
