* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f4;
  color: #17212b;
  line-height: 1.6;
}

a {
  color: inherit;
}

.hero {
  min-height: 82vh;
  background: linear-gradient(135deg, #101820, #213343);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 1.25rem;
}

.nav-phone {
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 999px;
}

.hero-content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 60px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #ffd166;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.02;
  margin: 18px 0;
}

.hero-text {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 32px;
  color: #e8eef3;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.button,
button {
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.primary,
button {
  background: #ffd166;
  color: #101820;
}

.secondary {
  background: white;
  color: #101820;
}

.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.intro {
  text-align: center;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 14px;
  line-height: 1.1;
}

.cards {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.form-section,
.contact {
  background: white;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(16, 24, 32, 0.08);
}

.card {
  padding: 28px;
}

.card h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.form-section {
  margin-top: 32px;
  margin-bottom: 32px;
}

.form-section.alt {
  background: #fffaf0;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d6d8dc;
  border-radius: 14px;
  padding: 14px;
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.contact a {
  font-weight: 800;
}

footer {
  text-align: center;
  padding: 28px;
  color: #66707a;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    gap: 14px;
    flex-direction: column;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 56px 0;
    text-align: left;
  }

  .hero-buttons {
    justify-content: flex-start;
  }

  .button,
  button {
    width: 100%;
    text-align: center;
  }
}
