:root {
  --ink: #101827;
  --navy: #17324d;
  --blue: #2b6f9f;
  --teal: #1f8f8a;
  --white: #ffffff;
  --cloud: #f6f8fb;
  --line: #d9e0e8;
  --muted: #657386;
  --shadow: 0 18px 50px rgba(16, 24, 39, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(217, 224, 232, 0.8);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: #2b3645;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--navy);
  background: #edf4f7;
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(16, 24, 39, 0.88) 0%, rgba(23, 50, 77, 0.72) 48%, rgba(16, 24, 39, 0.22) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80")
      center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  z-index: -1;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 126px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ce3dc;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: #eef5f7;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(43, 111, 159, 0.32);
}

.button.primary:hover {
  background: #235f89;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.card-grid,
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.highlight {
  min-height: 246px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(16, 24, 39, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.highlight:hover {
  transform: translateY(-5px);
  border-color: #9eb7c4;
  box-shadow: var(--shadow);
}

.service-card p,
.highlight p {
  color: var(--muted);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 58px;
}

.about {
  width: 100%;
  max-width: none;
  padding: 96px max(20px, calc((100% - 1120px) / 2));
  background: var(--cloud);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px #cdeeea;
}

.about-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.why {
  padding-bottom: 78px;
}

.highlight {
  min-height: 190px;
  background: linear-gradient(180deg, var(--white), #f9fbfc);
}

.contact {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 60px;
  padding: 92px max(20px, calc((100% - 1120px) / 2));
  background: #edf3f6;
}

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

.contact-form {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 24, 39, 0.08);
}

.contact-form label {
  font-weight: 800;
  color: #2f3a48;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd5df;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 111, 159, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px max(20px, calc((100% - 1120px) / 2));
  color: #dbe5ec;
  background: var(--ink);
}

.footer-logo {
  color: var(--white);
}

.site-footer p {
  margin: 12px 0 0;
  color: #aebbc9;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .card-grid,
  .highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-image img {
    height: 360px;
  }
}

@media (max-width: 720px) {
  .navbar {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-links a {
    padding: 13px 14px;
  }

  .hero {
    min-height: 700px;
    background:
      linear-gradient(180deg, rgba(16, 24, 39, 0.9), rgba(23, 50, 77, 0.72), rgba(16, 24, 39, 0.42)),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80")
        center / cover;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding-top: 52px;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding: 72px 0;
  }

  .about,
  .contact {
    padding: 72px 14px;
  }

  .card-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .highlight {
    min-height: auto;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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