:root {
  --blue: #0047c7;
  --navy: #071536;
  --light: #f5f9ff;
  --muted: #5b6783;
  --border: #dce6f7;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--navy);
  background: #fff;
}

.container {
  width: min(1180px, 92vw);
  margin: auto;
}

.topbar {
  background: linear-gradient(90deg, #01245e, #0051d6);
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
}

.topbar a {
  color: white;
  text-decoration: none;
}

.top-left {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-left span {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .45);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 92px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand img {
  height: 70px;
  display: block;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  font-size: 30px;
  color: var(--blue);
  margin-left: auto;
}

.nav-links {
  display: flex;
  gap: 34px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: #020817;
  text-decoration: none;
  font-weight: 750;
  padding-bottom: 10px;
  transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--blue);
  border-radius: 999px;
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.hero-grid {
  min-height: 540px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 24px;
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: .13em;
  font-weight: 900;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 72px);
  line-height: .98;
  margin: 14px 0;
  color: #050d26;
  letter-spacing: -.06em;
}

.hero h1 span { color: var(--blue); }

.lead {
  font-size: 20px;
  line-height: 1.6;
  max-width: 610px;
  color: #24304e;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 30px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none;
}

.primary {
  background: var(--blue);
  color: white;
  padding: 17px 34px;
  box-shadow: 0 10px 22px rgba(0, 71, 199, .22);
}

.secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  padding: 15px 30px;
  background: white;
}

.hero-image-wrap {
  align-self: stretch;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 13%, rgba(255, 255, 255, .48) 30%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, #fff 100%);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center right;
  display: block;
  border-bottom-left-radius: 46px;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trust-grid article {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 26px 0;
}

.icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  background: #eef5ff;
  color: var(--blue);
  border-radius: 50%;
  font-size: 30px;
  font-weight: 900;
  flex: 0 0 auto;
}

.trust-grid h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.trust-grid p {
  margin: 0;
  color: #33405f;
  line-height: 1.45;
}

.services {
  padding: 58px 0;
  background: linear-gradient(#fff, #f8fbff);
}

.section-kicker {
  text-align: center;
  margin: 0 0 24px;
}

.section-kicker.left { text-align: left; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(7, 21, 54, .04);
  transition: .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(7, 21, 54, .1);
}

.service-card div {
  font-size: 42px;
  color: var(--blue);
  line-height: 1;
}

.service-card h3 {
  font-size: 15px;
  margin: 14px 0 0;
}

.contact {
  padding: 70px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

.contact h2 {
  font-size: 38px;
  margin: 8px 0 14px;
}

.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.phone-list a {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.quote-form {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  margin-top: 24px;
  box-shadow: 0 20px 55px rgba(7, 21, 54, .08);
  display: grid;
  gap: 14px;
}

.quote-form-title {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: .13em;
  font-weight: 900;
  font-size: 15px;
  white-space: nowrap;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  font: inherit;
}

.quote-form textarea {
  min-height: 120px;
  resize: vertical;
}

@media (prefers-color-scheme: dark) {
  .quote-form textarea {
    color: #fff;
  }
}

.quote-form button {
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 12px;
  padding: 16px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.mobile-call { display: none; }
.nav-links.open { display: flex; }

@media (max-width: 900px) {
  .topbar-inner { flex-direction: column; gap: 6px; }
  .top-right { display: none; }
  .nav { height: 78px; }
  .brand img { height: 58px; }
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: white;
    flex-direction: column;
    padding: 22px;
    border-bottom: 1px solid var(--border);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 0;
  }
  .hero-image-wrap {
    border-radius: 24px;
  }
  .hero-image-wrap::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff 100%);
  }
  .hero-image {
    height: 380px;
    border-radius: 24px;
    object-position: center top;
  }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mobile-call {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 20;
    background: var(--blue);
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 35px rgba(0, 71, 199, .35);
  }
}

@media (max-width: 560px) {
  .top-left { flex-direction: column; align-items: flex-start; gap: 5px; }
  .top-left span { display: none; }
  .hero h1 { font-size: 46px; }
  .lead { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .trust-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .phone-list a { font-size: 22px; }
  .contact h2 { font-size: 31px; }
}


/* Nav hover/active behavior */
.nav-links:hover a.active:not(:hover) {
  color: #020817;
}

.nav-links:hover a.active:not(:hover)::after {
  width: 0;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
