@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0f1720;
  --navy-2: #101d28;
  --blue: #0b6ea8;
  --blue-light: #1295d8;
  --steel: #c7d0d9;
  --muted: #aab6c2;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --soft-shadow: 0 18px 50px rgba(15,23,32,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #1b2430;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: .3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15,23,32,.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  position: relative;
  z-index: 1002;
}

.brand img {
  height: 62px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a {
  opacity: .9;
  position: relative;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--steel);
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,.55);
  padding: 12px 20px;
  border-radius: 10px;
}

.nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1003;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
}

/* HERO */
.hero,
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.page-hero { min-height: 62vh; }

.hero-bg,
.feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay,
.feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,16,22,.92), rgba(10,16,22,.62), rgba(10,16,22,.25)),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 780px;
}

.eyebrow {
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.05;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
  letter-spacing: -.05em;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.04em;
}

h3 { font-size: 23px; }

.hero-subtitle {
  max-width: 660px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  font-weight: 800;
  border-radius: 12px;
  transition: .25s ease;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 14px 35px rgba(11,110,168,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d80c2, #18a8ef);
  box-shadow: 0 18px 45px rgba(11,110,168,.45);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

/* TRUST STRIP */
.trust-strip {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid div {
  padding: 30px 20px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.trust-grid div:last-child { border-right: 0; }

.trust-grid strong {
  display: block;
  color: var(--steel);
  font-size: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

/* SECTIONS */
.section { padding: 100px 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.reverse { grid-template-columns: .85fr 1.15fr; }

/* CLEAN IMAGE STYLING */
.image-stack {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 22px;
  align-items: end;
}

.image-stack img,
.large-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.image-stack img:nth-child(2) {
  height: 310px;
  margin-bottom: -45px;
}

.section-copy p {
  line-height: 1.8;
  color: #465260;
  font-size: 16px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.dark-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(11,110,168,.22), transparent 32%),
    linear-gradient(135deg, #0b1119, var(--navy));
  color: #fff;
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin-bottom: 52px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #111;
  color: #fff;
  box-shadow: 0 22px 65px rgba(0,0,0,.28);
  border-radius: 22px;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: .55s ease;
  border-radius: 22px;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.88));
  pointer-events: none;
}

.service-card div {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
}

.service-card p {
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.service-card:hover img { transform: scale(1.08); }

.service-card:hover { box-shadow: 0 28px 80px rgba(0,0,0,.34); }

.center {
  text-align: center;
  margin-top: 42px;
}

/* FEATURE BAND */
.feature-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.feature-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid #e8edf2;
  position: relative;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

/* CTA */
.cta-section {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.16), transparent 36%),
    linear-gradient(135deg, var(--blue), #073954);
  color: #fff;
  text-align: center;
  padding: 86px 0;
}

.cta-section h2 {
  max-width: 780px;
  margin-inline: auto;
}

/* FOOTER - RESPONSIVE VECTOR STYLE */
.site-footer {
  background:
    linear-gradient(135deg, #0a0d11 0%, #101820 50%, #171b20 100%);
  color: #fff;
  padding-top: 46px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22%;
  width: 1180px;
  height: 1180px;
  transform: translateX(-50%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -190px;
  width: 2px;
  height: 150%;
  background: rgba(255,255,255,.035);
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .65fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
  align-items: start;
}

.footer-logo {
  width: 58px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  margin: 5px 0;
  font-size: 14px;
}

.site-footer a:hover { color: #fff; }

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  padding: 15px;
  font-size: 13px;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
}

.contact-card,
.contact-form {
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.12);
  padding: 36px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,32,.08);
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-weight: 800;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9e1e8;
  padding: 14px;
  font: inherit;
  border-radius: 10px;
}

.form-note {
  font-size: 13px;
  color: #687584;
}

.map-wrap {
  margin-top: 36px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(15%);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* TABLET */
@media (max-width: 980px) {
  .nav-toggle { display: block; }

  /* Corrected mobile/tablet menu:
     - starts from top of screen
     - narrower
     - equal inner spacing
     - X is the same existing button and actually works through JS */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 310px;
    max-width: min(310px, 74vw);
    height: auto;
    min-height: 390px;
    background: rgba(15,23,32,.985);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 112px 26px 28px 49px;
    border-radius: 0 0 24px 24px;
    border: 0;
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .28s ease;
    z-index: 999;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a { font-size: 18px; }

  .site-nav .nav-cta {
    margin-top: 8px;
    padding: 15px 28px;
    width: auto;
  }

  /* Existing hamburger becomes a real clickable X.
     Works with body.nav-open OR directly when .site-nav has .open. */
  body.nav-open .nav-toggle,
  .site-header:has(.site-nav.open) .nav-toggle {
    font-size: 0 !important;
    color: transparent !important;
  }

  body.nav-open .nav-toggle::before,
  .site-header:has(.site-nav.open) .nav-toggle::before {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 300;
    color: rgba(255,255,255,.72);
    line-height: 1;
  }

  .split,
  .reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

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

  .trust-grid div {
    padding: 22px 12px;
    text-align: center;
  }

  .trust-grid strong { font-size: 24px; }

  .trust-grid span { font-size: 12px; }

  .image-stack {
    grid-template-columns: 1fr .82fr;
    gap: 16px;
  }

  .image-stack img:nth-child(1) { height: 380px; }

  .image-stack img:nth-child(2) {
    height: 280px;
    margin-bottom: -36px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }

  .site-header {
    height: 76px;
    padding: 0 22px;
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }

  .site-header.scrolled {
    background: rgba(15,23,32,.94);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .brand img { height: 54px; }

  .site-nav {
    top: 0;
    right: 0;
    width: 292px;
    max-width: min(292px, 72vw);
    min-height: 370px;
    padding: 106px 24px 24px 47px;
    gap: 22px;
    border-radius: 0 0 22px 22px;
  }

  .hero,
  .page-hero {
    min-height: 82vh;
  }

  .hero-content { padding-top: 70px; }

  .hero-actions { gap: 12px; }

  .btn {
    min-height: 50px;
    padding: 0 22px;
    font-size: 14px;
    border-radius: 10px;
  }

  .section { padding: 72px 0; }

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

  .trust-grid div {
    padding: 18px 6px;
    border-right: 1px solid var(--line);
  }

  .trust-grid strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .trust-grid span {
    font-size: 10px;
    line-height: 1.3;
  }

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

  .service-card,
  .service-card img { min-height: 320px; }

  .service-card,
  .service-card img,
  .service-card::after { border-radius: 18px; }

  .image-stack {
    grid-template-columns: 1fr .82fr;
    gap: 12px;
    align-items: end;
  }

  .image-stack img:nth-child(1) { height: 300px; }

  .image-stack img:nth-child(2) {
    height: 220px;
    margin-bottom: -32px;
  }

  .image-stack img,
  .large-image img { border-radius: 18px; }

  .large-image img { height: 320px; }

  .contact-card,
  .contact-form { padding: 24px; }

  .site-footer {
    text-align: center;
    padding-top: 34px;
    background:
      radial-gradient(circle at 50% 0%, rgba(11,110,168,.20), transparent 42%),
      linear-gradient(180deg, #101820 0%, #0b1118 100%);
  }

  .site-footer::before {
    left: 50%;
    top: 18px;
    bottom: auto;
    width: 360px;
    height: 360px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
    opacity: .7;
  }

  .site-footer::after {
    top: 0;
    height: 100%;
    opacity: .5;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 26px;
  }

  .footer-logo {
    width: 46px;
    margin: 0 auto 12px;
  }

  .site-footer a,
  .site-footer p {
    text-align: center;
  }

  .footer-grid > div:nth-child(2) {
    display: none;
  }

  .footer-bottom {
    padding: 13px;
    font-size: 12px;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 390px) {
  .trust-grid strong { font-size: 16px; }

  .trust-grid span { font-size: 9px; }

  h1 { font-size: 38px; }

  .image-stack img:nth-child(1) { height: 270px; }

  .image-stack img:nth-child(2) { height: 195px; }

  .site-nav {
    right: 0;
    width: 278px;
    max-width: min(278px, 72vw);
  }
}
/* ===== MOBILE MENU FINAL FIX ===== */

@media (max-width: 980px) {
  .site-nav {
    right: 0 !important;
    width: 310px !important;
    max-width: 74vw !important;

    /* less right-side empty space, content shifts right visually */
    padding-top: 112px !important;
    padding-right: 10px !important;
    padding-bottom: 28px !important;
    padding-left: 58px !important;

    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 34px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .site-nav .nav-cta {
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .site-nav {
    right: 0 !important;
    width: 230px !important;
    max-width: 72vw !important;

    padding-top: 106px !important;
    padding-right: 4px !important;
    padding-bottom: 24px !important;
    padding-left: 26px !important;

    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 32px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}