:root {
  --bg: #f1f5fb;
  --surface: #ffffff;
  --surface-alt: #e9f0f8;
  --text: #0f1f32;
  --muted: #49607a;
  --line: #cfdaea;
  --accent: #0f4c81;
  --accent-strong: #0b3a63;
  --max: 1120px;
}

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

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

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  background:
    radial-gradient(900px 460px at 88% -120px, rgba(15, 76, 129, 0.15) 0%, rgba(15, 76, 129, 0) 70%),
    radial-gradient(760px 430px at -10% -110px, rgba(80, 146, 198, 0.12) 0%, rgba(80, 146, 198, 0) 68%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--accent-strong);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

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

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem 0;
}

.brand-block {
  display: grid;
  gap: 0.05rem;
}

.brand {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  color: var(--text);
  text-transform: uppercase;
  margin: 0;
}

.brand-tagline {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.phone-chip {
  text-decoration: none;
  font-weight: 700;
  background: rgba(15, 76, 129, 0.08);
  border: 1px solid rgba(15, 76, 129, 0.25);
  color: var(--accent-strong);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.hero {
  padding: 3.9rem 0 3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(233, 240, 248, 0.32) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  align-items: end;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Serif", Georgia, serif;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.section-intro {
  margin: 0 0 1.15rem;
  max-width: 70ch;
  color: var(--muted);
}

.section {
  padding: 3.4rem 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.65rem;
  align-items: start;
}

.about-stack {
  display: grid;
  gap: 0.25rem;
}

.about-bullets {
  margin: 0.35rem 0 0.2rem;
  padding-left: 1.15rem;
}

.about-bullets li + li {
  margin-top: 0.42rem;
}

.about-media {
  margin: 1rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(11, 35, 59, 0.1);
}

.about-media img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow:
    0 10px 25px rgba(9, 21, 35, 0.05),
    0 2px 10px rgba(9, 21, 35, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px rgba(9, 21, 35, 0.07),
    0 3px 14px rgba(9, 21, 35, 0.04);
}

.card-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-media {
  display: block;
  width: calc(100% + 2.3rem);
  max-width: none;
  margin: -1.15rem -1.15rem 0.9rem;
  height: 145px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.service-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.service-title h3 {
  margin: 0.05rem 0 0.45rem;
}

.service-icon {
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 1.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.1);
  border: 1px solid rgba(15, 76, 129, 0.2);
}

.service-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: var(--accent);
}

.hero-panel {
  padding: 0.2rem 0 0;
}

.hero-panel h2 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.hero-panel ul {
  margin: 0.15rem 0 0;
  padding-left: 1.1rem;
}

.hero-panel li {
  margin-bottom: 0.4rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.25rem;
  align-items: center;
}

.contact-card p {
  margin: 0.42rem 0;
}

.contact-note {
  color: var(--muted);
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

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

@media (max-width: 650px) {
  .header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .phone-chip {
    padding: 0.3rem 0.65rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 3.1rem;
  }

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

  .service-media {
    height: 165px;
  }
}
