:root {
  --blue-900: #027fc2;
  --blue-800: #0182cb;
  --blue-700: #0095ee;
  --blue-500: #6ac6ff;
  --blue-100: #f1f7fb;
  --text-dark: #1a1a1a;
  --text-muted: #6b6b6b;
}

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

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
}

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

.hero {
  background: var(--blue-800);
  color: #ffffff;
  padding-bottom: 80px;
  text-align: center;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px 8vw 18px;
}

.hero-tagline {
  font-size: 14px;
  opacity: 0.85;
  text-align: left;
}

.hero-logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 100px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  border: 2px solid #ffffff;
  position: relative;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border: 2px solid #ffffff;
  inset: 12px;
  border-radius: 6px;
}

.logo-mark::after {
  inset: 22px;
}

.logo-text {
  text-align: left;
}

.logo-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-subtitle {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.8;
}

.hero-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  text-align: right;
  font-size: 13px;
}

.hero-phone span {
  display: block;
}

.hero-button {
  border: none;
  background: #ffb300;
  color: #ffffff;
  padding: 18px 26px;
  border-radius: 28px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-button-large {
  border: none;
  background: #ffb300;
  color: #ffffff;
  padding: 30px 47px;
  border-radius: 28px;
  font-weight: 1100;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  padding-bottom: 28px;
  letter-spacing: 1px;
}

.hero-card {
  background: var(--blue-800);
  margin: 0 auto;
  padding: 60px 40px;
  width: min(760px, 80%);
}

.hero-brand {
  font-size: 26px;
  margin: 0 0 12px;
  font-weight: 600;
}

.hero-card h1 {
  font-size: 36px;
  margin: 0 0 18px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-description {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
  width: min(1080px, 88%);
  margin: 36px auto 0;
}

.hero-action {
  padding: 28px;
  text-align: left;
  color: #ffffff;
  min-height: 150px;
}

.hero-action h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.hero-action p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

.hero-action--dark {
  background: #007cc2;
}

.hero-action--primary {
  background: #0096f0;
}

.hero-action--light {
  background: #69c8ff;
}

.services {
  padding: 80px 8vw 40px;
  text-align: center;
}

.services h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.section-lead {
  color: var(--text-muted);
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 26px 40px;
}

.service-card {
  background: var(--blue-100);
  padding: 26px 30px;
  text-align: left;
  border-radius: 2px;
  font-weight: 600;
  color: #1b1b1b;
}

.about {
  background: var(--blue-100);
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 1fr);
  gap: 40px;
  padding: 80px 8vw;
  align-items: center;
}

.about h2 {
  margin-top: 0;
  font-size: 30px;
}

.team h2 {
  margin-bottom: 12px;
  font-size: 30px;
  padding: 80px 8vw 40px;
  text-align: center;
}


.about p {
  color: #444444;
  line-height: 1.7;
}

.about-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 2px;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.4);
  font-weight: 600;
  background: #ffffff;
}

.team {
  padding: 70px 8vw;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 40px;
  text-align: center;
}

.team-photo {
  width: 100%;
  height: 360px;
  margin-bottom: 18px;
  border-radius: 2px;
  overflow: hidden;
}

.team-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.team-card p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta {
  position: relative;
  padding: 90px 8vw;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: #5a6c80;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.cta-bg-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.cta p {
  margin: 0 0 30px;
  opacity: 0.9;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: min(420px, 100%);
}

.cta-form input {
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  min-width: 200px;
}

.cta-form button {
  border: none;
  background: #0182cb;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
}

.cta-divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.cta-divider::before,
.cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.cta-form-button--large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 26px;
  min-width: 240px;
}

.map-card {
  text-align: left;
  background: var(--blue-900);
  color: #ffffff;
  padding: 32px 36px;
  width: min(360px, 100%);
}

.map-card h3 {
  margin-top: 0;
  font-size: 20px;
}

.map-card p {
  margin: 6px 0;
  font-size: 14px;
}

.map-hours {
  margin-top: 20px;
}

@media (max-width: 960px) {
  .hero-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-tagline,
  .hero-contacts {
    text-align: center;
    justify-content: center;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

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

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

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

  .map-card {
    margin: 0 auto;
  }
}
