:root {
  --blue: #07356f;
  --blue-dark: #052553;
  --blue-light: #0d5cc0;
  --green: #8ab52a;
  --green-light: #b8df44;
  --slate: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --line: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--slate);
  background: var(--bg);
}

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

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

/* Header */

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 950;
}

.brand img {
  width: auto;
  height: 52px;
  max-width: 140px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 800;
  position: relative;
  transition: color .15s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--blue-light);
  outline: none;
}

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

nav a:active {
  color: var(--green);
}

nav a.is-active {
  color: var(--green);
}

nav a.is-active::after {
  transform: scaleX(1);
}

/* Hero */

.hero {
  color: #fff;
  background:
    radial-gradient(
      circle at top left,
      rgba(132, 184, 42, 0.35),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      transparent
    ),
    var(--blue);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 28px 0 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.94;
  font-weight: 950;
}

.hero p {
  margin: 26px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.6;
}

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

.button {
  display: inline-block;
  text-decoration: none;
  border-radius: 18px;
  padding: 15px 22px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: min(420px, 100%);
  filter: none;
  border: 0;
}

/* Sections */

section {
  padding: 86px 0;
}

.label {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 950;
  margin: 0;
}

h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  margin: 14px 0 0;
}

.section-intro {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

/* Services */

.service-grid,
.profile-grid {
  display: grid;
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 42px;
}

.card,
.profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card {
  padding: 30px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 32px;
}

.icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
}

.card p,
.profile p {
  color: var(--muted);
  line-height: 1.65;
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}

.card-link:hover {
  color: var(--blue-light);
  transform: translateX(3px);
}

/* About */

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.reviews {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.review-stars {
  margin: 0;
  color: var(--green);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 3px;
}

.review-text {
  margin: 6px 0 4px;
  color: var(--slate);
  font-style: italic;
  line-height: 1.55;
  font-size: 17px;
}

.review-name {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Profiles */

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

.profile {
  overflow: hidden;
  background: #f8fafc;
}

.profile h3 {
  color: var(--slate);
}

.profile-image {
  height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.profile-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 6px solid rgba(255, 255, 255, 0.92);
}

.profile-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.profile-green {
  background: linear-gradient(135deg, var(--green), var(--green-light));
}

.initials {
  width: 116px;
  height: 116px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 42px;
  font-weight: 950;
}

.profile-body {
  padding: 26px;
}

.role {
  color: var(--blue) !important;
  font-weight: 900;
}

/* Contact */

.contact-box {
  border-radius: 32px;
  background: var(--blue);
  color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.contact-box h2 {
  color: #fff;
  margin: 0;
}

.contact-box p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  gap: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 18px 26px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.contact-link:hover {
  transform: translateY(-2px);
  background: var(--green-light);
}

/* Footer */

.site-footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .hero-grid {
    padding: 64px 0;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  nav {
    flex-wrap: wrap;
  }

  .contact-list {
    white-space: normal;
  }

  .contact-box {
    padding: 32px;
  }

  .contact-link {
    font-size: 16px;
    padding: 14px 18px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
