:root {
  --ink: #102033;
  --muted: #64748b;
  --line: #dbe7ef;
  --surface: #ffffff;
  --soft: #f3f8fb;
  --navy: #071c32;
  --teal: #00a88f;
  --teal-dark: #006f66;
  --gold: #f4bd46;
  --shadow: 0 26px 80px rgba(7, 28, 50, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 46%, #ffffff 100%);
}

body.menu-open {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(219, 231, 239, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 900;
}

.brand-image {
  display: block;
  width: 190px;
  height: auto;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  background: conic-gradient(from 180deg, var(--teal), var(--gold), var(--teal-dark), var(--teal));
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 168, 143, 0.28);
  font-size: 15px;
  letter-spacing: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 1px;
  white-space: nowrap;
}

.brand-text strong {
  font-size: 18px;
}

.brand-text small {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #334155;
  font-size: 15px;
}

.nav a:hover {
  color: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 16px 34px rgba(0, 168, 143, 0.28);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.26);
}

.header-cta:hover,
.btn:hover,
.specialty-card:hover,
.step-card:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(24px, 4vw, 46px) clamp(20px, 6vw, 88px) clamp(44px, 6vw, 64px);
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 10% 16%, rgba(0, 168, 143, 0.24), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(244, 189, 70, 0.22), transparent 28%),
    linear-gradient(135deg, #071c32 0%, #0a3040 54%, #063b37 100%);
}

.dot-texture {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

.security-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 28px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.security-pill small,
.security-pill strong {
  display: block;
}

.security-pill small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.security-pill strong {
  font-size: 13px;
  text-transform: uppercase;
}

.lock-icon {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 24px;
  border: 3px solid var(--gold);
  border-radius: 7px;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -16px;
  width: 14px;
  height: 16px;
  border: 3px solid var(--gold);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8df3e4;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-card {
  min-height: clamp(480px, 54vw, 560px);
}

.client-photo {
  width: min(100%, 430px);
  height: clamp(390px, 48vw, 470px);
  margin-left: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 28, 50, 0.15)),
    url("https://images.pexels.com/photos/8111885/pexels-photo-8111885.jpeg?auto=compress&cs=tinysrgb&w=1200");
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.quote-card {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: min(88%, 390px);
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quote-label {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-card h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 26px;
}

.quote-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.search-widget {
  position: absolute;
  top: 42px;
  left: 18px;
  display: grid;
  gap: 6px;
  width: min(230px, calc(100% - 36px));
  padding: 18px;
  color: white;
  background: rgba(0, 168, 143, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.search-widget span,
.search-widget small {
  color: rgba(255, 255, 255, 0.76);
}

.specialties-section,
.steps-section,
.testimonial-section,
.contact-band {
  padding: clamp(58px, 8vw, 86px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.testimonial-section h2,
.contact-band h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

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

.specialty-card,
.step-card {
  min-height: 108px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(7, 28, 50, 0.06);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.specialty-card:hover,
.step-card:hover {
  box-shadow: 0 24px 54px rgba(7, 28, 50, 0.1);
}

.steps-section {
  background: var(--soft);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border-radius: 8px;
  font-weight: 900;
}

.step-card h3 {
  font-size: 22px;
}

.step-card p {
  color: var(--muted);
  line-height: 1.6;
}

.testimonial-section {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.testimonial-photo {
  min-height: 320px;
  height: 420px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(7, 28, 50, 0.08)),
    url("https://images.pexels.com/photos/8111885/pexels-photo-8111885.jpeg?auto=compress&cs=tinysrgb&w=1200");
  background-position: center;
  background-size: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

blockquote {
  max-width: 760px;
  margin: 0 0 28px;
  color: #334155;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.22;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 34px;
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 88% 10%, rgba(244, 189, 70, 0.24), transparent 26%),
    linear-gradient(135deg, var(--navy), #0a3e40);
}

.contact-band h2 {
  margin-bottom: 0;
  color: white;
}

.contact-band p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.contact-band .btn {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 28px 44px;
  align-items: start;
  padding: 34px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background: #06111f;
}

.site-footer .brand {
  color: white;
}

.site-footer .brand-image {
  filter: brightness(0) invert(1);
}

.brand-footer {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}

address {
  display: grid;
  gap: 6px;
  margin: 0;
  font-style: normal;
  line-height: 1.45;
}

address strong {
  color: white;
  font-size: 15px;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .nav {
    gap: 18px;
  }

  .header-cta {
    padding-inline: 18px;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    min-height: 68px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.open .nav {
    order: 3;
    display: grid;
    width: 100%;
    gap: 0;
    padding: 10px 0;
  }

  .site-header.open .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .testimonial-section,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-card {
    min-height: 540px;
  }

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

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

  .contact-band .btn {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-image {
    width: 164px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 12px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .hero-actions .btn,
  .contact-band .btn {
    width: 100%;
  }

  .trust-row {
    display: grid;
  }

  .hero-card {
    min-height: auto;
  }

  .client-photo {
    width: 100%;
    height: 360px;
  }

  .quote-card,
  .search-widget {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

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

  .testimonial-photo {
    height: 340px;
  }

  .site-footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 36px;
  }

  .security-pill {
    align-items: flex-start;
  }
}
