:root {
  --bg-dark: #10262c;
  --bg-dark-2: #233740;
  --text-light: #f4f6f7;
  --accent: #d8c5a7;
  --sand: #f0dfcf;
  --sand-deep: #e5cfbc;
  --ink: #25343a;
  --card-bg: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #f7f5f1;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 52vh;
  color: var(--text-light);
  display: grid;
  place-items: end start;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(120deg, rgba(16, 38, 44, 0.98), rgba(23, 54, 63, 0.9)),
    repeating-radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 16px);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 16, 20, 0.65) 20%, rgba(0, 0, 0, 0.08));
  z-index: -1;
}

.hero__content {
  padding: 5rem 0 3rem;
}

.brand {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(2rem, 6vw, 3.6rem);
}

.logo {
  display: block;
  height: auto;
}

.logo--hero {
  width: clamp(170px, 28vw, 260px);
  filter: brightness(0) invert(1);
}

.tagline {
  margin: 0.3rem 0 1.3rem;
  max-width: 28rem;
  color: #d7dee1;
  font-size: 0.95rem;
}

h1 {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.subtitle {
  margin-top: 0.9rem;
  color: #dbe3e5;
  max-width: 36rem;
}

.section {
  padding: 3.5rem 0;
}

.section--dark {
  color: var(--text-light);
  background:
    linear-gradient(160deg, rgba(26, 43, 49, 0.98), rgba(44, 57, 63, 0.95)),
    var(--bg-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.features-grid {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(2px);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: #d9e1e4;
}

.section--light {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.55), transparent 30%),
    linear-gradient(180deg, var(--sand), var(--sand-deep));
}

.lead {
  margin-bottom: 1.4rem;
}

.service-grid,
.reasons {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-grid article,
.reasons article {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(37, 52, 58, 0.12);
  border-radius: 14px;
  padding: 1rem;
}

.service-grid h3,
.reasons h3 {
  margin: 0 0 0.45rem;
}

.service-grid p,
.reasons p {
  margin: 0;
}

.section--reasons {
  padding-top: 1rem;
  padding-bottom: 3.2rem;
  background: linear-gradient(180deg, #ebd2bf, #e3c6b0);
}

.reasons--standalone {
  grid-template-columns: repeat(3, minmax(230px, 1fr));
}

.reasons--standalone article {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(37, 52, 58, 0.12);
  border-radius: 20px;
  padding: 1.25rem;
}

.reasons--standalone h3 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.15;
}

.reasons--standalone p {
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.34;
}

.section--contacts {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  background: #efe4d8;
}

.contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.brand--dark {
  color: #1f2f36;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.logo--contacts {
  width: clamp(130px, 22vw, 210px);
  filter: brightness(0) saturate(100%) invert(12%) sepia(16%) saturate(746%) hue-rotate(150deg)
    brightness(95%) contrast(88%);
}

.phone {
  display: inline-block;
  color: #1d2d33;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 0.3rem;
}

.addresses p {
  margin: 0.2rem 0;
}

@media (max-width: 640px) {
  .hero {
    min-height: 46vh;
  }

  .section {
    padding: 2.4rem 0;
  }

  .phone {
    font-size: 1.15rem;
  }

  .reasons--standalone {
    grid-template-columns: 1fr;
  }
}
